pic32mx250f128c.pp 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478
  1. unit pic32mx250f128c;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getWDTWINEN : TBits_1; inline;
  55. function getw : TBits_32; inline;
  56. procedure setON(thebits : TBits_1); inline;
  57. procedure setSWDTPS(thebits : TBits_5); inline;
  58. procedure setSWDTPS0(thebits : TBits_1); inline;
  59. procedure setSWDTPS1(thebits : TBits_1); inline;
  60. procedure setSWDTPS2(thebits : TBits_1); inline;
  61. procedure setSWDTPS3(thebits : TBits_1); inline;
  62. procedure setSWDTPS4(thebits : TBits_1); inline;
  63. procedure setWDTCLR(thebits : TBits_1); inline;
  64. procedure setWDTPS(thebits : TBits_5); inline;
  65. procedure setWDTPSTA(thebits : TBits_5); inline;
  66. procedure setWDTWINEN(thebits : TBits_1); inline;
  67. procedure setw(thebits : TBits_32); inline;
  68. public
  69. procedure clearON; inline;
  70. procedure clearSWDTPS0; inline;
  71. procedure clearSWDTPS1; inline;
  72. procedure clearSWDTPS2; inline;
  73. procedure clearSWDTPS3; inline;
  74. procedure clearSWDTPS4; inline;
  75. procedure clearWDTCLR; inline;
  76. procedure clearWDTWINEN; inline;
  77. procedure setON; inline;
  78. procedure setSWDTPS0; inline;
  79. procedure setSWDTPS1; inline;
  80. procedure setSWDTPS2; inline;
  81. procedure setSWDTPS3; inline;
  82. procedure setSWDTPS4; inline;
  83. procedure setWDTCLR; inline;
  84. procedure setWDTWINEN; inline;
  85. property ON : TBits_1 read getON write setON;
  86. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  87. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  88. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  89. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  90. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  91. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  92. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  93. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  94. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  95. property WDTWINEN : TBits_1 read getWDTWINEN write setWDTWINEN;
  96. property w : TBits_32 read getw write setw;
  97. end;
  98. type
  99. TWDTRegisters = record
  100. WDTCONbits : TWDT_WDTCON;
  101. WDTCON : longWord;
  102. WDTCONCLR : longWord;
  103. WDTCONSET : longWord;
  104. WDTCONINV : longWord;
  105. end;
  106. TRTCC_RTCCON = record
  107. private
  108. function getCAL : TBits_10; inline;
  109. function getHALFSEC : TBits_1; inline;
  110. function getON : TBits_1; inline;
  111. function getRTCCLKON : TBits_1; inline;
  112. function getRTCOE : TBits_1; inline;
  113. function getRTCSYNC : TBits_1; inline;
  114. function getRTCWREN : TBits_1; inline;
  115. function getRTSECSEL : TBits_1; inline;
  116. function getSIDL : TBits_1; inline;
  117. function getw : TBits_32; inline;
  118. procedure setCAL(thebits : TBits_10); inline;
  119. procedure setHALFSEC(thebits : TBits_1); inline;
  120. procedure setON(thebits : TBits_1); inline;
  121. procedure setRTCCLKON(thebits : TBits_1); inline;
  122. procedure setRTCOE(thebits : TBits_1); inline;
  123. procedure setRTCSYNC(thebits : TBits_1); inline;
  124. procedure setRTCWREN(thebits : TBits_1); inline;
  125. procedure setRTSECSEL(thebits : TBits_1); inline;
  126. procedure setSIDL(thebits : TBits_1); inline;
  127. procedure setw(thebits : TBits_32); inline;
  128. public
  129. procedure clearHALFSEC; inline;
  130. procedure clearON; inline;
  131. procedure clearRTCCLKON; inline;
  132. procedure clearRTCOE; inline;
  133. procedure clearRTCSYNC; inline;
  134. procedure clearRTCWREN; inline;
  135. procedure clearRTSECSEL; inline;
  136. procedure clearSIDL; inline;
  137. procedure setHALFSEC; inline;
  138. procedure setON; inline;
  139. procedure setRTCCLKON; inline;
  140. procedure setRTCOE; inline;
  141. procedure setRTCSYNC; inline;
  142. procedure setRTCWREN; inline;
  143. procedure setRTSECSEL; inline;
  144. procedure setSIDL; inline;
  145. property CAL : TBits_10 read getCAL write setCAL;
  146. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  147. property ON : TBits_1 read getON write setON;
  148. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  149. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  150. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  151. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  152. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  153. property SIDL : TBits_1 read getSIDL write setSIDL;
  154. property w : TBits_32 read getw write setw;
  155. end;
  156. TRTCC_RTCALRM = record
  157. private
  158. function getALRMEN : TBits_1; inline;
  159. function getALRMSYNC : TBits_1; inline;
  160. function getAMASK : TBits_4; inline;
  161. function getARPT : TBits_8; inline;
  162. function getCHIME : TBits_1; inline;
  163. function getPIV : TBits_1; inline;
  164. function getw : TBits_32; inline;
  165. procedure setALRMEN(thebits : TBits_1); inline;
  166. procedure setALRMSYNC(thebits : TBits_1); inline;
  167. procedure setAMASK(thebits : TBits_4); inline;
  168. procedure setARPT(thebits : TBits_8); inline;
  169. procedure setCHIME(thebits : TBits_1); inline;
  170. procedure setPIV(thebits : TBits_1); inline;
  171. procedure setw(thebits : TBits_32); inline;
  172. public
  173. procedure clearALRMEN; inline;
  174. procedure clearALRMSYNC; inline;
  175. procedure clearCHIME; inline;
  176. procedure clearPIV; inline;
  177. procedure setALRMEN; inline;
  178. procedure setALRMSYNC; inline;
  179. procedure setCHIME; inline;
  180. procedure setPIV; inline;
  181. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  182. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  183. property AMASK : TBits_4 read getAMASK write setAMASK;
  184. property ARPT : TBits_8 read getARPT write setARPT;
  185. property CHIME : TBits_1 read getCHIME write setCHIME;
  186. property PIV : TBits_1 read getPIV write setPIV;
  187. property w : TBits_32 read getw write setw;
  188. end;
  189. TRTCC_RTCTIME = record
  190. private
  191. function getHR01 : TBits_4; inline;
  192. function getHR10 : TBits_4; inline;
  193. function getMIN01 : TBits_4; inline;
  194. function getMIN10 : TBits_4; inline;
  195. function getSEC01 : TBits_4; inline;
  196. function getSEC10 : TBits_4; inline;
  197. function getw : TBits_32; inline;
  198. procedure setHR01(thebits : TBits_4); inline;
  199. procedure setHR10(thebits : TBits_4); inline;
  200. procedure setMIN01(thebits : TBits_4); inline;
  201. procedure setMIN10(thebits : TBits_4); inline;
  202. procedure setSEC01(thebits : TBits_4); inline;
  203. procedure setSEC10(thebits : TBits_4); inline;
  204. procedure setw(thebits : TBits_32); inline;
  205. public
  206. property HR01 : TBits_4 read getHR01 write setHR01;
  207. property HR10 : TBits_4 read getHR10 write setHR10;
  208. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  209. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  210. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  211. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  212. property w : TBits_32 read getw write setw;
  213. end;
  214. TRTCC_RTCDATE = record
  215. private
  216. function getDAY01 : TBits_4; inline;
  217. function getDAY10 : TBits_4; inline;
  218. function getMONTH01 : TBits_4; inline;
  219. function getMONTH10 : TBits_4; inline;
  220. function getWDAY01 : TBits_4; inline;
  221. function getYEAR01 : TBits_4; inline;
  222. function getYEAR10 : TBits_4; inline;
  223. function getw : TBits_32; inline;
  224. procedure setDAY01(thebits : TBits_4); inline;
  225. procedure setDAY10(thebits : TBits_4); inline;
  226. procedure setMONTH01(thebits : TBits_4); inline;
  227. procedure setMONTH10(thebits : TBits_4); inline;
  228. procedure setWDAY01(thebits : TBits_4); inline;
  229. procedure setYEAR01(thebits : TBits_4); inline;
  230. procedure setYEAR10(thebits : TBits_4); inline;
  231. procedure setw(thebits : TBits_32); inline;
  232. public
  233. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  234. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  235. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  236. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  237. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  238. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  239. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  240. property w : TBits_32 read getw write setw;
  241. end;
  242. TRTCC_ALRMTIME = record
  243. private
  244. function getHR01 : TBits_4; inline;
  245. function getHR10 : TBits_4; inline;
  246. function getMIN01 : TBits_4; inline;
  247. function getMIN10 : TBits_4; inline;
  248. function getSEC01 : TBits_4; inline;
  249. function getSEC10 : TBits_4; inline;
  250. function getw : TBits_32; inline;
  251. procedure setHR01(thebits : TBits_4); inline;
  252. procedure setHR10(thebits : TBits_4); inline;
  253. procedure setMIN01(thebits : TBits_4); inline;
  254. procedure setMIN10(thebits : TBits_4); inline;
  255. procedure setSEC01(thebits : TBits_4); inline;
  256. procedure setSEC10(thebits : TBits_4); inline;
  257. procedure setw(thebits : TBits_32); inline;
  258. public
  259. property HR01 : TBits_4 read getHR01 write setHR01;
  260. property HR10 : TBits_4 read getHR10 write setHR10;
  261. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  262. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  263. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  264. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  265. property w : TBits_32 read getw write setw;
  266. end;
  267. TRTCC_ALRMDATE = record
  268. private
  269. function getDAY01 : TBits_4; inline;
  270. function getDAY10 : TBits_4; inline;
  271. function getMONTH01 : TBits_4; inline;
  272. function getMONTH10 : TBits_4; inline;
  273. function getWDAY01 : TBits_4; inline;
  274. function getw : TBits_32; inline;
  275. procedure setDAY01(thebits : TBits_4); inline;
  276. procedure setDAY10(thebits : TBits_4); inline;
  277. procedure setMONTH01(thebits : TBits_4); inline;
  278. procedure setMONTH10(thebits : TBits_4); inline;
  279. procedure setWDAY01(thebits : TBits_4); inline;
  280. procedure setw(thebits : TBits_32); inline;
  281. public
  282. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  283. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  284. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  285. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  286. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  287. property w : TBits_32 read getw write setw;
  288. end;
  289. type
  290. TRTCCRegisters = record
  291. RTCCONbits : TRTCC_RTCCON;
  292. RTCCON : longWord;
  293. RTCCONCLR : longWord;
  294. RTCCONSET : longWord;
  295. RTCCONINV : longWord;
  296. RTCALRMbits : TRTCC_RTCALRM;
  297. RTCALRM : longWord;
  298. RTCALRMCLR : longWord;
  299. RTCALRMSET : longWord;
  300. RTCALRMINV : longWord;
  301. RTCTIMEbits : TRTCC_RTCTIME;
  302. RTCTIME : longWord;
  303. RTCTIMECLR : longWord;
  304. RTCTIMESET : longWord;
  305. RTCTIMEINV : longWord;
  306. RTCDATEbits : TRTCC_RTCDATE;
  307. RTCDATE : longWord;
  308. RTCDATECLR : longWord;
  309. RTCDATESET : longWord;
  310. RTCDATEINV : longWord;
  311. ALRMTIMEbits : TRTCC_ALRMTIME;
  312. ALRMTIME : longWord;
  313. ALRMTIMECLR : longWord;
  314. ALRMTIMESET : longWord;
  315. ALRMTIMEINV : longWord;
  316. ALRMDATEbits : TRTCC_ALRMDATE;
  317. ALRMDATE : longWord;
  318. ALRMDATECLR : longWord;
  319. ALRMDATESET : longWord;
  320. ALRMDATEINV : longWord;
  321. end;
  322. TTMR1_T1CON = record
  323. private
  324. function getON : TBits_1; inline;
  325. function getSIDL : TBits_1; inline;
  326. function getTCKPS : TBits_2; inline;
  327. function getTCKPS0 : TBits_1; inline;
  328. function getTCKPS1 : TBits_1; inline;
  329. function getTCS : TBits_1; inline;
  330. function getTGATE : TBits_1; inline;
  331. function getTON : TBits_1; inline;
  332. function getTSIDL : TBits_1; inline;
  333. function getTSYNC : TBits_1; inline;
  334. function getTWDIS : TBits_1; inline;
  335. function getTWIP : TBits_1; inline;
  336. function getw : TBits_32; inline;
  337. procedure setON(thebits : TBits_1); inline;
  338. procedure setSIDL(thebits : TBits_1); inline;
  339. procedure setTCKPS(thebits : TBits_2); inline;
  340. procedure setTCKPS0(thebits : TBits_1); inline;
  341. procedure setTCKPS1(thebits : TBits_1); inline;
  342. procedure setTCS(thebits : TBits_1); inline;
  343. procedure setTGATE(thebits : TBits_1); inline;
  344. procedure setTON(thebits : TBits_1); inline;
  345. procedure setTSIDL(thebits : TBits_1); inline;
  346. procedure setTSYNC(thebits : TBits_1); inline;
  347. procedure setTWDIS(thebits : TBits_1); inline;
  348. procedure setTWIP(thebits : TBits_1); inline;
  349. procedure setw(thebits : TBits_32); inline;
  350. public
  351. procedure clearON; inline;
  352. procedure clearSIDL; inline;
  353. procedure clearTCKPS0; inline;
  354. procedure clearTCKPS1; inline;
  355. procedure clearTCS; inline;
  356. procedure clearTGATE; inline;
  357. procedure clearTON; inline;
  358. procedure clearTSIDL; inline;
  359. procedure clearTSYNC; inline;
  360. procedure clearTWDIS; inline;
  361. procedure clearTWIP; inline;
  362. procedure setON; inline;
  363. procedure setSIDL; inline;
  364. procedure setTCKPS0; inline;
  365. procedure setTCKPS1; inline;
  366. procedure setTCS; inline;
  367. procedure setTGATE; inline;
  368. procedure setTON; inline;
  369. procedure setTSIDL; inline;
  370. procedure setTSYNC; inline;
  371. procedure setTWDIS; inline;
  372. procedure setTWIP; inline;
  373. property ON : TBits_1 read getON write setON;
  374. property SIDL : TBits_1 read getSIDL write setSIDL;
  375. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  376. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  377. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  378. property TCS : TBits_1 read getTCS write setTCS;
  379. property TGATE : TBits_1 read getTGATE write setTGATE;
  380. property TON : TBits_1 read getTON write setTON;
  381. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  382. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  383. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  384. property TWIP : TBits_1 read getTWIP write setTWIP;
  385. property w : TBits_32 read getw write setw;
  386. end;
  387. type
  388. TTMR1Registers = record
  389. T1CONbits : TTMR1_T1CON;
  390. T1CON : longWord;
  391. T1CONCLR : longWord;
  392. T1CONSET : longWord;
  393. T1CONINV : longWord;
  394. TMR1 : longWord;
  395. TMR1CLR : longWord;
  396. TMR1SET : longWord;
  397. TMR1INV : longWord;
  398. PR1 : longWord;
  399. PR1CLR : longWord;
  400. PR1SET : longWord;
  401. PR1INV : longWord;
  402. end;
  403. TTMR2_T2CON = record
  404. private
  405. function getON : TBits_1; inline;
  406. function getSIDL : TBits_1; inline;
  407. function getT32 : TBits_1; inline;
  408. function getTCKPS : TBits_3; inline;
  409. function getTCKPS0 : TBits_1; inline;
  410. function getTCKPS1 : TBits_1; inline;
  411. function getTCKPS2 : TBits_1; inline;
  412. function getTCS : TBits_1; inline;
  413. function getTGATE : TBits_1; inline;
  414. function getTON : TBits_1; inline;
  415. function getTSIDL : TBits_1; inline;
  416. function getw : TBits_32; inline;
  417. procedure setON(thebits : TBits_1); inline;
  418. procedure setSIDL(thebits : TBits_1); inline;
  419. procedure setT32(thebits : TBits_1); inline;
  420. procedure setTCKPS(thebits : TBits_3); inline;
  421. procedure setTCKPS0(thebits : TBits_1); inline;
  422. procedure setTCKPS1(thebits : TBits_1); inline;
  423. procedure setTCKPS2(thebits : TBits_1); inline;
  424. procedure setTCS(thebits : TBits_1); inline;
  425. procedure setTGATE(thebits : TBits_1); inline;
  426. procedure setTON(thebits : TBits_1); inline;
  427. procedure setTSIDL(thebits : TBits_1); inline;
  428. procedure setw(thebits : TBits_32); inline;
  429. public
  430. procedure clearON; inline;
  431. procedure clearSIDL; inline;
  432. procedure clearT32; inline;
  433. procedure clearTCKPS0; inline;
  434. procedure clearTCKPS1; inline;
  435. procedure clearTCKPS2; inline;
  436. procedure clearTCS; inline;
  437. procedure clearTGATE; inline;
  438. procedure clearTON; inline;
  439. procedure clearTSIDL; inline;
  440. procedure setON; inline;
  441. procedure setSIDL; inline;
  442. procedure setT32; inline;
  443. procedure setTCKPS0; inline;
  444. procedure setTCKPS1; inline;
  445. procedure setTCKPS2; inline;
  446. procedure setTCS; inline;
  447. procedure setTGATE; inline;
  448. procedure setTON; inline;
  449. procedure setTSIDL; inline;
  450. property ON : TBits_1 read getON write setON;
  451. property SIDL : TBits_1 read getSIDL write setSIDL;
  452. property T32 : TBits_1 read getT32 write setT32;
  453. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  454. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  455. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  456. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  457. property TCS : TBits_1 read getTCS write setTCS;
  458. property TGATE : TBits_1 read getTGATE write setTGATE;
  459. property TON : TBits_1 read getTON write setTON;
  460. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  461. property w : TBits_32 read getw write setw;
  462. end;
  463. type
  464. TTMR2Registers = record
  465. T2CONbits : TTMR2_T2CON;
  466. T2CON : longWord;
  467. T2CONCLR : longWord;
  468. T2CONSET : longWord;
  469. T2CONINV : longWord;
  470. TMR2 : longWord;
  471. TMR2CLR : longWord;
  472. TMR2SET : longWord;
  473. TMR2INV : longWord;
  474. PR2 : longWord;
  475. PR2CLR : longWord;
  476. PR2SET : longWord;
  477. PR2INV : longWord;
  478. end;
  479. TTMR3_T3CON = record
  480. private
  481. function getON : TBits_1; inline;
  482. function getSIDL : TBits_1; inline;
  483. function getTCKPS : TBits_3; inline;
  484. function getTCKPS0 : TBits_1; inline;
  485. function getTCKPS1 : TBits_1; inline;
  486. function getTCKPS2 : TBits_1; inline;
  487. function getTCS : TBits_1; inline;
  488. function getTGATE : TBits_1; inline;
  489. function getTON : TBits_1; inline;
  490. function getTSIDL : TBits_1; inline;
  491. function getw : TBits_32; inline;
  492. procedure setON(thebits : TBits_1); inline;
  493. procedure setSIDL(thebits : TBits_1); inline;
  494. procedure setTCKPS(thebits : TBits_3); inline;
  495. procedure setTCKPS0(thebits : TBits_1); inline;
  496. procedure setTCKPS1(thebits : TBits_1); inline;
  497. procedure setTCKPS2(thebits : TBits_1); inline;
  498. procedure setTCS(thebits : TBits_1); inline;
  499. procedure setTGATE(thebits : TBits_1); inline;
  500. procedure setTON(thebits : TBits_1); inline;
  501. procedure setTSIDL(thebits : TBits_1); inline;
  502. procedure setw(thebits : TBits_32); inline;
  503. public
  504. procedure clearON; inline;
  505. procedure clearSIDL; inline;
  506. procedure clearTCKPS0; inline;
  507. procedure clearTCKPS1; inline;
  508. procedure clearTCKPS2; inline;
  509. procedure clearTCS; inline;
  510. procedure clearTGATE; inline;
  511. procedure clearTON; inline;
  512. procedure clearTSIDL; inline;
  513. procedure setON; inline;
  514. procedure setSIDL; inline;
  515. procedure setTCKPS0; inline;
  516. procedure setTCKPS1; inline;
  517. procedure setTCKPS2; inline;
  518. procedure setTCS; inline;
  519. procedure setTGATE; inline;
  520. procedure setTON; inline;
  521. procedure setTSIDL; inline;
  522. property ON : TBits_1 read getON write setON;
  523. property SIDL : TBits_1 read getSIDL write setSIDL;
  524. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  525. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  526. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  527. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  528. property TCS : TBits_1 read getTCS write setTCS;
  529. property TGATE : TBits_1 read getTGATE write setTGATE;
  530. property TON : TBits_1 read getTON write setTON;
  531. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  532. property w : TBits_32 read getw write setw;
  533. end;
  534. type
  535. TTMR3Registers = record
  536. T3CONbits : TTMR3_T3CON;
  537. T3CON : longWord;
  538. T3CONCLR : longWord;
  539. T3CONSET : longWord;
  540. T3CONINV : longWord;
  541. TMR3 : longWord;
  542. TMR3CLR : longWord;
  543. TMR3SET : longWord;
  544. TMR3INV : longWord;
  545. PR3 : longWord;
  546. PR3CLR : longWord;
  547. PR3SET : longWord;
  548. PR3INV : longWord;
  549. end;
  550. TTMR4_T4CON = record
  551. private
  552. function getON : TBits_1; inline;
  553. function getSIDL : TBits_1; inline;
  554. function getT32 : TBits_1; inline;
  555. function getTCKPS : TBits_3; inline;
  556. function getTCKPS0 : TBits_1; inline;
  557. function getTCKPS1 : TBits_1; inline;
  558. function getTCKPS2 : TBits_1; inline;
  559. function getTCS : TBits_1; inline;
  560. function getTGATE : TBits_1; inline;
  561. function getTON : TBits_1; inline;
  562. function getTSIDL : TBits_1; inline;
  563. function getw : TBits_32; inline;
  564. procedure setON(thebits : TBits_1); inline;
  565. procedure setSIDL(thebits : TBits_1); inline;
  566. procedure setT32(thebits : TBits_1); inline;
  567. procedure setTCKPS(thebits : TBits_3); inline;
  568. procedure setTCKPS0(thebits : TBits_1); inline;
  569. procedure setTCKPS1(thebits : TBits_1); inline;
  570. procedure setTCKPS2(thebits : TBits_1); inline;
  571. procedure setTCS(thebits : TBits_1); inline;
  572. procedure setTGATE(thebits : TBits_1); inline;
  573. procedure setTON(thebits : TBits_1); inline;
  574. procedure setTSIDL(thebits : TBits_1); inline;
  575. procedure setw(thebits : TBits_32); inline;
  576. public
  577. procedure clearON; inline;
  578. procedure clearSIDL; inline;
  579. procedure clearT32; inline;
  580. procedure clearTCKPS0; inline;
  581. procedure clearTCKPS1; inline;
  582. procedure clearTCKPS2; inline;
  583. procedure clearTCS; inline;
  584. procedure clearTGATE; inline;
  585. procedure clearTON; inline;
  586. procedure clearTSIDL; inline;
  587. procedure setON; inline;
  588. procedure setSIDL; inline;
  589. procedure setT32; inline;
  590. procedure setTCKPS0; inline;
  591. procedure setTCKPS1; inline;
  592. procedure setTCKPS2; inline;
  593. procedure setTCS; inline;
  594. procedure setTGATE; inline;
  595. procedure setTON; inline;
  596. procedure setTSIDL; inline;
  597. property ON : TBits_1 read getON write setON;
  598. property SIDL : TBits_1 read getSIDL write setSIDL;
  599. property T32 : TBits_1 read getT32 write setT32;
  600. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  601. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  602. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  603. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  604. property TCS : TBits_1 read getTCS write setTCS;
  605. property TGATE : TBits_1 read getTGATE write setTGATE;
  606. property TON : TBits_1 read getTON write setTON;
  607. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  608. property w : TBits_32 read getw write setw;
  609. end;
  610. type
  611. TTMR4Registers = record
  612. T4CONbits : TTMR4_T4CON;
  613. T4CON : longWord;
  614. T4CONCLR : longWord;
  615. T4CONSET : longWord;
  616. T4CONINV : longWord;
  617. TMR4 : longWord;
  618. TMR4CLR : longWord;
  619. TMR4SET : longWord;
  620. TMR4INV : longWord;
  621. PR4 : longWord;
  622. PR4CLR : longWord;
  623. PR4SET : longWord;
  624. PR4INV : longWord;
  625. end;
  626. TTMR5_T5CON = record
  627. private
  628. function getON : TBits_1; inline;
  629. function getSIDL : TBits_1; inline;
  630. function getTCKPS : TBits_3; inline;
  631. function getTCKPS0 : TBits_1; inline;
  632. function getTCKPS1 : TBits_1; inline;
  633. function getTCKPS2 : TBits_1; inline;
  634. function getTCS : TBits_1; inline;
  635. function getTGATE : TBits_1; inline;
  636. function getTON : TBits_1; inline;
  637. function getTSIDL : TBits_1; inline;
  638. function getw : TBits_32; inline;
  639. procedure setON(thebits : TBits_1); inline;
  640. procedure setSIDL(thebits : TBits_1); inline;
  641. procedure setTCKPS(thebits : TBits_3); inline;
  642. procedure setTCKPS0(thebits : TBits_1); inline;
  643. procedure setTCKPS1(thebits : TBits_1); inline;
  644. procedure setTCKPS2(thebits : TBits_1); inline;
  645. procedure setTCS(thebits : TBits_1); inline;
  646. procedure setTGATE(thebits : TBits_1); inline;
  647. procedure setTON(thebits : TBits_1); inline;
  648. procedure setTSIDL(thebits : TBits_1); inline;
  649. procedure setw(thebits : TBits_32); inline;
  650. public
  651. procedure clearON; inline;
  652. procedure clearSIDL; inline;
  653. procedure clearTCKPS0; inline;
  654. procedure clearTCKPS1; inline;
  655. procedure clearTCKPS2; inline;
  656. procedure clearTCS; inline;
  657. procedure clearTGATE; inline;
  658. procedure clearTON; inline;
  659. procedure clearTSIDL; inline;
  660. procedure setON; inline;
  661. procedure setSIDL; inline;
  662. procedure setTCKPS0; inline;
  663. procedure setTCKPS1; inline;
  664. procedure setTCKPS2; inline;
  665. procedure setTCS; inline;
  666. procedure setTGATE; inline;
  667. procedure setTON; inline;
  668. procedure setTSIDL; inline;
  669. property ON : TBits_1 read getON write setON;
  670. property SIDL : TBits_1 read getSIDL write setSIDL;
  671. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  672. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  673. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  674. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  675. property TCS : TBits_1 read getTCS write setTCS;
  676. property TGATE : TBits_1 read getTGATE write setTGATE;
  677. property TON : TBits_1 read getTON write setTON;
  678. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  679. property w : TBits_32 read getw write setw;
  680. end;
  681. type
  682. TTMR5Registers = record
  683. T5CONbits : TTMR5_T5CON;
  684. T5CON : longWord;
  685. T5CONCLR : longWord;
  686. T5CONSET : longWord;
  687. T5CONINV : longWord;
  688. TMR5 : longWord;
  689. TMR5CLR : longWord;
  690. TMR5SET : longWord;
  691. TMR5INV : longWord;
  692. PR5 : longWord;
  693. PR5CLR : longWord;
  694. PR5SET : longWord;
  695. PR5INV : longWord;
  696. end;
  697. TICAP1_IC1CON = record
  698. private
  699. function getC32 : TBits_1; inline;
  700. function getFEDGE : TBits_1; inline;
  701. function getICBNE : TBits_1; inline;
  702. function getICI : TBits_2; inline;
  703. function getICI0 : TBits_1; inline;
  704. function getICI1 : TBits_1; inline;
  705. function getICM : TBits_3; inline;
  706. function getICM0 : TBits_1; inline;
  707. function getICM1 : TBits_1; inline;
  708. function getICM2 : TBits_1; inline;
  709. function getICOV : TBits_1; inline;
  710. function getICSIDL : TBits_1; inline;
  711. function getICTMR : TBits_1; inline;
  712. function getON : TBits_1; inline;
  713. function getSIDL : TBits_1; inline;
  714. function getw : TBits_32; inline;
  715. procedure setC32(thebits : TBits_1); inline;
  716. procedure setFEDGE(thebits : TBits_1); inline;
  717. procedure setICBNE(thebits : TBits_1); inline;
  718. procedure setICI(thebits : TBits_2); inline;
  719. procedure setICI0(thebits : TBits_1); inline;
  720. procedure setICI1(thebits : TBits_1); inline;
  721. procedure setICM(thebits : TBits_3); inline;
  722. procedure setICM0(thebits : TBits_1); inline;
  723. procedure setICM1(thebits : TBits_1); inline;
  724. procedure setICM2(thebits : TBits_1); inline;
  725. procedure setICOV(thebits : TBits_1); inline;
  726. procedure setICSIDL(thebits : TBits_1); inline;
  727. procedure setICTMR(thebits : TBits_1); inline;
  728. procedure setON(thebits : TBits_1); inline;
  729. procedure setSIDL(thebits : TBits_1); inline;
  730. procedure setw(thebits : TBits_32); inline;
  731. public
  732. procedure clearC32; inline;
  733. procedure clearFEDGE; inline;
  734. procedure clearICBNE; inline;
  735. procedure clearICI0; inline;
  736. procedure clearICI1; inline;
  737. procedure clearICM0; inline;
  738. procedure clearICM1; inline;
  739. procedure clearICM2; inline;
  740. procedure clearICOV; inline;
  741. procedure clearICSIDL; inline;
  742. procedure clearICTMR; inline;
  743. procedure clearON; inline;
  744. procedure clearSIDL; inline;
  745. procedure setC32; inline;
  746. procedure setFEDGE; inline;
  747. procedure setICBNE; inline;
  748. procedure setICI0; inline;
  749. procedure setICI1; inline;
  750. procedure setICM0; inline;
  751. procedure setICM1; inline;
  752. procedure setICM2; inline;
  753. procedure setICOV; inline;
  754. procedure setICSIDL; inline;
  755. procedure setICTMR; inline;
  756. procedure setON; inline;
  757. procedure setSIDL; inline;
  758. property C32 : TBits_1 read getC32 write setC32;
  759. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  760. property ICBNE : TBits_1 read getICBNE write setICBNE;
  761. property ICI : TBits_2 read getICI write setICI;
  762. property ICI0 : TBits_1 read getICI0 write setICI0;
  763. property ICI1 : TBits_1 read getICI1 write setICI1;
  764. property ICM : TBits_3 read getICM write setICM;
  765. property ICM0 : TBits_1 read getICM0 write setICM0;
  766. property ICM1 : TBits_1 read getICM1 write setICM1;
  767. property ICM2 : TBits_1 read getICM2 write setICM2;
  768. property ICOV : TBits_1 read getICOV write setICOV;
  769. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  770. property ICTMR : TBits_1 read getICTMR write setICTMR;
  771. property ON : TBits_1 read getON write setON;
  772. property SIDL : TBits_1 read getSIDL write setSIDL;
  773. property w : TBits_32 read getw write setw;
  774. end;
  775. type
  776. TICAP1Registers = record
  777. IC1CONbits : TICAP1_IC1CON;
  778. IC1CON : longWord;
  779. IC1CONCLR : longWord;
  780. IC1CONSET : longWord;
  781. IC1CONINV : longWord;
  782. IC1BUF : longWord;
  783. end;
  784. TICAP2_IC2CON = record
  785. private
  786. function getC32 : TBits_1; inline;
  787. function getFEDGE : TBits_1; inline;
  788. function getICBNE : TBits_1; inline;
  789. function getICI : TBits_2; inline;
  790. function getICI0 : TBits_1; inline;
  791. function getICI1 : TBits_1; inline;
  792. function getICM : TBits_3; inline;
  793. function getICM0 : TBits_1; inline;
  794. function getICM1 : TBits_1; inline;
  795. function getICM2 : TBits_1; inline;
  796. function getICOV : TBits_1; inline;
  797. function getICSIDL : TBits_1; inline;
  798. function getICTMR : TBits_1; inline;
  799. function getON : TBits_1; inline;
  800. function getSIDL : TBits_1; inline;
  801. function getw : TBits_32; inline;
  802. procedure setC32(thebits : TBits_1); inline;
  803. procedure setFEDGE(thebits : TBits_1); inline;
  804. procedure setICBNE(thebits : TBits_1); inline;
  805. procedure setICI(thebits : TBits_2); inline;
  806. procedure setICI0(thebits : TBits_1); inline;
  807. procedure setICI1(thebits : TBits_1); inline;
  808. procedure setICM(thebits : TBits_3); inline;
  809. procedure setICM0(thebits : TBits_1); inline;
  810. procedure setICM1(thebits : TBits_1); inline;
  811. procedure setICM2(thebits : TBits_1); inline;
  812. procedure setICOV(thebits : TBits_1); inline;
  813. procedure setICSIDL(thebits : TBits_1); inline;
  814. procedure setICTMR(thebits : TBits_1); inline;
  815. procedure setON(thebits : TBits_1); inline;
  816. procedure setSIDL(thebits : TBits_1); inline;
  817. procedure setw(thebits : TBits_32); inline;
  818. public
  819. procedure clearC32; inline;
  820. procedure clearFEDGE; inline;
  821. procedure clearICBNE; inline;
  822. procedure clearICI0; inline;
  823. procedure clearICI1; inline;
  824. procedure clearICM0; inline;
  825. procedure clearICM1; inline;
  826. procedure clearICM2; inline;
  827. procedure clearICOV; inline;
  828. procedure clearICSIDL; inline;
  829. procedure clearICTMR; inline;
  830. procedure clearON; inline;
  831. procedure clearSIDL; inline;
  832. procedure setC32; inline;
  833. procedure setFEDGE; inline;
  834. procedure setICBNE; inline;
  835. procedure setICI0; inline;
  836. procedure setICI1; inline;
  837. procedure setICM0; inline;
  838. procedure setICM1; inline;
  839. procedure setICM2; inline;
  840. procedure setICOV; inline;
  841. procedure setICSIDL; inline;
  842. procedure setICTMR; inline;
  843. procedure setON; inline;
  844. procedure setSIDL; inline;
  845. property C32 : TBits_1 read getC32 write setC32;
  846. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  847. property ICBNE : TBits_1 read getICBNE write setICBNE;
  848. property ICI : TBits_2 read getICI write setICI;
  849. property ICI0 : TBits_1 read getICI0 write setICI0;
  850. property ICI1 : TBits_1 read getICI1 write setICI1;
  851. property ICM : TBits_3 read getICM write setICM;
  852. property ICM0 : TBits_1 read getICM0 write setICM0;
  853. property ICM1 : TBits_1 read getICM1 write setICM1;
  854. property ICM2 : TBits_1 read getICM2 write setICM2;
  855. property ICOV : TBits_1 read getICOV write setICOV;
  856. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  857. property ICTMR : TBits_1 read getICTMR write setICTMR;
  858. property ON : TBits_1 read getON write setON;
  859. property SIDL : TBits_1 read getSIDL write setSIDL;
  860. property w : TBits_32 read getw write setw;
  861. end;
  862. type
  863. TICAP2Registers = record
  864. IC2CONbits : TICAP2_IC2CON;
  865. IC2CON : longWord;
  866. IC2CONCLR : longWord;
  867. IC2CONSET : longWord;
  868. IC2CONINV : longWord;
  869. IC2BUF : longWord;
  870. end;
  871. TICAP3_IC3CON = record
  872. private
  873. function getC32 : TBits_1; inline;
  874. function getFEDGE : TBits_1; inline;
  875. function getICBNE : TBits_1; inline;
  876. function getICI : TBits_2; inline;
  877. function getICI0 : TBits_1; inline;
  878. function getICI1 : TBits_1; inline;
  879. function getICM : TBits_3; inline;
  880. function getICM0 : TBits_1; inline;
  881. function getICM1 : TBits_1; inline;
  882. function getICM2 : TBits_1; inline;
  883. function getICOV : TBits_1; inline;
  884. function getICSIDL : TBits_1; inline;
  885. function getICTMR : TBits_1; inline;
  886. function getON : TBits_1; inline;
  887. function getSIDL : TBits_1; inline;
  888. function getw : TBits_32; inline;
  889. procedure setC32(thebits : TBits_1); inline;
  890. procedure setFEDGE(thebits : TBits_1); inline;
  891. procedure setICBNE(thebits : TBits_1); inline;
  892. procedure setICI(thebits : TBits_2); inline;
  893. procedure setICI0(thebits : TBits_1); inline;
  894. procedure setICI1(thebits : TBits_1); inline;
  895. procedure setICM(thebits : TBits_3); inline;
  896. procedure setICM0(thebits : TBits_1); inline;
  897. procedure setICM1(thebits : TBits_1); inline;
  898. procedure setICM2(thebits : TBits_1); inline;
  899. procedure setICOV(thebits : TBits_1); inline;
  900. procedure setICSIDL(thebits : TBits_1); inline;
  901. procedure setICTMR(thebits : TBits_1); inline;
  902. procedure setON(thebits : TBits_1); inline;
  903. procedure setSIDL(thebits : TBits_1); inline;
  904. procedure setw(thebits : TBits_32); inline;
  905. public
  906. procedure clearC32; inline;
  907. procedure clearFEDGE; inline;
  908. procedure clearICBNE; inline;
  909. procedure clearICI0; inline;
  910. procedure clearICI1; inline;
  911. procedure clearICM0; inline;
  912. procedure clearICM1; inline;
  913. procedure clearICM2; inline;
  914. procedure clearICOV; inline;
  915. procedure clearICSIDL; inline;
  916. procedure clearICTMR; inline;
  917. procedure clearON; inline;
  918. procedure clearSIDL; inline;
  919. procedure setC32; inline;
  920. procedure setFEDGE; inline;
  921. procedure setICBNE; inline;
  922. procedure setICI0; inline;
  923. procedure setICI1; inline;
  924. procedure setICM0; inline;
  925. procedure setICM1; inline;
  926. procedure setICM2; inline;
  927. procedure setICOV; inline;
  928. procedure setICSIDL; inline;
  929. procedure setICTMR; inline;
  930. procedure setON; inline;
  931. procedure setSIDL; inline;
  932. property C32 : TBits_1 read getC32 write setC32;
  933. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  934. property ICBNE : TBits_1 read getICBNE write setICBNE;
  935. property ICI : TBits_2 read getICI write setICI;
  936. property ICI0 : TBits_1 read getICI0 write setICI0;
  937. property ICI1 : TBits_1 read getICI1 write setICI1;
  938. property ICM : TBits_3 read getICM write setICM;
  939. property ICM0 : TBits_1 read getICM0 write setICM0;
  940. property ICM1 : TBits_1 read getICM1 write setICM1;
  941. property ICM2 : TBits_1 read getICM2 write setICM2;
  942. property ICOV : TBits_1 read getICOV write setICOV;
  943. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  944. property ICTMR : TBits_1 read getICTMR write setICTMR;
  945. property ON : TBits_1 read getON write setON;
  946. property SIDL : TBits_1 read getSIDL write setSIDL;
  947. property w : TBits_32 read getw write setw;
  948. end;
  949. type
  950. TICAP3Registers = record
  951. IC3CONbits : TICAP3_IC3CON;
  952. IC3CON : longWord;
  953. IC3CONCLR : longWord;
  954. IC3CONSET : longWord;
  955. IC3CONINV : longWord;
  956. IC3BUF : longWord;
  957. end;
  958. TICAP4_IC4CON = record
  959. private
  960. function getC32 : TBits_1; inline;
  961. function getFEDGE : TBits_1; inline;
  962. function getICBNE : TBits_1; inline;
  963. function getICI : TBits_2; inline;
  964. function getICI0 : TBits_1; inline;
  965. function getICI1 : TBits_1; inline;
  966. function getICM : TBits_3; inline;
  967. function getICM0 : TBits_1; inline;
  968. function getICM1 : TBits_1; inline;
  969. function getICM2 : TBits_1; inline;
  970. function getICOV : TBits_1; inline;
  971. function getICSIDL : TBits_1; inline;
  972. function getICTMR : TBits_1; inline;
  973. function getON : TBits_1; inline;
  974. function getSIDL : TBits_1; inline;
  975. function getw : TBits_32; inline;
  976. procedure setC32(thebits : TBits_1); inline;
  977. procedure setFEDGE(thebits : TBits_1); inline;
  978. procedure setICBNE(thebits : TBits_1); inline;
  979. procedure setICI(thebits : TBits_2); inline;
  980. procedure setICI0(thebits : TBits_1); inline;
  981. procedure setICI1(thebits : TBits_1); inline;
  982. procedure setICM(thebits : TBits_3); inline;
  983. procedure setICM0(thebits : TBits_1); inline;
  984. procedure setICM1(thebits : TBits_1); inline;
  985. procedure setICM2(thebits : TBits_1); inline;
  986. procedure setICOV(thebits : TBits_1); inline;
  987. procedure setICSIDL(thebits : TBits_1); inline;
  988. procedure setICTMR(thebits : TBits_1); inline;
  989. procedure setON(thebits : TBits_1); inline;
  990. procedure setSIDL(thebits : TBits_1); inline;
  991. procedure setw(thebits : TBits_32); inline;
  992. public
  993. procedure clearC32; inline;
  994. procedure clearFEDGE; inline;
  995. procedure clearICBNE; inline;
  996. procedure clearICI0; inline;
  997. procedure clearICI1; inline;
  998. procedure clearICM0; inline;
  999. procedure clearICM1; inline;
  1000. procedure clearICM2; inline;
  1001. procedure clearICOV; inline;
  1002. procedure clearICSIDL; inline;
  1003. procedure clearICTMR; inline;
  1004. procedure clearON; inline;
  1005. procedure clearSIDL; inline;
  1006. procedure setC32; inline;
  1007. procedure setFEDGE; inline;
  1008. procedure setICBNE; inline;
  1009. procedure setICI0; inline;
  1010. procedure setICI1; inline;
  1011. procedure setICM0; inline;
  1012. procedure setICM1; inline;
  1013. procedure setICM2; inline;
  1014. procedure setICOV; inline;
  1015. procedure setICSIDL; inline;
  1016. procedure setICTMR; inline;
  1017. procedure setON; inline;
  1018. procedure setSIDL; inline;
  1019. property C32 : TBits_1 read getC32 write setC32;
  1020. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1021. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1022. property ICI : TBits_2 read getICI write setICI;
  1023. property ICI0 : TBits_1 read getICI0 write setICI0;
  1024. property ICI1 : TBits_1 read getICI1 write setICI1;
  1025. property ICM : TBits_3 read getICM write setICM;
  1026. property ICM0 : TBits_1 read getICM0 write setICM0;
  1027. property ICM1 : TBits_1 read getICM1 write setICM1;
  1028. property ICM2 : TBits_1 read getICM2 write setICM2;
  1029. property ICOV : TBits_1 read getICOV write setICOV;
  1030. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1031. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1032. property ON : TBits_1 read getON write setON;
  1033. property SIDL : TBits_1 read getSIDL write setSIDL;
  1034. property w : TBits_32 read getw write setw;
  1035. end;
  1036. type
  1037. TICAP4Registers = record
  1038. IC4CONbits : TICAP4_IC4CON;
  1039. IC4CON : longWord;
  1040. IC4CONCLR : longWord;
  1041. IC4CONSET : longWord;
  1042. IC4CONINV : longWord;
  1043. IC4BUF : longWord;
  1044. end;
  1045. TICAP5_IC5CON = record
  1046. private
  1047. function getC32 : TBits_1; inline;
  1048. function getFEDGE : TBits_1; inline;
  1049. function getICBNE : TBits_1; inline;
  1050. function getICI : TBits_2; inline;
  1051. function getICI0 : TBits_1; inline;
  1052. function getICI1 : TBits_1; inline;
  1053. function getICM : TBits_3; inline;
  1054. function getICM0 : TBits_1; inline;
  1055. function getICM1 : TBits_1; inline;
  1056. function getICM2 : TBits_1; inline;
  1057. function getICOV : TBits_1; inline;
  1058. function getICSIDL : TBits_1; inline;
  1059. function getICTMR : TBits_1; inline;
  1060. function getON : TBits_1; inline;
  1061. function getSIDL : TBits_1; inline;
  1062. function getw : TBits_32; inline;
  1063. procedure setC32(thebits : TBits_1); inline;
  1064. procedure setFEDGE(thebits : TBits_1); inline;
  1065. procedure setICBNE(thebits : TBits_1); inline;
  1066. procedure setICI(thebits : TBits_2); inline;
  1067. procedure setICI0(thebits : TBits_1); inline;
  1068. procedure setICI1(thebits : TBits_1); inline;
  1069. procedure setICM(thebits : TBits_3); inline;
  1070. procedure setICM0(thebits : TBits_1); inline;
  1071. procedure setICM1(thebits : TBits_1); inline;
  1072. procedure setICM2(thebits : TBits_1); inline;
  1073. procedure setICOV(thebits : TBits_1); inline;
  1074. procedure setICSIDL(thebits : TBits_1); inline;
  1075. procedure setICTMR(thebits : TBits_1); inline;
  1076. procedure setON(thebits : TBits_1); inline;
  1077. procedure setSIDL(thebits : TBits_1); inline;
  1078. procedure setw(thebits : TBits_32); inline;
  1079. public
  1080. procedure clearC32; inline;
  1081. procedure clearFEDGE; inline;
  1082. procedure clearICBNE; inline;
  1083. procedure clearICI0; inline;
  1084. procedure clearICI1; inline;
  1085. procedure clearICM0; inline;
  1086. procedure clearICM1; inline;
  1087. procedure clearICM2; inline;
  1088. procedure clearICOV; inline;
  1089. procedure clearICSIDL; inline;
  1090. procedure clearICTMR; inline;
  1091. procedure clearON; inline;
  1092. procedure clearSIDL; inline;
  1093. procedure setC32; inline;
  1094. procedure setFEDGE; inline;
  1095. procedure setICBNE; inline;
  1096. procedure setICI0; inline;
  1097. procedure setICI1; inline;
  1098. procedure setICM0; inline;
  1099. procedure setICM1; inline;
  1100. procedure setICM2; inline;
  1101. procedure setICOV; inline;
  1102. procedure setICSIDL; inline;
  1103. procedure setICTMR; inline;
  1104. procedure setON; inline;
  1105. procedure setSIDL; inline;
  1106. property C32 : TBits_1 read getC32 write setC32;
  1107. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1108. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1109. property ICI : TBits_2 read getICI write setICI;
  1110. property ICI0 : TBits_1 read getICI0 write setICI0;
  1111. property ICI1 : TBits_1 read getICI1 write setICI1;
  1112. property ICM : TBits_3 read getICM write setICM;
  1113. property ICM0 : TBits_1 read getICM0 write setICM0;
  1114. property ICM1 : TBits_1 read getICM1 write setICM1;
  1115. property ICM2 : TBits_1 read getICM2 write setICM2;
  1116. property ICOV : TBits_1 read getICOV write setICOV;
  1117. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1118. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1119. property ON : TBits_1 read getON write setON;
  1120. property SIDL : TBits_1 read getSIDL write setSIDL;
  1121. property w : TBits_32 read getw write setw;
  1122. end;
  1123. type
  1124. TICAP5Registers = record
  1125. IC5CONbits : TICAP5_IC5CON;
  1126. IC5CON : longWord;
  1127. IC5CONCLR : longWord;
  1128. IC5CONSET : longWord;
  1129. IC5CONINV : longWord;
  1130. IC5BUF : longWord;
  1131. end;
  1132. TOCMP1_OC1CON = record
  1133. private
  1134. function getOC32 : TBits_1; inline;
  1135. function getOCFLT : TBits_1; inline;
  1136. function getOCM : TBits_3; inline;
  1137. function getOCM0 : TBits_1; inline;
  1138. function getOCM1 : TBits_1; inline;
  1139. function getOCM2 : TBits_1; inline;
  1140. function getOCSIDL : TBits_1; inline;
  1141. function getOCTSEL : TBits_1; inline;
  1142. function getON : TBits_1; inline;
  1143. function getSIDL : TBits_1; inline;
  1144. function getw : TBits_32; inline;
  1145. procedure setOC32(thebits : TBits_1); inline;
  1146. procedure setOCFLT(thebits : TBits_1); inline;
  1147. procedure setOCM(thebits : TBits_3); inline;
  1148. procedure setOCM0(thebits : TBits_1); inline;
  1149. procedure setOCM1(thebits : TBits_1); inline;
  1150. procedure setOCM2(thebits : TBits_1); inline;
  1151. procedure setOCSIDL(thebits : TBits_1); inline;
  1152. procedure setOCTSEL(thebits : TBits_1); inline;
  1153. procedure setON(thebits : TBits_1); inline;
  1154. procedure setSIDL(thebits : TBits_1); inline;
  1155. procedure setw(thebits : TBits_32); inline;
  1156. public
  1157. procedure clearOC32; inline;
  1158. procedure clearOCFLT; inline;
  1159. procedure clearOCM0; inline;
  1160. procedure clearOCM1; inline;
  1161. procedure clearOCM2; inline;
  1162. procedure clearOCSIDL; inline;
  1163. procedure clearOCTSEL; inline;
  1164. procedure clearON; inline;
  1165. procedure clearSIDL; inline;
  1166. procedure setOC32; inline;
  1167. procedure setOCFLT; inline;
  1168. procedure setOCM0; inline;
  1169. procedure setOCM1; inline;
  1170. procedure setOCM2; inline;
  1171. procedure setOCSIDL; inline;
  1172. procedure setOCTSEL; inline;
  1173. procedure setON; inline;
  1174. procedure setSIDL; inline;
  1175. property OC32 : TBits_1 read getOC32 write setOC32;
  1176. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1177. property OCM : TBits_3 read getOCM write setOCM;
  1178. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1179. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1180. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1181. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1182. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1183. property ON : TBits_1 read getON write setON;
  1184. property SIDL : TBits_1 read getSIDL write setSIDL;
  1185. property w : TBits_32 read getw write setw;
  1186. end;
  1187. type
  1188. TOCMP1Registers = record
  1189. OC1CONbits : TOCMP1_OC1CON;
  1190. OC1CON : longWord;
  1191. OC1CONCLR : longWord;
  1192. OC1CONSET : longWord;
  1193. OC1CONINV : longWord;
  1194. OC1R : longWord;
  1195. OC1RCLR : longWord;
  1196. OC1RSET : longWord;
  1197. OC1RINV : longWord;
  1198. OC1RS : longWord;
  1199. OC1RSCLR : longWord;
  1200. OC1RSSET : longWord;
  1201. OC1RSINV : longWord;
  1202. end;
  1203. TOCMP2_OC2CON = record
  1204. private
  1205. function getOC32 : TBits_1; inline;
  1206. function getOCFLT : TBits_1; inline;
  1207. function getOCM : TBits_3; inline;
  1208. function getOCM0 : TBits_1; inline;
  1209. function getOCM1 : TBits_1; inline;
  1210. function getOCM2 : TBits_1; inline;
  1211. function getOCSIDL : TBits_1; inline;
  1212. function getOCTSEL : TBits_1; inline;
  1213. function getON : TBits_1; inline;
  1214. function getSIDL : TBits_1; inline;
  1215. function getw : TBits_32; inline;
  1216. procedure setOC32(thebits : TBits_1); inline;
  1217. procedure setOCFLT(thebits : TBits_1); inline;
  1218. procedure setOCM(thebits : TBits_3); inline;
  1219. procedure setOCM0(thebits : TBits_1); inline;
  1220. procedure setOCM1(thebits : TBits_1); inline;
  1221. procedure setOCM2(thebits : TBits_1); inline;
  1222. procedure setOCSIDL(thebits : TBits_1); inline;
  1223. procedure setOCTSEL(thebits : TBits_1); inline;
  1224. procedure setON(thebits : TBits_1); inline;
  1225. procedure setSIDL(thebits : TBits_1); inline;
  1226. procedure setw(thebits : TBits_32); inline;
  1227. public
  1228. procedure clearOC32; inline;
  1229. procedure clearOCFLT; inline;
  1230. procedure clearOCM0; inline;
  1231. procedure clearOCM1; inline;
  1232. procedure clearOCM2; inline;
  1233. procedure clearOCSIDL; inline;
  1234. procedure clearOCTSEL; inline;
  1235. procedure clearON; inline;
  1236. procedure clearSIDL; inline;
  1237. procedure setOC32; inline;
  1238. procedure setOCFLT; inline;
  1239. procedure setOCM0; inline;
  1240. procedure setOCM1; inline;
  1241. procedure setOCM2; inline;
  1242. procedure setOCSIDL; inline;
  1243. procedure setOCTSEL; inline;
  1244. procedure setON; inline;
  1245. procedure setSIDL; inline;
  1246. property OC32 : TBits_1 read getOC32 write setOC32;
  1247. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1248. property OCM : TBits_3 read getOCM write setOCM;
  1249. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1250. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1251. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1252. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1253. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1254. property ON : TBits_1 read getON write setON;
  1255. property SIDL : TBits_1 read getSIDL write setSIDL;
  1256. property w : TBits_32 read getw write setw;
  1257. end;
  1258. type
  1259. TOCMP2Registers = record
  1260. OC2CONbits : TOCMP2_OC2CON;
  1261. OC2CON : longWord;
  1262. OC2CONCLR : longWord;
  1263. OC2CONSET : longWord;
  1264. OC2CONINV : longWord;
  1265. OC2R : longWord;
  1266. OC2RCLR : longWord;
  1267. OC2RSET : longWord;
  1268. OC2RINV : longWord;
  1269. OC2RS : longWord;
  1270. OC2RSCLR : longWord;
  1271. OC2RSSET : longWord;
  1272. OC2RSINV : longWord;
  1273. end;
  1274. TOCMP3_OC3CON = record
  1275. private
  1276. function getOC32 : TBits_1; inline;
  1277. function getOCFLT : TBits_1; inline;
  1278. function getOCM : TBits_3; inline;
  1279. function getOCM0 : TBits_1; inline;
  1280. function getOCM1 : TBits_1; inline;
  1281. function getOCM2 : TBits_1; inline;
  1282. function getOCSIDL : TBits_1; inline;
  1283. function getOCTSEL : TBits_1; inline;
  1284. function getON : TBits_1; inline;
  1285. function getSIDL : TBits_1; inline;
  1286. function getw : TBits_32; inline;
  1287. procedure setOC32(thebits : TBits_1); inline;
  1288. procedure setOCFLT(thebits : TBits_1); inline;
  1289. procedure setOCM(thebits : TBits_3); inline;
  1290. procedure setOCM0(thebits : TBits_1); inline;
  1291. procedure setOCM1(thebits : TBits_1); inline;
  1292. procedure setOCM2(thebits : TBits_1); inline;
  1293. procedure setOCSIDL(thebits : TBits_1); inline;
  1294. procedure setOCTSEL(thebits : TBits_1); inline;
  1295. procedure setON(thebits : TBits_1); inline;
  1296. procedure setSIDL(thebits : TBits_1); inline;
  1297. procedure setw(thebits : TBits_32); inline;
  1298. public
  1299. procedure clearOC32; inline;
  1300. procedure clearOCFLT; inline;
  1301. procedure clearOCM0; inline;
  1302. procedure clearOCM1; inline;
  1303. procedure clearOCM2; inline;
  1304. procedure clearOCSIDL; inline;
  1305. procedure clearOCTSEL; inline;
  1306. procedure clearON; inline;
  1307. procedure clearSIDL; inline;
  1308. procedure setOC32; inline;
  1309. procedure setOCFLT; inline;
  1310. procedure setOCM0; inline;
  1311. procedure setOCM1; inline;
  1312. procedure setOCM2; inline;
  1313. procedure setOCSIDL; inline;
  1314. procedure setOCTSEL; inline;
  1315. procedure setON; inline;
  1316. procedure setSIDL; inline;
  1317. property OC32 : TBits_1 read getOC32 write setOC32;
  1318. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1319. property OCM : TBits_3 read getOCM write setOCM;
  1320. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1321. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1322. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1323. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1324. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1325. property ON : TBits_1 read getON write setON;
  1326. property SIDL : TBits_1 read getSIDL write setSIDL;
  1327. property w : TBits_32 read getw write setw;
  1328. end;
  1329. type
  1330. TOCMP3Registers = record
  1331. OC3CONbits : TOCMP3_OC3CON;
  1332. OC3CON : longWord;
  1333. OC3CONCLR : longWord;
  1334. OC3CONSET : longWord;
  1335. OC3CONINV : longWord;
  1336. OC3R : longWord;
  1337. OC3RCLR : longWord;
  1338. OC3RSET : longWord;
  1339. OC3RINV : longWord;
  1340. OC3RS : longWord;
  1341. OC3RSCLR : longWord;
  1342. OC3RSSET : longWord;
  1343. OC3RSINV : longWord;
  1344. end;
  1345. TOCMP4_OC4CON = record
  1346. private
  1347. function getOC32 : TBits_1; inline;
  1348. function getOCFLT : TBits_1; inline;
  1349. function getOCM : TBits_3; inline;
  1350. function getOCM0 : TBits_1; inline;
  1351. function getOCM1 : TBits_1; inline;
  1352. function getOCM2 : TBits_1; inline;
  1353. function getOCSIDL : TBits_1; inline;
  1354. function getOCTSEL : TBits_1; inline;
  1355. function getON : TBits_1; inline;
  1356. function getSIDL : TBits_1; inline;
  1357. function getw : TBits_32; inline;
  1358. procedure setOC32(thebits : TBits_1); inline;
  1359. procedure setOCFLT(thebits : TBits_1); inline;
  1360. procedure setOCM(thebits : TBits_3); inline;
  1361. procedure setOCM0(thebits : TBits_1); inline;
  1362. procedure setOCM1(thebits : TBits_1); inline;
  1363. procedure setOCM2(thebits : TBits_1); inline;
  1364. procedure setOCSIDL(thebits : TBits_1); inline;
  1365. procedure setOCTSEL(thebits : TBits_1); inline;
  1366. procedure setON(thebits : TBits_1); inline;
  1367. procedure setSIDL(thebits : TBits_1); inline;
  1368. procedure setw(thebits : TBits_32); inline;
  1369. public
  1370. procedure clearOC32; inline;
  1371. procedure clearOCFLT; inline;
  1372. procedure clearOCM0; inline;
  1373. procedure clearOCM1; inline;
  1374. procedure clearOCM2; inline;
  1375. procedure clearOCSIDL; inline;
  1376. procedure clearOCTSEL; inline;
  1377. procedure clearON; inline;
  1378. procedure clearSIDL; inline;
  1379. procedure setOC32; inline;
  1380. procedure setOCFLT; inline;
  1381. procedure setOCM0; inline;
  1382. procedure setOCM1; inline;
  1383. procedure setOCM2; inline;
  1384. procedure setOCSIDL; inline;
  1385. procedure setOCTSEL; inline;
  1386. procedure setON; inline;
  1387. procedure setSIDL; inline;
  1388. property OC32 : TBits_1 read getOC32 write setOC32;
  1389. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1390. property OCM : TBits_3 read getOCM write setOCM;
  1391. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1392. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1393. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1394. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1395. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1396. property ON : TBits_1 read getON write setON;
  1397. property SIDL : TBits_1 read getSIDL write setSIDL;
  1398. property w : TBits_32 read getw write setw;
  1399. end;
  1400. type
  1401. TOCMP4Registers = record
  1402. OC4CONbits : TOCMP4_OC4CON;
  1403. OC4CON : longWord;
  1404. OC4CONCLR : longWord;
  1405. OC4CONSET : longWord;
  1406. OC4CONINV : longWord;
  1407. OC4R : longWord;
  1408. OC4RCLR : longWord;
  1409. OC4RSET : longWord;
  1410. OC4RINV : longWord;
  1411. OC4RS : longWord;
  1412. OC4RSCLR : longWord;
  1413. OC4RSSET : longWord;
  1414. OC4RSINV : longWord;
  1415. end;
  1416. TOCMP5_OC5CON = record
  1417. private
  1418. function getOC32 : TBits_1; inline;
  1419. function getOCFLT : TBits_1; inline;
  1420. function getOCM : TBits_3; inline;
  1421. function getOCM0 : TBits_1; inline;
  1422. function getOCM1 : TBits_1; inline;
  1423. function getOCM2 : TBits_1; inline;
  1424. function getOCSIDL : TBits_1; inline;
  1425. function getOCTSEL : TBits_1; inline;
  1426. function getON : TBits_1; inline;
  1427. function getSIDL : TBits_1; inline;
  1428. function getw : TBits_32; inline;
  1429. procedure setOC32(thebits : TBits_1); inline;
  1430. procedure setOCFLT(thebits : TBits_1); inline;
  1431. procedure setOCM(thebits : TBits_3); inline;
  1432. procedure setOCM0(thebits : TBits_1); inline;
  1433. procedure setOCM1(thebits : TBits_1); inline;
  1434. procedure setOCM2(thebits : TBits_1); inline;
  1435. procedure setOCSIDL(thebits : TBits_1); inline;
  1436. procedure setOCTSEL(thebits : TBits_1); inline;
  1437. procedure setON(thebits : TBits_1); inline;
  1438. procedure setSIDL(thebits : TBits_1); inline;
  1439. procedure setw(thebits : TBits_32); inline;
  1440. public
  1441. procedure clearOC32; inline;
  1442. procedure clearOCFLT; inline;
  1443. procedure clearOCM0; inline;
  1444. procedure clearOCM1; inline;
  1445. procedure clearOCM2; inline;
  1446. procedure clearOCSIDL; inline;
  1447. procedure clearOCTSEL; inline;
  1448. procedure clearON; inline;
  1449. procedure clearSIDL; inline;
  1450. procedure setOC32; inline;
  1451. procedure setOCFLT; inline;
  1452. procedure setOCM0; inline;
  1453. procedure setOCM1; inline;
  1454. procedure setOCM2; inline;
  1455. procedure setOCSIDL; inline;
  1456. procedure setOCTSEL; inline;
  1457. procedure setON; inline;
  1458. procedure setSIDL; inline;
  1459. property OC32 : TBits_1 read getOC32 write setOC32;
  1460. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1461. property OCM : TBits_3 read getOCM write setOCM;
  1462. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1463. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1464. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1465. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1466. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1467. property ON : TBits_1 read getON write setON;
  1468. property SIDL : TBits_1 read getSIDL write setSIDL;
  1469. property w : TBits_32 read getw write setw;
  1470. end;
  1471. type
  1472. TOCMP5Registers = record
  1473. OC5CONbits : TOCMP5_OC5CON;
  1474. OC5CON : longWord;
  1475. OC5CONCLR : longWord;
  1476. OC5CONSET : longWord;
  1477. OC5CONINV : longWord;
  1478. OC5R : longWord;
  1479. OC5RCLR : longWord;
  1480. OC5RSET : longWord;
  1481. OC5RINV : longWord;
  1482. OC5RS : longWord;
  1483. OC5RSCLR : longWord;
  1484. OC5RSSET : longWord;
  1485. OC5RSINV : longWord;
  1486. end;
  1487. TI2C1_I2C1ACON = record
  1488. private
  1489. function getA10M : TBits_1; inline;
  1490. function getACKDT : TBits_1; inline;
  1491. function getACKEN : TBits_1; inline;
  1492. function getDISSLW : TBits_1; inline;
  1493. function getGCEN : TBits_1; inline;
  1494. function getI2CEN : TBits_1; inline;
  1495. function getI2CSIDL : TBits_1; inline;
  1496. function getIPMIEN : TBits_1; inline;
  1497. function getON : TBits_1; inline;
  1498. function getPEN : TBits_1; inline;
  1499. function getRCEN : TBits_1; inline;
  1500. function getRSEN : TBits_1; inline;
  1501. function getSCLREL : TBits_1; inline;
  1502. function getSEN : TBits_1; inline;
  1503. function getSIDL : TBits_1; inline;
  1504. function getSMEN : TBits_1; inline;
  1505. function getSTREN : TBits_1; inline;
  1506. function getSTRICT : TBits_1; inline;
  1507. function getw : TBits_32; inline;
  1508. procedure setA10M(thebits : TBits_1); inline;
  1509. procedure setACKDT(thebits : TBits_1); inline;
  1510. procedure setACKEN(thebits : TBits_1); inline;
  1511. procedure setDISSLW(thebits : TBits_1); inline;
  1512. procedure setGCEN(thebits : TBits_1); inline;
  1513. procedure setI2CEN(thebits : TBits_1); inline;
  1514. procedure setI2CSIDL(thebits : TBits_1); inline;
  1515. procedure setIPMIEN(thebits : TBits_1); inline;
  1516. procedure setON(thebits : TBits_1); inline;
  1517. procedure setPEN(thebits : TBits_1); inline;
  1518. procedure setRCEN(thebits : TBits_1); inline;
  1519. procedure setRSEN(thebits : TBits_1); inline;
  1520. procedure setSCLREL(thebits : TBits_1); inline;
  1521. procedure setSEN(thebits : TBits_1); inline;
  1522. procedure setSIDL(thebits : TBits_1); inline;
  1523. procedure setSMEN(thebits : TBits_1); inline;
  1524. procedure setSTREN(thebits : TBits_1); inline;
  1525. procedure setSTRICT(thebits : TBits_1); inline;
  1526. procedure setw(thebits : TBits_32); inline;
  1527. public
  1528. procedure clearA10M; inline;
  1529. procedure clearACKDT; inline;
  1530. procedure clearACKEN; inline;
  1531. procedure clearDISSLW; inline;
  1532. procedure clearGCEN; inline;
  1533. procedure clearI2CEN; inline;
  1534. procedure clearI2CSIDL; inline;
  1535. procedure clearIPMIEN; inline;
  1536. procedure clearON; inline;
  1537. procedure clearPEN; inline;
  1538. procedure clearRCEN; inline;
  1539. procedure clearRSEN; inline;
  1540. procedure clearSCLREL; inline;
  1541. procedure clearSEN; inline;
  1542. procedure clearSIDL; inline;
  1543. procedure clearSMEN; inline;
  1544. procedure clearSTREN; inline;
  1545. procedure clearSTRICT; inline;
  1546. procedure setA10M; inline;
  1547. procedure setACKDT; inline;
  1548. procedure setACKEN; inline;
  1549. procedure setDISSLW; inline;
  1550. procedure setGCEN; inline;
  1551. procedure setI2CEN; inline;
  1552. procedure setI2CSIDL; inline;
  1553. procedure setIPMIEN; inline;
  1554. procedure setON; inline;
  1555. procedure setPEN; inline;
  1556. procedure setRCEN; inline;
  1557. procedure setRSEN; inline;
  1558. procedure setSCLREL; inline;
  1559. procedure setSEN; inline;
  1560. procedure setSIDL; inline;
  1561. procedure setSMEN; inline;
  1562. procedure setSTREN; inline;
  1563. procedure setSTRICT; inline;
  1564. property A10M : TBits_1 read getA10M write setA10M;
  1565. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1566. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1567. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1568. property GCEN : TBits_1 read getGCEN write setGCEN;
  1569. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1570. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1571. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1572. property ON : TBits_1 read getON write setON;
  1573. property PEN : TBits_1 read getPEN write setPEN;
  1574. property RCEN : TBits_1 read getRCEN write setRCEN;
  1575. property RSEN : TBits_1 read getRSEN write setRSEN;
  1576. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1577. property SEN : TBits_1 read getSEN write setSEN;
  1578. property SIDL : TBits_1 read getSIDL write setSIDL;
  1579. property SMEN : TBits_1 read getSMEN write setSMEN;
  1580. property STREN : TBits_1 read getSTREN write setSTREN;
  1581. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1582. property w : TBits_32 read getw write setw;
  1583. end;
  1584. TI2C1_I2C1CON = record
  1585. private
  1586. function getA10M : TBits_1; inline;
  1587. function getACKDT : TBits_1; inline;
  1588. function getACKEN : TBits_1; inline;
  1589. function getDISSLW : TBits_1; inline;
  1590. function getGCEN : TBits_1; inline;
  1591. function getI2CEN : TBits_1; inline;
  1592. function getI2CSIDL : TBits_1; inline;
  1593. function getIPMIEN : TBits_1; inline;
  1594. function getON : TBits_1; inline;
  1595. function getPEN : TBits_1; inline;
  1596. function getRCEN : TBits_1; inline;
  1597. function getRSEN : TBits_1; inline;
  1598. function getSCLREL : TBits_1; inline;
  1599. function getSEN : TBits_1; inline;
  1600. function getSIDL : TBits_1; inline;
  1601. function getSMEN : TBits_1; inline;
  1602. function getSTREN : TBits_1; inline;
  1603. function getSTRICT : TBits_1; inline;
  1604. function getw : TBits_32; inline;
  1605. procedure setA10M(thebits : TBits_1); inline;
  1606. procedure setACKDT(thebits : TBits_1); inline;
  1607. procedure setACKEN(thebits : TBits_1); inline;
  1608. procedure setDISSLW(thebits : TBits_1); inline;
  1609. procedure setGCEN(thebits : TBits_1); inline;
  1610. procedure setI2CEN(thebits : TBits_1); inline;
  1611. procedure setI2CSIDL(thebits : TBits_1); inline;
  1612. procedure setIPMIEN(thebits : TBits_1); inline;
  1613. procedure setON(thebits : TBits_1); inline;
  1614. procedure setPEN(thebits : TBits_1); inline;
  1615. procedure setRCEN(thebits : TBits_1); inline;
  1616. procedure setRSEN(thebits : TBits_1); inline;
  1617. procedure setSCLREL(thebits : TBits_1); inline;
  1618. procedure setSEN(thebits : TBits_1); inline;
  1619. procedure setSIDL(thebits : TBits_1); inline;
  1620. procedure setSMEN(thebits : TBits_1); inline;
  1621. procedure setSTREN(thebits : TBits_1); inline;
  1622. procedure setSTRICT(thebits : TBits_1); inline;
  1623. procedure setw(thebits : TBits_32); inline;
  1624. public
  1625. procedure clearA10M; inline;
  1626. procedure clearACKDT; inline;
  1627. procedure clearACKEN; inline;
  1628. procedure clearDISSLW; inline;
  1629. procedure clearGCEN; inline;
  1630. procedure clearI2CEN; inline;
  1631. procedure clearI2CSIDL; inline;
  1632. procedure clearIPMIEN; inline;
  1633. procedure clearON; inline;
  1634. procedure clearPEN; inline;
  1635. procedure clearRCEN; inline;
  1636. procedure clearRSEN; inline;
  1637. procedure clearSCLREL; inline;
  1638. procedure clearSEN; inline;
  1639. procedure clearSIDL; inline;
  1640. procedure clearSMEN; inline;
  1641. procedure clearSTREN; inline;
  1642. procedure clearSTRICT; inline;
  1643. procedure setA10M; inline;
  1644. procedure setACKDT; inline;
  1645. procedure setACKEN; inline;
  1646. procedure setDISSLW; inline;
  1647. procedure setGCEN; inline;
  1648. procedure setI2CEN; inline;
  1649. procedure setI2CSIDL; inline;
  1650. procedure setIPMIEN; inline;
  1651. procedure setON; inline;
  1652. procedure setPEN; inline;
  1653. procedure setRCEN; inline;
  1654. procedure setRSEN; inline;
  1655. procedure setSCLREL; inline;
  1656. procedure setSEN; inline;
  1657. procedure setSIDL; inline;
  1658. procedure setSMEN; inline;
  1659. procedure setSTREN; inline;
  1660. procedure setSTRICT; inline;
  1661. property A10M : TBits_1 read getA10M write setA10M;
  1662. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1663. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1664. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1665. property GCEN : TBits_1 read getGCEN write setGCEN;
  1666. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1667. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1668. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1669. property ON : TBits_1 read getON write setON;
  1670. property PEN : TBits_1 read getPEN write setPEN;
  1671. property RCEN : TBits_1 read getRCEN write setRCEN;
  1672. property RSEN : TBits_1 read getRSEN write setRSEN;
  1673. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1674. property SEN : TBits_1 read getSEN write setSEN;
  1675. property SIDL : TBits_1 read getSIDL write setSIDL;
  1676. property SMEN : TBits_1 read getSMEN write setSMEN;
  1677. property STREN : TBits_1 read getSTREN write setSTREN;
  1678. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1679. property w : TBits_32 read getw write setw;
  1680. end;
  1681. TI2C1_I2C1ASTAT = record
  1682. private
  1683. function getACKSTAT : TBits_1; inline;
  1684. function getADD10 : TBits_1; inline;
  1685. function getBCL : TBits_1; inline;
  1686. function getD_A : TBits_1; inline;
  1687. function getGCSTAT : TBits_1; inline;
  1688. function getI2COV : TBits_1; inline;
  1689. function getI2CPOV : TBits_1; inline;
  1690. function getIWCOL : TBits_1; inline;
  1691. function getP : TBits_1; inline;
  1692. function getRBF : TBits_1; inline;
  1693. function getR_W : TBits_1; inline;
  1694. function getS : TBits_1; inline;
  1695. function getTBF : TBits_1; inline;
  1696. function getTRSTAT : TBits_1; inline;
  1697. function getw : TBits_32; inline;
  1698. procedure setACKSTAT(thebits : TBits_1); inline;
  1699. procedure setADD10(thebits : TBits_1); inline;
  1700. procedure setBCL(thebits : TBits_1); inline;
  1701. procedure setD_A(thebits : TBits_1); inline;
  1702. procedure setGCSTAT(thebits : TBits_1); inline;
  1703. procedure setI2COV(thebits : TBits_1); inline;
  1704. procedure setI2CPOV(thebits : TBits_1); inline;
  1705. procedure setIWCOL(thebits : TBits_1); inline;
  1706. procedure setP(thebits : TBits_1); inline;
  1707. procedure setRBF(thebits : TBits_1); inline;
  1708. procedure setR_W(thebits : TBits_1); inline;
  1709. procedure setS(thebits : TBits_1); inline;
  1710. procedure setTBF(thebits : TBits_1); inline;
  1711. procedure setTRSTAT(thebits : TBits_1); inline;
  1712. procedure setw(thebits : TBits_32); inline;
  1713. public
  1714. procedure clearACKSTAT; inline;
  1715. procedure clearADD10; inline;
  1716. procedure clearBCL; inline;
  1717. procedure clearD_A; inline;
  1718. procedure clearGCSTAT; inline;
  1719. procedure clearI2COV; inline;
  1720. procedure clearI2CPOV; inline;
  1721. procedure clearIWCOL; inline;
  1722. procedure clearP; inline;
  1723. procedure clearRBF; inline;
  1724. procedure clearR_W; inline;
  1725. procedure clearS; inline;
  1726. procedure clearTBF; inline;
  1727. procedure clearTRSTAT; inline;
  1728. procedure setACKSTAT; inline;
  1729. procedure setADD10; inline;
  1730. procedure setBCL; inline;
  1731. procedure setD_A; inline;
  1732. procedure setGCSTAT; inline;
  1733. procedure setI2COV; inline;
  1734. procedure setI2CPOV; inline;
  1735. procedure setIWCOL; inline;
  1736. procedure setP; inline;
  1737. procedure setRBF; inline;
  1738. procedure setR_W; inline;
  1739. procedure setS; inline;
  1740. procedure setTBF; inline;
  1741. procedure setTRSTAT; inline;
  1742. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1743. property ADD10 : TBits_1 read getADD10 write setADD10;
  1744. property BCL : TBits_1 read getBCL write setBCL;
  1745. property D_A : TBits_1 read getD_A write setD_A;
  1746. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1747. property I2COV : TBits_1 read getI2COV write setI2COV;
  1748. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1749. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1750. property P : TBits_1 read getP write setP;
  1751. property RBF : TBits_1 read getRBF write setRBF;
  1752. property R_W : TBits_1 read getR_W write setR_W;
  1753. property S : TBits_1 read getS write setS;
  1754. property TBF : TBits_1 read getTBF write setTBF;
  1755. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1756. property w : TBits_32 read getw write setw;
  1757. end;
  1758. TI2C1_I2C1STAT = record
  1759. private
  1760. function getACKSTAT : TBits_1; inline;
  1761. function getADD10 : TBits_1; inline;
  1762. function getBCL : TBits_1; inline;
  1763. function getD_A : TBits_1; inline;
  1764. function getGCSTAT : TBits_1; inline;
  1765. function getI2COV : TBits_1; inline;
  1766. function getI2CPOV : TBits_1; inline;
  1767. function getIWCOL : TBits_1; inline;
  1768. function getP : TBits_1; inline;
  1769. function getRBF : TBits_1; inline;
  1770. function getR_W : TBits_1; inline;
  1771. function getS : TBits_1; inline;
  1772. function getTBF : TBits_1; inline;
  1773. function getTRSTAT : TBits_1; inline;
  1774. function getw : TBits_32; inline;
  1775. procedure setACKSTAT(thebits : TBits_1); inline;
  1776. procedure setADD10(thebits : TBits_1); inline;
  1777. procedure setBCL(thebits : TBits_1); inline;
  1778. procedure setD_A(thebits : TBits_1); inline;
  1779. procedure setGCSTAT(thebits : TBits_1); inline;
  1780. procedure setI2COV(thebits : TBits_1); inline;
  1781. procedure setI2CPOV(thebits : TBits_1); inline;
  1782. procedure setIWCOL(thebits : TBits_1); inline;
  1783. procedure setP(thebits : TBits_1); inline;
  1784. procedure setRBF(thebits : TBits_1); inline;
  1785. procedure setR_W(thebits : TBits_1); inline;
  1786. procedure setS(thebits : TBits_1); inline;
  1787. procedure setTBF(thebits : TBits_1); inline;
  1788. procedure setTRSTAT(thebits : TBits_1); inline;
  1789. procedure setw(thebits : TBits_32); inline;
  1790. public
  1791. procedure clearACKSTAT; inline;
  1792. procedure clearADD10; inline;
  1793. procedure clearBCL; inline;
  1794. procedure clearD_A; inline;
  1795. procedure clearGCSTAT; inline;
  1796. procedure clearI2COV; inline;
  1797. procedure clearI2CPOV; inline;
  1798. procedure clearIWCOL; inline;
  1799. procedure clearP; inline;
  1800. procedure clearRBF; inline;
  1801. procedure clearR_W; inline;
  1802. procedure clearS; inline;
  1803. procedure clearTBF; inline;
  1804. procedure clearTRSTAT; inline;
  1805. procedure setACKSTAT; inline;
  1806. procedure setADD10; inline;
  1807. procedure setBCL; inline;
  1808. procedure setD_A; inline;
  1809. procedure setGCSTAT; inline;
  1810. procedure setI2COV; inline;
  1811. procedure setI2CPOV; inline;
  1812. procedure setIWCOL; inline;
  1813. procedure setP; inline;
  1814. procedure setRBF; inline;
  1815. procedure setR_W; inline;
  1816. procedure setS; inline;
  1817. procedure setTBF; inline;
  1818. procedure setTRSTAT; inline;
  1819. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1820. property ADD10 : TBits_1 read getADD10 write setADD10;
  1821. property BCL : TBits_1 read getBCL write setBCL;
  1822. property D_A : TBits_1 read getD_A write setD_A;
  1823. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1824. property I2COV : TBits_1 read getI2COV write setI2COV;
  1825. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1826. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1827. property P : TBits_1 read getP write setP;
  1828. property RBF : TBits_1 read getRBF write setRBF;
  1829. property R_W : TBits_1 read getR_W write setR_W;
  1830. property S : TBits_1 read getS write setS;
  1831. property TBF : TBits_1 read getTBF write setTBF;
  1832. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1833. property w : TBits_32 read getw write setw;
  1834. end;
  1835. type
  1836. TI2C1Registers = record
  1837. I2C1ACONbits : TI2C1_I2C1ACON;
  1838. I2C1ACON : longWord;
  1839. I2C1CONbits : TI2C1_I2C1CON;
  1840. I2C1CON : longWord;
  1841. I2C1ACONCLR : longWord;
  1842. I2C1CONCLR : longWord;
  1843. I2C1ACONSET : longWord;
  1844. I2C1CONSET : longWord;
  1845. I2C1ACONINV : longWord;
  1846. I2C1CONINV : longWord;
  1847. I2C1ASTATbits : TI2C1_I2C1ASTAT;
  1848. I2C1ASTAT : longWord;
  1849. I2C1STATbits : TI2C1_I2C1STAT;
  1850. I2C1STAT : longWord;
  1851. I2C1ASTATCLR : longWord;
  1852. I2C1STATCLR : longWord;
  1853. I2C1ASTATSET : longWord;
  1854. I2C1STATSET : longWord;
  1855. I2C1ASTATINV : longWord;
  1856. I2C1STATINV : longWord;
  1857. I2C1AADD : longWord;
  1858. I2C1ADD : longWord;
  1859. I2C1AADDCLR : longWord;
  1860. I2C1ADDCLR : longWord;
  1861. I2C1AADDSET : longWord;
  1862. I2C1ADDSET : longWord;
  1863. I2C1AADDINV : longWord;
  1864. I2C1ADDINV : longWord;
  1865. I2C1AMSK : longWord;
  1866. I2C1MSK : longWord;
  1867. I2C1AMSKCLR : longWord;
  1868. I2C1MSKCLR : longWord;
  1869. I2C1AMSKSET : longWord;
  1870. I2C1MSKSET : longWord;
  1871. I2C1AMSKINV : longWord;
  1872. I2C1MSKINV : longWord;
  1873. I2C1ABRG : longWord;
  1874. I2C1BRG : longWord;
  1875. I2C1ABRGCLR : longWord;
  1876. I2C1BRGCLR : longWord;
  1877. I2C1ABRGSET : longWord;
  1878. I2C1BRGSET : longWord;
  1879. I2C1ABRGINV : longWord;
  1880. I2C1BRGINV : longWord;
  1881. I2C1ATRN : longWord;
  1882. I2C1TRN : longWord;
  1883. I2C1ATRNCLR : longWord;
  1884. I2C1TRNCLR : longWord;
  1885. I2C1ATRNSET : longWord;
  1886. I2C1TRNSET : longWord;
  1887. I2C1ATRNINV : longWord;
  1888. I2C1TRNINV : longWord;
  1889. I2C1ARCV : longWord;
  1890. I2C1RCV : longWord;
  1891. end;
  1892. TI2C2_I2C2ACON = record
  1893. private
  1894. function getA10M : TBits_1; inline;
  1895. function getACKDT : TBits_1; inline;
  1896. function getACKEN : TBits_1; inline;
  1897. function getDISSLW : TBits_1; inline;
  1898. function getGCEN : TBits_1; inline;
  1899. function getI2CEN : TBits_1; inline;
  1900. function getI2CSIDL : TBits_1; inline;
  1901. function getIPMIEN : TBits_1; inline;
  1902. function getON : TBits_1; inline;
  1903. function getPEN : TBits_1; inline;
  1904. function getRCEN : TBits_1; inline;
  1905. function getRSEN : TBits_1; inline;
  1906. function getSCLREL : TBits_1; inline;
  1907. function getSEN : TBits_1; inline;
  1908. function getSIDL : TBits_1; inline;
  1909. function getSMEN : TBits_1; inline;
  1910. function getSTREN : TBits_1; inline;
  1911. function getSTRICT : TBits_1; inline;
  1912. function getw : TBits_32; inline;
  1913. procedure setA10M(thebits : TBits_1); inline;
  1914. procedure setACKDT(thebits : TBits_1); inline;
  1915. procedure setACKEN(thebits : TBits_1); inline;
  1916. procedure setDISSLW(thebits : TBits_1); inline;
  1917. procedure setGCEN(thebits : TBits_1); inline;
  1918. procedure setI2CEN(thebits : TBits_1); inline;
  1919. procedure setI2CSIDL(thebits : TBits_1); inline;
  1920. procedure setIPMIEN(thebits : TBits_1); inline;
  1921. procedure setON(thebits : TBits_1); inline;
  1922. procedure setPEN(thebits : TBits_1); inline;
  1923. procedure setRCEN(thebits : TBits_1); inline;
  1924. procedure setRSEN(thebits : TBits_1); inline;
  1925. procedure setSCLREL(thebits : TBits_1); inline;
  1926. procedure setSEN(thebits : TBits_1); inline;
  1927. procedure setSIDL(thebits : TBits_1); inline;
  1928. procedure setSMEN(thebits : TBits_1); inline;
  1929. procedure setSTREN(thebits : TBits_1); inline;
  1930. procedure setSTRICT(thebits : TBits_1); inline;
  1931. procedure setw(thebits : TBits_32); inline;
  1932. public
  1933. procedure clearA10M; inline;
  1934. procedure clearACKDT; inline;
  1935. procedure clearACKEN; inline;
  1936. procedure clearDISSLW; inline;
  1937. procedure clearGCEN; inline;
  1938. procedure clearI2CEN; inline;
  1939. procedure clearI2CSIDL; inline;
  1940. procedure clearIPMIEN; inline;
  1941. procedure clearON; inline;
  1942. procedure clearPEN; inline;
  1943. procedure clearRCEN; inline;
  1944. procedure clearRSEN; inline;
  1945. procedure clearSCLREL; inline;
  1946. procedure clearSEN; inline;
  1947. procedure clearSIDL; inline;
  1948. procedure clearSMEN; inline;
  1949. procedure clearSTREN; inline;
  1950. procedure clearSTRICT; inline;
  1951. procedure setA10M; inline;
  1952. procedure setACKDT; inline;
  1953. procedure setACKEN; inline;
  1954. procedure setDISSLW; inline;
  1955. procedure setGCEN; inline;
  1956. procedure setI2CEN; inline;
  1957. procedure setI2CSIDL; inline;
  1958. procedure setIPMIEN; inline;
  1959. procedure setON; inline;
  1960. procedure setPEN; inline;
  1961. procedure setRCEN; inline;
  1962. procedure setRSEN; inline;
  1963. procedure setSCLREL; inline;
  1964. procedure setSEN; inline;
  1965. procedure setSIDL; inline;
  1966. procedure setSMEN; inline;
  1967. procedure setSTREN; inline;
  1968. procedure setSTRICT; inline;
  1969. property A10M : TBits_1 read getA10M write setA10M;
  1970. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1971. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1972. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1973. property GCEN : TBits_1 read getGCEN write setGCEN;
  1974. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1975. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1976. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1977. property ON : TBits_1 read getON write setON;
  1978. property PEN : TBits_1 read getPEN write setPEN;
  1979. property RCEN : TBits_1 read getRCEN write setRCEN;
  1980. property RSEN : TBits_1 read getRSEN write setRSEN;
  1981. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1982. property SEN : TBits_1 read getSEN write setSEN;
  1983. property SIDL : TBits_1 read getSIDL write setSIDL;
  1984. property SMEN : TBits_1 read getSMEN write setSMEN;
  1985. property STREN : TBits_1 read getSTREN write setSTREN;
  1986. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1987. property w : TBits_32 read getw write setw;
  1988. end;
  1989. TI2C2_I2C2CON = record
  1990. private
  1991. function getA10M : TBits_1; inline;
  1992. function getACKDT : TBits_1; inline;
  1993. function getACKEN : TBits_1; inline;
  1994. function getDISSLW : TBits_1; inline;
  1995. function getGCEN : TBits_1; inline;
  1996. function getI2CEN : TBits_1; inline;
  1997. function getI2CSIDL : TBits_1; inline;
  1998. function getIPMIEN : TBits_1; inline;
  1999. function getON : TBits_1; inline;
  2000. function getPEN : TBits_1; inline;
  2001. function getRCEN : TBits_1; inline;
  2002. function getRSEN : TBits_1; inline;
  2003. function getSCLREL : TBits_1; inline;
  2004. function getSEN : TBits_1; inline;
  2005. function getSIDL : TBits_1; inline;
  2006. function getSMEN : TBits_1; inline;
  2007. function getSTREN : TBits_1; inline;
  2008. function getSTRICT : TBits_1; inline;
  2009. function getw : TBits_32; inline;
  2010. procedure setA10M(thebits : TBits_1); inline;
  2011. procedure setACKDT(thebits : TBits_1); inline;
  2012. procedure setACKEN(thebits : TBits_1); inline;
  2013. procedure setDISSLW(thebits : TBits_1); inline;
  2014. procedure setGCEN(thebits : TBits_1); inline;
  2015. procedure setI2CEN(thebits : TBits_1); inline;
  2016. procedure setI2CSIDL(thebits : TBits_1); inline;
  2017. procedure setIPMIEN(thebits : TBits_1); inline;
  2018. procedure setON(thebits : TBits_1); inline;
  2019. procedure setPEN(thebits : TBits_1); inline;
  2020. procedure setRCEN(thebits : TBits_1); inline;
  2021. procedure setRSEN(thebits : TBits_1); inline;
  2022. procedure setSCLREL(thebits : TBits_1); inline;
  2023. procedure setSEN(thebits : TBits_1); inline;
  2024. procedure setSIDL(thebits : TBits_1); inline;
  2025. procedure setSMEN(thebits : TBits_1); inline;
  2026. procedure setSTREN(thebits : TBits_1); inline;
  2027. procedure setSTRICT(thebits : TBits_1); inline;
  2028. procedure setw(thebits : TBits_32); inline;
  2029. public
  2030. procedure clearA10M; inline;
  2031. procedure clearACKDT; inline;
  2032. procedure clearACKEN; inline;
  2033. procedure clearDISSLW; inline;
  2034. procedure clearGCEN; inline;
  2035. procedure clearI2CEN; inline;
  2036. procedure clearI2CSIDL; inline;
  2037. procedure clearIPMIEN; inline;
  2038. procedure clearON; inline;
  2039. procedure clearPEN; inline;
  2040. procedure clearRCEN; inline;
  2041. procedure clearRSEN; inline;
  2042. procedure clearSCLREL; inline;
  2043. procedure clearSEN; inline;
  2044. procedure clearSIDL; inline;
  2045. procedure clearSMEN; inline;
  2046. procedure clearSTREN; inline;
  2047. procedure clearSTRICT; inline;
  2048. procedure setA10M; inline;
  2049. procedure setACKDT; inline;
  2050. procedure setACKEN; inline;
  2051. procedure setDISSLW; inline;
  2052. procedure setGCEN; inline;
  2053. procedure setI2CEN; inline;
  2054. procedure setI2CSIDL; inline;
  2055. procedure setIPMIEN; inline;
  2056. procedure setON; inline;
  2057. procedure setPEN; inline;
  2058. procedure setRCEN; inline;
  2059. procedure setRSEN; inline;
  2060. procedure setSCLREL; inline;
  2061. procedure setSEN; inline;
  2062. procedure setSIDL; inline;
  2063. procedure setSMEN; inline;
  2064. procedure setSTREN; inline;
  2065. procedure setSTRICT; inline;
  2066. property A10M : TBits_1 read getA10M write setA10M;
  2067. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2068. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2069. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2070. property GCEN : TBits_1 read getGCEN write setGCEN;
  2071. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2072. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2073. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2074. property ON : TBits_1 read getON write setON;
  2075. property PEN : TBits_1 read getPEN write setPEN;
  2076. property RCEN : TBits_1 read getRCEN write setRCEN;
  2077. property RSEN : TBits_1 read getRSEN write setRSEN;
  2078. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2079. property SEN : TBits_1 read getSEN write setSEN;
  2080. property SIDL : TBits_1 read getSIDL write setSIDL;
  2081. property SMEN : TBits_1 read getSMEN write setSMEN;
  2082. property STREN : TBits_1 read getSTREN write setSTREN;
  2083. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2084. property w : TBits_32 read getw write setw;
  2085. end;
  2086. TI2C2_I2C2ASTAT = record
  2087. private
  2088. function getACKSTAT : TBits_1; inline;
  2089. function getADD10 : TBits_1; inline;
  2090. function getBCL : TBits_1; inline;
  2091. function getD_A : TBits_1; inline;
  2092. function getGCSTAT : TBits_1; inline;
  2093. function getI2COV : TBits_1; inline;
  2094. function getI2CPOV : TBits_1; inline;
  2095. function getIWCOL : TBits_1; inline;
  2096. function getP : TBits_1; inline;
  2097. function getRBF : TBits_1; inline;
  2098. function getR_W : TBits_1; inline;
  2099. function getS : TBits_1; inline;
  2100. function getTBF : TBits_1; inline;
  2101. function getTRSTAT : TBits_1; inline;
  2102. function getw : TBits_32; inline;
  2103. procedure setACKSTAT(thebits : TBits_1); inline;
  2104. procedure setADD10(thebits : TBits_1); inline;
  2105. procedure setBCL(thebits : TBits_1); inline;
  2106. procedure setD_A(thebits : TBits_1); inline;
  2107. procedure setGCSTAT(thebits : TBits_1); inline;
  2108. procedure setI2COV(thebits : TBits_1); inline;
  2109. procedure setI2CPOV(thebits : TBits_1); inline;
  2110. procedure setIWCOL(thebits : TBits_1); inline;
  2111. procedure setP(thebits : TBits_1); inline;
  2112. procedure setRBF(thebits : TBits_1); inline;
  2113. procedure setR_W(thebits : TBits_1); inline;
  2114. procedure setS(thebits : TBits_1); inline;
  2115. procedure setTBF(thebits : TBits_1); inline;
  2116. procedure setTRSTAT(thebits : TBits_1); inline;
  2117. procedure setw(thebits : TBits_32); inline;
  2118. public
  2119. procedure clearACKSTAT; inline;
  2120. procedure clearADD10; inline;
  2121. procedure clearBCL; inline;
  2122. procedure clearD_A; inline;
  2123. procedure clearGCSTAT; inline;
  2124. procedure clearI2COV; inline;
  2125. procedure clearI2CPOV; inline;
  2126. procedure clearIWCOL; inline;
  2127. procedure clearP; inline;
  2128. procedure clearRBF; inline;
  2129. procedure clearR_W; inline;
  2130. procedure clearS; inline;
  2131. procedure clearTBF; inline;
  2132. procedure clearTRSTAT; inline;
  2133. procedure setACKSTAT; inline;
  2134. procedure setADD10; inline;
  2135. procedure setBCL; inline;
  2136. procedure setD_A; inline;
  2137. procedure setGCSTAT; inline;
  2138. procedure setI2COV; inline;
  2139. procedure setI2CPOV; inline;
  2140. procedure setIWCOL; inline;
  2141. procedure setP; inline;
  2142. procedure setRBF; inline;
  2143. procedure setR_W; inline;
  2144. procedure setS; inline;
  2145. procedure setTBF; inline;
  2146. procedure setTRSTAT; inline;
  2147. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2148. property ADD10 : TBits_1 read getADD10 write setADD10;
  2149. property BCL : TBits_1 read getBCL write setBCL;
  2150. property D_A : TBits_1 read getD_A write setD_A;
  2151. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2152. property I2COV : TBits_1 read getI2COV write setI2COV;
  2153. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2154. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2155. property P : TBits_1 read getP write setP;
  2156. property RBF : TBits_1 read getRBF write setRBF;
  2157. property R_W : TBits_1 read getR_W write setR_W;
  2158. property S : TBits_1 read getS write setS;
  2159. property TBF : TBits_1 read getTBF write setTBF;
  2160. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2161. property w : TBits_32 read getw write setw;
  2162. end;
  2163. TI2C2_I2C2STAT = record
  2164. private
  2165. function getACKSTAT : TBits_1; inline;
  2166. function getADD10 : TBits_1; inline;
  2167. function getBCL : TBits_1; inline;
  2168. function getD_A : TBits_1; inline;
  2169. function getGCSTAT : TBits_1; inline;
  2170. function getI2COV : TBits_1; inline;
  2171. function getI2CPOV : TBits_1; inline;
  2172. function getIWCOL : TBits_1; inline;
  2173. function getP : TBits_1; inline;
  2174. function getRBF : TBits_1; inline;
  2175. function getR_W : TBits_1; inline;
  2176. function getS : TBits_1; inline;
  2177. function getTBF : TBits_1; inline;
  2178. function getTRSTAT : TBits_1; inline;
  2179. function getw : TBits_32; inline;
  2180. procedure setACKSTAT(thebits : TBits_1); inline;
  2181. procedure setADD10(thebits : TBits_1); inline;
  2182. procedure setBCL(thebits : TBits_1); inline;
  2183. procedure setD_A(thebits : TBits_1); inline;
  2184. procedure setGCSTAT(thebits : TBits_1); inline;
  2185. procedure setI2COV(thebits : TBits_1); inline;
  2186. procedure setI2CPOV(thebits : TBits_1); inline;
  2187. procedure setIWCOL(thebits : TBits_1); inline;
  2188. procedure setP(thebits : TBits_1); inline;
  2189. procedure setRBF(thebits : TBits_1); inline;
  2190. procedure setR_W(thebits : TBits_1); inline;
  2191. procedure setS(thebits : TBits_1); inline;
  2192. procedure setTBF(thebits : TBits_1); inline;
  2193. procedure setTRSTAT(thebits : TBits_1); inline;
  2194. procedure setw(thebits : TBits_32); inline;
  2195. public
  2196. procedure clearACKSTAT; inline;
  2197. procedure clearADD10; inline;
  2198. procedure clearBCL; inline;
  2199. procedure clearD_A; inline;
  2200. procedure clearGCSTAT; inline;
  2201. procedure clearI2COV; inline;
  2202. procedure clearI2CPOV; inline;
  2203. procedure clearIWCOL; inline;
  2204. procedure clearP; inline;
  2205. procedure clearRBF; inline;
  2206. procedure clearR_W; inline;
  2207. procedure clearS; inline;
  2208. procedure clearTBF; inline;
  2209. procedure clearTRSTAT; inline;
  2210. procedure setACKSTAT; inline;
  2211. procedure setADD10; inline;
  2212. procedure setBCL; inline;
  2213. procedure setD_A; inline;
  2214. procedure setGCSTAT; inline;
  2215. procedure setI2COV; inline;
  2216. procedure setI2CPOV; inline;
  2217. procedure setIWCOL; inline;
  2218. procedure setP; inline;
  2219. procedure setRBF; inline;
  2220. procedure setR_W; inline;
  2221. procedure setS; inline;
  2222. procedure setTBF; inline;
  2223. procedure setTRSTAT; inline;
  2224. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2225. property ADD10 : TBits_1 read getADD10 write setADD10;
  2226. property BCL : TBits_1 read getBCL write setBCL;
  2227. property D_A : TBits_1 read getD_A write setD_A;
  2228. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2229. property I2COV : TBits_1 read getI2COV write setI2COV;
  2230. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2231. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2232. property P : TBits_1 read getP write setP;
  2233. property RBF : TBits_1 read getRBF write setRBF;
  2234. property R_W : TBits_1 read getR_W write setR_W;
  2235. property S : TBits_1 read getS write setS;
  2236. property TBF : TBits_1 read getTBF write setTBF;
  2237. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2238. property w : TBits_32 read getw write setw;
  2239. end;
  2240. type
  2241. TI2C2Registers = record
  2242. I2C2ACONbits : TI2C2_I2C2ACON;
  2243. I2C2ACON : longWord;
  2244. I2C2CONbits : TI2C2_I2C2CON;
  2245. I2C2CON : longWord;
  2246. I2C2ACONCLR : longWord;
  2247. I2C2CONCLR : longWord;
  2248. I2C2ACONSET : longWord;
  2249. I2C2CONSET : longWord;
  2250. I2C2ACONINV : longWord;
  2251. I2C2CONINV : longWord;
  2252. I2C2ASTATbits : TI2C2_I2C2ASTAT;
  2253. I2C2ASTAT : longWord;
  2254. I2C2STATbits : TI2C2_I2C2STAT;
  2255. I2C2STAT : longWord;
  2256. I2C2ASTATCLR : longWord;
  2257. I2C2STATCLR : longWord;
  2258. I2C2ASTATSET : longWord;
  2259. I2C2STATSET : longWord;
  2260. I2C2ASTATINV : longWord;
  2261. I2C2STATINV : longWord;
  2262. I2C2AADD : longWord;
  2263. I2C2ADD : longWord;
  2264. I2C2AADDCLR : longWord;
  2265. I2C2ADDCLR : longWord;
  2266. I2C2AADDSET : longWord;
  2267. I2C2ADDSET : longWord;
  2268. I2C2AADDINV : longWord;
  2269. I2C2ADDINV : longWord;
  2270. I2C2AMSK : longWord;
  2271. I2C2MSK : longWord;
  2272. I2C2AMSKCLR : longWord;
  2273. I2C2MSKCLR : longWord;
  2274. I2C2AMSKSET : longWord;
  2275. I2C2MSKSET : longWord;
  2276. I2C2AMSKINV : longWord;
  2277. I2C2MSKINV : longWord;
  2278. I2C2ABRG : longWord;
  2279. I2C2BRG : longWord;
  2280. I2C2ABRGCLR : longWord;
  2281. I2C2BRGCLR : longWord;
  2282. I2C2ABRGSET : longWord;
  2283. I2C2BRGSET : longWord;
  2284. I2C2ABRGINV : longWord;
  2285. I2C2BRGINV : longWord;
  2286. I2C2ATRN : longWord;
  2287. I2C2TRN : longWord;
  2288. I2C2ATRNCLR : longWord;
  2289. I2C2TRNCLR : longWord;
  2290. I2C2ATRNSET : longWord;
  2291. I2C2TRNSET : longWord;
  2292. I2C2ATRNINV : longWord;
  2293. I2C2TRNINV : longWord;
  2294. I2C2ARCV : longWord;
  2295. I2C2RCV : longWord;
  2296. end;
  2297. TSPI1_SPI1CON = record
  2298. private
  2299. function getCKE : TBits_1; inline;
  2300. function getCKP : TBits_1; inline;
  2301. function getDISSDI : TBits_1; inline;
  2302. function getDISSDO : TBits_1; inline;
  2303. function getENHBUF : TBits_1; inline;
  2304. function getFRMCNT : TBits_3; inline;
  2305. function getFRMEN : TBits_1; inline;
  2306. function getFRMPOL : TBits_1; inline;
  2307. function getFRMSYNC : TBits_1; inline;
  2308. function getFRMSYPW : TBits_1; inline;
  2309. function getMCLKSEL : TBits_1; inline;
  2310. function getMODE16 : TBits_1; inline;
  2311. function getMODE32 : TBits_1; inline;
  2312. function getMSSEN : TBits_1; inline;
  2313. function getMSTEN : TBits_1; inline;
  2314. function getON : TBits_1; inline;
  2315. function getSIDL : TBits_1; inline;
  2316. function getSMP : TBits_1; inline;
  2317. function getSPIFE : TBits_1; inline;
  2318. function getSRXISEL : TBits_2; inline;
  2319. function getSSEN : TBits_1; inline;
  2320. function getSTXISEL : TBits_2; inline;
  2321. function getw : TBits_32; inline;
  2322. procedure setCKE(thebits : TBits_1); inline;
  2323. procedure setCKP(thebits : TBits_1); inline;
  2324. procedure setDISSDI(thebits : TBits_1); inline;
  2325. procedure setDISSDO(thebits : TBits_1); inline;
  2326. procedure setENHBUF(thebits : TBits_1); inline;
  2327. procedure setFRMCNT(thebits : TBits_3); inline;
  2328. procedure setFRMEN(thebits : TBits_1); inline;
  2329. procedure setFRMPOL(thebits : TBits_1); inline;
  2330. procedure setFRMSYNC(thebits : TBits_1); inline;
  2331. procedure setFRMSYPW(thebits : TBits_1); inline;
  2332. procedure setMCLKSEL(thebits : TBits_1); inline;
  2333. procedure setMODE16(thebits : TBits_1); inline;
  2334. procedure setMODE32(thebits : TBits_1); inline;
  2335. procedure setMSSEN(thebits : TBits_1); inline;
  2336. procedure setMSTEN(thebits : TBits_1); inline;
  2337. procedure setON(thebits : TBits_1); inline;
  2338. procedure setSIDL(thebits : TBits_1); inline;
  2339. procedure setSMP(thebits : TBits_1); inline;
  2340. procedure setSPIFE(thebits : TBits_1); inline;
  2341. procedure setSRXISEL(thebits : TBits_2); inline;
  2342. procedure setSSEN(thebits : TBits_1); inline;
  2343. procedure setSTXISEL(thebits : TBits_2); inline;
  2344. procedure setw(thebits : TBits_32); inline;
  2345. public
  2346. procedure clearCKE; inline;
  2347. procedure clearCKP; inline;
  2348. procedure clearDISSDI; inline;
  2349. procedure clearDISSDO; inline;
  2350. procedure clearENHBUF; inline;
  2351. procedure clearFRMEN; inline;
  2352. procedure clearFRMPOL; inline;
  2353. procedure clearFRMSYNC; inline;
  2354. procedure clearFRMSYPW; inline;
  2355. procedure clearMCLKSEL; inline;
  2356. procedure clearMODE16; inline;
  2357. procedure clearMODE32; inline;
  2358. procedure clearMSSEN; inline;
  2359. procedure clearMSTEN; inline;
  2360. procedure clearON; inline;
  2361. procedure clearSIDL; inline;
  2362. procedure clearSMP; inline;
  2363. procedure clearSPIFE; inline;
  2364. procedure clearSSEN; inline;
  2365. procedure setCKE; inline;
  2366. procedure setCKP; inline;
  2367. procedure setDISSDI; inline;
  2368. procedure setDISSDO; inline;
  2369. procedure setENHBUF; inline;
  2370. procedure setFRMEN; inline;
  2371. procedure setFRMPOL; inline;
  2372. procedure setFRMSYNC; inline;
  2373. procedure setFRMSYPW; inline;
  2374. procedure setMCLKSEL; inline;
  2375. procedure setMODE16; inline;
  2376. procedure setMODE32; inline;
  2377. procedure setMSSEN; inline;
  2378. procedure setMSTEN; inline;
  2379. procedure setON; inline;
  2380. procedure setSIDL; inline;
  2381. procedure setSMP; inline;
  2382. procedure setSPIFE; inline;
  2383. procedure setSSEN; inline;
  2384. property CKE : TBits_1 read getCKE write setCKE;
  2385. property CKP : TBits_1 read getCKP write setCKP;
  2386. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2387. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2388. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2389. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2390. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2391. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2392. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2393. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2394. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2395. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2396. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2397. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2398. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2399. property ON : TBits_1 read getON write setON;
  2400. property SIDL : TBits_1 read getSIDL write setSIDL;
  2401. property SMP : TBits_1 read getSMP write setSMP;
  2402. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2403. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2404. property SSEN : TBits_1 read getSSEN write setSSEN;
  2405. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2406. property w : TBits_32 read getw write setw;
  2407. end;
  2408. TSPI1_SPI1STAT = record
  2409. private
  2410. function getFRMERR : TBits_1; inline;
  2411. function getRXBUFELM : TBits_5; inline;
  2412. function getSPIBUSY : TBits_1; inline;
  2413. function getSPIRBE : TBits_1; inline;
  2414. function getSPIRBF : TBits_1; inline;
  2415. function getSPIROV : TBits_1; inline;
  2416. function getSPITBE : TBits_1; inline;
  2417. function getSPITBF : TBits_1; inline;
  2418. function getSPITUR : TBits_1; inline;
  2419. function getSRMT : TBits_1; inline;
  2420. function getTXBUFELM : TBits_5; inline;
  2421. function getw : TBits_32; inline;
  2422. procedure setFRMERR(thebits : TBits_1); inline;
  2423. procedure setRXBUFELM(thebits : TBits_5); inline;
  2424. procedure setSPIBUSY(thebits : TBits_1); inline;
  2425. procedure setSPIRBE(thebits : TBits_1); inline;
  2426. procedure setSPIRBF(thebits : TBits_1); inline;
  2427. procedure setSPIROV(thebits : TBits_1); inline;
  2428. procedure setSPITBE(thebits : TBits_1); inline;
  2429. procedure setSPITBF(thebits : TBits_1); inline;
  2430. procedure setSPITUR(thebits : TBits_1); inline;
  2431. procedure setSRMT(thebits : TBits_1); inline;
  2432. procedure setTXBUFELM(thebits : TBits_5); inline;
  2433. procedure setw(thebits : TBits_32); inline;
  2434. public
  2435. procedure clearFRMERR; inline;
  2436. procedure clearSPIBUSY; inline;
  2437. procedure clearSPIRBE; inline;
  2438. procedure clearSPIRBF; inline;
  2439. procedure clearSPIROV; inline;
  2440. procedure clearSPITBE; inline;
  2441. procedure clearSPITBF; inline;
  2442. procedure clearSPITUR; inline;
  2443. procedure clearSRMT; inline;
  2444. procedure setFRMERR; inline;
  2445. procedure setSPIBUSY; inline;
  2446. procedure setSPIRBE; inline;
  2447. procedure setSPIRBF; inline;
  2448. procedure setSPIROV; inline;
  2449. procedure setSPITBE; inline;
  2450. procedure setSPITBF; inline;
  2451. procedure setSPITUR; inline;
  2452. procedure setSRMT; inline;
  2453. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2454. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2455. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2456. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2457. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2458. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2459. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2460. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2461. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2462. property SRMT : TBits_1 read getSRMT write setSRMT;
  2463. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2464. property w : TBits_32 read getw write setw;
  2465. end;
  2466. TSPI1_SPI1CON2 = record
  2467. private
  2468. function getAUDEN : TBits_1; inline;
  2469. function getAUDMOD : TBits_2; inline;
  2470. function getAUDMOD0 : TBits_1; inline;
  2471. function getAUDMOD1 : TBits_1; inline;
  2472. function getAUDMONO : TBits_1; inline;
  2473. function getFRMERREN : TBits_1; inline;
  2474. function getIGNROV : TBits_1; inline;
  2475. function getIGNTUR : TBits_1; inline;
  2476. function getSPIROVEN : TBits_1; inline;
  2477. function getSPISGNEXT : TBits_1; inline;
  2478. function getSPITUREN : TBits_1; inline;
  2479. function getw : TBits_32; inline;
  2480. procedure setAUDEN(thebits : TBits_1); inline;
  2481. procedure setAUDMOD(thebits : TBits_2); inline;
  2482. procedure setAUDMOD0(thebits : TBits_1); inline;
  2483. procedure setAUDMOD1(thebits : TBits_1); inline;
  2484. procedure setAUDMONO(thebits : TBits_1); inline;
  2485. procedure setFRMERREN(thebits : TBits_1); inline;
  2486. procedure setIGNROV(thebits : TBits_1); inline;
  2487. procedure setIGNTUR(thebits : TBits_1); inline;
  2488. procedure setSPIROVEN(thebits : TBits_1); inline;
  2489. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2490. procedure setSPITUREN(thebits : TBits_1); inline;
  2491. procedure setw(thebits : TBits_32); inline;
  2492. public
  2493. procedure clearAUDEN; inline;
  2494. procedure clearAUDMOD0; inline;
  2495. procedure clearAUDMOD1; inline;
  2496. procedure clearAUDMONO; inline;
  2497. procedure clearFRMERREN; inline;
  2498. procedure clearIGNROV; inline;
  2499. procedure clearIGNTUR; inline;
  2500. procedure clearSPIROVEN; inline;
  2501. procedure clearSPISGNEXT; inline;
  2502. procedure clearSPITUREN; inline;
  2503. procedure setAUDEN; inline;
  2504. procedure setAUDMOD0; inline;
  2505. procedure setAUDMOD1; inline;
  2506. procedure setAUDMONO; inline;
  2507. procedure setFRMERREN; inline;
  2508. procedure setIGNROV; inline;
  2509. procedure setIGNTUR; inline;
  2510. procedure setSPIROVEN; inline;
  2511. procedure setSPISGNEXT; inline;
  2512. procedure setSPITUREN; inline;
  2513. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2514. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2515. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2516. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2517. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2518. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2519. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2520. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2521. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2522. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2523. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2524. property w : TBits_32 read getw write setw;
  2525. end;
  2526. type
  2527. TSPI1Registers = record
  2528. SPI1CONbits : TSPI1_SPI1CON;
  2529. SPI1CON : longWord;
  2530. SPI1CONCLR : longWord;
  2531. SPI1CONSET : longWord;
  2532. SPI1CONINV : longWord;
  2533. SPI1STATbits : TSPI1_SPI1STAT;
  2534. SPI1STAT : longWord;
  2535. SPI1STATCLR : longWord;
  2536. SPI1STATSET : longWord;
  2537. SPI1STATINV : longWord;
  2538. SPI1BUF : longWord;
  2539. SPI1BRG : longWord;
  2540. SPI1BRGCLR : longWord;
  2541. SPI1BRGSET : longWord;
  2542. SPI1BRGINV : longWord;
  2543. SPI1CON2bits : TSPI1_SPI1CON2;
  2544. SPI1CON2 : longWord;
  2545. SPI1CON2CLR : longWord;
  2546. SPI1CON2SET : longWord;
  2547. SPI1CON2INV : longWord;
  2548. end;
  2549. TSPI2_SPI2CON = record
  2550. private
  2551. function getCKE : TBits_1; inline;
  2552. function getCKP : TBits_1; inline;
  2553. function getDISSDI : TBits_1; inline;
  2554. function getDISSDO : TBits_1; inline;
  2555. function getENHBUF : TBits_1; inline;
  2556. function getFRMCNT : TBits_3; inline;
  2557. function getFRMEN : TBits_1; inline;
  2558. function getFRMPOL : TBits_1; inline;
  2559. function getFRMSYNC : TBits_1; inline;
  2560. function getFRMSYPW : TBits_1; inline;
  2561. function getMCLKSEL : TBits_1; inline;
  2562. function getMODE16 : TBits_1; inline;
  2563. function getMODE32 : TBits_1; inline;
  2564. function getMSSEN : TBits_1; inline;
  2565. function getMSTEN : TBits_1; inline;
  2566. function getON : TBits_1; inline;
  2567. function getSIDL : TBits_1; inline;
  2568. function getSMP : TBits_1; inline;
  2569. function getSPIFE : TBits_1; inline;
  2570. function getSRXISEL : TBits_2; inline;
  2571. function getSSEN : TBits_1; inline;
  2572. function getSTXISEL : TBits_2; inline;
  2573. function getw : TBits_32; inline;
  2574. procedure setCKE(thebits : TBits_1); inline;
  2575. procedure setCKP(thebits : TBits_1); inline;
  2576. procedure setDISSDI(thebits : TBits_1); inline;
  2577. procedure setDISSDO(thebits : TBits_1); inline;
  2578. procedure setENHBUF(thebits : TBits_1); inline;
  2579. procedure setFRMCNT(thebits : TBits_3); inline;
  2580. procedure setFRMEN(thebits : TBits_1); inline;
  2581. procedure setFRMPOL(thebits : TBits_1); inline;
  2582. procedure setFRMSYNC(thebits : TBits_1); inline;
  2583. procedure setFRMSYPW(thebits : TBits_1); inline;
  2584. procedure setMCLKSEL(thebits : TBits_1); inline;
  2585. procedure setMODE16(thebits : TBits_1); inline;
  2586. procedure setMODE32(thebits : TBits_1); inline;
  2587. procedure setMSSEN(thebits : TBits_1); inline;
  2588. procedure setMSTEN(thebits : TBits_1); inline;
  2589. procedure setON(thebits : TBits_1); inline;
  2590. procedure setSIDL(thebits : TBits_1); inline;
  2591. procedure setSMP(thebits : TBits_1); inline;
  2592. procedure setSPIFE(thebits : TBits_1); inline;
  2593. procedure setSRXISEL(thebits : TBits_2); inline;
  2594. procedure setSSEN(thebits : TBits_1); inline;
  2595. procedure setSTXISEL(thebits : TBits_2); inline;
  2596. procedure setw(thebits : TBits_32); inline;
  2597. public
  2598. procedure clearCKE; inline;
  2599. procedure clearCKP; inline;
  2600. procedure clearDISSDI; inline;
  2601. procedure clearDISSDO; inline;
  2602. procedure clearENHBUF; inline;
  2603. procedure clearFRMEN; inline;
  2604. procedure clearFRMPOL; inline;
  2605. procedure clearFRMSYNC; inline;
  2606. procedure clearFRMSYPW; inline;
  2607. procedure clearMCLKSEL; inline;
  2608. procedure clearMODE16; inline;
  2609. procedure clearMODE32; inline;
  2610. procedure clearMSSEN; inline;
  2611. procedure clearMSTEN; inline;
  2612. procedure clearON; inline;
  2613. procedure clearSIDL; inline;
  2614. procedure clearSMP; inline;
  2615. procedure clearSPIFE; inline;
  2616. procedure clearSSEN; inline;
  2617. procedure setCKE; inline;
  2618. procedure setCKP; inline;
  2619. procedure setDISSDI; inline;
  2620. procedure setDISSDO; inline;
  2621. procedure setENHBUF; inline;
  2622. procedure setFRMEN; inline;
  2623. procedure setFRMPOL; inline;
  2624. procedure setFRMSYNC; inline;
  2625. procedure setFRMSYPW; inline;
  2626. procedure setMCLKSEL; inline;
  2627. procedure setMODE16; inline;
  2628. procedure setMODE32; inline;
  2629. procedure setMSSEN; inline;
  2630. procedure setMSTEN; inline;
  2631. procedure setON; inline;
  2632. procedure setSIDL; inline;
  2633. procedure setSMP; inline;
  2634. procedure setSPIFE; inline;
  2635. procedure setSSEN; inline;
  2636. property CKE : TBits_1 read getCKE write setCKE;
  2637. property CKP : TBits_1 read getCKP write setCKP;
  2638. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2639. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2640. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2641. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2642. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2643. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2644. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2645. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2646. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2647. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2648. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2649. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2650. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2651. property ON : TBits_1 read getON write setON;
  2652. property SIDL : TBits_1 read getSIDL write setSIDL;
  2653. property SMP : TBits_1 read getSMP write setSMP;
  2654. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2655. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2656. property SSEN : TBits_1 read getSSEN write setSSEN;
  2657. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2658. property w : TBits_32 read getw write setw;
  2659. end;
  2660. TSPI2_SPI2STAT = record
  2661. private
  2662. function getFRMERR : TBits_1; inline;
  2663. function getRXBUFELM : TBits_5; inline;
  2664. function getSPIBUSY : TBits_1; inline;
  2665. function getSPIRBE : TBits_1; inline;
  2666. function getSPIRBF : TBits_1; inline;
  2667. function getSPIROV : TBits_1; inline;
  2668. function getSPITBE : TBits_1; inline;
  2669. function getSPITBF : TBits_1; inline;
  2670. function getSPITUR : TBits_1; inline;
  2671. function getSRMT : TBits_1; inline;
  2672. function getTXBUFELM : TBits_5; inline;
  2673. function getw : TBits_32; inline;
  2674. procedure setFRMERR(thebits : TBits_1); inline;
  2675. procedure setRXBUFELM(thebits : TBits_5); inline;
  2676. procedure setSPIBUSY(thebits : TBits_1); inline;
  2677. procedure setSPIRBE(thebits : TBits_1); inline;
  2678. procedure setSPIRBF(thebits : TBits_1); inline;
  2679. procedure setSPIROV(thebits : TBits_1); inline;
  2680. procedure setSPITBE(thebits : TBits_1); inline;
  2681. procedure setSPITBF(thebits : TBits_1); inline;
  2682. procedure setSPITUR(thebits : TBits_1); inline;
  2683. procedure setSRMT(thebits : TBits_1); inline;
  2684. procedure setTXBUFELM(thebits : TBits_5); inline;
  2685. procedure setw(thebits : TBits_32); inline;
  2686. public
  2687. procedure clearFRMERR; inline;
  2688. procedure clearSPIBUSY; inline;
  2689. procedure clearSPIRBE; inline;
  2690. procedure clearSPIRBF; inline;
  2691. procedure clearSPIROV; inline;
  2692. procedure clearSPITBE; inline;
  2693. procedure clearSPITBF; inline;
  2694. procedure clearSPITUR; inline;
  2695. procedure clearSRMT; inline;
  2696. procedure setFRMERR; inline;
  2697. procedure setSPIBUSY; inline;
  2698. procedure setSPIRBE; inline;
  2699. procedure setSPIRBF; inline;
  2700. procedure setSPIROV; inline;
  2701. procedure setSPITBE; inline;
  2702. procedure setSPITBF; inline;
  2703. procedure setSPITUR; inline;
  2704. procedure setSRMT; inline;
  2705. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2706. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2707. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2708. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2709. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2710. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2711. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2712. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2713. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2714. property SRMT : TBits_1 read getSRMT write setSRMT;
  2715. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2716. property w : TBits_32 read getw write setw;
  2717. end;
  2718. TSPI2_SPI2CON2 = record
  2719. private
  2720. function getAUDEN : TBits_1; inline;
  2721. function getAUDMOD : TBits_2; inline;
  2722. function getAUDMOD0 : TBits_1; inline;
  2723. function getAUDMOD1 : TBits_1; inline;
  2724. function getAUDMONO : TBits_1; inline;
  2725. function getFRMERREN : TBits_1; inline;
  2726. function getIGNROV : TBits_1; inline;
  2727. function getIGNTUR : TBits_1; inline;
  2728. function getSPIROVEN : TBits_1; inline;
  2729. function getSPISGNEXT : TBits_1; inline;
  2730. function getSPITUREN : TBits_1; inline;
  2731. function getw : TBits_32; inline;
  2732. procedure setAUDEN(thebits : TBits_1); inline;
  2733. procedure setAUDMOD(thebits : TBits_2); inline;
  2734. procedure setAUDMOD0(thebits : TBits_1); inline;
  2735. procedure setAUDMOD1(thebits : TBits_1); inline;
  2736. procedure setAUDMONO(thebits : TBits_1); inline;
  2737. procedure setFRMERREN(thebits : TBits_1); inline;
  2738. procedure setIGNROV(thebits : TBits_1); inline;
  2739. procedure setIGNTUR(thebits : TBits_1); inline;
  2740. procedure setSPIROVEN(thebits : TBits_1); inline;
  2741. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2742. procedure setSPITUREN(thebits : TBits_1); inline;
  2743. procedure setw(thebits : TBits_32); inline;
  2744. public
  2745. procedure clearAUDEN; inline;
  2746. procedure clearAUDMOD0; inline;
  2747. procedure clearAUDMOD1; inline;
  2748. procedure clearAUDMONO; inline;
  2749. procedure clearFRMERREN; inline;
  2750. procedure clearIGNROV; inline;
  2751. procedure clearIGNTUR; inline;
  2752. procedure clearSPIROVEN; inline;
  2753. procedure clearSPISGNEXT; inline;
  2754. procedure clearSPITUREN; inline;
  2755. procedure setAUDEN; inline;
  2756. procedure setAUDMOD0; inline;
  2757. procedure setAUDMOD1; inline;
  2758. procedure setAUDMONO; inline;
  2759. procedure setFRMERREN; inline;
  2760. procedure setIGNROV; inline;
  2761. procedure setIGNTUR; inline;
  2762. procedure setSPIROVEN; inline;
  2763. procedure setSPISGNEXT; inline;
  2764. procedure setSPITUREN; inline;
  2765. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2766. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2767. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2768. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2769. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2770. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2771. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2772. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2773. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2774. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2775. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2776. property w : TBits_32 read getw write setw;
  2777. end;
  2778. type
  2779. TSPI2Registers = record
  2780. SPI2CONbits : TSPI2_SPI2CON;
  2781. SPI2CON : longWord;
  2782. SPI2CONCLR : longWord;
  2783. SPI2CONSET : longWord;
  2784. SPI2CONINV : longWord;
  2785. SPI2STATbits : TSPI2_SPI2STAT;
  2786. SPI2STAT : longWord;
  2787. SPI2STATCLR : longWord;
  2788. SPI2STATSET : longWord;
  2789. SPI2STATINV : longWord;
  2790. SPI2BUF : longWord;
  2791. SPI2BRG : longWord;
  2792. SPI2BRGCLR : longWord;
  2793. SPI2BRGSET : longWord;
  2794. SPI2BRGINV : longWord;
  2795. SPI2CON2bits : TSPI2_SPI2CON2;
  2796. SPI2CON2 : longWord;
  2797. SPI2CON2CLR : longWord;
  2798. SPI2CON2SET : longWord;
  2799. SPI2CON2INV : longWord;
  2800. end;
  2801. TUART1_U1AMODE = record
  2802. private
  2803. function getABAUD : TBits_1; inline;
  2804. function getBRGH : TBits_1; inline;
  2805. function getIREN : TBits_1; inline;
  2806. function getLPBACK : TBits_1; inline;
  2807. function getON : TBits_1; inline;
  2808. function getPDSEL : TBits_2; inline;
  2809. function getPDSEL0 : TBits_1; inline;
  2810. function getPDSEL1 : TBits_1; inline;
  2811. function getRTSMD : TBits_1; inline;
  2812. function getRXINV : TBits_1; inline;
  2813. function getSIDL : TBits_1; inline;
  2814. function getSTSEL : TBits_1; inline;
  2815. function getUARTEN : TBits_1; inline;
  2816. function getUEN : TBits_2; inline;
  2817. function getUEN0 : TBits_1; inline;
  2818. function getUEN1 : TBits_1; inline;
  2819. function getUSIDL : TBits_1; inline;
  2820. function getWAKE : TBits_1; inline;
  2821. function getw : TBits_32; inline;
  2822. procedure setABAUD(thebits : TBits_1); inline;
  2823. procedure setBRGH(thebits : TBits_1); inline;
  2824. procedure setIREN(thebits : TBits_1); inline;
  2825. procedure setLPBACK(thebits : TBits_1); inline;
  2826. procedure setON(thebits : TBits_1); inline;
  2827. procedure setPDSEL(thebits : TBits_2); inline;
  2828. procedure setPDSEL0(thebits : TBits_1); inline;
  2829. procedure setPDSEL1(thebits : TBits_1); inline;
  2830. procedure setRTSMD(thebits : TBits_1); inline;
  2831. procedure setRXINV(thebits : TBits_1); inline;
  2832. procedure setSIDL(thebits : TBits_1); inline;
  2833. procedure setSTSEL(thebits : TBits_1); inline;
  2834. procedure setUARTEN(thebits : TBits_1); inline;
  2835. procedure setUEN(thebits : TBits_2); inline;
  2836. procedure setUEN0(thebits : TBits_1); inline;
  2837. procedure setUEN1(thebits : TBits_1); inline;
  2838. procedure setUSIDL(thebits : TBits_1); inline;
  2839. procedure setWAKE(thebits : TBits_1); inline;
  2840. procedure setw(thebits : TBits_32); inline;
  2841. public
  2842. procedure clearABAUD; inline;
  2843. procedure clearBRGH; inline;
  2844. procedure clearIREN; inline;
  2845. procedure clearLPBACK; inline;
  2846. procedure clearON; inline;
  2847. procedure clearPDSEL0; inline;
  2848. procedure clearPDSEL1; inline;
  2849. procedure clearRTSMD; inline;
  2850. procedure clearRXINV; inline;
  2851. procedure clearSIDL; inline;
  2852. procedure clearSTSEL; inline;
  2853. procedure clearUARTEN; inline;
  2854. procedure clearUEN0; inline;
  2855. procedure clearUEN1; inline;
  2856. procedure clearUSIDL; inline;
  2857. procedure clearWAKE; inline;
  2858. procedure setABAUD; inline;
  2859. procedure setBRGH; inline;
  2860. procedure setIREN; inline;
  2861. procedure setLPBACK; inline;
  2862. procedure setON; inline;
  2863. procedure setPDSEL0; inline;
  2864. procedure setPDSEL1; inline;
  2865. procedure setRTSMD; inline;
  2866. procedure setRXINV; inline;
  2867. procedure setSIDL; inline;
  2868. procedure setSTSEL; inline;
  2869. procedure setUARTEN; inline;
  2870. procedure setUEN0; inline;
  2871. procedure setUEN1; inline;
  2872. procedure setUSIDL; inline;
  2873. procedure setWAKE; inline;
  2874. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2875. property BRGH : TBits_1 read getBRGH write setBRGH;
  2876. property IREN : TBits_1 read getIREN write setIREN;
  2877. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2878. property ON : TBits_1 read getON write setON;
  2879. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2880. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2881. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2882. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2883. property RXINV : TBits_1 read getRXINV write setRXINV;
  2884. property SIDL : TBits_1 read getSIDL write setSIDL;
  2885. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2886. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2887. property UEN : TBits_2 read getUEN write setUEN;
  2888. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2889. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2890. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2891. property WAKE : TBits_1 read getWAKE write setWAKE;
  2892. property w : TBits_32 read getw write setw;
  2893. end;
  2894. TUART1_U1MODE = record
  2895. private
  2896. function getABAUD : TBits_1; inline;
  2897. function getBRGH : TBits_1; inline;
  2898. function getIREN : TBits_1; inline;
  2899. function getLPBACK : TBits_1; inline;
  2900. function getON : TBits_1; inline;
  2901. function getPDSEL : TBits_2; inline;
  2902. function getPDSEL0 : TBits_1; inline;
  2903. function getPDSEL1 : TBits_1; inline;
  2904. function getRTSMD : TBits_1; inline;
  2905. function getRXINV : TBits_1; inline;
  2906. function getSIDL : TBits_1; inline;
  2907. function getSTSEL : TBits_1; inline;
  2908. function getUARTEN : TBits_1; inline;
  2909. function getUEN : TBits_2; inline;
  2910. function getUEN0 : TBits_1; inline;
  2911. function getUEN1 : TBits_1; inline;
  2912. function getUSIDL : TBits_1; inline;
  2913. function getWAKE : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setABAUD(thebits : TBits_1); inline;
  2916. procedure setBRGH(thebits : TBits_1); inline;
  2917. procedure setIREN(thebits : TBits_1); inline;
  2918. procedure setLPBACK(thebits : TBits_1); inline;
  2919. procedure setON(thebits : TBits_1); inline;
  2920. procedure setPDSEL(thebits : TBits_2); inline;
  2921. procedure setPDSEL0(thebits : TBits_1); inline;
  2922. procedure setPDSEL1(thebits : TBits_1); inline;
  2923. procedure setRTSMD(thebits : TBits_1); inline;
  2924. procedure setRXINV(thebits : TBits_1); inline;
  2925. procedure setSIDL(thebits : TBits_1); inline;
  2926. procedure setSTSEL(thebits : TBits_1); inline;
  2927. procedure setUARTEN(thebits : TBits_1); inline;
  2928. procedure setUEN(thebits : TBits_2); inline;
  2929. procedure setUEN0(thebits : TBits_1); inline;
  2930. procedure setUEN1(thebits : TBits_1); inline;
  2931. procedure setUSIDL(thebits : TBits_1); inline;
  2932. procedure setWAKE(thebits : TBits_1); inline;
  2933. procedure setw(thebits : TBits_32); inline;
  2934. public
  2935. procedure clearABAUD; inline;
  2936. procedure clearBRGH; inline;
  2937. procedure clearIREN; inline;
  2938. procedure clearLPBACK; inline;
  2939. procedure clearON; inline;
  2940. procedure clearPDSEL0; inline;
  2941. procedure clearPDSEL1; inline;
  2942. procedure clearRTSMD; inline;
  2943. procedure clearRXINV; inline;
  2944. procedure clearSIDL; inline;
  2945. procedure clearSTSEL; inline;
  2946. procedure clearUARTEN; inline;
  2947. procedure clearUEN0; inline;
  2948. procedure clearUEN1; inline;
  2949. procedure clearUSIDL; inline;
  2950. procedure clearWAKE; inline;
  2951. procedure setABAUD; inline;
  2952. procedure setBRGH; inline;
  2953. procedure setIREN; inline;
  2954. procedure setLPBACK; inline;
  2955. procedure setON; inline;
  2956. procedure setPDSEL0; inline;
  2957. procedure setPDSEL1; inline;
  2958. procedure setRTSMD; inline;
  2959. procedure setRXINV; inline;
  2960. procedure setSIDL; inline;
  2961. procedure setSTSEL; inline;
  2962. procedure setUARTEN; inline;
  2963. procedure setUEN0; inline;
  2964. procedure setUEN1; inline;
  2965. procedure setUSIDL; inline;
  2966. procedure setWAKE; inline;
  2967. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2968. property BRGH : TBits_1 read getBRGH write setBRGH;
  2969. property IREN : TBits_1 read getIREN write setIREN;
  2970. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2971. property ON : TBits_1 read getON write setON;
  2972. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2973. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2974. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2975. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2976. property RXINV : TBits_1 read getRXINV write setRXINV;
  2977. property SIDL : TBits_1 read getSIDL write setSIDL;
  2978. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2979. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2980. property UEN : TBits_2 read getUEN write setUEN;
  2981. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2982. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2983. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2984. property WAKE : TBits_1 read getWAKE write setWAKE;
  2985. property w : TBits_32 read getw write setw;
  2986. end;
  2987. TUART1_U1ASTA = record
  2988. private
  2989. function getADDEN : TBits_1; inline;
  2990. function getADDR : TBits_8; inline;
  2991. function getADM_EN : TBits_1; inline;
  2992. function getFERR : TBits_1; inline;
  2993. function getOERR : TBits_1; inline;
  2994. function getPERR : TBits_1; inline;
  2995. function getRIDLE : TBits_1; inline;
  2996. function getTRMT : TBits_1; inline;
  2997. function getURXDA : TBits_1; inline;
  2998. function getURXEN : TBits_1; inline;
  2999. function getURXISEL : TBits_2; inline;
  3000. function getURXISEL0 : TBits_1; inline;
  3001. function getURXISEL1 : TBits_1; inline;
  3002. function getUTXBF : TBits_1; inline;
  3003. function getUTXBRK : TBits_1; inline;
  3004. function getUTXEN : TBits_1; inline;
  3005. function getUTXINV : TBits_1; inline;
  3006. function getUTXISEL : TBits_2; inline;
  3007. function getUTXISEL0 : TBits_1; inline;
  3008. function getUTXISEL1 : TBits_1; inline;
  3009. function getUTXSEL : TBits_2; inline;
  3010. function getw : TBits_32; inline;
  3011. procedure setADDEN(thebits : TBits_1); inline;
  3012. procedure setADDR(thebits : TBits_8); inline;
  3013. procedure setADM_EN(thebits : TBits_1); inline;
  3014. procedure setFERR(thebits : TBits_1); inline;
  3015. procedure setOERR(thebits : TBits_1); inline;
  3016. procedure setPERR(thebits : TBits_1); inline;
  3017. procedure setRIDLE(thebits : TBits_1); inline;
  3018. procedure setTRMT(thebits : TBits_1); inline;
  3019. procedure setURXDA(thebits : TBits_1); inline;
  3020. procedure setURXEN(thebits : TBits_1); inline;
  3021. procedure setURXISEL(thebits : TBits_2); inline;
  3022. procedure setURXISEL0(thebits : TBits_1); inline;
  3023. procedure setURXISEL1(thebits : TBits_1); inline;
  3024. procedure setUTXBF(thebits : TBits_1); inline;
  3025. procedure setUTXBRK(thebits : TBits_1); inline;
  3026. procedure setUTXEN(thebits : TBits_1); inline;
  3027. procedure setUTXINV(thebits : TBits_1); inline;
  3028. procedure setUTXISEL(thebits : TBits_2); inline;
  3029. procedure setUTXISEL0(thebits : TBits_1); inline;
  3030. procedure setUTXISEL1(thebits : TBits_1); inline;
  3031. procedure setUTXSEL(thebits : TBits_2); inline;
  3032. procedure setw(thebits : TBits_32); inline;
  3033. public
  3034. procedure clearADDEN; inline;
  3035. procedure clearADM_EN; inline;
  3036. procedure clearFERR; inline;
  3037. procedure clearOERR; inline;
  3038. procedure clearPERR; inline;
  3039. procedure clearRIDLE; inline;
  3040. procedure clearTRMT; inline;
  3041. procedure clearURXDA; inline;
  3042. procedure clearURXEN; inline;
  3043. procedure clearURXISEL0; inline;
  3044. procedure clearURXISEL1; inline;
  3045. procedure clearUTXBF; inline;
  3046. procedure clearUTXBRK; inline;
  3047. procedure clearUTXEN; inline;
  3048. procedure clearUTXINV; inline;
  3049. procedure clearUTXISEL0; inline;
  3050. procedure clearUTXISEL1; inline;
  3051. procedure setADDEN; inline;
  3052. procedure setADM_EN; inline;
  3053. procedure setFERR; inline;
  3054. procedure setOERR; inline;
  3055. procedure setPERR; inline;
  3056. procedure setRIDLE; inline;
  3057. procedure setTRMT; inline;
  3058. procedure setURXDA; inline;
  3059. procedure setURXEN; inline;
  3060. procedure setURXISEL0; inline;
  3061. procedure setURXISEL1; inline;
  3062. procedure setUTXBF; inline;
  3063. procedure setUTXBRK; inline;
  3064. procedure setUTXEN; inline;
  3065. procedure setUTXINV; inline;
  3066. procedure setUTXISEL0; inline;
  3067. procedure setUTXISEL1; inline;
  3068. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3069. property ADDR : TBits_8 read getADDR write setADDR;
  3070. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3071. property FERR : TBits_1 read getFERR write setFERR;
  3072. property OERR : TBits_1 read getOERR write setOERR;
  3073. property PERR : TBits_1 read getPERR write setPERR;
  3074. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3075. property TRMT : TBits_1 read getTRMT write setTRMT;
  3076. property URXDA : TBits_1 read getURXDA write setURXDA;
  3077. property URXEN : TBits_1 read getURXEN write setURXEN;
  3078. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3079. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3080. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3081. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3082. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3083. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3084. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3085. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3086. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3087. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3088. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3089. property w : TBits_32 read getw write setw;
  3090. end;
  3091. TUART1_U1STA = record
  3092. private
  3093. function getADDEN : TBits_1; inline;
  3094. function getADDR : TBits_8; inline;
  3095. function getADM_EN : TBits_1; inline;
  3096. function getFERR : TBits_1; inline;
  3097. function getOERR : TBits_1; inline;
  3098. function getPERR : TBits_1; inline;
  3099. function getRIDLE : TBits_1; inline;
  3100. function getTRMT : TBits_1; inline;
  3101. function getURXDA : TBits_1; inline;
  3102. function getURXEN : TBits_1; inline;
  3103. function getURXISEL : TBits_2; inline;
  3104. function getURXISEL0 : TBits_1; inline;
  3105. function getURXISEL1 : TBits_1; inline;
  3106. function getUTXBF : TBits_1; inline;
  3107. function getUTXBRK : TBits_1; inline;
  3108. function getUTXEN : TBits_1; inline;
  3109. function getUTXINV : TBits_1; inline;
  3110. function getUTXISEL : TBits_2; inline;
  3111. function getUTXISEL0 : TBits_1; inline;
  3112. function getUTXISEL1 : TBits_1; inline;
  3113. function getUTXSEL : TBits_2; inline;
  3114. function getw : TBits_32; inline;
  3115. procedure setADDEN(thebits : TBits_1); inline;
  3116. procedure setADDR(thebits : TBits_8); inline;
  3117. procedure setADM_EN(thebits : TBits_1); inline;
  3118. procedure setFERR(thebits : TBits_1); inline;
  3119. procedure setOERR(thebits : TBits_1); inline;
  3120. procedure setPERR(thebits : TBits_1); inline;
  3121. procedure setRIDLE(thebits : TBits_1); inline;
  3122. procedure setTRMT(thebits : TBits_1); inline;
  3123. procedure setURXDA(thebits : TBits_1); inline;
  3124. procedure setURXEN(thebits : TBits_1); inline;
  3125. procedure setURXISEL(thebits : TBits_2); inline;
  3126. procedure setURXISEL0(thebits : TBits_1); inline;
  3127. procedure setURXISEL1(thebits : TBits_1); inline;
  3128. procedure setUTXBF(thebits : TBits_1); inline;
  3129. procedure setUTXBRK(thebits : TBits_1); inline;
  3130. procedure setUTXEN(thebits : TBits_1); inline;
  3131. procedure setUTXINV(thebits : TBits_1); inline;
  3132. procedure setUTXISEL(thebits : TBits_2); inline;
  3133. procedure setUTXISEL0(thebits : TBits_1); inline;
  3134. procedure setUTXISEL1(thebits : TBits_1); inline;
  3135. procedure setUTXSEL(thebits : TBits_2); inline;
  3136. procedure setw(thebits : TBits_32); inline;
  3137. public
  3138. procedure clearADDEN; inline;
  3139. procedure clearADM_EN; inline;
  3140. procedure clearFERR; inline;
  3141. procedure clearOERR; inline;
  3142. procedure clearPERR; inline;
  3143. procedure clearRIDLE; inline;
  3144. procedure clearTRMT; inline;
  3145. procedure clearURXDA; inline;
  3146. procedure clearURXEN; inline;
  3147. procedure clearURXISEL0; inline;
  3148. procedure clearURXISEL1; inline;
  3149. procedure clearUTXBF; inline;
  3150. procedure clearUTXBRK; inline;
  3151. procedure clearUTXEN; inline;
  3152. procedure clearUTXINV; inline;
  3153. procedure clearUTXISEL0; inline;
  3154. procedure clearUTXISEL1; inline;
  3155. procedure setADDEN; inline;
  3156. procedure setADM_EN; inline;
  3157. procedure setFERR; inline;
  3158. procedure setOERR; inline;
  3159. procedure setPERR; inline;
  3160. procedure setRIDLE; inline;
  3161. procedure setTRMT; inline;
  3162. procedure setURXDA; inline;
  3163. procedure setURXEN; inline;
  3164. procedure setURXISEL0; inline;
  3165. procedure setURXISEL1; inline;
  3166. procedure setUTXBF; inline;
  3167. procedure setUTXBRK; inline;
  3168. procedure setUTXEN; inline;
  3169. procedure setUTXINV; inline;
  3170. procedure setUTXISEL0; inline;
  3171. procedure setUTXISEL1; inline;
  3172. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3173. property ADDR : TBits_8 read getADDR write setADDR;
  3174. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3175. property FERR : TBits_1 read getFERR write setFERR;
  3176. property OERR : TBits_1 read getOERR write setOERR;
  3177. property PERR : TBits_1 read getPERR write setPERR;
  3178. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3179. property TRMT : TBits_1 read getTRMT write setTRMT;
  3180. property URXDA : TBits_1 read getURXDA write setURXDA;
  3181. property URXEN : TBits_1 read getURXEN write setURXEN;
  3182. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3183. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3184. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3185. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3186. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3187. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3188. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3189. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3190. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3191. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3192. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3193. property w : TBits_32 read getw write setw;
  3194. end;
  3195. type
  3196. TUART1Registers = record
  3197. U1AMODEbits : TUART1_U1AMODE;
  3198. U1AMODE : longWord;
  3199. U1MODEbits : TUART1_U1MODE;
  3200. U1MODE : longWord;
  3201. U1AMODECLR : longWord;
  3202. U1MODECLR : longWord;
  3203. U1AMODESET : longWord;
  3204. U1MODESET : longWord;
  3205. U1AMODEINV : longWord;
  3206. U1MODEINV : longWord;
  3207. U1ASTAbits : TUART1_U1ASTA;
  3208. U1ASTA : longWord;
  3209. U1STAbits : TUART1_U1STA;
  3210. U1STA : longWord;
  3211. U1ASTACLR : longWord;
  3212. U1STACLR : longWord;
  3213. U1ASTASET : longWord;
  3214. U1STASET : longWord;
  3215. U1ASTAINV : longWord;
  3216. U1STAINV : longWord;
  3217. U1ATXREG : longWord;
  3218. U1TXREG : longWord;
  3219. U1ARXREG : longWord;
  3220. U1RXREG : longWord;
  3221. U1ABRG : longWord;
  3222. U1BRG : longWord;
  3223. U1ABRGCLR : longWord;
  3224. U1BRGCLR : longWord;
  3225. U1ABRGSET : longWord;
  3226. U1BRGSET : longWord;
  3227. U1ABRGINV : longWord;
  3228. U1BRGINV : longWord;
  3229. end;
  3230. TUART2_U2MODE = record
  3231. private
  3232. function getABAUD : TBits_1; inline;
  3233. function getBRGH : TBits_1; inline;
  3234. function getIREN : TBits_1; inline;
  3235. function getLPBACK : TBits_1; inline;
  3236. function getON : TBits_1; inline;
  3237. function getPDSEL : TBits_2; inline;
  3238. function getPDSEL0 : TBits_1; inline;
  3239. function getPDSEL1 : TBits_1; inline;
  3240. function getRTSMD : TBits_1; inline;
  3241. function getRXINV : TBits_1; inline;
  3242. function getSIDL : TBits_1; inline;
  3243. function getSTSEL : TBits_1; inline;
  3244. function getUARTEN : TBits_1; inline;
  3245. function getUEN : TBits_2; inline;
  3246. function getUEN0 : TBits_1; inline;
  3247. function getUEN1 : TBits_1; inline;
  3248. function getUSIDL : TBits_1; inline;
  3249. function getWAKE : TBits_1; inline;
  3250. function getw : TBits_32; inline;
  3251. procedure setABAUD(thebits : TBits_1); inline;
  3252. procedure setBRGH(thebits : TBits_1); inline;
  3253. procedure setIREN(thebits : TBits_1); inline;
  3254. procedure setLPBACK(thebits : TBits_1); inline;
  3255. procedure setON(thebits : TBits_1); inline;
  3256. procedure setPDSEL(thebits : TBits_2); inline;
  3257. procedure setPDSEL0(thebits : TBits_1); inline;
  3258. procedure setPDSEL1(thebits : TBits_1); inline;
  3259. procedure setRTSMD(thebits : TBits_1); inline;
  3260. procedure setRXINV(thebits : TBits_1); inline;
  3261. procedure setSIDL(thebits : TBits_1); inline;
  3262. procedure setSTSEL(thebits : TBits_1); inline;
  3263. procedure setUARTEN(thebits : TBits_1); inline;
  3264. procedure setUEN(thebits : TBits_2); inline;
  3265. procedure setUEN0(thebits : TBits_1); inline;
  3266. procedure setUEN1(thebits : TBits_1); inline;
  3267. procedure setUSIDL(thebits : TBits_1); inline;
  3268. procedure setWAKE(thebits : TBits_1); inline;
  3269. procedure setw(thebits : TBits_32); inline;
  3270. public
  3271. procedure clearABAUD; inline;
  3272. procedure clearBRGH; inline;
  3273. procedure clearIREN; inline;
  3274. procedure clearLPBACK; inline;
  3275. procedure clearON; inline;
  3276. procedure clearPDSEL0; inline;
  3277. procedure clearPDSEL1; inline;
  3278. procedure clearRTSMD; inline;
  3279. procedure clearRXINV; inline;
  3280. procedure clearSIDL; inline;
  3281. procedure clearSTSEL; inline;
  3282. procedure clearUARTEN; inline;
  3283. procedure clearUEN0; inline;
  3284. procedure clearUEN1; inline;
  3285. procedure clearUSIDL; inline;
  3286. procedure clearWAKE; inline;
  3287. procedure setABAUD; inline;
  3288. procedure setBRGH; inline;
  3289. procedure setIREN; inline;
  3290. procedure setLPBACK; inline;
  3291. procedure setON; inline;
  3292. procedure setPDSEL0; inline;
  3293. procedure setPDSEL1; inline;
  3294. procedure setRTSMD; inline;
  3295. procedure setRXINV; inline;
  3296. procedure setSIDL; inline;
  3297. procedure setSTSEL; inline;
  3298. procedure setUARTEN; inline;
  3299. procedure setUEN0; inline;
  3300. procedure setUEN1; inline;
  3301. procedure setUSIDL; inline;
  3302. procedure setWAKE; inline;
  3303. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3304. property BRGH : TBits_1 read getBRGH write setBRGH;
  3305. property IREN : TBits_1 read getIREN write setIREN;
  3306. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3307. property ON : TBits_1 read getON write setON;
  3308. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3309. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3310. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3311. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3312. property RXINV : TBits_1 read getRXINV write setRXINV;
  3313. property SIDL : TBits_1 read getSIDL write setSIDL;
  3314. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3315. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3316. property UEN : TBits_2 read getUEN write setUEN;
  3317. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3318. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3319. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3320. property WAKE : TBits_1 read getWAKE write setWAKE;
  3321. property w : TBits_32 read getw write setw;
  3322. end;
  3323. TUART2_U3AMODE = record
  3324. private
  3325. function getABAUD : TBits_1; inline;
  3326. function getBRGH : TBits_1; inline;
  3327. function getIREN : TBits_1; inline;
  3328. function getLPBACK : TBits_1; inline;
  3329. function getON : TBits_1; inline;
  3330. function getPDSEL : TBits_2; inline;
  3331. function getPDSEL0 : TBits_1; inline;
  3332. function getPDSEL1 : TBits_1; inline;
  3333. function getRTSMD : TBits_1; inline;
  3334. function getRXINV : TBits_1; inline;
  3335. function getSIDL : TBits_1; inline;
  3336. function getSTSEL : TBits_1; inline;
  3337. function getUARTEN : TBits_1; inline;
  3338. function getUEN : TBits_2; inline;
  3339. function getUEN0 : TBits_1; inline;
  3340. function getUEN1 : TBits_1; inline;
  3341. function getUSIDL : TBits_1; inline;
  3342. function getWAKE : TBits_1; inline;
  3343. function getw : TBits_32; inline;
  3344. procedure setABAUD(thebits : TBits_1); inline;
  3345. procedure setBRGH(thebits : TBits_1); inline;
  3346. procedure setIREN(thebits : TBits_1); inline;
  3347. procedure setLPBACK(thebits : TBits_1); inline;
  3348. procedure setON(thebits : TBits_1); inline;
  3349. procedure setPDSEL(thebits : TBits_2); inline;
  3350. procedure setPDSEL0(thebits : TBits_1); inline;
  3351. procedure setPDSEL1(thebits : TBits_1); inline;
  3352. procedure setRTSMD(thebits : TBits_1); inline;
  3353. procedure setRXINV(thebits : TBits_1); inline;
  3354. procedure setSIDL(thebits : TBits_1); inline;
  3355. procedure setSTSEL(thebits : TBits_1); inline;
  3356. procedure setUARTEN(thebits : TBits_1); inline;
  3357. procedure setUEN(thebits : TBits_2); inline;
  3358. procedure setUEN0(thebits : TBits_1); inline;
  3359. procedure setUEN1(thebits : TBits_1); inline;
  3360. procedure setUSIDL(thebits : TBits_1); inline;
  3361. procedure setWAKE(thebits : TBits_1); inline;
  3362. procedure setw(thebits : TBits_32); inline;
  3363. public
  3364. procedure clearABAUD; inline;
  3365. procedure clearBRGH; inline;
  3366. procedure clearIREN; inline;
  3367. procedure clearLPBACK; inline;
  3368. procedure clearON; inline;
  3369. procedure clearPDSEL0; inline;
  3370. procedure clearPDSEL1; inline;
  3371. procedure clearRTSMD; inline;
  3372. procedure clearRXINV; inline;
  3373. procedure clearSIDL; inline;
  3374. procedure clearSTSEL; inline;
  3375. procedure clearUARTEN; inline;
  3376. procedure clearUEN0; inline;
  3377. procedure clearUEN1; inline;
  3378. procedure clearUSIDL; inline;
  3379. procedure clearWAKE; inline;
  3380. procedure setABAUD; inline;
  3381. procedure setBRGH; inline;
  3382. procedure setIREN; inline;
  3383. procedure setLPBACK; inline;
  3384. procedure setON; inline;
  3385. procedure setPDSEL0; inline;
  3386. procedure setPDSEL1; inline;
  3387. procedure setRTSMD; inline;
  3388. procedure setRXINV; inline;
  3389. procedure setSIDL; inline;
  3390. procedure setSTSEL; inline;
  3391. procedure setUARTEN; inline;
  3392. procedure setUEN0; inline;
  3393. procedure setUEN1; inline;
  3394. procedure setUSIDL; inline;
  3395. procedure setWAKE; inline;
  3396. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3397. property BRGH : TBits_1 read getBRGH write setBRGH;
  3398. property IREN : TBits_1 read getIREN write setIREN;
  3399. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3400. property ON : TBits_1 read getON write setON;
  3401. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3402. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3403. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3404. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3405. property RXINV : TBits_1 read getRXINV write setRXINV;
  3406. property SIDL : TBits_1 read getSIDL write setSIDL;
  3407. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3408. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3409. property UEN : TBits_2 read getUEN write setUEN;
  3410. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3411. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3412. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3413. property WAKE : TBits_1 read getWAKE write setWAKE;
  3414. property w : TBits_32 read getw write setw;
  3415. end;
  3416. TUART2_U2STA = record
  3417. private
  3418. function getADDEN : TBits_1; inline;
  3419. function getADDR : TBits_8; inline;
  3420. function getADM_EN : TBits_1; inline;
  3421. function getFERR : TBits_1; inline;
  3422. function getOERR : TBits_1; inline;
  3423. function getPERR : TBits_1; inline;
  3424. function getRIDLE : TBits_1; inline;
  3425. function getTRMT : TBits_1; inline;
  3426. function getURXDA : TBits_1; inline;
  3427. function getURXEN : TBits_1; inline;
  3428. function getURXISEL : TBits_2; inline;
  3429. function getURXISEL0 : TBits_1; inline;
  3430. function getURXISEL1 : TBits_1; inline;
  3431. function getUTXBF : TBits_1; inline;
  3432. function getUTXBRK : TBits_1; inline;
  3433. function getUTXEN : TBits_1; inline;
  3434. function getUTXINV : TBits_1; inline;
  3435. function getUTXISEL : TBits_2; inline;
  3436. function getUTXISEL0 : TBits_1; inline;
  3437. function getUTXISEL1 : TBits_1; inline;
  3438. function getUTXSEL : TBits_2; inline;
  3439. function getw : TBits_32; inline;
  3440. procedure setADDEN(thebits : TBits_1); inline;
  3441. procedure setADDR(thebits : TBits_8); inline;
  3442. procedure setADM_EN(thebits : TBits_1); inline;
  3443. procedure setFERR(thebits : TBits_1); inline;
  3444. procedure setOERR(thebits : TBits_1); inline;
  3445. procedure setPERR(thebits : TBits_1); inline;
  3446. procedure setRIDLE(thebits : TBits_1); inline;
  3447. procedure setTRMT(thebits : TBits_1); inline;
  3448. procedure setURXDA(thebits : TBits_1); inline;
  3449. procedure setURXEN(thebits : TBits_1); inline;
  3450. procedure setURXISEL(thebits : TBits_2); inline;
  3451. procedure setURXISEL0(thebits : TBits_1); inline;
  3452. procedure setURXISEL1(thebits : TBits_1); inline;
  3453. procedure setUTXBF(thebits : TBits_1); inline;
  3454. procedure setUTXBRK(thebits : TBits_1); inline;
  3455. procedure setUTXEN(thebits : TBits_1); inline;
  3456. procedure setUTXINV(thebits : TBits_1); inline;
  3457. procedure setUTXISEL(thebits : TBits_2); inline;
  3458. procedure setUTXISEL0(thebits : TBits_1); inline;
  3459. procedure setUTXISEL1(thebits : TBits_1); inline;
  3460. procedure setUTXSEL(thebits : TBits_2); inline;
  3461. procedure setw(thebits : TBits_32); inline;
  3462. public
  3463. procedure clearADDEN; inline;
  3464. procedure clearADM_EN; inline;
  3465. procedure clearFERR; inline;
  3466. procedure clearOERR; inline;
  3467. procedure clearPERR; inline;
  3468. procedure clearRIDLE; inline;
  3469. procedure clearTRMT; inline;
  3470. procedure clearURXDA; inline;
  3471. procedure clearURXEN; inline;
  3472. procedure clearURXISEL0; inline;
  3473. procedure clearURXISEL1; inline;
  3474. procedure clearUTXBF; inline;
  3475. procedure clearUTXBRK; inline;
  3476. procedure clearUTXEN; inline;
  3477. procedure clearUTXINV; inline;
  3478. procedure clearUTXISEL0; inline;
  3479. procedure clearUTXISEL1; inline;
  3480. procedure setADDEN; inline;
  3481. procedure setADM_EN; inline;
  3482. procedure setFERR; inline;
  3483. procedure setOERR; inline;
  3484. procedure setPERR; inline;
  3485. procedure setRIDLE; inline;
  3486. procedure setTRMT; inline;
  3487. procedure setURXDA; inline;
  3488. procedure setURXEN; inline;
  3489. procedure setURXISEL0; inline;
  3490. procedure setURXISEL1; inline;
  3491. procedure setUTXBF; inline;
  3492. procedure setUTXBRK; inline;
  3493. procedure setUTXEN; inline;
  3494. procedure setUTXINV; inline;
  3495. procedure setUTXISEL0; inline;
  3496. procedure setUTXISEL1; inline;
  3497. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3498. property ADDR : TBits_8 read getADDR write setADDR;
  3499. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3500. property FERR : TBits_1 read getFERR write setFERR;
  3501. property OERR : TBits_1 read getOERR write setOERR;
  3502. property PERR : TBits_1 read getPERR write setPERR;
  3503. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3504. property TRMT : TBits_1 read getTRMT write setTRMT;
  3505. property URXDA : TBits_1 read getURXDA write setURXDA;
  3506. property URXEN : TBits_1 read getURXEN write setURXEN;
  3507. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3508. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3509. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3510. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3511. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3512. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3513. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3514. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3515. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3516. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3517. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3518. property w : TBits_32 read getw write setw;
  3519. end;
  3520. TUART2_U3ASTA = record
  3521. private
  3522. function getADDEN : TBits_1; inline;
  3523. function getADDR : TBits_8; inline;
  3524. function getADM_EN : TBits_1; inline;
  3525. function getFERR : TBits_1; inline;
  3526. function getOERR : TBits_1; inline;
  3527. function getPERR : TBits_1; inline;
  3528. function getRIDLE : TBits_1; inline;
  3529. function getTRMT : TBits_1; inline;
  3530. function getURXDA : TBits_1; inline;
  3531. function getURXEN : TBits_1; inline;
  3532. function getURXISEL : TBits_2; inline;
  3533. function getURXISEL0 : TBits_1; inline;
  3534. function getURXISEL1 : TBits_1; inline;
  3535. function getUTXBF : TBits_1; inline;
  3536. function getUTXBRK : TBits_1; inline;
  3537. function getUTXEN : TBits_1; inline;
  3538. function getUTXINV : TBits_1; inline;
  3539. function getUTXISEL : TBits_2; inline;
  3540. function getUTXISEL0 : TBits_1; inline;
  3541. function getUTXISEL1 : TBits_1; inline;
  3542. function getUTXSEL : TBits_2; inline;
  3543. function getw : TBits_32; inline;
  3544. procedure setADDEN(thebits : TBits_1); inline;
  3545. procedure setADDR(thebits : TBits_8); inline;
  3546. procedure setADM_EN(thebits : TBits_1); inline;
  3547. procedure setFERR(thebits : TBits_1); inline;
  3548. procedure setOERR(thebits : TBits_1); inline;
  3549. procedure setPERR(thebits : TBits_1); inline;
  3550. procedure setRIDLE(thebits : TBits_1); inline;
  3551. procedure setTRMT(thebits : TBits_1); inline;
  3552. procedure setURXDA(thebits : TBits_1); inline;
  3553. procedure setURXEN(thebits : TBits_1); inline;
  3554. procedure setURXISEL(thebits : TBits_2); inline;
  3555. procedure setURXISEL0(thebits : TBits_1); inline;
  3556. procedure setURXISEL1(thebits : TBits_1); inline;
  3557. procedure setUTXBF(thebits : TBits_1); inline;
  3558. procedure setUTXBRK(thebits : TBits_1); inline;
  3559. procedure setUTXEN(thebits : TBits_1); inline;
  3560. procedure setUTXINV(thebits : TBits_1); inline;
  3561. procedure setUTXISEL(thebits : TBits_2); inline;
  3562. procedure setUTXISEL0(thebits : TBits_1); inline;
  3563. procedure setUTXISEL1(thebits : TBits_1); inline;
  3564. procedure setUTXSEL(thebits : TBits_2); inline;
  3565. procedure setw(thebits : TBits_32); inline;
  3566. public
  3567. procedure clearADDEN; inline;
  3568. procedure clearADM_EN; inline;
  3569. procedure clearFERR; inline;
  3570. procedure clearOERR; inline;
  3571. procedure clearPERR; inline;
  3572. procedure clearRIDLE; inline;
  3573. procedure clearTRMT; inline;
  3574. procedure clearURXDA; inline;
  3575. procedure clearURXEN; inline;
  3576. procedure clearURXISEL0; inline;
  3577. procedure clearURXISEL1; inline;
  3578. procedure clearUTXBF; inline;
  3579. procedure clearUTXBRK; inline;
  3580. procedure clearUTXEN; inline;
  3581. procedure clearUTXINV; inline;
  3582. procedure clearUTXISEL0; inline;
  3583. procedure clearUTXISEL1; inline;
  3584. procedure setADDEN; inline;
  3585. procedure setADM_EN; inline;
  3586. procedure setFERR; inline;
  3587. procedure setOERR; inline;
  3588. procedure setPERR; inline;
  3589. procedure setRIDLE; inline;
  3590. procedure setTRMT; inline;
  3591. procedure setURXDA; inline;
  3592. procedure setURXEN; inline;
  3593. procedure setURXISEL0; inline;
  3594. procedure setURXISEL1; inline;
  3595. procedure setUTXBF; inline;
  3596. procedure setUTXBRK; inline;
  3597. procedure setUTXEN; inline;
  3598. procedure setUTXINV; inline;
  3599. procedure setUTXISEL0; inline;
  3600. procedure setUTXISEL1; inline;
  3601. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3602. property ADDR : TBits_8 read getADDR write setADDR;
  3603. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3604. property FERR : TBits_1 read getFERR write setFERR;
  3605. property OERR : TBits_1 read getOERR write setOERR;
  3606. property PERR : TBits_1 read getPERR write setPERR;
  3607. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3608. property TRMT : TBits_1 read getTRMT write setTRMT;
  3609. property URXDA : TBits_1 read getURXDA write setURXDA;
  3610. property URXEN : TBits_1 read getURXEN write setURXEN;
  3611. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3612. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3613. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3614. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3615. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3616. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3617. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3618. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3619. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3620. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3621. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3622. property w : TBits_32 read getw write setw;
  3623. end;
  3624. type
  3625. TUART2Registers = record
  3626. U2MODEbits : TUART2_U2MODE;
  3627. U2MODE : longWord;
  3628. U3AMODEbits : TUART2_U3AMODE;
  3629. U3AMODE : longWord;
  3630. U2MODECLR : longWord;
  3631. U3AMODECLR : longWord;
  3632. U2MODESET : longWord;
  3633. U3AMODESET : longWord;
  3634. U2MODEINV : longWord;
  3635. U3AMODEINV : longWord;
  3636. U2STAbits : TUART2_U2STA;
  3637. U2STA : longWord;
  3638. U3ASTAbits : TUART2_U3ASTA;
  3639. U3ASTA : longWord;
  3640. U2STACLR : longWord;
  3641. U3ASTACLR : longWord;
  3642. U2STASET : longWord;
  3643. U3ASTASET : longWord;
  3644. U2STAINV : longWord;
  3645. U3ASTAINV : longWord;
  3646. U2TXREG : longWord;
  3647. U3ATXREG : longWord;
  3648. U2RXREG : longWord;
  3649. U3ARXREG : longWord;
  3650. U2BRG : longWord;
  3651. U3ABRG : longWord;
  3652. U2BRGCLR : longWord;
  3653. U3ABRGCLR : longWord;
  3654. U2BRGSET : longWord;
  3655. U3ABRGSET : longWord;
  3656. U2BRGINV : longWord;
  3657. U3ABRGINV : longWord;
  3658. end;
  3659. TPMP_PMCON = record
  3660. private
  3661. function getADRMUX : TBits_2; inline;
  3662. function getADRMUX0 : TBits_1; inline;
  3663. function getADRMUX1 : TBits_1; inline;
  3664. function getALP : TBits_1; inline;
  3665. function getCS1P : TBits_1; inline;
  3666. function getCSF : TBits_2; inline;
  3667. function getCSF0 : TBits_1; inline;
  3668. function getCSF1 : TBits_1; inline;
  3669. function getON : TBits_1; inline;
  3670. function getPMPEN : TBits_1; inline;
  3671. function getPMPTTL : TBits_1; inline;
  3672. function getPSIDL : TBits_1; inline;
  3673. function getPTRDEN : TBits_1; inline;
  3674. function getPTWREN : TBits_1; inline;
  3675. function getRDSP : TBits_1; inline;
  3676. function getSIDL : TBits_1; inline;
  3677. function getWRSP : TBits_1; inline;
  3678. function getw : TBits_32; inline;
  3679. procedure setADRMUX(thebits : TBits_2); inline;
  3680. procedure setADRMUX0(thebits : TBits_1); inline;
  3681. procedure setADRMUX1(thebits : TBits_1); inline;
  3682. procedure setALP(thebits : TBits_1); inline;
  3683. procedure setCS1P(thebits : TBits_1); inline;
  3684. procedure setCSF(thebits : TBits_2); inline;
  3685. procedure setCSF0(thebits : TBits_1); inline;
  3686. procedure setCSF1(thebits : TBits_1); inline;
  3687. procedure setON(thebits : TBits_1); inline;
  3688. procedure setPMPEN(thebits : TBits_1); inline;
  3689. procedure setPMPTTL(thebits : TBits_1); inline;
  3690. procedure setPSIDL(thebits : TBits_1); inline;
  3691. procedure setPTRDEN(thebits : TBits_1); inline;
  3692. procedure setPTWREN(thebits : TBits_1); inline;
  3693. procedure setRDSP(thebits : TBits_1); inline;
  3694. procedure setSIDL(thebits : TBits_1); inline;
  3695. procedure setWRSP(thebits : TBits_1); inline;
  3696. procedure setw(thebits : TBits_32); inline;
  3697. public
  3698. procedure clearADRMUX0; inline;
  3699. procedure clearADRMUX1; inline;
  3700. procedure clearALP; inline;
  3701. procedure clearCS1P; inline;
  3702. procedure clearCSF0; inline;
  3703. procedure clearCSF1; inline;
  3704. procedure clearON; inline;
  3705. procedure clearPMPEN; inline;
  3706. procedure clearPMPTTL; inline;
  3707. procedure clearPSIDL; inline;
  3708. procedure clearPTRDEN; inline;
  3709. procedure clearPTWREN; inline;
  3710. procedure clearRDSP; inline;
  3711. procedure clearSIDL; inline;
  3712. procedure clearWRSP; inline;
  3713. procedure setADRMUX0; inline;
  3714. procedure setADRMUX1; inline;
  3715. procedure setALP; inline;
  3716. procedure setCS1P; inline;
  3717. procedure setCSF0; inline;
  3718. procedure setCSF1; inline;
  3719. procedure setON; inline;
  3720. procedure setPMPEN; inline;
  3721. procedure setPMPTTL; inline;
  3722. procedure setPSIDL; inline;
  3723. procedure setPTRDEN; inline;
  3724. procedure setPTWREN; inline;
  3725. procedure setRDSP; inline;
  3726. procedure setSIDL; inline;
  3727. procedure setWRSP; inline;
  3728. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  3729. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  3730. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  3731. property ALP : TBits_1 read getALP write setALP;
  3732. property CS1P : TBits_1 read getCS1P write setCS1P;
  3733. property CSF : TBits_2 read getCSF write setCSF;
  3734. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  3735. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  3736. property ON : TBits_1 read getON write setON;
  3737. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  3738. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  3739. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  3740. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  3741. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  3742. property RDSP : TBits_1 read getRDSP write setRDSP;
  3743. property SIDL : TBits_1 read getSIDL write setSIDL;
  3744. property WRSP : TBits_1 read getWRSP write setWRSP;
  3745. property w : TBits_32 read getw write setw;
  3746. end;
  3747. TPMP_PMMODE = record
  3748. private
  3749. function getBUSY : TBits_1; inline;
  3750. function getINCM : TBits_2; inline;
  3751. function getINCM0 : TBits_1; inline;
  3752. function getINCM1 : TBits_1; inline;
  3753. function getIRQM : TBits_2; inline;
  3754. function getIRQM0 : TBits_1; inline;
  3755. function getIRQM1 : TBits_1; inline;
  3756. function getMODE : TBits_2; inline;
  3757. function getMODE0 : TBits_1; inline;
  3758. function getMODE1 : TBits_1; inline;
  3759. function getWAITB : TBits_2; inline;
  3760. function getWAITB0 : TBits_1; inline;
  3761. function getWAITB1 : TBits_1; inline;
  3762. function getWAITE : TBits_2; inline;
  3763. function getWAITE0 : TBits_1; inline;
  3764. function getWAITE1 : TBits_1; inline;
  3765. function getWAITM : TBits_4; inline;
  3766. function getWAITM0 : TBits_1; inline;
  3767. function getWAITM1 : TBits_1; inline;
  3768. function getWAITM2 : TBits_1; inline;
  3769. function getWAITM3 : TBits_1; inline;
  3770. function getw : TBits_32; inline;
  3771. procedure setBUSY(thebits : TBits_1); inline;
  3772. procedure setINCM(thebits : TBits_2); inline;
  3773. procedure setINCM0(thebits : TBits_1); inline;
  3774. procedure setINCM1(thebits : TBits_1); inline;
  3775. procedure setIRQM(thebits : TBits_2); inline;
  3776. procedure setIRQM0(thebits : TBits_1); inline;
  3777. procedure setIRQM1(thebits : TBits_1); inline;
  3778. procedure setMODE(thebits : TBits_2); inline;
  3779. procedure setMODE0(thebits : TBits_1); inline;
  3780. procedure setMODE1(thebits : TBits_1); inline;
  3781. procedure setWAITB(thebits : TBits_2); inline;
  3782. procedure setWAITB0(thebits : TBits_1); inline;
  3783. procedure setWAITB1(thebits : TBits_1); inline;
  3784. procedure setWAITE(thebits : TBits_2); inline;
  3785. procedure setWAITE0(thebits : TBits_1); inline;
  3786. procedure setWAITE1(thebits : TBits_1); inline;
  3787. procedure setWAITM(thebits : TBits_4); inline;
  3788. procedure setWAITM0(thebits : TBits_1); inline;
  3789. procedure setWAITM1(thebits : TBits_1); inline;
  3790. procedure setWAITM2(thebits : TBits_1); inline;
  3791. procedure setWAITM3(thebits : TBits_1); inline;
  3792. procedure setw(thebits : TBits_32); inline;
  3793. public
  3794. procedure clearBUSY; inline;
  3795. procedure clearINCM0; inline;
  3796. procedure clearINCM1; inline;
  3797. procedure clearIRQM0; inline;
  3798. procedure clearIRQM1; inline;
  3799. procedure clearMODE0; inline;
  3800. procedure clearMODE1; inline;
  3801. procedure clearWAITB0; inline;
  3802. procedure clearWAITB1; inline;
  3803. procedure clearWAITE0; inline;
  3804. procedure clearWAITE1; inline;
  3805. procedure clearWAITM0; inline;
  3806. procedure clearWAITM1; inline;
  3807. procedure clearWAITM2; inline;
  3808. procedure clearWAITM3; inline;
  3809. procedure setBUSY; inline;
  3810. procedure setINCM0; inline;
  3811. procedure setINCM1; inline;
  3812. procedure setIRQM0; inline;
  3813. procedure setIRQM1; inline;
  3814. procedure setMODE0; inline;
  3815. procedure setMODE1; inline;
  3816. procedure setWAITB0; inline;
  3817. procedure setWAITB1; inline;
  3818. procedure setWAITE0; inline;
  3819. procedure setWAITE1; inline;
  3820. procedure setWAITM0; inline;
  3821. procedure setWAITM1; inline;
  3822. procedure setWAITM2; inline;
  3823. procedure setWAITM3; inline;
  3824. property BUSY : TBits_1 read getBUSY write setBUSY;
  3825. property INCM : TBits_2 read getINCM write setINCM;
  3826. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  3827. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  3828. property IRQM : TBits_2 read getIRQM write setIRQM;
  3829. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  3830. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  3831. property MODE : TBits_2 read getMODE write setMODE;
  3832. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  3833. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  3834. property WAITB : TBits_2 read getWAITB write setWAITB;
  3835. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  3836. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  3837. property WAITE : TBits_2 read getWAITE write setWAITE;
  3838. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  3839. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  3840. property WAITM : TBits_4 read getWAITM write setWAITM;
  3841. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  3842. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  3843. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  3844. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  3845. property w : TBits_32 read getw write setw;
  3846. end;
  3847. TPMP_PMADDR = record
  3848. private
  3849. function getADDR : TBits_14; inline;
  3850. function getCS : TBits_2; inline;
  3851. function getCS1 : TBits_1; inline;
  3852. function getPADDR : TBits_14; inline;
  3853. function getw : TBits_32; inline;
  3854. procedure setADDR(thebits : TBits_14); inline;
  3855. procedure setCS(thebits : TBits_2); inline;
  3856. procedure setCS1(thebits : TBits_1); inline;
  3857. procedure setPADDR(thebits : TBits_14); inline;
  3858. procedure setw(thebits : TBits_32); inline;
  3859. public
  3860. procedure clearCS1; inline;
  3861. procedure setCS1; inline;
  3862. property ADDR : TBits_14 read getADDR write setADDR;
  3863. property CS : TBits_2 read getCS write setCS;
  3864. property CS1 : TBits_1 read getCS1 write setCS1;
  3865. property PADDR : TBits_14 read getPADDR write setPADDR;
  3866. property w : TBits_32 read getw write setw;
  3867. end;
  3868. TPMP_PMDOUT = record
  3869. private
  3870. function getDATAOUT : TBits_32; inline;
  3871. function getw : TBits_32; inline;
  3872. procedure setDATAOUT(thebits : TBits_32); inline;
  3873. procedure setw(thebits : TBits_32); inline;
  3874. public
  3875. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  3876. property w : TBits_32 read getw write setw;
  3877. end;
  3878. TPMP_PMDIN = record
  3879. private
  3880. function getDATAIN : TBits_32; inline;
  3881. function getw : TBits_32; inline;
  3882. procedure setDATAIN(thebits : TBits_32); inline;
  3883. procedure setw(thebits : TBits_32); inline;
  3884. public
  3885. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  3886. property w : TBits_32 read getw write setw;
  3887. end;
  3888. TPMP_PMAEN = record
  3889. private
  3890. function getPTEN : TBits_16; inline;
  3891. function getPTEN0 : TBits_1; inline;
  3892. function getPTEN1 : TBits_1; inline;
  3893. function getPTEN10 : TBits_1; inline;
  3894. function getPTEN11 : TBits_1; inline;
  3895. function getPTEN12 : TBits_1; inline;
  3896. function getPTEN13 : TBits_1; inline;
  3897. function getPTEN14 : TBits_1; inline;
  3898. function getPTEN15 : TBits_1; inline;
  3899. function getPTEN2 : TBits_1; inline;
  3900. function getPTEN3 : TBits_1; inline;
  3901. function getPTEN4 : TBits_1; inline;
  3902. function getPTEN5 : TBits_1; inline;
  3903. function getPTEN6 : TBits_1; inline;
  3904. function getPTEN7 : TBits_1; inline;
  3905. function getPTEN8 : TBits_1; inline;
  3906. function getPTEN9 : TBits_1; inline;
  3907. function getw : TBits_32; inline;
  3908. procedure setPTEN(thebits : TBits_16); inline;
  3909. procedure setPTEN0(thebits : TBits_1); inline;
  3910. procedure setPTEN1(thebits : TBits_1); inline;
  3911. procedure setPTEN10(thebits : TBits_1); inline;
  3912. procedure setPTEN11(thebits : TBits_1); inline;
  3913. procedure setPTEN12(thebits : TBits_1); inline;
  3914. procedure setPTEN13(thebits : TBits_1); inline;
  3915. procedure setPTEN14(thebits : TBits_1); inline;
  3916. procedure setPTEN15(thebits : TBits_1); inline;
  3917. procedure setPTEN2(thebits : TBits_1); inline;
  3918. procedure setPTEN3(thebits : TBits_1); inline;
  3919. procedure setPTEN4(thebits : TBits_1); inline;
  3920. procedure setPTEN5(thebits : TBits_1); inline;
  3921. procedure setPTEN6(thebits : TBits_1); inline;
  3922. procedure setPTEN7(thebits : TBits_1); inline;
  3923. procedure setPTEN8(thebits : TBits_1); inline;
  3924. procedure setPTEN9(thebits : TBits_1); inline;
  3925. procedure setw(thebits : TBits_32); inline;
  3926. public
  3927. procedure clearPTEN0; inline;
  3928. procedure clearPTEN10; inline;
  3929. procedure clearPTEN11; inline;
  3930. procedure clearPTEN12; inline;
  3931. procedure clearPTEN13; inline;
  3932. procedure clearPTEN14; inline;
  3933. procedure clearPTEN15; inline;
  3934. procedure clearPTEN1; inline;
  3935. procedure clearPTEN2; inline;
  3936. procedure clearPTEN3; inline;
  3937. procedure clearPTEN4; inline;
  3938. procedure clearPTEN5; inline;
  3939. procedure clearPTEN6; inline;
  3940. procedure clearPTEN7; inline;
  3941. procedure clearPTEN8; inline;
  3942. procedure clearPTEN9; inline;
  3943. procedure setPTEN0; inline;
  3944. procedure setPTEN10; inline;
  3945. procedure setPTEN11; inline;
  3946. procedure setPTEN12; inline;
  3947. procedure setPTEN13; inline;
  3948. procedure setPTEN14; inline;
  3949. procedure setPTEN15; inline;
  3950. procedure setPTEN1; inline;
  3951. procedure setPTEN2; inline;
  3952. procedure setPTEN3; inline;
  3953. procedure setPTEN4; inline;
  3954. procedure setPTEN5; inline;
  3955. procedure setPTEN6; inline;
  3956. procedure setPTEN7; inline;
  3957. procedure setPTEN8; inline;
  3958. procedure setPTEN9; inline;
  3959. property PTEN : TBits_16 read getPTEN write setPTEN;
  3960. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  3961. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  3962. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  3963. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  3964. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  3965. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  3966. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  3967. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  3968. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  3969. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  3970. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  3971. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  3972. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  3973. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  3974. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  3975. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  3976. property w : TBits_32 read getw write setw;
  3977. end;
  3978. TPMP_PMSTAT = record
  3979. private
  3980. function getIB0F : TBits_1; inline;
  3981. function getIB1F : TBits_1; inline;
  3982. function getIB2F : TBits_1; inline;
  3983. function getIB3F : TBits_1; inline;
  3984. function getIBF : TBits_1; inline;
  3985. function getIBOV : TBits_1; inline;
  3986. function getOB0E : TBits_1; inline;
  3987. function getOB1E : TBits_1; inline;
  3988. function getOB2E : TBits_1; inline;
  3989. function getOB3E : TBits_1; inline;
  3990. function getOBE : TBits_1; inline;
  3991. function getOBUF : TBits_1; inline;
  3992. function getw : TBits_32; inline;
  3993. procedure setIB0F(thebits : TBits_1); inline;
  3994. procedure setIB1F(thebits : TBits_1); inline;
  3995. procedure setIB2F(thebits : TBits_1); inline;
  3996. procedure setIB3F(thebits : TBits_1); inline;
  3997. procedure setIBF(thebits : TBits_1); inline;
  3998. procedure setIBOV(thebits : TBits_1); inline;
  3999. procedure setOB0E(thebits : TBits_1); inline;
  4000. procedure setOB1E(thebits : TBits_1); inline;
  4001. procedure setOB2E(thebits : TBits_1); inline;
  4002. procedure setOB3E(thebits : TBits_1); inline;
  4003. procedure setOBE(thebits : TBits_1); inline;
  4004. procedure setOBUF(thebits : TBits_1); inline;
  4005. procedure setw(thebits : TBits_32); inline;
  4006. public
  4007. procedure clearIB0F; inline;
  4008. procedure clearIB1F; inline;
  4009. procedure clearIB2F; inline;
  4010. procedure clearIB3F; inline;
  4011. procedure clearIBF; inline;
  4012. procedure clearIBOV; inline;
  4013. procedure clearOB0E; inline;
  4014. procedure clearOB1E; inline;
  4015. procedure clearOB2E; inline;
  4016. procedure clearOB3E; inline;
  4017. procedure clearOBE; inline;
  4018. procedure clearOBUF; inline;
  4019. procedure setIB0F; inline;
  4020. procedure setIB1F; inline;
  4021. procedure setIB2F; inline;
  4022. procedure setIB3F; inline;
  4023. procedure setIBF; inline;
  4024. procedure setIBOV; inline;
  4025. procedure setOB0E; inline;
  4026. procedure setOB1E; inline;
  4027. procedure setOB2E; inline;
  4028. procedure setOB3E; inline;
  4029. procedure setOBE; inline;
  4030. procedure setOBUF; inline;
  4031. property IB0F : TBits_1 read getIB0F write setIB0F;
  4032. property IB1F : TBits_1 read getIB1F write setIB1F;
  4033. property IB2F : TBits_1 read getIB2F write setIB2F;
  4034. property IB3F : TBits_1 read getIB3F write setIB3F;
  4035. property IBF : TBits_1 read getIBF write setIBF;
  4036. property IBOV : TBits_1 read getIBOV write setIBOV;
  4037. property OB0E : TBits_1 read getOB0E write setOB0E;
  4038. property OB1E : TBits_1 read getOB1E write setOB1E;
  4039. property OB2E : TBits_1 read getOB2E write setOB2E;
  4040. property OB3E : TBits_1 read getOB3E write setOB3E;
  4041. property OBE : TBits_1 read getOBE write setOBE;
  4042. property OBUF : TBits_1 read getOBUF write setOBUF;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TPMPRegisters = record
  4047. PMCONbits : TPMP_PMCON;
  4048. PMCON : longWord;
  4049. PMCONCLR : longWord;
  4050. PMCONSET : longWord;
  4051. PMCONINV : longWord;
  4052. PMMODEbits : TPMP_PMMODE;
  4053. PMMODE : longWord;
  4054. PMMODECLR : longWord;
  4055. PMMODESET : longWord;
  4056. PMMODEINV : longWord;
  4057. PMADDRbits : TPMP_PMADDR;
  4058. PMADDR : longWord;
  4059. PMADDRCLR : longWord;
  4060. PMADDRSET : longWord;
  4061. PMADDRINV : longWord;
  4062. PMDOUTbits : TPMP_PMDOUT;
  4063. PMDOUT : longWord;
  4064. PMDOUTCLR : longWord;
  4065. PMDOUTSET : longWord;
  4066. PMDOUTINV : longWord;
  4067. PMDINbits : TPMP_PMDIN;
  4068. PMDIN : longWord;
  4069. PMDINCLR : longWord;
  4070. PMDINSET : longWord;
  4071. PMDININV : longWord;
  4072. PMAENbits : TPMP_PMAEN;
  4073. PMAEN : longWord;
  4074. PMAENCLR : longWord;
  4075. PMAENSET : longWord;
  4076. PMAENINV : longWord;
  4077. PMSTATbits : TPMP_PMSTAT;
  4078. PMSTAT : longWord;
  4079. PMSTATCLR : longWord;
  4080. PMSTATSET : longWord;
  4081. PMSTATINV : longWord;
  4082. end;
  4083. TADC10_AD1CON1 = record
  4084. private
  4085. function getADON : TBits_1; inline;
  4086. function getADSIDL : TBits_1; inline;
  4087. function getASAM : TBits_1; inline;
  4088. function getCLRASAM : TBits_1; inline;
  4089. function getDONE : TBits_1; inline;
  4090. function getFORM : TBits_3; inline;
  4091. function getFORM0 : TBits_1; inline;
  4092. function getFORM1 : TBits_1; inline;
  4093. function getFORM2 : TBits_1; inline;
  4094. function getON : TBits_1; inline;
  4095. function getSAMP : TBits_1; inline;
  4096. function getSIDL : TBits_1; inline;
  4097. function getSSRC : TBits_3; inline;
  4098. function getSSRC0 : TBits_1; inline;
  4099. function getSSRC1 : TBits_1; inline;
  4100. function getSSRC2 : TBits_1; inline;
  4101. function getw : TBits_32; inline;
  4102. procedure setADON(thebits : TBits_1); inline;
  4103. procedure setADSIDL(thebits : TBits_1); inline;
  4104. procedure setASAM(thebits : TBits_1); inline;
  4105. procedure setCLRASAM(thebits : TBits_1); inline;
  4106. procedure setDONE(thebits : TBits_1); inline;
  4107. procedure setFORM(thebits : TBits_3); inline;
  4108. procedure setFORM0(thebits : TBits_1); inline;
  4109. procedure setFORM1(thebits : TBits_1); inline;
  4110. procedure setFORM2(thebits : TBits_1); inline;
  4111. procedure setON(thebits : TBits_1); inline;
  4112. procedure setSAMP(thebits : TBits_1); inline;
  4113. procedure setSIDL(thebits : TBits_1); inline;
  4114. procedure setSSRC(thebits : TBits_3); inline;
  4115. procedure setSSRC0(thebits : TBits_1); inline;
  4116. procedure setSSRC1(thebits : TBits_1); inline;
  4117. procedure setSSRC2(thebits : TBits_1); inline;
  4118. procedure setw(thebits : TBits_32); inline;
  4119. public
  4120. procedure clearADON; inline;
  4121. procedure clearADSIDL; inline;
  4122. procedure clearASAM; inline;
  4123. procedure clearCLRASAM; inline;
  4124. procedure clearDONE; inline;
  4125. procedure clearFORM0; inline;
  4126. procedure clearFORM1; inline;
  4127. procedure clearFORM2; inline;
  4128. procedure clearON; inline;
  4129. procedure clearSAMP; inline;
  4130. procedure clearSIDL; inline;
  4131. procedure clearSSRC0; inline;
  4132. procedure clearSSRC1; inline;
  4133. procedure clearSSRC2; inline;
  4134. procedure setADON; inline;
  4135. procedure setADSIDL; inline;
  4136. procedure setASAM; inline;
  4137. procedure setCLRASAM; inline;
  4138. procedure setDONE; inline;
  4139. procedure setFORM0; inline;
  4140. procedure setFORM1; inline;
  4141. procedure setFORM2; inline;
  4142. procedure setON; inline;
  4143. procedure setSAMP; inline;
  4144. procedure setSIDL; inline;
  4145. procedure setSSRC0; inline;
  4146. procedure setSSRC1; inline;
  4147. procedure setSSRC2; inline;
  4148. property ADON : TBits_1 read getADON write setADON;
  4149. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  4150. property ASAM : TBits_1 read getASAM write setASAM;
  4151. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  4152. property DONE : TBits_1 read getDONE write setDONE;
  4153. property FORM : TBits_3 read getFORM write setFORM;
  4154. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  4155. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  4156. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  4157. property ON : TBits_1 read getON write setON;
  4158. property SAMP : TBits_1 read getSAMP write setSAMP;
  4159. property SIDL : TBits_1 read getSIDL write setSIDL;
  4160. property SSRC : TBits_3 read getSSRC write setSSRC;
  4161. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  4162. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  4163. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  4164. property w : TBits_32 read getw write setw;
  4165. end;
  4166. TADC10_AD1CON2 = record
  4167. private
  4168. function getALTS : TBits_1; inline;
  4169. function getBUFM : TBits_1; inline;
  4170. function getBUFS : TBits_1; inline;
  4171. function getCSCNA : TBits_1; inline;
  4172. function getOFFCAL : TBits_1; inline;
  4173. function getSMPI : TBits_4; inline;
  4174. function getSMPI0 : TBits_1; inline;
  4175. function getSMPI1 : TBits_1; inline;
  4176. function getSMPI2 : TBits_1; inline;
  4177. function getSMPI3 : TBits_1; inline;
  4178. function getVCFG : TBits_3; inline;
  4179. function getVCFG0 : TBits_1; inline;
  4180. function getVCFG1 : TBits_1; inline;
  4181. function getVCFG2 : TBits_1; inline;
  4182. function getw : TBits_32; inline;
  4183. procedure setALTS(thebits : TBits_1); inline;
  4184. procedure setBUFM(thebits : TBits_1); inline;
  4185. procedure setBUFS(thebits : TBits_1); inline;
  4186. procedure setCSCNA(thebits : TBits_1); inline;
  4187. procedure setOFFCAL(thebits : TBits_1); inline;
  4188. procedure setSMPI(thebits : TBits_4); inline;
  4189. procedure setSMPI0(thebits : TBits_1); inline;
  4190. procedure setSMPI1(thebits : TBits_1); inline;
  4191. procedure setSMPI2(thebits : TBits_1); inline;
  4192. procedure setSMPI3(thebits : TBits_1); inline;
  4193. procedure setVCFG(thebits : TBits_3); inline;
  4194. procedure setVCFG0(thebits : TBits_1); inline;
  4195. procedure setVCFG1(thebits : TBits_1); inline;
  4196. procedure setVCFG2(thebits : TBits_1); inline;
  4197. procedure setw(thebits : TBits_32); inline;
  4198. public
  4199. procedure clearALTS; inline;
  4200. procedure clearBUFM; inline;
  4201. procedure clearBUFS; inline;
  4202. procedure clearCSCNA; inline;
  4203. procedure clearOFFCAL; inline;
  4204. procedure clearSMPI0; inline;
  4205. procedure clearSMPI1; inline;
  4206. procedure clearSMPI2; inline;
  4207. procedure clearSMPI3; inline;
  4208. procedure clearVCFG0; inline;
  4209. procedure clearVCFG1; inline;
  4210. procedure clearVCFG2; inline;
  4211. procedure setALTS; inline;
  4212. procedure setBUFM; inline;
  4213. procedure setBUFS; inline;
  4214. procedure setCSCNA; inline;
  4215. procedure setOFFCAL; inline;
  4216. procedure setSMPI0; inline;
  4217. procedure setSMPI1; inline;
  4218. procedure setSMPI2; inline;
  4219. procedure setSMPI3; inline;
  4220. procedure setVCFG0; inline;
  4221. procedure setVCFG1; inline;
  4222. procedure setVCFG2; inline;
  4223. property ALTS : TBits_1 read getALTS write setALTS;
  4224. property BUFM : TBits_1 read getBUFM write setBUFM;
  4225. property BUFS : TBits_1 read getBUFS write setBUFS;
  4226. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  4227. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  4228. property SMPI : TBits_4 read getSMPI write setSMPI;
  4229. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  4230. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  4231. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  4232. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  4233. property VCFG : TBits_3 read getVCFG write setVCFG;
  4234. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  4235. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  4236. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  4237. property w : TBits_32 read getw write setw;
  4238. end;
  4239. TADC10_AD1CON3 = record
  4240. private
  4241. function getADCS : TBits_8; inline;
  4242. function getADCS0 : TBits_1; inline;
  4243. function getADCS1 : TBits_1; inline;
  4244. function getADCS2 : TBits_1; inline;
  4245. function getADCS3 : TBits_1; inline;
  4246. function getADCS4 : TBits_1; inline;
  4247. function getADCS5 : TBits_1; inline;
  4248. function getADCS6 : TBits_1; inline;
  4249. function getADCS7 : TBits_1; inline;
  4250. function getADRC : TBits_1; inline;
  4251. function getSAMC : TBits_5; inline;
  4252. function getSAMC0 : TBits_1; inline;
  4253. function getSAMC1 : TBits_1; inline;
  4254. function getSAMC2 : TBits_1; inline;
  4255. function getSAMC3 : TBits_1; inline;
  4256. function getSAMC4 : TBits_1; inline;
  4257. function getw : TBits_32; inline;
  4258. procedure setADCS(thebits : TBits_8); inline;
  4259. procedure setADCS0(thebits : TBits_1); inline;
  4260. procedure setADCS1(thebits : TBits_1); inline;
  4261. procedure setADCS2(thebits : TBits_1); inline;
  4262. procedure setADCS3(thebits : TBits_1); inline;
  4263. procedure setADCS4(thebits : TBits_1); inline;
  4264. procedure setADCS5(thebits : TBits_1); inline;
  4265. procedure setADCS6(thebits : TBits_1); inline;
  4266. procedure setADCS7(thebits : TBits_1); inline;
  4267. procedure setADRC(thebits : TBits_1); inline;
  4268. procedure setSAMC(thebits : TBits_5); inline;
  4269. procedure setSAMC0(thebits : TBits_1); inline;
  4270. procedure setSAMC1(thebits : TBits_1); inline;
  4271. procedure setSAMC2(thebits : TBits_1); inline;
  4272. procedure setSAMC3(thebits : TBits_1); inline;
  4273. procedure setSAMC4(thebits : TBits_1); inline;
  4274. procedure setw(thebits : TBits_32); inline;
  4275. public
  4276. procedure clearADCS0; inline;
  4277. procedure clearADCS1; inline;
  4278. procedure clearADCS2; inline;
  4279. procedure clearADCS3; inline;
  4280. procedure clearADCS4; inline;
  4281. procedure clearADCS5; inline;
  4282. procedure clearADCS6; inline;
  4283. procedure clearADCS7; inline;
  4284. procedure clearADRC; inline;
  4285. procedure clearSAMC0; inline;
  4286. procedure clearSAMC1; inline;
  4287. procedure clearSAMC2; inline;
  4288. procedure clearSAMC3; inline;
  4289. procedure clearSAMC4; inline;
  4290. procedure setADCS0; inline;
  4291. procedure setADCS1; inline;
  4292. procedure setADCS2; inline;
  4293. procedure setADCS3; inline;
  4294. procedure setADCS4; inline;
  4295. procedure setADCS5; inline;
  4296. procedure setADCS6; inline;
  4297. procedure setADCS7; inline;
  4298. procedure setADRC; inline;
  4299. procedure setSAMC0; inline;
  4300. procedure setSAMC1; inline;
  4301. procedure setSAMC2; inline;
  4302. procedure setSAMC3; inline;
  4303. procedure setSAMC4; inline;
  4304. property ADCS : TBits_8 read getADCS write setADCS;
  4305. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  4306. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  4307. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  4308. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  4309. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  4310. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  4311. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  4312. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  4313. property ADRC : TBits_1 read getADRC write setADRC;
  4314. property SAMC : TBits_5 read getSAMC write setSAMC;
  4315. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  4316. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  4317. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  4318. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  4319. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  4320. property w : TBits_32 read getw write setw;
  4321. end;
  4322. TADC10_AD1CHS = record
  4323. private
  4324. function getCH0NA : TBits_1; inline;
  4325. function getCH0NB : TBits_1; inline;
  4326. function getCH0SA : TBits_4; inline;
  4327. function getCH0SA0 : TBits_1; inline;
  4328. function getCH0SA1 : TBits_1; inline;
  4329. function getCH0SA2 : TBits_1; inline;
  4330. function getCH0SA3 : TBits_1; inline;
  4331. function getCH0SB : TBits_4; inline;
  4332. function getCH0SB0 : TBits_1; inline;
  4333. function getCH0SB1 : TBits_1; inline;
  4334. function getCH0SB2 : TBits_1; inline;
  4335. function getCH0SB3 : TBits_1; inline;
  4336. function getw : TBits_32; inline;
  4337. procedure setCH0NA(thebits : TBits_1); inline;
  4338. procedure setCH0NB(thebits : TBits_1); inline;
  4339. procedure setCH0SA(thebits : TBits_4); inline;
  4340. procedure setCH0SA0(thebits : TBits_1); inline;
  4341. procedure setCH0SA1(thebits : TBits_1); inline;
  4342. procedure setCH0SA2(thebits : TBits_1); inline;
  4343. procedure setCH0SA3(thebits : TBits_1); inline;
  4344. procedure setCH0SB(thebits : TBits_4); inline;
  4345. procedure setCH0SB0(thebits : TBits_1); inline;
  4346. procedure setCH0SB1(thebits : TBits_1); inline;
  4347. procedure setCH0SB2(thebits : TBits_1); inline;
  4348. procedure setCH0SB3(thebits : TBits_1); inline;
  4349. procedure setw(thebits : TBits_32); inline;
  4350. public
  4351. procedure clearCH0NA; inline;
  4352. procedure clearCH0NB; inline;
  4353. procedure clearCH0SA0; inline;
  4354. procedure clearCH0SA1; inline;
  4355. procedure clearCH0SA2; inline;
  4356. procedure clearCH0SA3; inline;
  4357. procedure clearCH0SB0; inline;
  4358. procedure clearCH0SB1; inline;
  4359. procedure clearCH0SB2; inline;
  4360. procedure clearCH0SB3; inline;
  4361. procedure setCH0NA; inline;
  4362. procedure setCH0NB; inline;
  4363. procedure setCH0SA0; inline;
  4364. procedure setCH0SA1; inline;
  4365. procedure setCH0SA2; inline;
  4366. procedure setCH0SA3; inline;
  4367. procedure setCH0SB0; inline;
  4368. procedure setCH0SB1; inline;
  4369. procedure setCH0SB2; inline;
  4370. procedure setCH0SB3; inline;
  4371. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  4372. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  4373. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  4374. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  4375. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  4376. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  4377. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  4378. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  4379. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  4380. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  4381. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  4382. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  4383. property w : TBits_32 read getw write setw;
  4384. end;
  4385. TADC10_AD1CSSL = record
  4386. private
  4387. function getCSSL : TBits_16; inline;
  4388. function getCSSL0 : TBits_1; inline;
  4389. function getCSSL1 : TBits_1; inline;
  4390. function getCSSL10 : TBits_1; inline;
  4391. function getCSSL11 : TBits_1; inline;
  4392. function getCSSL12 : TBits_1; inline;
  4393. function getCSSL13 : TBits_1; inline;
  4394. function getCSSL14 : TBits_1; inline;
  4395. function getCSSL15 : TBits_1; inline;
  4396. function getCSSL2 : TBits_1; inline;
  4397. function getCSSL3 : TBits_1; inline;
  4398. function getCSSL4 : TBits_1; inline;
  4399. function getCSSL5 : TBits_1; inline;
  4400. function getCSSL6 : TBits_1; inline;
  4401. function getCSSL7 : TBits_1; inline;
  4402. function getCSSL8 : TBits_1; inline;
  4403. function getCSSL9 : TBits_1; inline;
  4404. function getw : TBits_32; inline;
  4405. procedure setCSSL(thebits : TBits_16); inline;
  4406. procedure setCSSL0(thebits : TBits_1); inline;
  4407. procedure setCSSL1(thebits : TBits_1); inline;
  4408. procedure setCSSL10(thebits : TBits_1); inline;
  4409. procedure setCSSL11(thebits : TBits_1); inline;
  4410. procedure setCSSL12(thebits : TBits_1); inline;
  4411. procedure setCSSL13(thebits : TBits_1); inline;
  4412. procedure setCSSL14(thebits : TBits_1); inline;
  4413. procedure setCSSL15(thebits : TBits_1); inline;
  4414. procedure setCSSL2(thebits : TBits_1); inline;
  4415. procedure setCSSL3(thebits : TBits_1); inline;
  4416. procedure setCSSL4(thebits : TBits_1); inline;
  4417. procedure setCSSL5(thebits : TBits_1); inline;
  4418. procedure setCSSL6(thebits : TBits_1); inline;
  4419. procedure setCSSL7(thebits : TBits_1); inline;
  4420. procedure setCSSL8(thebits : TBits_1); inline;
  4421. procedure setCSSL9(thebits : TBits_1); inline;
  4422. procedure setw(thebits : TBits_32); inline;
  4423. public
  4424. procedure clearCSSL0; inline;
  4425. procedure clearCSSL10; inline;
  4426. procedure clearCSSL11; inline;
  4427. procedure clearCSSL12; inline;
  4428. procedure clearCSSL13; inline;
  4429. procedure clearCSSL14; inline;
  4430. procedure clearCSSL15; inline;
  4431. procedure clearCSSL1; inline;
  4432. procedure clearCSSL2; inline;
  4433. procedure clearCSSL3; inline;
  4434. procedure clearCSSL4; inline;
  4435. procedure clearCSSL5; inline;
  4436. procedure clearCSSL6; inline;
  4437. procedure clearCSSL7; inline;
  4438. procedure clearCSSL8; inline;
  4439. procedure clearCSSL9; inline;
  4440. procedure setCSSL0; inline;
  4441. procedure setCSSL10; inline;
  4442. procedure setCSSL11; inline;
  4443. procedure setCSSL12; inline;
  4444. procedure setCSSL13; inline;
  4445. procedure setCSSL14; inline;
  4446. procedure setCSSL15; inline;
  4447. procedure setCSSL1; inline;
  4448. procedure setCSSL2; inline;
  4449. procedure setCSSL3; inline;
  4450. procedure setCSSL4; inline;
  4451. procedure setCSSL5; inline;
  4452. procedure setCSSL6; inline;
  4453. procedure setCSSL7; inline;
  4454. procedure setCSSL8; inline;
  4455. procedure setCSSL9; inline;
  4456. property CSSL : TBits_16 read getCSSL write setCSSL;
  4457. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  4458. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  4459. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  4460. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  4461. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  4462. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  4463. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  4464. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  4465. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  4466. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  4467. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  4468. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  4469. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  4470. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  4471. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  4472. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  4473. property w : TBits_32 read getw write setw;
  4474. end;
  4475. type
  4476. TADC10Registers = record
  4477. AD1CON1bits : TADC10_AD1CON1;
  4478. AD1CON1 : longWord;
  4479. AD1CON1CLR : longWord;
  4480. AD1CON1SET : longWord;
  4481. AD1CON1INV : longWord;
  4482. AD1CON2bits : TADC10_AD1CON2;
  4483. AD1CON2 : longWord;
  4484. AD1CON2CLR : longWord;
  4485. AD1CON2SET : longWord;
  4486. AD1CON2INV : longWord;
  4487. AD1CON3bits : TADC10_AD1CON3;
  4488. AD1CON3 : longWord;
  4489. AD1CON3CLR : longWord;
  4490. AD1CON3SET : longWord;
  4491. AD1CON3INV : longWord;
  4492. AD1CHSbits : TADC10_AD1CHS;
  4493. AD1CHS : longWord;
  4494. AD1CHSCLR : longWord;
  4495. AD1CHSSET : longWord;
  4496. AD1CHSINV : longWord;
  4497. AD1CSSLbits : TADC10_AD1CSSL;
  4498. AD1CSSL : longWord;
  4499. AD1CSSLCLR : longWord;
  4500. AD1CSSLSET : longWord;
  4501. AD1CSSLINV : longWord;
  4502. ADC1BUF0 : longWord;
  4503. ADC1BUF1 : longWord;
  4504. ADC1BUF2 : longWord;
  4505. ADC1BUF3 : longWord;
  4506. ADC1BUF4 : longWord;
  4507. ADC1BUF5 : longWord;
  4508. ADC1BUF6 : longWord;
  4509. ADC1BUF7 : longWord;
  4510. ADC1BUF8 : longWord;
  4511. ADC1BUF9 : longWord;
  4512. ADC1BUFA : longWord;
  4513. ADC1BUFB : longWord;
  4514. ADC1BUFC : longWord;
  4515. ADC1BUFD : longWord;
  4516. ADC1BUFE : longWord;
  4517. ADC1BUFF : longWord;
  4518. end;
  4519. TCVR_CVRCON = record
  4520. private
  4521. function getCVR : TBits_4; inline;
  4522. function getCVR0 : TBits_1; inline;
  4523. function getCVR1 : TBits_1; inline;
  4524. function getCVR2 : TBits_1; inline;
  4525. function getCVR3 : TBits_1; inline;
  4526. function getCVROE : TBits_1; inline;
  4527. function getCVRR : TBits_1; inline;
  4528. function getCVRSS : TBits_1; inline;
  4529. function getON : TBits_1; inline;
  4530. function getw : TBits_32; inline;
  4531. procedure setCVR(thebits : TBits_4); inline;
  4532. procedure setCVR0(thebits : TBits_1); inline;
  4533. procedure setCVR1(thebits : TBits_1); inline;
  4534. procedure setCVR2(thebits : TBits_1); inline;
  4535. procedure setCVR3(thebits : TBits_1); inline;
  4536. procedure setCVROE(thebits : TBits_1); inline;
  4537. procedure setCVRR(thebits : TBits_1); inline;
  4538. procedure setCVRSS(thebits : TBits_1); inline;
  4539. procedure setON(thebits : TBits_1); inline;
  4540. procedure setw(thebits : TBits_32); inline;
  4541. public
  4542. procedure clearCVR0; inline;
  4543. procedure clearCVR1; inline;
  4544. procedure clearCVR2; inline;
  4545. procedure clearCVR3; inline;
  4546. procedure clearCVROE; inline;
  4547. procedure clearCVRR; inline;
  4548. procedure clearCVRSS; inline;
  4549. procedure clearON; inline;
  4550. procedure setCVR0; inline;
  4551. procedure setCVR1; inline;
  4552. procedure setCVR2; inline;
  4553. procedure setCVR3; inline;
  4554. procedure setCVROE; inline;
  4555. procedure setCVRR; inline;
  4556. procedure setCVRSS; inline;
  4557. procedure setON; inline;
  4558. property CVR : TBits_4 read getCVR write setCVR;
  4559. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  4560. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  4561. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  4562. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  4563. property CVROE : TBits_1 read getCVROE write setCVROE;
  4564. property CVRR : TBits_1 read getCVRR write setCVRR;
  4565. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  4566. property ON : TBits_1 read getON write setON;
  4567. property w : TBits_32 read getw write setw;
  4568. end;
  4569. type
  4570. TCVRRegisters = record
  4571. CVRCONbits : TCVR_CVRCON;
  4572. CVRCON : longWord;
  4573. CVRCONCLR : longWord;
  4574. CVRCONSET : longWord;
  4575. CVRCONINV : longWord;
  4576. end;
  4577. TCMP_CM1CON = record
  4578. private
  4579. function getCCH : TBits_2; inline;
  4580. function getCCH0 : TBits_1; inline;
  4581. function getCCH1 : TBits_1; inline;
  4582. function getCOE : TBits_1; inline;
  4583. function getCOUT : TBits_1; inline;
  4584. function getCPOL : TBits_1; inline;
  4585. function getCREF : TBits_1; inline;
  4586. function getEVPOL : TBits_2; inline;
  4587. function getEVPOL0 : TBits_1; inline;
  4588. function getEVPOL1 : TBits_1; inline;
  4589. function getON : TBits_1; inline;
  4590. function getw : TBits_32; inline;
  4591. procedure setCCH(thebits : TBits_2); inline;
  4592. procedure setCCH0(thebits : TBits_1); inline;
  4593. procedure setCCH1(thebits : TBits_1); inline;
  4594. procedure setCOE(thebits : TBits_1); inline;
  4595. procedure setCOUT(thebits : TBits_1); inline;
  4596. procedure setCPOL(thebits : TBits_1); inline;
  4597. procedure setCREF(thebits : TBits_1); inline;
  4598. procedure setEVPOL(thebits : TBits_2); inline;
  4599. procedure setEVPOL0(thebits : TBits_1); inline;
  4600. procedure setEVPOL1(thebits : TBits_1); inline;
  4601. procedure setON(thebits : TBits_1); inline;
  4602. procedure setw(thebits : TBits_32); inline;
  4603. public
  4604. procedure clearCCH0; inline;
  4605. procedure clearCCH1; inline;
  4606. procedure clearCOE; inline;
  4607. procedure clearCOUT; inline;
  4608. procedure clearCPOL; inline;
  4609. procedure clearCREF; inline;
  4610. procedure clearEVPOL0; inline;
  4611. procedure clearEVPOL1; inline;
  4612. procedure clearON; inline;
  4613. procedure setCCH0; inline;
  4614. procedure setCCH1; inline;
  4615. procedure setCOE; inline;
  4616. procedure setCOUT; inline;
  4617. procedure setCPOL; inline;
  4618. procedure setCREF; inline;
  4619. procedure setEVPOL0; inline;
  4620. procedure setEVPOL1; inline;
  4621. procedure setON; inline;
  4622. property CCH : TBits_2 read getCCH write setCCH;
  4623. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4624. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4625. property COE : TBits_1 read getCOE write setCOE;
  4626. property COUT : TBits_1 read getCOUT write setCOUT;
  4627. property CPOL : TBits_1 read getCPOL write setCPOL;
  4628. property CREF : TBits_1 read getCREF write setCREF;
  4629. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4630. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4631. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4632. property ON : TBits_1 read getON write setON;
  4633. property w : TBits_32 read getw write setw;
  4634. end;
  4635. TCMP_CM2CON = record
  4636. private
  4637. function getCCH : TBits_2; inline;
  4638. function getCCH0 : TBits_1; inline;
  4639. function getCCH1 : TBits_1; inline;
  4640. function getCOE : TBits_1; inline;
  4641. function getCOUT : TBits_1; inline;
  4642. function getCPOL : TBits_1; inline;
  4643. function getCREF : TBits_1; inline;
  4644. function getEVPOL : TBits_2; inline;
  4645. function getEVPOL0 : TBits_1; inline;
  4646. function getEVPOL1 : TBits_1; inline;
  4647. function getON : TBits_1; inline;
  4648. function getw : TBits_32; inline;
  4649. procedure setCCH(thebits : TBits_2); inline;
  4650. procedure setCCH0(thebits : TBits_1); inline;
  4651. procedure setCCH1(thebits : TBits_1); inline;
  4652. procedure setCOE(thebits : TBits_1); inline;
  4653. procedure setCOUT(thebits : TBits_1); inline;
  4654. procedure setCPOL(thebits : TBits_1); inline;
  4655. procedure setCREF(thebits : TBits_1); inline;
  4656. procedure setEVPOL(thebits : TBits_2); inline;
  4657. procedure setEVPOL0(thebits : TBits_1); inline;
  4658. procedure setEVPOL1(thebits : TBits_1); inline;
  4659. procedure setON(thebits : TBits_1); inline;
  4660. procedure setw(thebits : TBits_32); inline;
  4661. public
  4662. procedure clearCCH0; inline;
  4663. procedure clearCCH1; inline;
  4664. procedure clearCOE; inline;
  4665. procedure clearCOUT; inline;
  4666. procedure clearCPOL; inline;
  4667. procedure clearCREF; inline;
  4668. procedure clearEVPOL0; inline;
  4669. procedure clearEVPOL1; inline;
  4670. procedure clearON; inline;
  4671. procedure setCCH0; inline;
  4672. procedure setCCH1; inline;
  4673. procedure setCOE; inline;
  4674. procedure setCOUT; inline;
  4675. procedure setCPOL; inline;
  4676. procedure setCREF; inline;
  4677. procedure setEVPOL0; inline;
  4678. procedure setEVPOL1; inline;
  4679. procedure setON; inline;
  4680. property CCH : TBits_2 read getCCH write setCCH;
  4681. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4682. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4683. property COE : TBits_1 read getCOE write setCOE;
  4684. property COUT : TBits_1 read getCOUT write setCOUT;
  4685. property CPOL : TBits_1 read getCPOL write setCPOL;
  4686. property CREF : TBits_1 read getCREF write setCREF;
  4687. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4688. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4689. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4690. property ON : TBits_1 read getON write setON;
  4691. property w : TBits_32 read getw write setw;
  4692. end;
  4693. TCMP_CM3CON = record
  4694. private
  4695. function getCCH : TBits_2; inline;
  4696. function getCCH0 : TBits_1; inline;
  4697. function getCCH1 : TBits_1; inline;
  4698. function getCOE : TBits_1; inline;
  4699. function getCOUT : TBits_1; inline;
  4700. function getCPOL : TBits_1; inline;
  4701. function getCREF : TBits_1; inline;
  4702. function getEVPOL : TBits_2; inline;
  4703. function getEVPOL0 : TBits_1; inline;
  4704. function getEVPOL1 : TBits_1; inline;
  4705. function getON : TBits_1; inline;
  4706. function getw : TBits_32; inline;
  4707. procedure setCCH(thebits : TBits_2); inline;
  4708. procedure setCCH0(thebits : TBits_1); inline;
  4709. procedure setCCH1(thebits : TBits_1); inline;
  4710. procedure setCOE(thebits : TBits_1); inline;
  4711. procedure setCOUT(thebits : TBits_1); inline;
  4712. procedure setCPOL(thebits : TBits_1); inline;
  4713. procedure setCREF(thebits : TBits_1); inline;
  4714. procedure setEVPOL(thebits : TBits_2); inline;
  4715. procedure setEVPOL0(thebits : TBits_1); inline;
  4716. procedure setEVPOL1(thebits : TBits_1); inline;
  4717. procedure setON(thebits : TBits_1); inline;
  4718. procedure setw(thebits : TBits_32); inline;
  4719. public
  4720. procedure clearCCH0; inline;
  4721. procedure clearCCH1; inline;
  4722. procedure clearCOE; inline;
  4723. procedure clearCOUT; inline;
  4724. procedure clearCPOL; inline;
  4725. procedure clearCREF; inline;
  4726. procedure clearEVPOL0; inline;
  4727. procedure clearEVPOL1; inline;
  4728. procedure clearON; inline;
  4729. procedure setCCH0; inline;
  4730. procedure setCCH1; inline;
  4731. procedure setCOE; inline;
  4732. procedure setCOUT; inline;
  4733. procedure setCPOL; inline;
  4734. procedure setCREF; inline;
  4735. procedure setEVPOL0; inline;
  4736. procedure setEVPOL1; inline;
  4737. procedure setON; inline;
  4738. property CCH : TBits_2 read getCCH write setCCH;
  4739. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4740. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4741. property COE : TBits_1 read getCOE write setCOE;
  4742. property COUT : TBits_1 read getCOUT write setCOUT;
  4743. property CPOL : TBits_1 read getCPOL write setCPOL;
  4744. property CREF : TBits_1 read getCREF write setCREF;
  4745. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4746. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4747. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4748. property ON : TBits_1 read getON write setON;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TCMP_CMSTAT = record
  4752. private
  4753. function getC1OUT : TBits_1; inline;
  4754. function getC2OUT : TBits_1; inline;
  4755. function getC3OUT : TBits_1; inline;
  4756. function getSIDL : TBits_1; inline;
  4757. function getw : TBits_32; inline;
  4758. procedure setC1OUT(thebits : TBits_1); inline;
  4759. procedure setC2OUT(thebits : TBits_1); inline;
  4760. procedure setC3OUT(thebits : TBits_1); inline;
  4761. procedure setSIDL(thebits : TBits_1); inline;
  4762. procedure setw(thebits : TBits_32); inline;
  4763. public
  4764. procedure clearC1OUT; inline;
  4765. procedure clearC2OUT; inline;
  4766. procedure clearC3OUT; inline;
  4767. procedure clearSIDL; inline;
  4768. procedure setC1OUT; inline;
  4769. procedure setC2OUT; inline;
  4770. procedure setC3OUT; inline;
  4771. procedure setSIDL; inline;
  4772. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  4773. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  4774. property C3OUT : TBits_1 read getC3OUT write setC3OUT;
  4775. property SIDL : TBits_1 read getSIDL write setSIDL;
  4776. property w : TBits_32 read getw write setw;
  4777. end;
  4778. TCMP_CTMUCON = record
  4779. private
  4780. function getCTMUSIDL : TBits_1; inline;
  4781. function getCTTRIG : TBits_1; inline;
  4782. function getEDG1MOD : TBits_1; inline;
  4783. function getEDG1POL : TBits_1; inline;
  4784. function getEDG1SEL : TBits_4; inline;
  4785. function getEDG1STAT : TBits_1; inline;
  4786. function getEDG2MOD : TBits_1; inline;
  4787. function getEDG2POL : TBits_1; inline;
  4788. function getEDG2SEL : TBits_4; inline;
  4789. function getEDG2STAT : TBits_1; inline;
  4790. function getEDGEN : TBits_1; inline;
  4791. function getEDGSEQEN : TBits_1; inline;
  4792. function getIDISSEN : TBits_1; inline;
  4793. function getIRNG : TBits_2; inline;
  4794. function getITRIM : TBits_6; inline;
  4795. function getON : TBits_1; inline;
  4796. function getTGEN : TBits_1; inline;
  4797. function getw : TBits_32; inline;
  4798. procedure setCTMUSIDL(thebits : TBits_1); inline;
  4799. procedure setCTTRIG(thebits : TBits_1); inline;
  4800. procedure setEDG1MOD(thebits : TBits_1); inline;
  4801. procedure setEDG1POL(thebits : TBits_1); inline;
  4802. procedure setEDG1SEL(thebits : TBits_4); inline;
  4803. procedure setEDG1STAT(thebits : TBits_1); inline;
  4804. procedure setEDG2MOD(thebits : TBits_1); inline;
  4805. procedure setEDG2POL(thebits : TBits_1); inline;
  4806. procedure setEDG2SEL(thebits : TBits_4); inline;
  4807. procedure setEDG2STAT(thebits : TBits_1); inline;
  4808. procedure setEDGEN(thebits : TBits_1); inline;
  4809. procedure setEDGSEQEN(thebits : TBits_1); inline;
  4810. procedure setIDISSEN(thebits : TBits_1); inline;
  4811. procedure setIRNG(thebits : TBits_2); inline;
  4812. procedure setITRIM(thebits : TBits_6); inline;
  4813. procedure setON(thebits : TBits_1); inline;
  4814. procedure setTGEN(thebits : TBits_1); inline;
  4815. procedure setw(thebits : TBits_32); inline;
  4816. public
  4817. procedure clearCTMUSIDL; inline;
  4818. procedure clearCTTRIG; inline;
  4819. procedure clearEDG1MOD; inline;
  4820. procedure clearEDG1POL; inline;
  4821. procedure clearEDG1STAT; inline;
  4822. procedure clearEDG2MOD; inline;
  4823. procedure clearEDG2POL; inline;
  4824. procedure clearEDG2STAT; inline;
  4825. procedure clearEDGEN; inline;
  4826. procedure clearEDGSEQEN; inline;
  4827. procedure clearIDISSEN; inline;
  4828. procedure clearON; inline;
  4829. procedure clearTGEN; inline;
  4830. procedure setCTMUSIDL; inline;
  4831. procedure setCTTRIG; inline;
  4832. procedure setEDG1MOD; inline;
  4833. procedure setEDG1POL; inline;
  4834. procedure setEDG1STAT; inline;
  4835. procedure setEDG2MOD; inline;
  4836. procedure setEDG2POL; inline;
  4837. procedure setEDG2STAT; inline;
  4838. procedure setEDGEN; inline;
  4839. procedure setEDGSEQEN; inline;
  4840. procedure setIDISSEN; inline;
  4841. procedure setON; inline;
  4842. procedure setTGEN; inline;
  4843. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  4844. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  4845. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  4846. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  4847. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  4848. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  4849. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  4850. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  4851. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  4852. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  4853. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  4854. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  4855. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  4856. property IRNG : TBits_2 read getIRNG write setIRNG;
  4857. property ITRIM : TBits_6 read getITRIM write setITRIM;
  4858. property ON : TBits_1 read getON write setON;
  4859. property TGEN : TBits_1 read getTGEN write setTGEN;
  4860. property w : TBits_32 read getw write setw;
  4861. end;
  4862. type
  4863. TCMPRegisters = record
  4864. CM1CONbits : TCMP_CM1CON;
  4865. CM1CON : longWord;
  4866. CM1CONCLR : longWord;
  4867. CM1CONSET : longWord;
  4868. CM1CONINV : longWord;
  4869. CM2CONbits : TCMP_CM2CON;
  4870. CM2CON : longWord;
  4871. CM2CONCLR : longWord;
  4872. CM2CONSET : longWord;
  4873. CM2CONINV : longWord;
  4874. CM3CONbits : TCMP_CM3CON;
  4875. CM3CON : longWord;
  4876. CM3CONCLR : longWord;
  4877. CM3CONSET : longWord;
  4878. CM3CONINV : longWord;
  4879. CMSTATbits : TCMP_CMSTAT;
  4880. CMSTAT : longWord;
  4881. CMSTATCLR : longWord;
  4882. CMSTATSET : longWord;
  4883. CMSTATINV : longWord;
  4884. CTMUCONbits : TCMP_CTMUCON;
  4885. CTMUCON : longWord;
  4886. CTMUCONCLR : longWord;
  4887. CTMUCONSET : longWord;
  4888. CTMUCONINV : longWord;
  4889. end;
  4890. TOSC_OSCCON = record
  4891. private
  4892. function getCF : TBits_1; inline;
  4893. function getCLKLOCK : TBits_1; inline;
  4894. function getCOSC : TBits_3; inline;
  4895. function getCOSC0 : TBits_1; inline;
  4896. function getCOSC1 : TBits_1; inline;
  4897. function getCOSC2 : TBits_1; inline;
  4898. function getFRCDIV : TBits_3; inline;
  4899. function getFRCDIV0 : TBits_1; inline;
  4900. function getFRCDIV1 : TBits_1; inline;
  4901. function getFRCDIV2 : TBits_1; inline;
  4902. function getNOSC : TBits_3; inline;
  4903. function getNOSC0 : TBits_1; inline;
  4904. function getNOSC1 : TBits_1; inline;
  4905. function getNOSC2 : TBits_1; inline;
  4906. function getOSWEN : TBits_1; inline;
  4907. function getPBDIV : TBits_2; inline;
  4908. function getPBDIV0 : TBits_1; inline;
  4909. function getPBDIV1 : TBits_1; inline;
  4910. function getPBDIVRDY : TBits_1; inline;
  4911. function getPLLMULT : TBits_3; inline;
  4912. function getPLLMULT0 : TBits_1; inline;
  4913. function getPLLMULT1 : TBits_1; inline;
  4914. function getPLLMULT2 : TBits_1; inline;
  4915. function getPLLODIV : TBits_3; inline;
  4916. function getPLLODIV0 : TBits_1; inline;
  4917. function getPLLODIV1 : TBits_1; inline;
  4918. function getPLLODIV2 : TBits_1; inline;
  4919. function getSLOCK : TBits_1; inline;
  4920. function getSLPEN : TBits_1; inline;
  4921. function getSOSCEN : TBits_1; inline;
  4922. function getSOSCRDY : TBits_1; inline;
  4923. function getUFRCEN : TBits_1; inline;
  4924. function getULOCK : TBits_1; inline;
  4925. function getw : TBits_32; inline;
  4926. procedure setCF(thebits : TBits_1); inline;
  4927. procedure setCLKLOCK(thebits : TBits_1); inline;
  4928. procedure setCOSC(thebits : TBits_3); inline;
  4929. procedure setCOSC0(thebits : TBits_1); inline;
  4930. procedure setCOSC1(thebits : TBits_1); inline;
  4931. procedure setCOSC2(thebits : TBits_1); inline;
  4932. procedure setFRCDIV(thebits : TBits_3); inline;
  4933. procedure setFRCDIV0(thebits : TBits_1); inline;
  4934. procedure setFRCDIV1(thebits : TBits_1); inline;
  4935. procedure setFRCDIV2(thebits : TBits_1); inline;
  4936. procedure setNOSC(thebits : TBits_3); inline;
  4937. procedure setNOSC0(thebits : TBits_1); inline;
  4938. procedure setNOSC1(thebits : TBits_1); inline;
  4939. procedure setNOSC2(thebits : TBits_1); inline;
  4940. procedure setOSWEN(thebits : TBits_1); inline;
  4941. procedure setPBDIV(thebits : TBits_2); inline;
  4942. procedure setPBDIV0(thebits : TBits_1); inline;
  4943. procedure setPBDIV1(thebits : TBits_1); inline;
  4944. procedure setPBDIVRDY(thebits : TBits_1); inline;
  4945. procedure setPLLMULT(thebits : TBits_3); inline;
  4946. procedure setPLLMULT0(thebits : TBits_1); inline;
  4947. procedure setPLLMULT1(thebits : TBits_1); inline;
  4948. procedure setPLLMULT2(thebits : TBits_1); inline;
  4949. procedure setPLLODIV(thebits : TBits_3); inline;
  4950. procedure setPLLODIV0(thebits : TBits_1); inline;
  4951. procedure setPLLODIV1(thebits : TBits_1); inline;
  4952. procedure setPLLODIV2(thebits : TBits_1); inline;
  4953. procedure setSLOCK(thebits : TBits_1); inline;
  4954. procedure setSLPEN(thebits : TBits_1); inline;
  4955. procedure setSOSCEN(thebits : TBits_1); inline;
  4956. procedure setSOSCRDY(thebits : TBits_1); inline;
  4957. procedure setUFRCEN(thebits : TBits_1); inline;
  4958. procedure setULOCK(thebits : TBits_1); inline;
  4959. procedure setw(thebits : TBits_32); inline;
  4960. public
  4961. procedure clearCF; inline;
  4962. procedure clearCLKLOCK; inline;
  4963. procedure clearCOSC0; inline;
  4964. procedure clearCOSC1; inline;
  4965. procedure clearCOSC2; inline;
  4966. procedure clearFRCDIV0; inline;
  4967. procedure clearFRCDIV1; inline;
  4968. procedure clearFRCDIV2; inline;
  4969. procedure clearNOSC0; inline;
  4970. procedure clearNOSC1; inline;
  4971. procedure clearNOSC2; inline;
  4972. procedure clearOSWEN; inline;
  4973. procedure clearPBDIV0; inline;
  4974. procedure clearPBDIV1; inline;
  4975. procedure clearPBDIVRDY; inline;
  4976. procedure clearPLLMULT0; inline;
  4977. procedure clearPLLMULT1; inline;
  4978. procedure clearPLLMULT2; inline;
  4979. procedure clearPLLODIV0; inline;
  4980. procedure clearPLLODIV1; inline;
  4981. procedure clearPLLODIV2; inline;
  4982. procedure clearSLOCK; inline;
  4983. procedure clearSLPEN; inline;
  4984. procedure clearSOSCEN; inline;
  4985. procedure clearSOSCRDY; inline;
  4986. procedure clearUFRCEN; inline;
  4987. procedure clearULOCK; inline;
  4988. procedure setCF; inline;
  4989. procedure setCLKLOCK; inline;
  4990. procedure setCOSC0; inline;
  4991. procedure setCOSC1; inline;
  4992. procedure setCOSC2; inline;
  4993. procedure setFRCDIV0; inline;
  4994. procedure setFRCDIV1; inline;
  4995. procedure setFRCDIV2; inline;
  4996. procedure setNOSC0; inline;
  4997. procedure setNOSC1; inline;
  4998. procedure setNOSC2; inline;
  4999. procedure setOSWEN; inline;
  5000. procedure setPBDIV0; inline;
  5001. procedure setPBDIV1; inline;
  5002. procedure setPBDIVRDY; inline;
  5003. procedure setPLLMULT0; inline;
  5004. procedure setPLLMULT1; inline;
  5005. procedure setPLLMULT2; inline;
  5006. procedure setPLLODIV0; inline;
  5007. procedure setPLLODIV1; inline;
  5008. procedure setPLLODIV2; inline;
  5009. procedure setSLOCK; inline;
  5010. procedure setSLPEN; inline;
  5011. procedure setSOSCEN; inline;
  5012. procedure setSOSCRDY; inline;
  5013. procedure setUFRCEN; inline;
  5014. procedure setULOCK; inline;
  5015. property CF : TBits_1 read getCF write setCF;
  5016. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5017. property COSC : TBits_3 read getCOSC write setCOSC;
  5018. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5019. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5020. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5021. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5022. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5023. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5024. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5025. property NOSC : TBits_3 read getNOSC write setNOSC;
  5026. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5027. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5028. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5029. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5030. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5031. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5032. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5033. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5034. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5035. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5036. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5037. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5038. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5039. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5040. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5041. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5042. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5043. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5044. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5045. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5046. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5047. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5048. property w : TBits_32 read getw write setw;
  5049. end;
  5050. TOSC_OSCTUN = record
  5051. private
  5052. function getTUN : TBits_6; inline;
  5053. function getTUN0 : TBits_1; inline;
  5054. function getTUN1 : TBits_1; inline;
  5055. function getTUN2 : TBits_1; inline;
  5056. function getTUN3 : TBits_1; inline;
  5057. function getTUN4 : TBits_1; inline;
  5058. function getTUN5 : TBits_1; inline;
  5059. function getw : TBits_32; inline;
  5060. procedure setTUN(thebits : TBits_6); inline;
  5061. procedure setTUN0(thebits : TBits_1); inline;
  5062. procedure setTUN1(thebits : TBits_1); inline;
  5063. procedure setTUN2(thebits : TBits_1); inline;
  5064. procedure setTUN3(thebits : TBits_1); inline;
  5065. procedure setTUN4(thebits : TBits_1); inline;
  5066. procedure setTUN5(thebits : TBits_1); inline;
  5067. procedure setw(thebits : TBits_32); inline;
  5068. public
  5069. procedure clearTUN0; inline;
  5070. procedure clearTUN1; inline;
  5071. procedure clearTUN2; inline;
  5072. procedure clearTUN3; inline;
  5073. procedure clearTUN4; inline;
  5074. procedure clearTUN5; inline;
  5075. procedure setTUN0; inline;
  5076. procedure setTUN1; inline;
  5077. procedure setTUN2; inline;
  5078. procedure setTUN3; inline;
  5079. procedure setTUN4; inline;
  5080. procedure setTUN5; inline;
  5081. property TUN : TBits_6 read getTUN write setTUN;
  5082. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5083. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5084. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5085. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5086. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5087. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5088. property w : TBits_32 read getw write setw;
  5089. end;
  5090. TOSC_REFOCON = record
  5091. private
  5092. function getACTIVE : TBits_1; inline;
  5093. function getDIVSWEN : TBits_1; inline;
  5094. function getOE : TBits_1; inline;
  5095. function getON : TBits_1; inline;
  5096. function getRODIV : TBits_15; inline;
  5097. function getROSEL : TBits_4; inline;
  5098. function getRSLP : TBits_1; inline;
  5099. function getSIDL : TBits_1; inline;
  5100. function getw : TBits_32; inline;
  5101. procedure setACTIVE(thebits : TBits_1); inline;
  5102. procedure setDIVSWEN(thebits : TBits_1); inline;
  5103. procedure setOE(thebits : TBits_1); inline;
  5104. procedure setON(thebits : TBits_1); inline;
  5105. procedure setRODIV(thebits : TBits_15); inline;
  5106. procedure setROSEL(thebits : TBits_4); inline;
  5107. procedure setRSLP(thebits : TBits_1); inline;
  5108. procedure setSIDL(thebits : TBits_1); inline;
  5109. procedure setw(thebits : TBits_32); inline;
  5110. public
  5111. procedure clearACTIVE; inline;
  5112. procedure clearDIVSWEN; inline;
  5113. procedure clearOE; inline;
  5114. procedure clearON; inline;
  5115. procedure clearRSLP; inline;
  5116. procedure clearSIDL; inline;
  5117. procedure setACTIVE; inline;
  5118. procedure setDIVSWEN; inline;
  5119. procedure setOE; inline;
  5120. procedure setON; inline;
  5121. procedure setRSLP; inline;
  5122. procedure setSIDL; inline;
  5123. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  5124. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  5125. property OE : TBits_1 read getOE write setOE;
  5126. property ON : TBits_1 read getON write setON;
  5127. property RODIV : TBits_15 read getRODIV write setRODIV;
  5128. property ROSEL : TBits_4 read getROSEL write setROSEL;
  5129. property RSLP : TBits_1 read getRSLP write setRSLP;
  5130. property SIDL : TBits_1 read getSIDL write setSIDL;
  5131. property w : TBits_32 read getw write setw;
  5132. end;
  5133. TOSC_REFOTRIM = record
  5134. private
  5135. function getROTRIM : TBits_9; inline;
  5136. function getw : TBits_32; inline;
  5137. procedure setROTRIM(thebits : TBits_9); inline;
  5138. procedure setw(thebits : TBits_32); inline;
  5139. public
  5140. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  5141. property w : TBits_32 read getw write setw;
  5142. end;
  5143. type
  5144. TOSCRegisters = record
  5145. OSCCONbits : TOSC_OSCCON;
  5146. OSCCON : longWord;
  5147. OSCCONCLR : longWord;
  5148. OSCCONSET : longWord;
  5149. OSCCONINV : longWord;
  5150. OSCTUNbits : TOSC_OSCTUN;
  5151. OSCTUN : longWord;
  5152. OSCTUNCLR : longWord;
  5153. OSCTUNSET : longWord;
  5154. OSCTUNINV : longWord;
  5155. REFOCONbits : TOSC_REFOCON;
  5156. REFOCON : longWord;
  5157. REFOCONCLR : longWord;
  5158. REFOCONSET : longWord;
  5159. REFOCONINV : longWord;
  5160. REFOTRIMbits : TOSC_REFOTRIM;
  5161. REFOTRIM : longWord;
  5162. REFOTRIMCLR : longWord;
  5163. REFOTRIMSET : longWord;
  5164. REFOTRIMINV : longWord;
  5165. end;
  5166. TCFG_PMD5 = record
  5167. private
  5168. function getI2C1MD : TBits_1; inline;
  5169. function getI2C2MD : TBits_1; inline;
  5170. function getSPI1MD : TBits_1; inline;
  5171. function getSPI2MD : TBits_1; inline;
  5172. function getU1MD : TBits_1; inline;
  5173. function getU2MD : TBits_1; inline;
  5174. function getUSB1MD : TBits_1; inline;
  5175. function getUSBMD : TBits_1; inline;
  5176. procedure setI2C1MD(thebits : TBits_1); inline;
  5177. procedure setI2C2MD(thebits : TBits_1); inline;
  5178. procedure setSPI1MD(thebits : TBits_1); inline;
  5179. procedure setSPI2MD(thebits : TBits_1); inline;
  5180. procedure setU1MD(thebits : TBits_1); inline;
  5181. procedure setU2MD(thebits : TBits_1); inline;
  5182. procedure setUSB1MD(thebits : TBits_1); inline;
  5183. procedure setUSBMD(thebits : TBits_1); inline;
  5184. public
  5185. procedure clearI2C1MD; inline;
  5186. procedure clearI2C2MD; inline;
  5187. procedure clearSPI1MD; inline;
  5188. procedure clearSPI2MD; inline;
  5189. procedure clearU1MD; inline;
  5190. procedure clearU2MD; inline;
  5191. procedure clearUSB1MD; inline;
  5192. procedure clearUSBMD; inline;
  5193. procedure setI2C1MD; inline;
  5194. procedure setI2C2MD; inline;
  5195. procedure setSPI1MD; inline;
  5196. procedure setSPI2MD; inline;
  5197. procedure setU1MD; inline;
  5198. procedure setU2MD; inline;
  5199. procedure setUSB1MD; inline;
  5200. procedure setUSBMD; inline;
  5201. property I2C1MD : TBits_1 read getI2C1MD write setI2C1MD;
  5202. property I2C2MD : TBits_1 read getI2C2MD write setI2C2MD;
  5203. property SPI1MD : TBits_1 read getSPI1MD write setSPI1MD;
  5204. property SPI2MD : TBits_1 read getSPI2MD write setSPI2MD;
  5205. property U1MD : TBits_1 read getU1MD write setU1MD;
  5206. property U2MD : TBits_1 read getU2MD write setU2MD;
  5207. property USB1MD : TBits_1 read getUSB1MD write setUSB1MD;
  5208. property USBMD : TBits_1 read getUSBMD write setUSBMD;
  5209. end;
  5210. type
  5211. TCFGRegisters = record
  5212. CFGCON : longWord;
  5213. DDPCON : longWord;
  5214. DEVID : longWord;
  5215. SYSKEY : longWord;
  5216. SYSKEYCLR : longWord;
  5217. SYSKEYSET : longWord;
  5218. SYSKEYINV : longWord;
  5219. PMD1 : longWord;
  5220. PMD1CLR : longWord;
  5221. PMD1SET : longWord;
  5222. PMD1INV : longWord;
  5223. PMD2 : longWord;
  5224. PMD2CLR : longWord;
  5225. PMD2SET : longWord;
  5226. PMD2INV : longWord;
  5227. PMD3 : longWord;
  5228. PMD3CLR : longWord;
  5229. PMD3SET : longWord;
  5230. PMD3INV : longWord;
  5231. PMD4 : longWord;
  5232. PMD4CLR : longWord;
  5233. PMD4SET : longWord;
  5234. PMD4INV : longWord;
  5235. PMD5bits : TCFG_PMD5;
  5236. PMD5 : longWord;
  5237. PMD5CLR : longWord;
  5238. PMD5SET : longWord;
  5239. PMD5INV : longWord;
  5240. PMD6 : longWord;
  5241. PMD6CLR : longWord;
  5242. PMD6SET : longWord;
  5243. PMD6INV : longWord;
  5244. end;
  5245. TNVM_NVMCON = record
  5246. private
  5247. function getLVDERR : TBits_1; inline;
  5248. function getLVDSTAT : TBits_1; inline;
  5249. function getNVMOP : TBits_4; inline;
  5250. function getNVMOP0 : TBits_1; inline;
  5251. function getNVMOP1 : TBits_1; inline;
  5252. function getNVMOP2 : TBits_1; inline;
  5253. function getNVMOP3 : TBits_1; inline;
  5254. function getPROGOP : TBits_4; inline;
  5255. function getPROGOP0 : TBits_1; inline;
  5256. function getPROGOP1 : TBits_1; inline;
  5257. function getPROGOP2 : TBits_1; inline;
  5258. function getPROGOP3 : TBits_1; inline;
  5259. function getWR : TBits_1; inline;
  5260. function getWREN : TBits_1; inline;
  5261. function getWRERR : TBits_1; inline;
  5262. function getw : TBits_32; inline;
  5263. procedure setLVDERR(thebits : TBits_1); inline;
  5264. procedure setLVDSTAT(thebits : TBits_1); inline;
  5265. procedure setNVMOP(thebits : TBits_4); inline;
  5266. procedure setNVMOP0(thebits : TBits_1); inline;
  5267. procedure setNVMOP1(thebits : TBits_1); inline;
  5268. procedure setNVMOP2(thebits : TBits_1); inline;
  5269. procedure setNVMOP3(thebits : TBits_1); inline;
  5270. procedure setPROGOP(thebits : TBits_4); inline;
  5271. procedure setPROGOP0(thebits : TBits_1); inline;
  5272. procedure setPROGOP1(thebits : TBits_1); inline;
  5273. procedure setPROGOP2(thebits : TBits_1); inline;
  5274. procedure setPROGOP3(thebits : TBits_1); inline;
  5275. procedure setWR(thebits : TBits_1); inline;
  5276. procedure setWREN(thebits : TBits_1); inline;
  5277. procedure setWRERR(thebits : TBits_1); inline;
  5278. procedure setw(thebits : TBits_32); inline;
  5279. public
  5280. procedure clearLVDERR; inline;
  5281. procedure clearLVDSTAT; inline;
  5282. procedure clearNVMOP0; inline;
  5283. procedure clearNVMOP1; inline;
  5284. procedure clearNVMOP2; inline;
  5285. procedure clearNVMOP3; inline;
  5286. procedure clearPROGOP0; inline;
  5287. procedure clearPROGOP1; inline;
  5288. procedure clearPROGOP2; inline;
  5289. procedure clearPROGOP3; inline;
  5290. procedure clearWR; inline;
  5291. procedure clearWREN; inline;
  5292. procedure clearWRERR; inline;
  5293. procedure setLVDERR; inline;
  5294. procedure setLVDSTAT; inline;
  5295. procedure setNVMOP0; inline;
  5296. procedure setNVMOP1; inline;
  5297. procedure setNVMOP2; inline;
  5298. procedure setNVMOP3; inline;
  5299. procedure setPROGOP0; inline;
  5300. procedure setPROGOP1; inline;
  5301. procedure setPROGOP2; inline;
  5302. procedure setPROGOP3; inline;
  5303. procedure setWR; inline;
  5304. procedure setWREN; inline;
  5305. procedure setWRERR; inline;
  5306. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  5307. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  5308. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  5309. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  5310. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  5311. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  5312. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  5313. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  5314. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  5315. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  5316. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  5317. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  5318. property WR : TBits_1 read getWR write setWR;
  5319. property WREN : TBits_1 read getWREN write setWREN;
  5320. property WRERR : TBits_1 read getWRERR write setWRERR;
  5321. property w : TBits_32 read getw write setw;
  5322. end;
  5323. type
  5324. TNVMRegisters = record
  5325. NVMCONbits : TNVM_NVMCON;
  5326. NVMCON : longWord;
  5327. NVMCONCLR : longWord;
  5328. NVMCONSET : longWord;
  5329. NVMCONINV : longWord;
  5330. NVMKEY : longWord;
  5331. NVMADDR : longWord;
  5332. NVMADDRCLR : longWord;
  5333. NVMADDRSET : longWord;
  5334. NVMADDRINV : longWord;
  5335. NVMDATA : longWord;
  5336. NVMSRCADDR : longWord;
  5337. end;
  5338. TRCON_RCON = record
  5339. private
  5340. function getBOR : TBits_1; inline;
  5341. function getCMR : TBits_1; inline;
  5342. function getEXTR : TBits_1; inline;
  5343. function getIDLE : TBits_1; inline;
  5344. function getPOR : TBits_1; inline;
  5345. function getSLEEP : TBits_1; inline;
  5346. function getSWR : TBits_1; inline;
  5347. function getVREGS : TBits_1; inline;
  5348. function getWDTO : TBits_1; inline;
  5349. function getw : TBits_32; inline;
  5350. procedure setBOR(thebits : TBits_1); inline;
  5351. procedure setCMR(thebits : TBits_1); inline;
  5352. procedure setEXTR(thebits : TBits_1); inline;
  5353. procedure setIDLE(thebits : TBits_1); inline;
  5354. procedure setPOR(thebits : TBits_1); inline;
  5355. procedure setSLEEP(thebits : TBits_1); inline;
  5356. procedure setSWR(thebits : TBits_1); inline;
  5357. procedure setVREGS(thebits : TBits_1); inline;
  5358. procedure setWDTO(thebits : TBits_1); inline;
  5359. procedure setw(thebits : TBits_32); inline;
  5360. public
  5361. procedure clearBOR; inline;
  5362. procedure clearCMR; inline;
  5363. procedure clearEXTR; inline;
  5364. procedure clearIDLE; inline;
  5365. procedure clearPOR; inline;
  5366. procedure clearSLEEP; inline;
  5367. procedure clearSWR; inline;
  5368. procedure clearVREGS; inline;
  5369. procedure clearWDTO; inline;
  5370. procedure setBOR; inline;
  5371. procedure setCMR; inline;
  5372. procedure setEXTR; inline;
  5373. procedure setIDLE; inline;
  5374. procedure setPOR; inline;
  5375. procedure setSLEEP; inline;
  5376. procedure setSWR; inline;
  5377. procedure setVREGS; inline;
  5378. procedure setWDTO; inline;
  5379. property BOR : TBits_1 read getBOR write setBOR;
  5380. property CMR : TBits_1 read getCMR write setCMR;
  5381. property EXTR : TBits_1 read getEXTR write setEXTR;
  5382. property IDLE : TBits_1 read getIDLE write setIDLE;
  5383. property POR : TBits_1 read getPOR write setPOR;
  5384. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  5385. property SWR : TBits_1 read getSWR write setSWR;
  5386. property VREGS : TBits_1 read getVREGS write setVREGS;
  5387. property WDTO : TBits_1 read getWDTO write setWDTO;
  5388. property w : TBits_32 read getw write setw;
  5389. end;
  5390. TRCON_RSWRST = record
  5391. private
  5392. function getSWRST : TBits_1; inline;
  5393. function getw : TBits_32; inline;
  5394. procedure setSWRST(thebits : TBits_1); inline;
  5395. procedure setw(thebits : TBits_32); inline;
  5396. public
  5397. procedure clearSWRST; inline;
  5398. procedure setSWRST; inline;
  5399. property SWRST : TBits_1 read getSWRST write setSWRST;
  5400. property w : TBits_32 read getw write setw;
  5401. end;
  5402. type
  5403. TRCONRegisters = record
  5404. RCONbits : TRCON_RCON;
  5405. RCON : longWord;
  5406. RCONCLR : longWord;
  5407. RCONSET : longWord;
  5408. RCONINV : longWord;
  5409. RSWRSTbits : TRCON_RSWRST;
  5410. RSWRST : longWord;
  5411. RSWRSTCLR : longWord;
  5412. RSWRSTSET : longWord;
  5413. RSWRSTINV : longWord;
  5414. INT1R : longWord;
  5415. INT2R : longWord;
  5416. INT3R : longWord;
  5417. INT4R : longWord;
  5418. T2CKR : longWord;
  5419. T3CKR : longWord;
  5420. T4CKR : longWord;
  5421. T5CKR : longWord;
  5422. IC1R : longWord;
  5423. IC2R : longWord;
  5424. IC3R : longWord;
  5425. IC4R : longWord;
  5426. IC5R : longWord;
  5427. OCFAR : longWord;
  5428. OCFBR : longWord;
  5429. U1RXR : longWord;
  5430. U1CTSR : longWord;
  5431. U2RXR : longWord;
  5432. U2CTSR : longWord;
  5433. SDI1R : longWord;
  5434. SS1R : longWord;
  5435. SDI2R : longWord;
  5436. SS2R : longWord;
  5437. REFCLKIR : longWord;
  5438. RPA0R : longWord;
  5439. RPA1R : longWord;
  5440. RPA2R : longWord;
  5441. RPA3R : longWord;
  5442. RPA4R : longWord;
  5443. RPA8R : longWord;
  5444. RPA9R : longWord;
  5445. RPB0R : longWord;
  5446. RPB1R : longWord;
  5447. RPB2R : longWord;
  5448. RPB3R : longWord;
  5449. RPB4R : longWord;
  5450. RPB5R : longWord;
  5451. RPB7R : longWord;
  5452. RPB8R : longWord;
  5453. RPB9R : longWord;
  5454. RPB10R : longWord;
  5455. RPB11R : longWord;
  5456. RPB13R : longWord;
  5457. RPB14R : longWord;
  5458. RPB15R : longWord;
  5459. RPC0R : longWord;
  5460. RPC1R : longWord;
  5461. RPC2R : longWord;
  5462. RPC3R : longWord;
  5463. RPC4R : longWord;
  5464. RPC5R : longWord;
  5465. RPC6R : longWord;
  5466. RPC7R : longWord;
  5467. RPC8R : longWord;
  5468. RPC9R : longWord;
  5469. end;
  5470. TINT_INTCON = record
  5471. private
  5472. function getINT0EP : TBits_1; inline;
  5473. function getINT1EP : TBits_1; inline;
  5474. function getINT2EP : TBits_1; inline;
  5475. function getINT3EP : TBits_1; inline;
  5476. function getINT4EP : TBits_1; inline;
  5477. function getMVEC : TBits_1; inline;
  5478. function getSS0 : TBits_1; inline;
  5479. function getTPC : TBits_3; inline;
  5480. function getw : TBits_32; inline;
  5481. procedure setINT0EP(thebits : TBits_1); inline;
  5482. procedure setINT1EP(thebits : TBits_1); inline;
  5483. procedure setINT2EP(thebits : TBits_1); inline;
  5484. procedure setINT3EP(thebits : TBits_1); inline;
  5485. procedure setINT4EP(thebits : TBits_1); inline;
  5486. procedure setMVEC(thebits : TBits_1); inline;
  5487. procedure setSS0(thebits : TBits_1); inline;
  5488. procedure setTPC(thebits : TBits_3); inline;
  5489. procedure setw(thebits : TBits_32); inline;
  5490. public
  5491. procedure clearINT0EP; inline;
  5492. procedure clearINT1EP; inline;
  5493. procedure clearINT2EP; inline;
  5494. procedure clearINT3EP; inline;
  5495. procedure clearINT4EP; inline;
  5496. procedure clearMVEC; inline;
  5497. procedure clearSS0; inline;
  5498. procedure setINT0EP; inline;
  5499. procedure setINT1EP; inline;
  5500. procedure setINT2EP; inline;
  5501. procedure setINT3EP; inline;
  5502. procedure setINT4EP; inline;
  5503. procedure setMVEC; inline;
  5504. procedure setSS0; inline;
  5505. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  5506. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  5507. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  5508. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  5509. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  5510. property MVEC : TBits_1 read getMVEC write setMVEC;
  5511. property SS0 : TBits_1 read getSS0 write setSS0;
  5512. property TPC : TBits_3 read getTPC write setTPC;
  5513. property w : TBits_32 read getw write setw;
  5514. end;
  5515. TINT_IFS0 = record
  5516. private
  5517. function getAD1IF : TBits_1; inline;
  5518. function getCS0IF : TBits_1; inline;
  5519. function getCS1IF : TBits_1; inline;
  5520. function getCTIF : TBits_1; inline;
  5521. function getFCEIF : TBits_1; inline;
  5522. function getFSCMIF : TBits_1; inline;
  5523. function getIC1EIF : TBits_1; inline;
  5524. function getIC1IF : TBits_1; inline;
  5525. function getIC2EIF : TBits_1; inline;
  5526. function getIC2IF : TBits_1; inline;
  5527. function getIC3EIF : TBits_1; inline;
  5528. function getIC3IF : TBits_1; inline;
  5529. function getIC4EIF : TBits_1; inline;
  5530. function getIC4IF : TBits_1; inline;
  5531. function getIC5EIF : TBits_1; inline;
  5532. function getIC5IF : TBits_1; inline;
  5533. function getINT0IF : TBits_1; inline;
  5534. function getINT1IF : TBits_1; inline;
  5535. function getINT2IF : TBits_1; inline;
  5536. function getINT3IF : TBits_1; inline;
  5537. function getINT4IF : TBits_1; inline;
  5538. function getOC1IF : TBits_1; inline;
  5539. function getOC2IF : TBits_1; inline;
  5540. function getOC3IF : TBits_1; inline;
  5541. function getOC4IF : TBits_1; inline;
  5542. function getOC5IF : TBits_1; inline;
  5543. function getRTCCIF : TBits_1; inline;
  5544. function getT1IF : TBits_1; inline;
  5545. function getT2IF : TBits_1; inline;
  5546. function getT3IF : TBits_1; inline;
  5547. function getT4IF : TBits_1; inline;
  5548. function getT5IF : TBits_1; inline;
  5549. function getw : TBits_32; inline;
  5550. procedure setAD1IF(thebits : TBits_1); inline;
  5551. procedure setCS0IF(thebits : TBits_1); inline;
  5552. procedure setCS1IF(thebits : TBits_1); inline;
  5553. procedure setCTIF(thebits : TBits_1); inline;
  5554. procedure setFCEIF(thebits : TBits_1); inline;
  5555. procedure setFSCMIF(thebits : TBits_1); inline;
  5556. procedure setIC1EIF(thebits : TBits_1); inline;
  5557. procedure setIC1IF(thebits : TBits_1); inline;
  5558. procedure setIC2EIF(thebits : TBits_1); inline;
  5559. procedure setIC2IF(thebits : TBits_1); inline;
  5560. procedure setIC3EIF(thebits : TBits_1); inline;
  5561. procedure setIC3IF(thebits : TBits_1); inline;
  5562. procedure setIC4EIF(thebits : TBits_1); inline;
  5563. procedure setIC4IF(thebits : TBits_1); inline;
  5564. procedure setIC5EIF(thebits : TBits_1); inline;
  5565. procedure setIC5IF(thebits : TBits_1); inline;
  5566. procedure setINT0IF(thebits : TBits_1); inline;
  5567. procedure setINT1IF(thebits : TBits_1); inline;
  5568. procedure setINT2IF(thebits : TBits_1); inline;
  5569. procedure setINT3IF(thebits : TBits_1); inline;
  5570. procedure setINT4IF(thebits : TBits_1); inline;
  5571. procedure setOC1IF(thebits : TBits_1); inline;
  5572. procedure setOC2IF(thebits : TBits_1); inline;
  5573. procedure setOC3IF(thebits : TBits_1); inline;
  5574. procedure setOC4IF(thebits : TBits_1); inline;
  5575. procedure setOC5IF(thebits : TBits_1); inline;
  5576. procedure setRTCCIF(thebits : TBits_1); inline;
  5577. procedure setT1IF(thebits : TBits_1); inline;
  5578. procedure setT2IF(thebits : TBits_1); inline;
  5579. procedure setT3IF(thebits : TBits_1); inline;
  5580. procedure setT4IF(thebits : TBits_1); inline;
  5581. procedure setT5IF(thebits : TBits_1); inline;
  5582. procedure setw(thebits : TBits_32); inline;
  5583. public
  5584. procedure clearAD1IF; inline;
  5585. procedure clearCS0IF; inline;
  5586. procedure clearCS1IF; inline;
  5587. procedure clearCTIF; inline;
  5588. procedure clearFCEIF; inline;
  5589. procedure clearFSCMIF; inline;
  5590. procedure clearIC1EIF; inline;
  5591. procedure clearIC1IF; inline;
  5592. procedure clearIC2EIF; inline;
  5593. procedure clearIC2IF; inline;
  5594. procedure clearIC3EIF; inline;
  5595. procedure clearIC3IF; inline;
  5596. procedure clearIC4EIF; inline;
  5597. procedure clearIC4IF; inline;
  5598. procedure clearIC5EIF; inline;
  5599. procedure clearIC5IF; inline;
  5600. procedure clearINT0IF; inline;
  5601. procedure clearINT1IF; inline;
  5602. procedure clearINT2IF; inline;
  5603. procedure clearINT3IF; inline;
  5604. procedure clearINT4IF; inline;
  5605. procedure clearOC1IF; inline;
  5606. procedure clearOC2IF; inline;
  5607. procedure clearOC3IF; inline;
  5608. procedure clearOC4IF; inline;
  5609. procedure clearOC5IF; inline;
  5610. procedure clearRTCCIF; inline;
  5611. procedure clearT1IF; inline;
  5612. procedure clearT2IF; inline;
  5613. procedure clearT3IF; inline;
  5614. procedure clearT4IF; inline;
  5615. procedure clearT5IF; inline;
  5616. procedure setAD1IF; inline;
  5617. procedure setCS0IF; inline;
  5618. procedure setCS1IF; inline;
  5619. procedure setCTIF; inline;
  5620. procedure setFCEIF; inline;
  5621. procedure setFSCMIF; inline;
  5622. procedure setIC1EIF; inline;
  5623. procedure setIC1IF; inline;
  5624. procedure setIC2EIF; inline;
  5625. procedure setIC2IF; inline;
  5626. procedure setIC3EIF; inline;
  5627. procedure setIC3IF; inline;
  5628. procedure setIC4EIF; inline;
  5629. procedure setIC4IF; inline;
  5630. procedure setIC5EIF; inline;
  5631. procedure setIC5IF; inline;
  5632. procedure setINT0IF; inline;
  5633. procedure setINT1IF; inline;
  5634. procedure setINT2IF; inline;
  5635. procedure setINT3IF; inline;
  5636. procedure setINT4IF; inline;
  5637. procedure setOC1IF; inline;
  5638. procedure setOC2IF; inline;
  5639. procedure setOC3IF; inline;
  5640. procedure setOC4IF; inline;
  5641. procedure setOC5IF; inline;
  5642. procedure setRTCCIF; inline;
  5643. procedure setT1IF; inline;
  5644. procedure setT2IF; inline;
  5645. procedure setT3IF; inline;
  5646. procedure setT4IF; inline;
  5647. procedure setT5IF; inline;
  5648. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  5649. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  5650. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  5651. property CTIF : TBits_1 read getCTIF write setCTIF;
  5652. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  5653. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  5654. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  5655. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  5656. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  5657. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  5658. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  5659. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  5660. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  5661. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  5662. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  5663. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  5664. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  5665. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  5666. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  5667. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  5668. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  5669. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  5670. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  5671. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  5672. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  5673. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  5674. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  5675. property T1IF : TBits_1 read getT1IF write setT1IF;
  5676. property T2IF : TBits_1 read getT2IF write setT2IF;
  5677. property T3IF : TBits_1 read getT3IF write setT3IF;
  5678. property T4IF : TBits_1 read getT4IF write setT4IF;
  5679. property T5IF : TBits_1 read getT5IF write setT5IF;
  5680. property w : TBits_32 read getw write setw;
  5681. end;
  5682. TINT_IFS1 = record
  5683. private
  5684. function getCMP1IF : TBits_1; inline;
  5685. function getCMP2IF : TBits_1; inline;
  5686. function getCMP3IF : TBits_1; inline;
  5687. function getCNAIF : TBits_1; inline;
  5688. function getCNBIF : TBits_1; inline;
  5689. function getCNCIF : TBits_1; inline;
  5690. function getCTMUIF : TBits_1; inline;
  5691. function getDMA0IF : TBits_1; inline;
  5692. function getDMA1IF : TBits_1; inline;
  5693. function getDMA2IF : TBits_1; inline;
  5694. function getDMA3IF : TBits_1; inline;
  5695. function getI2C1BIF : TBits_1; inline;
  5696. function getI2C1MIF : TBits_1; inline;
  5697. function getI2C1SIF : TBits_1; inline;
  5698. function getI2C2BIF : TBits_1; inline;
  5699. function getI2C2MIF : TBits_1; inline;
  5700. function getI2C2SIF : TBits_1; inline;
  5701. function getPMPEIF : TBits_1; inline;
  5702. function getPMPIF : TBits_1; inline;
  5703. function getSPI1EIF : TBits_1; inline;
  5704. function getSPI1RXIF : TBits_1; inline;
  5705. function getSPI1TXIF : TBits_1; inline;
  5706. function getSPI2EIF : TBits_1; inline;
  5707. function getSPI2RXIF : TBits_1; inline;
  5708. function getSPI2TXIF : TBits_1; inline;
  5709. function getU1EIF : TBits_1; inline;
  5710. function getU1RXIF : TBits_1; inline;
  5711. function getU1TXIF : TBits_1; inline;
  5712. function getU2EIF : TBits_1; inline;
  5713. function getU2RXIF : TBits_1; inline;
  5714. function getU2TXIF : TBits_1; inline;
  5715. function getUSBIF : TBits_1; inline;
  5716. function getw : TBits_32; inline;
  5717. procedure setCMP1IF(thebits : TBits_1); inline;
  5718. procedure setCMP2IF(thebits : TBits_1); inline;
  5719. procedure setCMP3IF(thebits : TBits_1); inline;
  5720. procedure setCNAIF(thebits : TBits_1); inline;
  5721. procedure setCNBIF(thebits : TBits_1); inline;
  5722. procedure setCNCIF(thebits : TBits_1); inline;
  5723. procedure setCTMUIF(thebits : TBits_1); inline;
  5724. procedure setDMA0IF(thebits : TBits_1); inline;
  5725. procedure setDMA1IF(thebits : TBits_1); inline;
  5726. procedure setDMA2IF(thebits : TBits_1); inline;
  5727. procedure setDMA3IF(thebits : TBits_1); inline;
  5728. procedure setI2C1BIF(thebits : TBits_1); inline;
  5729. procedure setI2C1MIF(thebits : TBits_1); inline;
  5730. procedure setI2C1SIF(thebits : TBits_1); inline;
  5731. procedure setI2C2BIF(thebits : TBits_1); inline;
  5732. procedure setI2C2MIF(thebits : TBits_1); inline;
  5733. procedure setI2C2SIF(thebits : TBits_1); inline;
  5734. procedure setPMPEIF(thebits : TBits_1); inline;
  5735. procedure setPMPIF(thebits : TBits_1); inline;
  5736. procedure setSPI1EIF(thebits : TBits_1); inline;
  5737. procedure setSPI1RXIF(thebits : TBits_1); inline;
  5738. procedure setSPI1TXIF(thebits : TBits_1); inline;
  5739. procedure setSPI2EIF(thebits : TBits_1); inline;
  5740. procedure setSPI2RXIF(thebits : TBits_1); inline;
  5741. procedure setSPI2TXIF(thebits : TBits_1); inline;
  5742. procedure setU1EIF(thebits : TBits_1); inline;
  5743. procedure setU1RXIF(thebits : TBits_1); inline;
  5744. procedure setU1TXIF(thebits : TBits_1); inline;
  5745. procedure setU2EIF(thebits : TBits_1); inline;
  5746. procedure setU2RXIF(thebits : TBits_1); inline;
  5747. procedure setU2TXIF(thebits : TBits_1); inline;
  5748. procedure setUSBIF(thebits : TBits_1); inline;
  5749. procedure setw(thebits : TBits_32); inline;
  5750. public
  5751. procedure clearCMP1IF; inline;
  5752. procedure clearCMP2IF; inline;
  5753. procedure clearCMP3IF; inline;
  5754. procedure clearCNAIF; inline;
  5755. procedure clearCNBIF; inline;
  5756. procedure clearCNCIF; inline;
  5757. procedure clearCTMUIF; inline;
  5758. procedure clearDMA0IF; inline;
  5759. procedure clearDMA1IF; inline;
  5760. procedure clearDMA2IF; inline;
  5761. procedure clearDMA3IF; inline;
  5762. procedure clearI2C1BIF; inline;
  5763. procedure clearI2C1MIF; inline;
  5764. procedure clearI2C1SIF; inline;
  5765. procedure clearI2C2BIF; inline;
  5766. procedure clearI2C2MIF; inline;
  5767. procedure clearI2C2SIF; inline;
  5768. procedure clearPMPEIF; inline;
  5769. procedure clearPMPIF; inline;
  5770. procedure clearSPI1EIF; inline;
  5771. procedure clearSPI1RXIF; inline;
  5772. procedure clearSPI1TXIF; inline;
  5773. procedure clearSPI2EIF; inline;
  5774. procedure clearSPI2RXIF; inline;
  5775. procedure clearSPI2TXIF; inline;
  5776. procedure clearU1EIF; inline;
  5777. procedure clearU1RXIF; inline;
  5778. procedure clearU1TXIF; inline;
  5779. procedure clearU2EIF; inline;
  5780. procedure clearU2RXIF; inline;
  5781. procedure clearU2TXIF; inline;
  5782. procedure clearUSBIF; inline;
  5783. procedure setCMP1IF; inline;
  5784. procedure setCMP2IF; inline;
  5785. procedure setCMP3IF; inline;
  5786. procedure setCNAIF; inline;
  5787. procedure setCNBIF; inline;
  5788. procedure setCNCIF; inline;
  5789. procedure setCTMUIF; inline;
  5790. procedure setDMA0IF; inline;
  5791. procedure setDMA1IF; inline;
  5792. procedure setDMA2IF; inline;
  5793. procedure setDMA3IF; inline;
  5794. procedure setI2C1BIF; inline;
  5795. procedure setI2C1MIF; inline;
  5796. procedure setI2C1SIF; inline;
  5797. procedure setI2C2BIF; inline;
  5798. procedure setI2C2MIF; inline;
  5799. procedure setI2C2SIF; inline;
  5800. procedure setPMPEIF; inline;
  5801. procedure setPMPIF; inline;
  5802. procedure setSPI1EIF; inline;
  5803. procedure setSPI1RXIF; inline;
  5804. procedure setSPI1TXIF; inline;
  5805. procedure setSPI2EIF; inline;
  5806. procedure setSPI2RXIF; inline;
  5807. procedure setSPI2TXIF; inline;
  5808. procedure setU1EIF; inline;
  5809. procedure setU1RXIF; inline;
  5810. procedure setU1TXIF; inline;
  5811. procedure setU2EIF; inline;
  5812. procedure setU2RXIF; inline;
  5813. procedure setU2TXIF; inline;
  5814. procedure setUSBIF; inline;
  5815. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  5816. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  5817. property CMP3IF : TBits_1 read getCMP3IF write setCMP3IF;
  5818. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  5819. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  5820. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  5821. property CTMUIF : TBits_1 read getCTMUIF write setCTMUIF;
  5822. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  5823. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  5824. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  5825. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  5826. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  5827. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  5828. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  5829. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  5830. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  5831. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  5832. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  5833. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  5834. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  5835. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  5836. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  5837. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  5838. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  5839. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  5840. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  5841. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  5842. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  5843. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  5844. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  5845. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  5846. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  5847. property w : TBits_32 read getw write setw;
  5848. end;
  5849. TINT_IEC0 = record
  5850. private
  5851. function getAD1IE : TBits_1; inline;
  5852. function getCS0IE : TBits_1; inline;
  5853. function getCS1IE : TBits_1; inline;
  5854. function getCTIE : TBits_1; inline;
  5855. function getFCEIE : TBits_1; inline;
  5856. function getFSCMIE : TBits_1; inline;
  5857. function getIC1EIE : TBits_1; inline;
  5858. function getIC1IE : TBits_1; inline;
  5859. function getIC2EIE : TBits_1; inline;
  5860. function getIC2IE : TBits_1; inline;
  5861. function getIC3EIE : TBits_1; inline;
  5862. function getIC3IE : TBits_1; inline;
  5863. function getIC4EIE : TBits_1; inline;
  5864. function getIC4IE : TBits_1; inline;
  5865. function getIC5EIE : TBits_1; inline;
  5866. function getIC5IE : TBits_1; inline;
  5867. function getINT0IE : TBits_1; inline;
  5868. function getINT1IE : TBits_1; inline;
  5869. function getINT2IE : TBits_1; inline;
  5870. function getINT3IE : TBits_1; inline;
  5871. function getINT4IE : TBits_1; inline;
  5872. function getOC1IE : TBits_1; inline;
  5873. function getOC2IE : TBits_1; inline;
  5874. function getOC3IE : TBits_1; inline;
  5875. function getOC4IE : TBits_1; inline;
  5876. function getOC5IE : TBits_1; inline;
  5877. function getRTCCIE : TBits_1; inline;
  5878. function getT1IE : TBits_1; inline;
  5879. function getT2IE : TBits_1; inline;
  5880. function getT3IE : TBits_1; inline;
  5881. function getT4IE : TBits_1; inline;
  5882. function getT5IE : TBits_1; inline;
  5883. function getw : TBits_32; inline;
  5884. procedure setAD1IE(thebits : TBits_1); inline;
  5885. procedure setCS0IE(thebits : TBits_1); inline;
  5886. procedure setCS1IE(thebits : TBits_1); inline;
  5887. procedure setCTIE(thebits : TBits_1); inline;
  5888. procedure setFCEIE(thebits : TBits_1); inline;
  5889. procedure setFSCMIE(thebits : TBits_1); inline;
  5890. procedure setIC1EIE(thebits : TBits_1); inline;
  5891. procedure setIC1IE(thebits : TBits_1); inline;
  5892. procedure setIC2EIE(thebits : TBits_1); inline;
  5893. procedure setIC2IE(thebits : TBits_1); inline;
  5894. procedure setIC3EIE(thebits : TBits_1); inline;
  5895. procedure setIC3IE(thebits : TBits_1); inline;
  5896. procedure setIC4EIE(thebits : TBits_1); inline;
  5897. procedure setIC4IE(thebits : TBits_1); inline;
  5898. procedure setIC5EIE(thebits : TBits_1); inline;
  5899. procedure setIC5IE(thebits : TBits_1); inline;
  5900. procedure setINT0IE(thebits : TBits_1); inline;
  5901. procedure setINT1IE(thebits : TBits_1); inline;
  5902. procedure setINT2IE(thebits : TBits_1); inline;
  5903. procedure setINT3IE(thebits : TBits_1); inline;
  5904. procedure setINT4IE(thebits : TBits_1); inline;
  5905. procedure setOC1IE(thebits : TBits_1); inline;
  5906. procedure setOC2IE(thebits : TBits_1); inline;
  5907. procedure setOC3IE(thebits : TBits_1); inline;
  5908. procedure setOC4IE(thebits : TBits_1); inline;
  5909. procedure setOC5IE(thebits : TBits_1); inline;
  5910. procedure setRTCCIE(thebits : TBits_1); inline;
  5911. procedure setT1IE(thebits : TBits_1); inline;
  5912. procedure setT2IE(thebits : TBits_1); inline;
  5913. procedure setT3IE(thebits : TBits_1); inline;
  5914. procedure setT4IE(thebits : TBits_1); inline;
  5915. procedure setT5IE(thebits : TBits_1); inline;
  5916. procedure setw(thebits : TBits_32); inline;
  5917. public
  5918. procedure clearAD1IE; inline;
  5919. procedure clearCS0IE; inline;
  5920. procedure clearCS1IE; inline;
  5921. procedure clearCTIE; inline;
  5922. procedure clearFCEIE; inline;
  5923. procedure clearFSCMIE; inline;
  5924. procedure clearIC1EIE; inline;
  5925. procedure clearIC1IE; inline;
  5926. procedure clearIC2EIE; inline;
  5927. procedure clearIC2IE; inline;
  5928. procedure clearIC3EIE; inline;
  5929. procedure clearIC3IE; inline;
  5930. procedure clearIC4EIE; inline;
  5931. procedure clearIC4IE; inline;
  5932. procedure clearIC5EIE; inline;
  5933. procedure clearIC5IE; inline;
  5934. procedure clearINT0IE; inline;
  5935. procedure clearINT1IE; inline;
  5936. procedure clearINT2IE; inline;
  5937. procedure clearINT3IE; inline;
  5938. procedure clearINT4IE; inline;
  5939. procedure clearOC1IE; inline;
  5940. procedure clearOC2IE; inline;
  5941. procedure clearOC3IE; inline;
  5942. procedure clearOC4IE; inline;
  5943. procedure clearOC5IE; inline;
  5944. procedure clearRTCCIE; inline;
  5945. procedure clearT1IE; inline;
  5946. procedure clearT2IE; inline;
  5947. procedure clearT3IE; inline;
  5948. procedure clearT4IE; inline;
  5949. procedure clearT5IE; inline;
  5950. procedure setAD1IE; inline;
  5951. procedure setCS0IE; inline;
  5952. procedure setCS1IE; inline;
  5953. procedure setCTIE; inline;
  5954. procedure setFCEIE; inline;
  5955. procedure setFSCMIE; inline;
  5956. procedure setIC1EIE; inline;
  5957. procedure setIC1IE; inline;
  5958. procedure setIC2EIE; inline;
  5959. procedure setIC2IE; inline;
  5960. procedure setIC3EIE; inline;
  5961. procedure setIC3IE; inline;
  5962. procedure setIC4EIE; inline;
  5963. procedure setIC4IE; inline;
  5964. procedure setIC5EIE; inline;
  5965. procedure setIC5IE; inline;
  5966. procedure setINT0IE; inline;
  5967. procedure setINT1IE; inline;
  5968. procedure setINT2IE; inline;
  5969. procedure setINT3IE; inline;
  5970. procedure setINT4IE; inline;
  5971. procedure setOC1IE; inline;
  5972. procedure setOC2IE; inline;
  5973. procedure setOC3IE; inline;
  5974. procedure setOC4IE; inline;
  5975. procedure setOC5IE; inline;
  5976. procedure setRTCCIE; inline;
  5977. procedure setT1IE; inline;
  5978. procedure setT2IE; inline;
  5979. procedure setT3IE; inline;
  5980. procedure setT4IE; inline;
  5981. procedure setT5IE; inline;
  5982. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  5983. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  5984. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  5985. property CTIE : TBits_1 read getCTIE write setCTIE;
  5986. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  5987. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  5988. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  5989. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  5990. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  5991. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  5992. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  5993. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  5994. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  5995. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  5996. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  5997. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  5998. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  5999. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  6000. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  6001. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  6002. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  6003. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  6004. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  6005. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  6006. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  6007. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  6008. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  6009. property T1IE : TBits_1 read getT1IE write setT1IE;
  6010. property T2IE : TBits_1 read getT2IE write setT2IE;
  6011. property T3IE : TBits_1 read getT3IE write setT3IE;
  6012. property T4IE : TBits_1 read getT4IE write setT4IE;
  6013. property T5IE : TBits_1 read getT5IE write setT5IE;
  6014. property w : TBits_32 read getw write setw;
  6015. end;
  6016. TINT_IEC1 = record
  6017. private
  6018. function getCMP1IE : TBits_1; inline;
  6019. function getCMP2IE : TBits_1; inline;
  6020. function getCMP3IE : TBits_1; inline;
  6021. function getCNAIE : TBits_1; inline;
  6022. function getCNBIE : TBits_1; inline;
  6023. function getCNCIE : TBits_1; inline;
  6024. function getCTMUIE : TBits_1; inline;
  6025. function getDMA0IE : TBits_1; inline;
  6026. function getDMA1IE : TBits_1; inline;
  6027. function getDMA2IE : TBits_1; inline;
  6028. function getDMA3IE : TBits_1; inline;
  6029. function getI2C1BIE : TBits_1; inline;
  6030. function getI2C1MIE : TBits_1; inline;
  6031. function getI2C1SIE : TBits_1; inline;
  6032. function getI2C2BIE : TBits_1; inline;
  6033. function getI2C2MIE : TBits_1; inline;
  6034. function getI2C2SIE : TBits_1; inline;
  6035. function getPMPEIE : TBits_1; inline;
  6036. function getPMPIE : TBits_1; inline;
  6037. function getSPI1EIE : TBits_1; inline;
  6038. function getSPI1RXIE : TBits_1; inline;
  6039. function getSPI1TXIE : TBits_1; inline;
  6040. function getSPI2EIE : TBits_1; inline;
  6041. function getSPI2RXIE : TBits_1; inline;
  6042. function getSPI2TXIE : TBits_1; inline;
  6043. function getU1EIE : TBits_1; inline;
  6044. function getU1RXIE : TBits_1; inline;
  6045. function getU1TXIE : TBits_1; inline;
  6046. function getU2EIE : TBits_1; inline;
  6047. function getU2RXIE : TBits_1; inline;
  6048. function getU2TXIE : TBits_1; inline;
  6049. function getUSBIE : TBits_1; inline;
  6050. function getw : TBits_32; inline;
  6051. procedure setCMP1IE(thebits : TBits_1); inline;
  6052. procedure setCMP2IE(thebits : TBits_1); inline;
  6053. procedure setCMP3IE(thebits : TBits_1); inline;
  6054. procedure setCNAIE(thebits : TBits_1); inline;
  6055. procedure setCNBIE(thebits : TBits_1); inline;
  6056. procedure setCNCIE(thebits : TBits_1); inline;
  6057. procedure setCTMUIE(thebits : TBits_1); inline;
  6058. procedure setDMA0IE(thebits : TBits_1); inline;
  6059. procedure setDMA1IE(thebits : TBits_1); inline;
  6060. procedure setDMA2IE(thebits : TBits_1); inline;
  6061. procedure setDMA3IE(thebits : TBits_1); inline;
  6062. procedure setI2C1BIE(thebits : TBits_1); inline;
  6063. procedure setI2C1MIE(thebits : TBits_1); inline;
  6064. procedure setI2C1SIE(thebits : TBits_1); inline;
  6065. procedure setI2C2BIE(thebits : TBits_1); inline;
  6066. procedure setI2C2MIE(thebits : TBits_1); inline;
  6067. procedure setI2C2SIE(thebits : TBits_1); inline;
  6068. procedure setPMPEIE(thebits : TBits_1); inline;
  6069. procedure setPMPIE(thebits : TBits_1); inline;
  6070. procedure setSPI1EIE(thebits : TBits_1); inline;
  6071. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6072. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6073. procedure setSPI2EIE(thebits : TBits_1); inline;
  6074. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6075. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6076. procedure setU1EIE(thebits : TBits_1); inline;
  6077. procedure setU1RXIE(thebits : TBits_1); inline;
  6078. procedure setU1TXIE(thebits : TBits_1); inline;
  6079. procedure setU2EIE(thebits : TBits_1); inline;
  6080. procedure setU2RXIE(thebits : TBits_1); inline;
  6081. procedure setU2TXIE(thebits : TBits_1); inline;
  6082. procedure setUSBIE(thebits : TBits_1); inline;
  6083. procedure setw(thebits : TBits_32); inline;
  6084. public
  6085. procedure clearCMP1IE; inline;
  6086. procedure clearCMP2IE; inline;
  6087. procedure clearCMP3IE; inline;
  6088. procedure clearCNAIE; inline;
  6089. procedure clearCNBIE; inline;
  6090. procedure clearCNCIE; inline;
  6091. procedure clearCTMUIE; inline;
  6092. procedure clearDMA0IE; inline;
  6093. procedure clearDMA1IE; inline;
  6094. procedure clearDMA2IE; inline;
  6095. procedure clearDMA3IE; inline;
  6096. procedure clearI2C1BIE; inline;
  6097. procedure clearI2C1MIE; inline;
  6098. procedure clearI2C1SIE; inline;
  6099. procedure clearI2C2BIE; inline;
  6100. procedure clearI2C2MIE; inline;
  6101. procedure clearI2C2SIE; inline;
  6102. procedure clearPMPEIE; inline;
  6103. procedure clearPMPIE; inline;
  6104. procedure clearSPI1EIE; inline;
  6105. procedure clearSPI1RXIE; inline;
  6106. procedure clearSPI1TXIE; inline;
  6107. procedure clearSPI2EIE; inline;
  6108. procedure clearSPI2RXIE; inline;
  6109. procedure clearSPI2TXIE; inline;
  6110. procedure clearU1EIE; inline;
  6111. procedure clearU1RXIE; inline;
  6112. procedure clearU1TXIE; inline;
  6113. procedure clearU2EIE; inline;
  6114. procedure clearU2RXIE; inline;
  6115. procedure clearU2TXIE; inline;
  6116. procedure clearUSBIE; inline;
  6117. procedure setCMP1IE; inline;
  6118. procedure setCMP2IE; inline;
  6119. procedure setCMP3IE; inline;
  6120. procedure setCNAIE; inline;
  6121. procedure setCNBIE; inline;
  6122. procedure setCNCIE; inline;
  6123. procedure setCTMUIE; inline;
  6124. procedure setDMA0IE; inline;
  6125. procedure setDMA1IE; inline;
  6126. procedure setDMA2IE; inline;
  6127. procedure setDMA3IE; inline;
  6128. procedure setI2C1BIE; inline;
  6129. procedure setI2C1MIE; inline;
  6130. procedure setI2C1SIE; inline;
  6131. procedure setI2C2BIE; inline;
  6132. procedure setI2C2MIE; inline;
  6133. procedure setI2C2SIE; inline;
  6134. procedure setPMPEIE; inline;
  6135. procedure setPMPIE; inline;
  6136. procedure setSPI1EIE; inline;
  6137. procedure setSPI1RXIE; inline;
  6138. procedure setSPI1TXIE; inline;
  6139. procedure setSPI2EIE; inline;
  6140. procedure setSPI2RXIE; inline;
  6141. procedure setSPI2TXIE; inline;
  6142. procedure setU1EIE; inline;
  6143. procedure setU1RXIE; inline;
  6144. procedure setU1TXIE; inline;
  6145. procedure setU2EIE; inline;
  6146. procedure setU2RXIE; inline;
  6147. procedure setU2TXIE; inline;
  6148. procedure setUSBIE; inline;
  6149. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  6150. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  6151. property CMP3IE : TBits_1 read getCMP3IE write setCMP3IE;
  6152. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  6153. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  6154. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  6155. property CTMUIE : TBits_1 read getCTMUIE write setCTMUIE;
  6156. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  6157. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  6158. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  6159. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  6160. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  6161. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  6162. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  6163. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  6164. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  6165. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  6166. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  6167. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  6168. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  6169. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  6170. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  6171. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  6172. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  6173. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  6174. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  6175. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  6176. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  6177. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  6178. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  6179. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  6180. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  6181. property w : TBits_32 read getw write setw;
  6182. end;
  6183. TINT_IPC0 = record
  6184. private
  6185. function getCS0IP : TBits_3; inline;
  6186. function getCS0IS : TBits_2; inline;
  6187. function getCS1IP : TBits_3; inline;
  6188. function getCS1IS : TBits_2; inline;
  6189. function getCTIP : TBits_3; inline;
  6190. function getCTIS : TBits_2; inline;
  6191. function getINT0IP : TBits_3; inline;
  6192. function getINT0IS : TBits_2; inline;
  6193. function getw : TBits_32; inline;
  6194. procedure setCS0IP(thebits : TBits_3); inline;
  6195. procedure setCS0IS(thebits : TBits_2); inline;
  6196. procedure setCS1IP(thebits : TBits_3); inline;
  6197. procedure setCS1IS(thebits : TBits_2); inline;
  6198. procedure setCTIP(thebits : TBits_3); inline;
  6199. procedure setCTIS(thebits : TBits_2); inline;
  6200. procedure setINT0IP(thebits : TBits_3); inline;
  6201. procedure setINT0IS(thebits : TBits_2); inline;
  6202. procedure setw(thebits : TBits_32); inline;
  6203. public
  6204. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  6205. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  6206. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  6207. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  6208. property CTIP : TBits_3 read getCTIP write setCTIP;
  6209. property CTIS : TBits_2 read getCTIS write setCTIS;
  6210. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  6211. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  6212. property w : TBits_32 read getw write setw;
  6213. end;
  6214. TINT_IPC1 = record
  6215. private
  6216. function getIC1IP : TBits_3; inline;
  6217. function getIC1IS : TBits_2; inline;
  6218. function getINT1IP : TBits_3; inline;
  6219. function getINT1IS : TBits_2; inline;
  6220. function getOC1IP : TBits_3; inline;
  6221. function getOC1IS : TBits_2; inline;
  6222. function getT1IP : TBits_3; inline;
  6223. function getT1IS : TBits_2; inline;
  6224. function getw : TBits_32; inline;
  6225. procedure setIC1IP(thebits : TBits_3); inline;
  6226. procedure setIC1IS(thebits : TBits_2); inline;
  6227. procedure setINT1IP(thebits : TBits_3); inline;
  6228. procedure setINT1IS(thebits : TBits_2); inline;
  6229. procedure setOC1IP(thebits : TBits_3); inline;
  6230. procedure setOC1IS(thebits : TBits_2); inline;
  6231. procedure setT1IP(thebits : TBits_3); inline;
  6232. procedure setT1IS(thebits : TBits_2); inline;
  6233. procedure setw(thebits : TBits_32); inline;
  6234. public
  6235. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  6236. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  6237. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  6238. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  6239. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  6240. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  6241. property T1IP : TBits_3 read getT1IP write setT1IP;
  6242. property T1IS : TBits_2 read getT1IS write setT1IS;
  6243. property w : TBits_32 read getw write setw;
  6244. end;
  6245. TINT_IPC2 = record
  6246. private
  6247. function getIC2IP : TBits_3; inline;
  6248. function getIC2IS : TBits_2; inline;
  6249. function getINT2IP : TBits_3; inline;
  6250. function getINT2IS : TBits_2; inline;
  6251. function getOC2IP : TBits_3; inline;
  6252. function getOC2IS : TBits_2; inline;
  6253. function getT2IP : TBits_3; inline;
  6254. function getT2IS : TBits_2; inline;
  6255. function getw : TBits_32; inline;
  6256. procedure setIC2IP(thebits : TBits_3); inline;
  6257. procedure setIC2IS(thebits : TBits_2); inline;
  6258. procedure setINT2IP(thebits : TBits_3); inline;
  6259. procedure setINT2IS(thebits : TBits_2); inline;
  6260. procedure setOC2IP(thebits : TBits_3); inline;
  6261. procedure setOC2IS(thebits : TBits_2); inline;
  6262. procedure setT2IP(thebits : TBits_3); inline;
  6263. procedure setT2IS(thebits : TBits_2); inline;
  6264. procedure setw(thebits : TBits_32); inline;
  6265. public
  6266. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  6267. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  6268. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  6269. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  6270. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  6271. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  6272. property T2IP : TBits_3 read getT2IP write setT2IP;
  6273. property T2IS : TBits_2 read getT2IS write setT2IS;
  6274. property w : TBits_32 read getw write setw;
  6275. end;
  6276. TINT_IPC3 = record
  6277. private
  6278. function getIC3IP : TBits_3; inline;
  6279. function getIC3IS : TBits_2; inline;
  6280. function getINT3IP : TBits_3; inline;
  6281. function getINT3IS : TBits_2; inline;
  6282. function getOC3IP : TBits_3; inline;
  6283. function getOC3IS : TBits_2; inline;
  6284. function getT3IP : TBits_3; inline;
  6285. function getT3IS : TBits_2; inline;
  6286. function getw : TBits_32; inline;
  6287. procedure setIC3IP(thebits : TBits_3); inline;
  6288. procedure setIC3IS(thebits : TBits_2); inline;
  6289. procedure setINT3IP(thebits : TBits_3); inline;
  6290. procedure setINT3IS(thebits : TBits_2); inline;
  6291. procedure setOC3IP(thebits : TBits_3); inline;
  6292. procedure setOC3IS(thebits : TBits_2); inline;
  6293. procedure setT3IP(thebits : TBits_3); inline;
  6294. procedure setT3IS(thebits : TBits_2); inline;
  6295. procedure setw(thebits : TBits_32); inline;
  6296. public
  6297. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  6298. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  6299. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  6300. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  6301. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  6302. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  6303. property T3IP : TBits_3 read getT3IP write setT3IP;
  6304. property T3IS : TBits_2 read getT3IS write setT3IS;
  6305. property w : TBits_32 read getw write setw;
  6306. end;
  6307. TINT_IPC4 = record
  6308. private
  6309. function getIC4IP : TBits_3; inline;
  6310. function getIC4IS : TBits_2; inline;
  6311. function getINT4IP : TBits_3; inline;
  6312. function getINT4IS : TBits_2; inline;
  6313. function getOC4IP : TBits_3; inline;
  6314. function getOC4IS : TBits_2; inline;
  6315. function getT4IP : TBits_3; inline;
  6316. function getT4IS : TBits_2; inline;
  6317. function getw : TBits_32; inline;
  6318. procedure setIC4IP(thebits : TBits_3); inline;
  6319. procedure setIC4IS(thebits : TBits_2); inline;
  6320. procedure setINT4IP(thebits : TBits_3); inline;
  6321. procedure setINT4IS(thebits : TBits_2); inline;
  6322. procedure setOC4IP(thebits : TBits_3); inline;
  6323. procedure setOC4IS(thebits : TBits_2); inline;
  6324. procedure setT4IP(thebits : TBits_3); inline;
  6325. procedure setT4IS(thebits : TBits_2); inline;
  6326. procedure setw(thebits : TBits_32); inline;
  6327. public
  6328. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  6329. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  6330. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  6331. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  6332. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  6333. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  6334. property T4IP : TBits_3 read getT4IP write setT4IP;
  6335. property T4IS : TBits_2 read getT4IS write setT4IS;
  6336. property w : TBits_32 read getw write setw;
  6337. end;
  6338. TINT_IPC5 = record
  6339. private
  6340. function getAD1IP : TBits_3; inline;
  6341. function getAD1IS : TBits_2; inline;
  6342. function getIC5IP : TBits_3; inline;
  6343. function getIC5IS : TBits_2; inline;
  6344. function getOC5IP : TBits_3; inline;
  6345. function getOC5IS : TBits_2; inline;
  6346. function getT5IP : TBits_3; inline;
  6347. function getT5IS : TBits_2; inline;
  6348. function getw : TBits_32; inline;
  6349. procedure setAD1IP(thebits : TBits_3); inline;
  6350. procedure setAD1IS(thebits : TBits_2); inline;
  6351. procedure setIC5IP(thebits : TBits_3); inline;
  6352. procedure setIC5IS(thebits : TBits_2); inline;
  6353. procedure setOC5IP(thebits : TBits_3); inline;
  6354. procedure setOC5IS(thebits : TBits_2); inline;
  6355. procedure setT5IP(thebits : TBits_3); inline;
  6356. procedure setT5IS(thebits : TBits_2); inline;
  6357. procedure setw(thebits : TBits_32); inline;
  6358. public
  6359. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  6360. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  6361. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  6362. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  6363. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  6364. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  6365. property T5IP : TBits_3 read getT5IP write setT5IP;
  6366. property T5IS : TBits_2 read getT5IS write setT5IS;
  6367. property w : TBits_32 read getw write setw;
  6368. end;
  6369. TINT_IPC6 = record
  6370. private
  6371. function getCMP1IP : TBits_3; inline;
  6372. function getCMP1IS : TBits_2; inline;
  6373. function getFCEIP : TBits_3; inline;
  6374. function getFCEIS : TBits_2; inline;
  6375. function getFSCMIP : TBits_3; inline;
  6376. function getFSCMIS : TBits_2; inline;
  6377. function getRTCCIP : TBits_3; inline;
  6378. function getRTCCIS : TBits_2; inline;
  6379. function getw : TBits_32; inline;
  6380. procedure setCMP1IP(thebits : TBits_3); inline;
  6381. procedure setCMP1IS(thebits : TBits_2); inline;
  6382. procedure setFCEIP(thebits : TBits_3); inline;
  6383. procedure setFCEIS(thebits : TBits_2); inline;
  6384. procedure setFSCMIP(thebits : TBits_3); inline;
  6385. procedure setFSCMIS(thebits : TBits_2); inline;
  6386. procedure setRTCCIP(thebits : TBits_3); inline;
  6387. procedure setRTCCIS(thebits : TBits_2); inline;
  6388. procedure setw(thebits : TBits_32); inline;
  6389. public
  6390. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  6391. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  6392. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  6393. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  6394. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  6395. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  6396. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  6397. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  6398. property w : TBits_32 read getw write setw;
  6399. end;
  6400. TINT_IPC7 = record
  6401. private
  6402. function getCMP2IP : TBits_3; inline;
  6403. function getCMP2IS : TBits_2; inline;
  6404. function getCMP3IP : TBits_3; inline;
  6405. function getCMP3IS : TBits_2; inline;
  6406. function getSPI1IP : TBits_3; inline;
  6407. function getSPI1IS : TBits_2; inline;
  6408. function getUSBIP : TBits_3; inline;
  6409. function getUSBIS : TBits_2; inline;
  6410. function getw : TBits_32; inline;
  6411. procedure setCMP2IP(thebits : TBits_3); inline;
  6412. procedure setCMP2IS(thebits : TBits_2); inline;
  6413. procedure setCMP3IP(thebits : TBits_3); inline;
  6414. procedure setCMP3IS(thebits : TBits_2); inline;
  6415. procedure setSPI1IP(thebits : TBits_3); inline;
  6416. procedure setSPI1IS(thebits : TBits_2); inline;
  6417. procedure setUSBIP(thebits : TBits_3); inline;
  6418. procedure setUSBIS(thebits : TBits_2); inline;
  6419. procedure setw(thebits : TBits_32); inline;
  6420. public
  6421. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  6422. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  6423. property CMP3IP : TBits_3 read getCMP3IP write setCMP3IP;
  6424. property CMP3IS : TBits_2 read getCMP3IS write setCMP3IS;
  6425. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  6426. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  6427. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  6428. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  6429. property w : TBits_32 read getw write setw;
  6430. end;
  6431. TINT_IPC8 = record
  6432. private
  6433. function getCNIP : TBits_3; inline;
  6434. function getCNIS : TBits_2; inline;
  6435. function getI2C1IP : TBits_3; inline;
  6436. function getI2C1IS : TBits_2; inline;
  6437. function getPMPIP : TBits_3; inline;
  6438. function getPMPIS : TBits_2; inline;
  6439. function getU1IP : TBits_3; inline;
  6440. function getU1IS : TBits_2; inline;
  6441. function getw : TBits_32; inline;
  6442. procedure setCNIP(thebits : TBits_3); inline;
  6443. procedure setCNIS(thebits : TBits_2); inline;
  6444. procedure setI2C1IP(thebits : TBits_3); inline;
  6445. procedure setI2C1IS(thebits : TBits_2); inline;
  6446. procedure setPMPIP(thebits : TBits_3); inline;
  6447. procedure setPMPIS(thebits : TBits_2); inline;
  6448. procedure setU1IP(thebits : TBits_3); inline;
  6449. procedure setU1IS(thebits : TBits_2); inline;
  6450. procedure setw(thebits : TBits_32); inline;
  6451. public
  6452. property CNIP : TBits_3 read getCNIP write setCNIP;
  6453. property CNIS : TBits_2 read getCNIS write setCNIS;
  6454. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  6455. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  6456. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  6457. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  6458. property U1IP : TBits_3 read getU1IP write setU1IP;
  6459. property U1IS : TBits_2 read getU1IS write setU1IS;
  6460. property w : TBits_32 read getw write setw;
  6461. end;
  6462. TINT_IPC9 = record
  6463. private
  6464. function getCTMUIP : TBits_3; inline;
  6465. function getCTMUIS : TBits_2; inline;
  6466. function getI2C2IP : TBits_3; inline;
  6467. function getI2C2IS : TBits_2; inline;
  6468. function getSPI2IP : TBits_3; inline;
  6469. function getSPI2IS : TBits_2; inline;
  6470. function getU2IP : TBits_3; inline;
  6471. function getU2IS : TBits_2; inline;
  6472. function getw : TBits_32; inline;
  6473. procedure setCTMUIP(thebits : TBits_3); inline;
  6474. procedure setCTMUIS(thebits : TBits_2); inline;
  6475. procedure setI2C2IP(thebits : TBits_3); inline;
  6476. procedure setI2C2IS(thebits : TBits_2); inline;
  6477. procedure setSPI2IP(thebits : TBits_3); inline;
  6478. procedure setSPI2IS(thebits : TBits_2); inline;
  6479. procedure setU2IP(thebits : TBits_3); inline;
  6480. procedure setU2IS(thebits : TBits_2); inline;
  6481. procedure setw(thebits : TBits_32); inline;
  6482. public
  6483. property CTMUIP : TBits_3 read getCTMUIP write setCTMUIP;
  6484. property CTMUIS : TBits_2 read getCTMUIS write setCTMUIS;
  6485. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  6486. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  6487. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  6488. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  6489. property U2IP : TBits_3 read getU2IP write setU2IP;
  6490. property U2IS : TBits_2 read getU2IS write setU2IS;
  6491. property w : TBits_32 read getw write setw;
  6492. end;
  6493. TINT_IPC10 = record
  6494. private
  6495. function getDMA0IP : TBits_3; inline;
  6496. function getDMA0IS : TBits_2; inline;
  6497. function getDMA1IP : TBits_3; inline;
  6498. function getDMA1IS : TBits_2; inline;
  6499. function getDMA2IP : TBits_3; inline;
  6500. function getDMA2IS : TBits_2; inline;
  6501. function getDMA3IP : TBits_3; inline;
  6502. function getDMA3IS : TBits_2; inline;
  6503. function getw : TBits_32; inline;
  6504. procedure setDMA0IP(thebits : TBits_3); inline;
  6505. procedure setDMA0IS(thebits : TBits_2); inline;
  6506. procedure setDMA1IP(thebits : TBits_3); inline;
  6507. procedure setDMA1IS(thebits : TBits_2); inline;
  6508. procedure setDMA2IP(thebits : TBits_3); inline;
  6509. procedure setDMA2IS(thebits : TBits_2); inline;
  6510. procedure setDMA3IP(thebits : TBits_3); inline;
  6511. procedure setDMA3IS(thebits : TBits_2); inline;
  6512. procedure setw(thebits : TBits_32); inline;
  6513. public
  6514. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  6515. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  6516. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  6517. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  6518. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  6519. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  6520. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  6521. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  6522. property w : TBits_32 read getw write setw;
  6523. end;
  6524. type
  6525. TINTRegisters = record
  6526. INTCONbits : TINT_INTCON;
  6527. INTCON : longWord;
  6528. INTCONCLR : longWord;
  6529. INTCONSET : longWord;
  6530. INTCONINV : longWord;
  6531. INTSTAT : longWord;
  6532. IPTMR : longWord;
  6533. IPTMRCLR : longWord;
  6534. IPTMRSET : longWord;
  6535. IPTMRINV : longWord;
  6536. IFS0bits : TINT_IFS0;
  6537. IFS0 : longWord;
  6538. IFS0CLR : longWord;
  6539. IFS0SET : longWord;
  6540. IFS0INV : longWord;
  6541. IFS1bits : TINT_IFS1;
  6542. IFS1 : longWord;
  6543. IFS1CLR : longWord;
  6544. IFS1SET : longWord;
  6545. IFS1INV : longWord;
  6546. IEC0bits : TINT_IEC0;
  6547. IEC0 : longWord;
  6548. IEC0CLR : longWord;
  6549. IEC0SET : longWord;
  6550. IEC0INV : longWord;
  6551. IEC1bits : TINT_IEC1;
  6552. IEC1 : longWord;
  6553. IEC1CLR : longWord;
  6554. IEC1SET : longWord;
  6555. IEC1INV : longWord;
  6556. IPC0bits : TINT_IPC0;
  6557. IPC0 : longWord;
  6558. IPC0CLR : longWord;
  6559. IPC0SET : longWord;
  6560. IPC0INV : longWord;
  6561. IPC1bits : TINT_IPC1;
  6562. IPC1 : longWord;
  6563. IPC1CLR : longWord;
  6564. IPC1SET : longWord;
  6565. IPC1INV : longWord;
  6566. IPC2bits : TINT_IPC2;
  6567. IPC2 : longWord;
  6568. IPC2CLR : longWord;
  6569. IPC2SET : longWord;
  6570. IPC2INV : longWord;
  6571. IPC3bits : TINT_IPC3;
  6572. IPC3 : longWord;
  6573. IPC3CLR : longWord;
  6574. IPC3SET : longWord;
  6575. IPC3INV : longWord;
  6576. IPC4bits : TINT_IPC4;
  6577. IPC4 : longWord;
  6578. IPC4CLR : longWord;
  6579. IPC4SET : longWord;
  6580. IPC4INV : longWord;
  6581. IPC5bits : TINT_IPC5;
  6582. IPC5 : longWord;
  6583. IPC5CLR : longWord;
  6584. IPC5SET : longWord;
  6585. IPC5INV : longWord;
  6586. IPC6bits : TINT_IPC6;
  6587. IPC6 : longWord;
  6588. IPC6CLR : longWord;
  6589. IPC6SET : longWord;
  6590. IPC6INV : longWord;
  6591. IPC7bits : TINT_IPC7;
  6592. IPC7 : longWord;
  6593. IPC7CLR : longWord;
  6594. IPC7SET : longWord;
  6595. IPC7INV : longWord;
  6596. IPC8bits : TINT_IPC8;
  6597. IPC8 : longWord;
  6598. IPC8CLR : longWord;
  6599. IPC8SET : longWord;
  6600. IPC8INV : longWord;
  6601. IPC9bits : TINT_IPC9;
  6602. IPC9 : longWord;
  6603. IPC9CLR : longWord;
  6604. IPC9SET : longWord;
  6605. IPC9INV : longWord;
  6606. IPC10bits : TINT_IPC10;
  6607. IPC10 : longWord;
  6608. IPC10CLR : longWord;
  6609. IPC10SET : longWord;
  6610. IPC10INV : longWord;
  6611. end;
  6612. TBMX_BMXCON = record
  6613. private
  6614. function getBMXARB : TBits_3; inline;
  6615. function getBMXCHEDMA : TBits_1; inline;
  6616. function getBMXERRDMA : TBits_1; inline;
  6617. function getBMXERRDS : TBits_1; inline;
  6618. function getBMXERRICD : TBits_1; inline;
  6619. function getBMXERRIS : TBits_1; inline;
  6620. function getBMXERRIXI : TBits_1; inline;
  6621. function getBMXWSDRM : TBits_1; inline;
  6622. function getw : TBits_32; inline;
  6623. procedure setBMXARB(thebits : TBits_3); inline;
  6624. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  6625. procedure setBMXERRDMA(thebits : TBits_1); inline;
  6626. procedure setBMXERRDS(thebits : TBits_1); inline;
  6627. procedure setBMXERRICD(thebits : TBits_1); inline;
  6628. procedure setBMXERRIS(thebits : TBits_1); inline;
  6629. procedure setBMXERRIXI(thebits : TBits_1); inline;
  6630. procedure setBMXWSDRM(thebits : TBits_1); inline;
  6631. procedure setw(thebits : TBits_32); inline;
  6632. public
  6633. procedure clearBMXCHEDMA; inline;
  6634. procedure clearBMXERRDMA; inline;
  6635. procedure clearBMXERRDS; inline;
  6636. procedure clearBMXERRICD; inline;
  6637. procedure clearBMXERRIS; inline;
  6638. procedure clearBMXERRIXI; inline;
  6639. procedure clearBMXWSDRM; inline;
  6640. procedure setBMXCHEDMA; inline;
  6641. procedure setBMXERRDMA; inline;
  6642. procedure setBMXERRDS; inline;
  6643. procedure setBMXERRICD; inline;
  6644. procedure setBMXERRIS; inline;
  6645. procedure setBMXERRIXI; inline;
  6646. procedure setBMXWSDRM; inline;
  6647. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  6648. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  6649. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  6650. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  6651. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  6652. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  6653. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  6654. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  6655. property w : TBits_32 read getw write setw;
  6656. end;
  6657. type
  6658. TBMXRegisters = record
  6659. BMXCONbits : TBMX_BMXCON;
  6660. BMXCON : longWord;
  6661. BMXCONCLR : longWord;
  6662. BMXCONSET : longWord;
  6663. BMXCONINV : longWord;
  6664. BMXDKPBA : longWord;
  6665. BMXDKPBACLR : longWord;
  6666. BMXDKPBASET : longWord;
  6667. BMXDKPBAINV : longWord;
  6668. BMXDUDBA : longWord;
  6669. BMXDUDBACLR : longWord;
  6670. BMXDUDBASET : longWord;
  6671. BMXDUDBAINV : longWord;
  6672. BMXDUPBA : longWord;
  6673. BMXDUPBACLR : longWord;
  6674. BMXDUPBASET : longWord;
  6675. BMXDUPBAINV : longWord;
  6676. BMXDRMSZ : longWord;
  6677. BMXPUPBA : longWord;
  6678. BMXPUPBACLR : longWord;
  6679. BMXPUPBASET : longWord;
  6680. BMXPUPBAINV : longWord;
  6681. BMXPFMSZ : longWord;
  6682. BMXBOOTSZ : longWord;
  6683. end;
  6684. TDMAC_DMACON = record
  6685. private
  6686. function getDMABUSY : TBits_1; inline;
  6687. function getON : TBits_1; inline;
  6688. function getSUSPEND : TBits_1; inline;
  6689. function getw : TBits_32; inline;
  6690. procedure setDMABUSY(thebits : TBits_1); inline;
  6691. procedure setON(thebits : TBits_1); inline;
  6692. procedure setSUSPEND(thebits : TBits_1); inline;
  6693. procedure setw(thebits : TBits_32); inline;
  6694. public
  6695. procedure clearDMABUSY; inline;
  6696. procedure clearON; inline;
  6697. procedure clearSUSPEND; inline;
  6698. procedure setDMABUSY; inline;
  6699. procedure setON; inline;
  6700. procedure setSUSPEND; inline;
  6701. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  6702. property ON : TBits_1 read getON write setON;
  6703. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  6704. property w : TBits_32 read getw write setw;
  6705. end;
  6706. TDMAC_DMASTAT = record
  6707. private
  6708. function getDMACH : TBits_3; inline;
  6709. function getRDWR : TBits_1; inline;
  6710. function getw : TBits_32; inline;
  6711. procedure setDMACH(thebits : TBits_3); inline;
  6712. procedure setRDWR(thebits : TBits_1); inline;
  6713. procedure setw(thebits : TBits_32); inline;
  6714. public
  6715. procedure clearRDWR; inline;
  6716. procedure setRDWR; inline;
  6717. property DMACH : TBits_3 read getDMACH write setDMACH;
  6718. property RDWR : TBits_1 read getRDWR write setRDWR;
  6719. property w : TBits_32 read getw write setw;
  6720. end;
  6721. TDMAC_DCRCCON = record
  6722. private
  6723. function getBITO : TBits_1; inline;
  6724. function getBYTO : TBits_2; inline;
  6725. function getCRCAPP : TBits_1; inline;
  6726. function getCRCCH : TBits_3; inline;
  6727. function getCRCEN : TBits_1; inline;
  6728. function getCRCTYP : TBits_1; inline;
  6729. function getPLEN : TBits_5; inline;
  6730. function getWBO : TBits_1; inline;
  6731. function getw : TBits_32; inline;
  6732. procedure setBITO(thebits : TBits_1); inline;
  6733. procedure setBYTO(thebits : TBits_2); inline;
  6734. procedure setCRCAPP(thebits : TBits_1); inline;
  6735. procedure setCRCCH(thebits : TBits_3); inline;
  6736. procedure setCRCEN(thebits : TBits_1); inline;
  6737. procedure setCRCTYP(thebits : TBits_1); inline;
  6738. procedure setPLEN(thebits : TBits_5); inline;
  6739. procedure setWBO(thebits : TBits_1); inline;
  6740. procedure setw(thebits : TBits_32); inline;
  6741. public
  6742. procedure clearBITO; inline;
  6743. procedure clearCRCAPP; inline;
  6744. procedure clearCRCEN; inline;
  6745. procedure clearCRCTYP; inline;
  6746. procedure clearWBO; inline;
  6747. procedure setBITO; inline;
  6748. procedure setCRCAPP; inline;
  6749. procedure setCRCEN; inline;
  6750. procedure setCRCTYP; inline;
  6751. procedure setWBO; inline;
  6752. property BITO : TBits_1 read getBITO write setBITO;
  6753. property BYTO : TBits_2 read getBYTO write setBYTO;
  6754. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  6755. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  6756. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  6757. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  6758. property PLEN : TBits_5 read getPLEN write setPLEN;
  6759. property WBO : TBits_1 read getWBO write setWBO;
  6760. property w : TBits_32 read getw write setw;
  6761. end;
  6762. type
  6763. TDMACRegisters = record
  6764. DMACONbits : TDMAC_DMACON;
  6765. DMACON : longWord;
  6766. DMACONCLR : longWord;
  6767. DMACONSET : longWord;
  6768. DMACONINV : longWord;
  6769. DMASTATbits : TDMAC_DMASTAT;
  6770. DMASTAT : longWord;
  6771. DMASTATCLR : longWord;
  6772. DMASTATSET : longWord;
  6773. DMASTATINV : longWord;
  6774. DMAADDR : longWord;
  6775. DMAADDRCLR : longWord;
  6776. DMAADDRSET : longWord;
  6777. DMAADDRINV : longWord;
  6778. DCRCCONbits : TDMAC_DCRCCON;
  6779. DCRCCON : longWord;
  6780. DCRCCONCLR : longWord;
  6781. DCRCCONSET : longWord;
  6782. DCRCCONINV : longWord;
  6783. DCRCDATA : longWord;
  6784. DCRCDATACLR : longWord;
  6785. DCRCDATASET : longWord;
  6786. DCRCDATAINV : longWord;
  6787. DCRCXOR : longWord;
  6788. DCRCXORCLR : longWord;
  6789. DCRCXORSET : longWord;
  6790. DCRCXORINV : longWord;
  6791. end;
  6792. TDMAC0_DCH0CON = record
  6793. private
  6794. function getCHAED : TBits_1; inline;
  6795. function getCHAEN : TBits_1; inline;
  6796. function getCHBUSY : TBits_1; inline;
  6797. function getCHCHN : TBits_1; inline;
  6798. function getCHCHNS : TBits_1; inline;
  6799. function getCHEDET : TBits_1; inline;
  6800. function getCHEN : TBits_1; inline;
  6801. function getCHPRI : TBits_2; inline;
  6802. function getw : TBits_32; inline;
  6803. procedure setCHAED(thebits : TBits_1); inline;
  6804. procedure setCHAEN(thebits : TBits_1); inline;
  6805. procedure setCHBUSY(thebits : TBits_1); inline;
  6806. procedure setCHCHN(thebits : TBits_1); inline;
  6807. procedure setCHCHNS(thebits : TBits_1); inline;
  6808. procedure setCHEDET(thebits : TBits_1); inline;
  6809. procedure setCHEN(thebits : TBits_1); inline;
  6810. procedure setCHPRI(thebits : TBits_2); inline;
  6811. procedure setw(thebits : TBits_32); inline;
  6812. public
  6813. procedure clearCHAED; inline;
  6814. procedure clearCHAEN; inline;
  6815. procedure clearCHBUSY; inline;
  6816. procedure clearCHCHN; inline;
  6817. procedure clearCHCHNS; inline;
  6818. procedure clearCHEDET; inline;
  6819. procedure clearCHEN; inline;
  6820. procedure setCHAED; inline;
  6821. procedure setCHAEN; inline;
  6822. procedure setCHBUSY; inline;
  6823. procedure setCHCHN; inline;
  6824. procedure setCHCHNS; inline;
  6825. procedure setCHEDET; inline;
  6826. procedure setCHEN; inline;
  6827. property CHAED : TBits_1 read getCHAED write setCHAED;
  6828. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6829. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6830. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6831. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6832. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6833. property CHEN : TBits_1 read getCHEN write setCHEN;
  6834. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  6835. property w : TBits_32 read getw write setw;
  6836. end;
  6837. TDMAC0_DCH0ECON = record
  6838. private
  6839. function getAIRQEN : TBits_1; inline;
  6840. function getCABORT : TBits_1; inline;
  6841. function getCFORCE : TBits_1; inline;
  6842. function getCHAIRQ : TBits_8; inline;
  6843. function getCHSIRQ : TBits_8; inline;
  6844. function getPATEN : TBits_1; inline;
  6845. function getSIRQEN : TBits_1; inline;
  6846. function getw : TBits_32; inline;
  6847. procedure setAIRQEN(thebits : TBits_1); inline;
  6848. procedure setCABORT(thebits : TBits_1); inline;
  6849. procedure setCFORCE(thebits : TBits_1); inline;
  6850. procedure setCHAIRQ(thebits : TBits_8); inline;
  6851. procedure setCHSIRQ(thebits : TBits_8); inline;
  6852. procedure setPATEN(thebits : TBits_1); inline;
  6853. procedure setSIRQEN(thebits : TBits_1); inline;
  6854. procedure setw(thebits : TBits_32); inline;
  6855. public
  6856. procedure clearAIRQEN; inline;
  6857. procedure clearCABORT; inline;
  6858. procedure clearCFORCE; inline;
  6859. procedure clearPATEN; inline;
  6860. procedure clearSIRQEN; inline;
  6861. procedure setAIRQEN; inline;
  6862. procedure setCABORT; inline;
  6863. procedure setCFORCE; inline;
  6864. procedure setPATEN; inline;
  6865. procedure setSIRQEN; inline;
  6866. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  6867. property CABORT : TBits_1 read getCABORT write setCABORT;
  6868. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  6869. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  6870. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  6871. property PATEN : TBits_1 read getPATEN write setPATEN;
  6872. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  6873. property w : TBits_32 read getw write setw;
  6874. end;
  6875. TDMAC0_DCH0INT = record
  6876. private
  6877. function getCHBCIE : TBits_1; inline;
  6878. function getCHBCIF : TBits_1; inline;
  6879. function getCHCCIE : TBits_1; inline;
  6880. function getCHCCIF : TBits_1; inline;
  6881. function getCHDDIE : TBits_1; inline;
  6882. function getCHDDIF : TBits_1; inline;
  6883. function getCHDHIE : TBits_1; inline;
  6884. function getCHDHIF : TBits_1; inline;
  6885. function getCHERIE : TBits_1; inline;
  6886. function getCHERIF : TBits_1; inline;
  6887. function getCHSDIE : TBits_1; inline;
  6888. function getCHSDIF : TBits_1; inline;
  6889. function getCHSHIE : TBits_1; inline;
  6890. function getCHSHIF : TBits_1; inline;
  6891. function getCHTAIE : TBits_1; inline;
  6892. function getCHTAIF : TBits_1; inline;
  6893. function getw : TBits_32; inline;
  6894. procedure setCHBCIE(thebits : TBits_1); inline;
  6895. procedure setCHBCIF(thebits : TBits_1); inline;
  6896. procedure setCHCCIE(thebits : TBits_1); inline;
  6897. procedure setCHCCIF(thebits : TBits_1); inline;
  6898. procedure setCHDDIE(thebits : TBits_1); inline;
  6899. procedure setCHDDIF(thebits : TBits_1); inline;
  6900. procedure setCHDHIE(thebits : TBits_1); inline;
  6901. procedure setCHDHIF(thebits : TBits_1); inline;
  6902. procedure setCHERIE(thebits : TBits_1); inline;
  6903. procedure setCHERIF(thebits : TBits_1); inline;
  6904. procedure setCHSDIE(thebits : TBits_1); inline;
  6905. procedure setCHSDIF(thebits : TBits_1); inline;
  6906. procedure setCHSHIE(thebits : TBits_1); inline;
  6907. procedure setCHSHIF(thebits : TBits_1); inline;
  6908. procedure setCHTAIE(thebits : TBits_1); inline;
  6909. procedure setCHTAIF(thebits : TBits_1); inline;
  6910. procedure setw(thebits : TBits_32); inline;
  6911. public
  6912. procedure clearCHBCIE; inline;
  6913. procedure clearCHBCIF; inline;
  6914. procedure clearCHCCIE; inline;
  6915. procedure clearCHCCIF; inline;
  6916. procedure clearCHDDIE; inline;
  6917. procedure clearCHDDIF; inline;
  6918. procedure clearCHDHIE; inline;
  6919. procedure clearCHDHIF; inline;
  6920. procedure clearCHERIE; inline;
  6921. procedure clearCHERIF; inline;
  6922. procedure clearCHSDIE; inline;
  6923. procedure clearCHSDIF; inline;
  6924. procedure clearCHSHIE; inline;
  6925. procedure clearCHSHIF; inline;
  6926. procedure clearCHTAIE; inline;
  6927. procedure clearCHTAIF; inline;
  6928. procedure setCHBCIE; inline;
  6929. procedure setCHBCIF; inline;
  6930. procedure setCHCCIE; inline;
  6931. procedure setCHCCIF; inline;
  6932. procedure setCHDDIE; inline;
  6933. procedure setCHDDIF; inline;
  6934. procedure setCHDHIE; inline;
  6935. procedure setCHDHIF; inline;
  6936. procedure setCHERIE; inline;
  6937. procedure setCHERIF; inline;
  6938. procedure setCHSDIE; inline;
  6939. procedure setCHSDIF; inline;
  6940. procedure setCHSHIE; inline;
  6941. procedure setCHSHIF; inline;
  6942. procedure setCHTAIE; inline;
  6943. procedure setCHTAIF; inline;
  6944. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  6945. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  6946. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  6947. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  6948. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  6949. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  6950. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  6951. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  6952. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  6953. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  6954. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  6955. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  6956. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  6957. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  6958. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  6959. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  6960. property w : TBits_32 read getw write setw;
  6961. end;
  6962. type
  6963. TDMAC0Registers = record
  6964. DCH0CONbits : TDMAC0_DCH0CON;
  6965. DCH0CON : longWord;
  6966. DCH0CONCLR : longWord;
  6967. DCH0CONSET : longWord;
  6968. DCH0CONINV : longWord;
  6969. DCH0ECONbits : TDMAC0_DCH0ECON;
  6970. DCH0ECON : longWord;
  6971. DCH0ECONCLR : longWord;
  6972. DCH0ECONSET : longWord;
  6973. DCH0ECONINV : longWord;
  6974. DCH0INTbits : TDMAC0_DCH0INT;
  6975. DCH0INT : longWord;
  6976. DCH0INTCLR : longWord;
  6977. DCH0INTSET : longWord;
  6978. DCH0INTINV : longWord;
  6979. DCH0SSA : longWord;
  6980. DCH0SSACLR : longWord;
  6981. DCH0SSASET : longWord;
  6982. DCH0SSAINV : longWord;
  6983. DCH0DSA : longWord;
  6984. DCH0DSACLR : longWord;
  6985. DCH0DSASET : longWord;
  6986. DCH0DSAINV : longWord;
  6987. DCH0SSIZ : longWord;
  6988. DCH0SSIZCLR : longWord;
  6989. DCH0SSIZSET : longWord;
  6990. DCH0SSIZINV : longWord;
  6991. DCH0DSIZ : longWord;
  6992. DCH0DSIZCLR : longWord;
  6993. DCH0DSIZSET : longWord;
  6994. DCH0DSIZINV : longWord;
  6995. DCH0SPTR : longWord;
  6996. DCH0SPTRCLR : longWord;
  6997. DCH0SPTRSET : longWord;
  6998. DCH0SPTRINV : longWord;
  6999. DCH0DPTR : longWord;
  7000. DCH0DPTRCLR : longWord;
  7001. DCH0DPTRSET : longWord;
  7002. DCH0DPTRINV : longWord;
  7003. DCH0CSIZ : longWord;
  7004. DCH0CSIZCLR : longWord;
  7005. DCH0CSIZSET : longWord;
  7006. DCH0CSIZINV : longWord;
  7007. DCH0CPTR : longWord;
  7008. DCH0CPTRCLR : longWord;
  7009. DCH0CPTRSET : longWord;
  7010. DCH0CPTRINV : longWord;
  7011. DCH0DAT : longWord;
  7012. DCH0DATCLR : longWord;
  7013. DCH0DATSET : longWord;
  7014. DCH0DATINV : longWord;
  7015. end;
  7016. TDMAC1_DCH1CON = record
  7017. private
  7018. function getCHAED : TBits_1; inline;
  7019. function getCHAEN : TBits_1; inline;
  7020. function getCHBUSY : TBits_1; inline;
  7021. function getCHCHN : TBits_1; inline;
  7022. function getCHCHNS : TBits_1; inline;
  7023. function getCHEDET : TBits_1; inline;
  7024. function getCHEN : TBits_1; inline;
  7025. function getCHPRI : TBits_2; inline;
  7026. function getw : TBits_32; inline;
  7027. procedure setCHAED(thebits : TBits_1); inline;
  7028. procedure setCHAEN(thebits : TBits_1); inline;
  7029. procedure setCHBUSY(thebits : TBits_1); inline;
  7030. procedure setCHCHN(thebits : TBits_1); inline;
  7031. procedure setCHCHNS(thebits : TBits_1); inline;
  7032. procedure setCHEDET(thebits : TBits_1); inline;
  7033. procedure setCHEN(thebits : TBits_1); inline;
  7034. procedure setCHPRI(thebits : TBits_2); inline;
  7035. procedure setw(thebits : TBits_32); inline;
  7036. public
  7037. procedure clearCHAED; inline;
  7038. procedure clearCHAEN; inline;
  7039. procedure clearCHBUSY; inline;
  7040. procedure clearCHCHN; inline;
  7041. procedure clearCHCHNS; inline;
  7042. procedure clearCHEDET; inline;
  7043. procedure clearCHEN; inline;
  7044. procedure setCHAED; inline;
  7045. procedure setCHAEN; inline;
  7046. procedure setCHBUSY; inline;
  7047. procedure setCHCHN; inline;
  7048. procedure setCHCHNS; inline;
  7049. procedure setCHEDET; inline;
  7050. procedure setCHEN; inline;
  7051. property CHAED : TBits_1 read getCHAED write setCHAED;
  7052. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7053. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7054. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7055. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7056. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7057. property CHEN : TBits_1 read getCHEN write setCHEN;
  7058. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7059. property w : TBits_32 read getw write setw;
  7060. end;
  7061. TDMAC1_DCH1ECON = record
  7062. private
  7063. function getAIRQEN : TBits_1; inline;
  7064. function getCABORT : TBits_1; inline;
  7065. function getCFORCE : TBits_1; inline;
  7066. function getCHAIRQ : TBits_8; inline;
  7067. function getCHSIRQ : TBits_8; inline;
  7068. function getPATEN : TBits_1; inline;
  7069. function getSIRQEN : TBits_1; inline;
  7070. function getw : TBits_32; inline;
  7071. procedure setAIRQEN(thebits : TBits_1); inline;
  7072. procedure setCABORT(thebits : TBits_1); inline;
  7073. procedure setCFORCE(thebits : TBits_1); inline;
  7074. procedure setCHAIRQ(thebits : TBits_8); inline;
  7075. procedure setCHSIRQ(thebits : TBits_8); inline;
  7076. procedure setPATEN(thebits : TBits_1); inline;
  7077. procedure setSIRQEN(thebits : TBits_1); inline;
  7078. procedure setw(thebits : TBits_32); inline;
  7079. public
  7080. procedure clearAIRQEN; inline;
  7081. procedure clearCABORT; inline;
  7082. procedure clearCFORCE; inline;
  7083. procedure clearPATEN; inline;
  7084. procedure clearSIRQEN; inline;
  7085. procedure setAIRQEN; inline;
  7086. procedure setCABORT; inline;
  7087. procedure setCFORCE; inline;
  7088. procedure setPATEN; inline;
  7089. procedure setSIRQEN; inline;
  7090. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7091. property CABORT : TBits_1 read getCABORT write setCABORT;
  7092. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7093. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7094. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7095. property PATEN : TBits_1 read getPATEN write setPATEN;
  7096. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7097. property w : TBits_32 read getw write setw;
  7098. end;
  7099. TDMAC1_DCH1INT = record
  7100. private
  7101. function getCHBCIE : TBits_1; inline;
  7102. function getCHBCIF : TBits_1; inline;
  7103. function getCHCCIE : TBits_1; inline;
  7104. function getCHCCIF : TBits_1; inline;
  7105. function getCHDDIE : TBits_1; inline;
  7106. function getCHDDIF : TBits_1; inline;
  7107. function getCHDHIE : TBits_1; inline;
  7108. function getCHDHIF : TBits_1; inline;
  7109. function getCHERIE : TBits_1; inline;
  7110. function getCHERIF : TBits_1; inline;
  7111. function getCHSDIE : TBits_1; inline;
  7112. function getCHSDIF : TBits_1; inline;
  7113. function getCHSHIE : TBits_1; inline;
  7114. function getCHSHIF : TBits_1; inline;
  7115. function getCHTAIE : TBits_1; inline;
  7116. function getCHTAIF : TBits_1; inline;
  7117. function getw : TBits_32; inline;
  7118. procedure setCHBCIE(thebits : TBits_1); inline;
  7119. procedure setCHBCIF(thebits : TBits_1); inline;
  7120. procedure setCHCCIE(thebits : TBits_1); inline;
  7121. procedure setCHCCIF(thebits : TBits_1); inline;
  7122. procedure setCHDDIE(thebits : TBits_1); inline;
  7123. procedure setCHDDIF(thebits : TBits_1); inline;
  7124. procedure setCHDHIE(thebits : TBits_1); inline;
  7125. procedure setCHDHIF(thebits : TBits_1); inline;
  7126. procedure setCHERIE(thebits : TBits_1); inline;
  7127. procedure setCHERIF(thebits : TBits_1); inline;
  7128. procedure setCHSDIE(thebits : TBits_1); inline;
  7129. procedure setCHSDIF(thebits : TBits_1); inline;
  7130. procedure setCHSHIE(thebits : TBits_1); inline;
  7131. procedure setCHSHIF(thebits : TBits_1); inline;
  7132. procedure setCHTAIE(thebits : TBits_1); inline;
  7133. procedure setCHTAIF(thebits : TBits_1); inline;
  7134. procedure setw(thebits : TBits_32); inline;
  7135. public
  7136. procedure clearCHBCIE; inline;
  7137. procedure clearCHBCIF; inline;
  7138. procedure clearCHCCIE; inline;
  7139. procedure clearCHCCIF; inline;
  7140. procedure clearCHDDIE; inline;
  7141. procedure clearCHDDIF; inline;
  7142. procedure clearCHDHIE; inline;
  7143. procedure clearCHDHIF; inline;
  7144. procedure clearCHERIE; inline;
  7145. procedure clearCHERIF; inline;
  7146. procedure clearCHSDIE; inline;
  7147. procedure clearCHSDIF; inline;
  7148. procedure clearCHSHIE; inline;
  7149. procedure clearCHSHIF; inline;
  7150. procedure clearCHTAIE; inline;
  7151. procedure clearCHTAIF; inline;
  7152. procedure setCHBCIE; inline;
  7153. procedure setCHBCIF; inline;
  7154. procedure setCHCCIE; inline;
  7155. procedure setCHCCIF; inline;
  7156. procedure setCHDDIE; inline;
  7157. procedure setCHDDIF; inline;
  7158. procedure setCHDHIE; inline;
  7159. procedure setCHDHIF; inline;
  7160. procedure setCHERIE; inline;
  7161. procedure setCHERIF; inline;
  7162. procedure setCHSDIE; inline;
  7163. procedure setCHSDIF; inline;
  7164. procedure setCHSHIE; inline;
  7165. procedure setCHSHIF; inline;
  7166. procedure setCHTAIE; inline;
  7167. procedure setCHTAIF; inline;
  7168. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7169. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7170. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7171. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7172. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7173. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7174. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7175. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7176. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7177. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7178. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7179. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7180. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7181. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7182. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7183. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7184. property w : TBits_32 read getw write setw;
  7185. end;
  7186. type
  7187. TDMAC1Registers = record
  7188. DCH1CONbits : TDMAC1_DCH1CON;
  7189. DCH1CON : longWord;
  7190. DCH1CONCLR : longWord;
  7191. DCH1CONSET : longWord;
  7192. DCH1CONINV : longWord;
  7193. DCH1ECONbits : TDMAC1_DCH1ECON;
  7194. DCH1ECON : longWord;
  7195. DCH1ECONCLR : longWord;
  7196. DCH1ECONSET : longWord;
  7197. DCH1ECONINV : longWord;
  7198. DCH1INTbits : TDMAC1_DCH1INT;
  7199. DCH1INT : longWord;
  7200. DCH1INTCLR : longWord;
  7201. DCH1INTSET : longWord;
  7202. DCH1INTINV : longWord;
  7203. DCH1SSA : longWord;
  7204. DCH1SSACLR : longWord;
  7205. DCH1SSASET : longWord;
  7206. DCH1SSAINV : longWord;
  7207. DCH1DSA : longWord;
  7208. DCH1DSACLR : longWord;
  7209. DCH1DSASET : longWord;
  7210. DCH1DSAINV : longWord;
  7211. DCH1SSIZ : longWord;
  7212. DCH1SSIZCLR : longWord;
  7213. DCH1SSIZSET : longWord;
  7214. DCH1SSIZINV : longWord;
  7215. DCH1DSIZ : longWord;
  7216. DCH1DSIZCLR : longWord;
  7217. DCH1DSIZSET : longWord;
  7218. DCH1DSIZINV : longWord;
  7219. DCH1SPTR : longWord;
  7220. DCH1SPTRCLR : longWord;
  7221. DCH1SPTRSET : longWord;
  7222. DCH1SPTRINV : longWord;
  7223. DCH1DPTR : longWord;
  7224. DCH1DPTRCLR : longWord;
  7225. DCH1DPTRSET : longWord;
  7226. DCH1DPTRINV : longWord;
  7227. DCH1CSIZ : longWord;
  7228. DCH1CSIZCLR : longWord;
  7229. DCH1CSIZSET : longWord;
  7230. DCH1CSIZINV : longWord;
  7231. DCH1CPTR : longWord;
  7232. DCH1CPTRCLR : longWord;
  7233. DCH1CPTRSET : longWord;
  7234. DCH1CPTRINV : longWord;
  7235. DCH1DAT : longWord;
  7236. DCH1DATCLR : longWord;
  7237. DCH1DATSET : longWord;
  7238. DCH1DATINV : longWord;
  7239. end;
  7240. TDMAC2_DCH2CON = record
  7241. private
  7242. function getCHAED : TBits_1; inline;
  7243. function getCHAEN : TBits_1; inline;
  7244. function getCHBUSY : TBits_1; inline;
  7245. function getCHCHN : TBits_1; inline;
  7246. function getCHCHNS : TBits_1; inline;
  7247. function getCHEDET : TBits_1; inline;
  7248. function getCHEN : TBits_1; inline;
  7249. function getCHPRI : TBits_2; inline;
  7250. function getw : TBits_32; inline;
  7251. procedure setCHAED(thebits : TBits_1); inline;
  7252. procedure setCHAEN(thebits : TBits_1); inline;
  7253. procedure setCHBUSY(thebits : TBits_1); inline;
  7254. procedure setCHCHN(thebits : TBits_1); inline;
  7255. procedure setCHCHNS(thebits : TBits_1); inline;
  7256. procedure setCHEDET(thebits : TBits_1); inline;
  7257. procedure setCHEN(thebits : TBits_1); inline;
  7258. procedure setCHPRI(thebits : TBits_2); inline;
  7259. procedure setw(thebits : TBits_32); inline;
  7260. public
  7261. procedure clearCHAED; inline;
  7262. procedure clearCHAEN; inline;
  7263. procedure clearCHBUSY; inline;
  7264. procedure clearCHCHN; inline;
  7265. procedure clearCHCHNS; inline;
  7266. procedure clearCHEDET; inline;
  7267. procedure clearCHEN; inline;
  7268. procedure setCHAED; inline;
  7269. procedure setCHAEN; inline;
  7270. procedure setCHBUSY; inline;
  7271. procedure setCHCHN; inline;
  7272. procedure setCHCHNS; inline;
  7273. procedure setCHEDET; inline;
  7274. procedure setCHEN; inline;
  7275. property CHAED : TBits_1 read getCHAED write setCHAED;
  7276. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7277. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7278. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7279. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7280. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7281. property CHEN : TBits_1 read getCHEN write setCHEN;
  7282. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7283. property w : TBits_32 read getw write setw;
  7284. end;
  7285. TDMAC2_DCH2ECON = record
  7286. private
  7287. function getAIRQEN : TBits_1; inline;
  7288. function getCABORT : TBits_1; inline;
  7289. function getCFORCE : TBits_1; inline;
  7290. function getCHAIRQ : TBits_8; inline;
  7291. function getCHSIRQ : TBits_8; inline;
  7292. function getPATEN : TBits_1; inline;
  7293. function getSIRQEN : TBits_1; inline;
  7294. function getw : TBits_32; inline;
  7295. procedure setAIRQEN(thebits : TBits_1); inline;
  7296. procedure setCABORT(thebits : TBits_1); inline;
  7297. procedure setCFORCE(thebits : TBits_1); inline;
  7298. procedure setCHAIRQ(thebits : TBits_8); inline;
  7299. procedure setCHSIRQ(thebits : TBits_8); inline;
  7300. procedure setPATEN(thebits : TBits_1); inline;
  7301. procedure setSIRQEN(thebits : TBits_1); inline;
  7302. procedure setw(thebits : TBits_32); inline;
  7303. public
  7304. procedure clearAIRQEN; inline;
  7305. procedure clearCABORT; inline;
  7306. procedure clearCFORCE; inline;
  7307. procedure clearPATEN; inline;
  7308. procedure clearSIRQEN; inline;
  7309. procedure setAIRQEN; inline;
  7310. procedure setCABORT; inline;
  7311. procedure setCFORCE; inline;
  7312. procedure setPATEN; inline;
  7313. procedure setSIRQEN; inline;
  7314. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7315. property CABORT : TBits_1 read getCABORT write setCABORT;
  7316. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7317. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7318. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7319. property PATEN : TBits_1 read getPATEN write setPATEN;
  7320. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7321. property w : TBits_32 read getw write setw;
  7322. end;
  7323. TDMAC2_DCH2INT = record
  7324. private
  7325. function getCHBCIE : TBits_1; inline;
  7326. function getCHBCIF : TBits_1; inline;
  7327. function getCHCCIE : TBits_1; inline;
  7328. function getCHCCIF : TBits_1; inline;
  7329. function getCHDDIE : TBits_1; inline;
  7330. function getCHDDIF : TBits_1; inline;
  7331. function getCHDHIE : TBits_1; inline;
  7332. function getCHDHIF : TBits_1; inline;
  7333. function getCHERIE : TBits_1; inline;
  7334. function getCHERIF : TBits_1; inline;
  7335. function getCHSDIE : TBits_1; inline;
  7336. function getCHSDIF : TBits_1; inline;
  7337. function getCHSHIE : TBits_1; inline;
  7338. function getCHSHIF : TBits_1; inline;
  7339. function getCHTAIE : TBits_1; inline;
  7340. function getCHTAIF : TBits_1; inline;
  7341. function getw : TBits_32; inline;
  7342. procedure setCHBCIE(thebits : TBits_1); inline;
  7343. procedure setCHBCIF(thebits : TBits_1); inline;
  7344. procedure setCHCCIE(thebits : TBits_1); inline;
  7345. procedure setCHCCIF(thebits : TBits_1); inline;
  7346. procedure setCHDDIE(thebits : TBits_1); inline;
  7347. procedure setCHDDIF(thebits : TBits_1); inline;
  7348. procedure setCHDHIE(thebits : TBits_1); inline;
  7349. procedure setCHDHIF(thebits : TBits_1); inline;
  7350. procedure setCHERIE(thebits : TBits_1); inline;
  7351. procedure setCHERIF(thebits : TBits_1); inline;
  7352. procedure setCHSDIE(thebits : TBits_1); inline;
  7353. procedure setCHSDIF(thebits : TBits_1); inline;
  7354. procedure setCHSHIE(thebits : TBits_1); inline;
  7355. procedure setCHSHIF(thebits : TBits_1); inline;
  7356. procedure setCHTAIE(thebits : TBits_1); inline;
  7357. procedure setCHTAIF(thebits : TBits_1); inline;
  7358. procedure setw(thebits : TBits_32); inline;
  7359. public
  7360. procedure clearCHBCIE; inline;
  7361. procedure clearCHBCIF; inline;
  7362. procedure clearCHCCIE; inline;
  7363. procedure clearCHCCIF; inline;
  7364. procedure clearCHDDIE; inline;
  7365. procedure clearCHDDIF; inline;
  7366. procedure clearCHDHIE; inline;
  7367. procedure clearCHDHIF; inline;
  7368. procedure clearCHERIE; inline;
  7369. procedure clearCHERIF; inline;
  7370. procedure clearCHSDIE; inline;
  7371. procedure clearCHSDIF; inline;
  7372. procedure clearCHSHIE; inline;
  7373. procedure clearCHSHIF; inline;
  7374. procedure clearCHTAIE; inline;
  7375. procedure clearCHTAIF; inline;
  7376. procedure setCHBCIE; inline;
  7377. procedure setCHBCIF; inline;
  7378. procedure setCHCCIE; inline;
  7379. procedure setCHCCIF; inline;
  7380. procedure setCHDDIE; inline;
  7381. procedure setCHDDIF; inline;
  7382. procedure setCHDHIE; inline;
  7383. procedure setCHDHIF; inline;
  7384. procedure setCHERIE; inline;
  7385. procedure setCHERIF; inline;
  7386. procedure setCHSDIE; inline;
  7387. procedure setCHSDIF; inline;
  7388. procedure setCHSHIE; inline;
  7389. procedure setCHSHIF; inline;
  7390. procedure setCHTAIE; inline;
  7391. procedure setCHTAIF; inline;
  7392. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7393. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7394. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7395. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7396. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7397. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7398. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7399. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7400. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7401. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7402. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7403. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7404. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7405. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7406. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7407. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7408. property w : TBits_32 read getw write setw;
  7409. end;
  7410. type
  7411. TDMAC2Registers = record
  7412. DCH2CONbits : TDMAC2_DCH2CON;
  7413. DCH2CON : longWord;
  7414. DCH2CONCLR : longWord;
  7415. DCH2CONSET : longWord;
  7416. DCH2CONINV : longWord;
  7417. DCH2ECONbits : TDMAC2_DCH2ECON;
  7418. DCH2ECON : longWord;
  7419. DCH2ECONCLR : longWord;
  7420. DCH2ECONSET : longWord;
  7421. DCH2ECONINV : longWord;
  7422. DCH2INTbits : TDMAC2_DCH2INT;
  7423. DCH2INT : longWord;
  7424. DCH2INTCLR : longWord;
  7425. DCH2INTSET : longWord;
  7426. DCH2INTINV : longWord;
  7427. DCH2SSA : longWord;
  7428. DCH2SSACLR : longWord;
  7429. DCH2SSASET : longWord;
  7430. DCH2SSAINV : longWord;
  7431. DCH2DSA : longWord;
  7432. DCH2DSACLR : longWord;
  7433. DCH2DSASET : longWord;
  7434. DCH2DSAINV : longWord;
  7435. DCH2SSIZ : longWord;
  7436. DCH2SSIZCLR : longWord;
  7437. DCH2SSIZSET : longWord;
  7438. DCH2SSIZINV : longWord;
  7439. DCH2DSIZ : longWord;
  7440. DCH2DSIZCLR : longWord;
  7441. DCH2DSIZSET : longWord;
  7442. DCH2DSIZINV : longWord;
  7443. DCH2SPTR : longWord;
  7444. DCH2SPTRCLR : longWord;
  7445. DCH2SPTRSET : longWord;
  7446. DCH2SPTRINV : longWord;
  7447. DCH2DPTR : longWord;
  7448. DCH2DPTRCLR : longWord;
  7449. DCH2DPTRSET : longWord;
  7450. DCH2DPTRINV : longWord;
  7451. DCH2CSIZ : longWord;
  7452. DCH2CSIZCLR : longWord;
  7453. DCH2CSIZSET : longWord;
  7454. DCH2CSIZINV : longWord;
  7455. DCH2CPTR : longWord;
  7456. DCH2CPTRCLR : longWord;
  7457. DCH2CPTRSET : longWord;
  7458. DCH2CPTRINV : longWord;
  7459. DCH2DAT : longWord;
  7460. DCH2DATCLR : longWord;
  7461. DCH2DATSET : longWord;
  7462. DCH2DATINV : longWord;
  7463. end;
  7464. TDMAC3_DCH3CON = record
  7465. private
  7466. function getCHAED : TBits_1; inline;
  7467. function getCHAEN : TBits_1; inline;
  7468. function getCHBUSY : TBits_1; inline;
  7469. function getCHCHN : TBits_1; inline;
  7470. function getCHCHNS : TBits_1; inline;
  7471. function getCHEDET : TBits_1; inline;
  7472. function getCHEN : TBits_1; inline;
  7473. function getCHPRI : TBits_2; inline;
  7474. function getw : TBits_32; inline;
  7475. procedure setCHAED(thebits : TBits_1); inline;
  7476. procedure setCHAEN(thebits : TBits_1); inline;
  7477. procedure setCHBUSY(thebits : TBits_1); inline;
  7478. procedure setCHCHN(thebits : TBits_1); inline;
  7479. procedure setCHCHNS(thebits : TBits_1); inline;
  7480. procedure setCHEDET(thebits : TBits_1); inline;
  7481. procedure setCHEN(thebits : TBits_1); inline;
  7482. procedure setCHPRI(thebits : TBits_2); inline;
  7483. procedure setw(thebits : TBits_32); inline;
  7484. public
  7485. procedure clearCHAED; inline;
  7486. procedure clearCHAEN; inline;
  7487. procedure clearCHBUSY; inline;
  7488. procedure clearCHCHN; inline;
  7489. procedure clearCHCHNS; inline;
  7490. procedure clearCHEDET; inline;
  7491. procedure clearCHEN; inline;
  7492. procedure setCHAED; inline;
  7493. procedure setCHAEN; inline;
  7494. procedure setCHBUSY; inline;
  7495. procedure setCHCHN; inline;
  7496. procedure setCHCHNS; inline;
  7497. procedure setCHEDET; inline;
  7498. procedure setCHEN; inline;
  7499. property CHAED : TBits_1 read getCHAED write setCHAED;
  7500. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7501. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7502. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7503. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7504. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7505. property CHEN : TBits_1 read getCHEN write setCHEN;
  7506. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7507. property w : TBits_32 read getw write setw;
  7508. end;
  7509. TDMAC3_DCH3ECON = record
  7510. private
  7511. function getAIRQEN : TBits_1; inline;
  7512. function getCABORT : TBits_1; inline;
  7513. function getCFORCE : TBits_1; inline;
  7514. function getCHAIRQ : TBits_8; inline;
  7515. function getCHSIRQ : TBits_8; inline;
  7516. function getPATEN : TBits_1; inline;
  7517. function getSIRQEN : TBits_1; inline;
  7518. function getw : TBits_32; inline;
  7519. procedure setAIRQEN(thebits : TBits_1); inline;
  7520. procedure setCABORT(thebits : TBits_1); inline;
  7521. procedure setCFORCE(thebits : TBits_1); inline;
  7522. procedure setCHAIRQ(thebits : TBits_8); inline;
  7523. procedure setCHSIRQ(thebits : TBits_8); inline;
  7524. procedure setPATEN(thebits : TBits_1); inline;
  7525. procedure setSIRQEN(thebits : TBits_1); inline;
  7526. procedure setw(thebits : TBits_32); inline;
  7527. public
  7528. procedure clearAIRQEN; inline;
  7529. procedure clearCABORT; inline;
  7530. procedure clearCFORCE; inline;
  7531. procedure clearPATEN; inline;
  7532. procedure clearSIRQEN; inline;
  7533. procedure setAIRQEN; inline;
  7534. procedure setCABORT; inline;
  7535. procedure setCFORCE; inline;
  7536. procedure setPATEN; inline;
  7537. procedure setSIRQEN; inline;
  7538. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7539. property CABORT : TBits_1 read getCABORT write setCABORT;
  7540. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7541. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7542. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7543. property PATEN : TBits_1 read getPATEN write setPATEN;
  7544. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7545. property w : TBits_32 read getw write setw;
  7546. end;
  7547. TDMAC3_DCH3INT = record
  7548. private
  7549. function getCHBCIE : TBits_1; inline;
  7550. function getCHBCIF : TBits_1; inline;
  7551. function getCHCCIE : TBits_1; inline;
  7552. function getCHCCIF : TBits_1; inline;
  7553. function getCHDDIE : TBits_1; inline;
  7554. function getCHDDIF : TBits_1; inline;
  7555. function getCHDHIE : TBits_1; inline;
  7556. function getCHDHIF : TBits_1; inline;
  7557. function getCHERIE : TBits_1; inline;
  7558. function getCHERIF : TBits_1; inline;
  7559. function getCHSDIE : TBits_1; inline;
  7560. function getCHSDIF : TBits_1; inline;
  7561. function getCHSHIE : TBits_1; inline;
  7562. function getCHSHIF : TBits_1; inline;
  7563. function getCHTAIE : TBits_1; inline;
  7564. function getCHTAIF : TBits_1; inline;
  7565. function getw : TBits_32; inline;
  7566. procedure setCHBCIE(thebits : TBits_1); inline;
  7567. procedure setCHBCIF(thebits : TBits_1); inline;
  7568. procedure setCHCCIE(thebits : TBits_1); inline;
  7569. procedure setCHCCIF(thebits : TBits_1); inline;
  7570. procedure setCHDDIE(thebits : TBits_1); inline;
  7571. procedure setCHDDIF(thebits : TBits_1); inline;
  7572. procedure setCHDHIE(thebits : TBits_1); inline;
  7573. procedure setCHDHIF(thebits : TBits_1); inline;
  7574. procedure setCHERIE(thebits : TBits_1); inline;
  7575. procedure setCHERIF(thebits : TBits_1); inline;
  7576. procedure setCHSDIE(thebits : TBits_1); inline;
  7577. procedure setCHSDIF(thebits : TBits_1); inline;
  7578. procedure setCHSHIE(thebits : TBits_1); inline;
  7579. procedure setCHSHIF(thebits : TBits_1); inline;
  7580. procedure setCHTAIE(thebits : TBits_1); inline;
  7581. procedure setCHTAIF(thebits : TBits_1); inline;
  7582. procedure setw(thebits : TBits_32); inline;
  7583. public
  7584. procedure clearCHBCIE; inline;
  7585. procedure clearCHBCIF; inline;
  7586. procedure clearCHCCIE; inline;
  7587. procedure clearCHCCIF; inline;
  7588. procedure clearCHDDIE; inline;
  7589. procedure clearCHDDIF; inline;
  7590. procedure clearCHDHIE; inline;
  7591. procedure clearCHDHIF; inline;
  7592. procedure clearCHERIE; inline;
  7593. procedure clearCHERIF; inline;
  7594. procedure clearCHSDIE; inline;
  7595. procedure clearCHSDIF; inline;
  7596. procedure clearCHSHIE; inline;
  7597. procedure clearCHSHIF; inline;
  7598. procedure clearCHTAIE; inline;
  7599. procedure clearCHTAIF; inline;
  7600. procedure setCHBCIE; inline;
  7601. procedure setCHBCIF; inline;
  7602. procedure setCHCCIE; inline;
  7603. procedure setCHCCIF; inline;
  7604. procedure setCHDDIE; inline;
  7605. procedure setCHDDIF; inline;
  7606. procedure setCHDHIE; inline;
  7607. procedure setCHDHIF; inline;
  7608. procedure setCHERIE; inline;
  7609. procedure setCHERIF; inline;
  7610. procedure setCHSDIE; inline;
  7611. procedure setCHSDIF; inline;
  7612. procedure setCHSHIE; inline;
  7613. procedure setCHSHIF; inline;
  7614. procedure setCHTAIE; inline;
  7615. procedure setCHTAIF; inline;
  7616. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7617. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7618. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7619. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7620. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7621. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7622. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7623. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7624. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7625. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7626. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7627. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7628. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7629. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7630. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7631. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7632. property w : TBits_32 read getw write setw;
  7633. end;
  7634. type
  7635. TDMAC3Registers = record
  7636. DCH3CONbits : TDMAC3_DCH3CON;
  7637. DCH3CON : longWord;
  7638. DCH3CONCLR : longWord;
  7639. DCH3CONSET : longWord;
  7640. DCH3CONINV : longWord;
  7641. DCH3ECONbits : TDMAC3_DCH3ECON;
  7642. DCH3ECON : longWord;
  7643. DCH3ECONCLR : longWord;
  7644. DCH3ECONSET : longWord;
  7645. DCH3ECONINV : longWord;
  7646. DCH3INTbits : TDMAC3_DCH3INT;
  7647. DCH3INT : longWord;
  7648. DCH3INTCLR : longWord;
  7649. DCH3INTSET : longWord;
  7650. DCH3INTINV : longWord;
  7651. DCH3SSA : longWord;
  7652. DCH3SSACLR : longWord;
  7653. DCH3SSASET : longWord;
  7654. DCH3SSAINV : longWord;
  7655. DCH3DSA : longWord;
  7656. DCH3DSACLR : longWord;
  7657. DCH3DSASET : longWord;
  7658. DCH3DSAINV : longWord;
  7659. DCH3SSIZ : longWord;
  7660. DCH3SSIZCLR : longWord;
  7661. DCH3SSIZSET : longWord;
  7662. DCH3SSIZINV : longWord;
  7663. DCH3DSIZ : longWord;
  7664. DCH3DSIZCLR : longWord;
  7665. DCH3DSIZSET : longWord;
  7666. DCH3DSIZINV : longWord;
  7667. DCH3SPTR : longWord;
  7668. DCH3SPTRCLR : longWord;
  7669. DCH3SPTRSET : longWord;
  7670. DCH3SPTRINV : longWord;
  7671. DCH3DPTR : longWord;
  7672. DCH3DPTRCLR : longWord;
  7673. DCH3DPTRSET : longWord;
  7674. DCH3DPTRINV : longWord;
  7675. DCH3CSIZ : longWord;
  7676. DCH3CSIZCLR : longWord;
  7677. DCH3CSIZSET : longWord;
  7678. DCH3CSIZINV : longWord;
  7679. DCH3CPTR : longWord;
  7680. DCH3CPTRCLR : longWord;
  7681. DCH3CPTRSET : longWord;
  7682. DCH3CPTRINV : longWord;
  7683. DCH3DAT : longWord;
  7684. DCH3DATCLR : longWord;
  7685. DCH3DATSET : longWord;
  7686. DCH3DATINV : longWord;
  7687. end;
  7688. TUSB_U1IR = record
  7689. private
  7690. function getATTACHIF : TBits_1; inline;
  7691. function getDETACHIF : TBits_1; inline;
  7692. function getIDLEIF : TBits_1; inline;
  7693. function getRESUMEIF : TBits_1; inline;
  7694. function getSOFIF : TBits_1; inline;
  7695. function getSTALLIF : TBits_1; inline;
  7696. function getTRNIF : TBits_1; inline;
  7697. function getUERRIF : TBits_1; inline;
  7698. function getURSTIF : TBits_1; inline;
  7699. function getURSTIF_DETACHIF : TBits_1; inline;
  7700. procedure setATTACHIF(thebits : TBits_1); inline;
  7701. procedure setDETACHIF(thebits : TBits_1); inline;
  7702. procedure setIDLEIF(thebits : TBits_1); inline;
  7703. procedure setRESUMEIF(thebits : TBits_1); inline;
  7704. procedure setSOFIF(thebits : TBits_1); inline;
  7705. procedure setSTALLIF(thebits : TBits_1); inline;
  7706. procedure setTRNIF(thebits : TBits_1); inline;
  7707. procedure setUERRIF(thebits : TBits_1); inline;
  7708. procedure setURSTIF(thebits : TBits_1); inline;
  7709. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  7710. public
  7711. procedure clearATTACHIF; inline;
  7712. procedure clearDETACHIF; inline;
  7713. procedure clearIDLEIF; inline;
  7714. procedure clearRESUMEIF; inline;
  7715. procedure clearSOFIF; inline;
  7716. procedure clearSTALLIF; inline;
  7717. procedure clearTRNIF; inline;
  7718. procedure clearUERRIF; inline;
  7719. procedure clearURSTIF; inline;
  7720. procedure clearURSTIF_DETACHIF; inline;
  7721. procedure setATTACHIF; inline;
  7722. procedure setDETACHIF; inline;
  7723. procedure setIDLEIF; inline;
  7724. procedure setRESUMEIF; inline;
  7725. procedure setSOFIF; inline;
  7726. procedure setSTALLIF; inline;
  7727. procedure setTRNIF; inline;
  7728. procedure setUERRIF; inline;
  7729. procedure setURSTIF; inline;
  7730. procedure setURSTIF_DETACHIF; inline;
  7731. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  7732. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  7733. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  7734. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  7735. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  7736. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  7737. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  7738. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  7739. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  7740. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  7741. end;
  7742. TUSB_U1IE = record
  7743. private
  7744. function getATTACHIE : TBits_1; inline;
  7745. function getDETACHIE : TBits_1; inline;
  7746. function getIDLEIE : TBits_1; inline;
  7747. function getRESUMEIE : TBits_1; inline;
  7748. function getSOFIE : TBits_1; inline;
  7749. function getSTALLIE : TBits_1; inline;
  7750. function getTRNIE : TBits_1; inline;
  7751. function getUERRIE : TBits_1; inline;
  7752. function getURSTIE : TBits_1; inline;
  7753. function getURSTIE_DETACHIE : TBits_1; inline;
  7754. procedure setATTACHIE(thebits : TBits_1); inline;
  7755. procedure setDETACHIE(thebits : TBits_1); inline;
  7756. procedure setIDLEIE(thebits : TBits_1); inline;
  7757. procedure setRESUMEIE(thebits : TBits_1); inline;
  7758. procedure setSOFIE(thebits : TBits_1); inline;
  7759. procedure setSTALLIE(thebits : TBits_1); inline;
  7760. procedure setTRNIE(thebits : TBits_1); inline;
  7761. procedure setUERRIE(thebits : TBits_1); inline;
  7762. procedure setURSTIE(thebits : TBits_1); inline;
  7763. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  7764. public
  7765. procedure clearATTACHIE; inline;
  7766. procedure clearDETACHIE; inline;
  7767. procedure clearIDLEIE; inline;
  7768. procedure clearRESUMEIE; inline;
  7769. procedure clearSOFIE; inline;
  7770. procedure clearSTALLIE; inline;
  7771. procedure clearTRNIE; inline;
  7772. procedure clearUERRIE; inline;
  7773. procedure clearURSTIE; inline;
  7774. procedure clearURSTIE_DETACHIE; inline;
  7775. procedure setATTACHIE; inline;
  7776. procedure setDETACHIE; inline;
  7777. procedure setIDLEIE; inline;
  7778. procedure setRESUMEIE; inline;
  7779. procedure setSOFIE; inline;
  7780. procedure setSTALLIE; inline;
  7781. procedure setTRNIE; inline;
  7782. procedure setUERRIE; inline;
  7783. procedure setURSTIE; inline;
  7784. procedure setURSTIE_DETACHIE; inline;
  7785. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  7786. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  7787. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  7788. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  7789. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  7790. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  7791. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  7792. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  7793. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  7794. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  7795. end;
  7796. TUSB_U1EIR = record
  7797. private
  7798. function getBMXEF : TBits_1; inline;
  7799. function getBTOEF : TBits_1; inline;
  7800. function getBTSEF : TBits_1; inline;
  7801. function getCRC16EF : TBits_1; inline;
  7802. function getCRC5EF : TBits_1; inline;
  7803. function getCRC5EF_EOFEF : TBits_1; inline;
  7804. function getDFN8EF : TBits_1; inline;
  7805. function getDMAEF : TBits_1; inline;
  7806. function getEOFEF : TBits_1; inline;
  7807. function getPIDEF : TBits_1; inline;
  7808. procedure setBMXEF(thebits : TBits_1); inline;
  7809. procedure setBTOEF(thebits : TBits_1); inline;
  7810. procedure setBTSEF(thebits : TBits_1); inline;
  7811. procedure setCRC16EF(thebits : TBits_1); inline;
  7812. procedure setCRC5EF(thebits : TBits_1); inline;
  7813. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  7814. procedure setDFN8EF(thebits : TBits_1); inline;
  7815. procedure setDMAEF(thebits : TBits_1); inline;
  7816. procedure setEOFEF(thebits : TBits_1); inline;
  7817. procedure setPIDEF(thebits : TBits_1); inline;
  7818. public
  7819. procedure clearBMXEF; inline;
  7820. procedure clearBTOEF; inline;
  7821. procedure clearBTSEF; inline;
  7822. procedure clearCRC16EF; inline;
  7823. procedure clearCRC5EF; inline;
  7824. procedure clearCRC5EF_EOFEF; inline;
  7825. procedure clearDFN8EF; inline;
  7826. procedure clearDMAEF; inline;
  7827. procedure clearEOFEF; inline;
  7828. procedure clearPIDEF; inline;
  7829. procedure setBMXEF; inline;
  7830. procedure setBTOEF; inline;
  7831. procedure setBTSEF; inline;
  7832. procedure setCRC16EF; inline;
  7833. procedure setCRC5EF; inline;
  7834. procedure setCRC5EF_EOFEF; inline;
  7835. procedure setDFN8EF; inline;
  7836. procedure setDMAEF; inline;
  7837. procedure setEOFEF; inline;
  7838. procedure setPIDEF; inline;
  7839. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  7840. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  7841. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  7842. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  7843. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  7844. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  7845. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  7846. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  7847. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  7848. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  7849. end;
  7850. TUSB_U1EIE = record
  7851. private
  7852. function getBMXEE : TBits_1; inline;
  7853. function getBTOEE : TBits_1; inline;
  7854. function getBTSEE : TBits_1; inline;
  7855. function getCRC16EE : TBits_1; inline;
  7856. function getCRC5EE : TBits_1; inline;
  7857. function getCRC5EE_EOFEE : TBits_1; inline;
  7858. function getDFN8EE : TBits_1; inline;
  7859. function getDMAEE : TBits_1; inline;
  7860. function getEOFEE : TBits_1; inline;
  7861. function getPIDEE : TBits_1; inline;
  7862. procedure setBMXEE(thebits : TBits_1); inline;
  7863. procedure setBTOEE(thebits : TBits_1); inline;
  7864. procedure setBTSEE(thebits : TBits_1); inline;
  7865. procedure setCRC16EE(thebits : TBits_1); inline;
  7866. procedure setCRC5EE(thebits : TBits_1); inline;
  7867. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  7868. procedure setDFN8EE(thebits : TBits_1); inline;
  7869. procedure setDMAEE(thebits : TBits_1); inline;
  7870. procedure setEOFEE(thebits : TBits_1); inline;
  7871. procedure setPIDEE(thebits : TBits_1); inline;
  7872. public
  7873. procedure clearBMXEE; inline;
  7874. procedure clearBTOEE; inline;
  7875. procedure clearBTSEE; inline;
  7876. procedure clearCRC16EE; inline;
  7877. procedure clearCRC5EE; inline;
  7878. procedure clearCRC5EE_EOFEE; inline;
  7879. procedure clearDFN8EE; inline;
  7880. procedure clearDMAEE; inline;
  7881. procedure clearEOFEE; inline;
  7882. procedure clearPIDEE; inline;
  7883. procedure setBMXEE; inline;
  7884. procedure setBTOEE; inline;
  7885. procedure setBTSEE; inline;
  7886. procedure setCRC16EE; inline;
  7887. procedure setCRC5EE; inline;
  7888. procedure setCRC5EE_EOFEE; inline;
  7889. procedure setDFN8EE; inline;
  7890. procedure setDMAEE; inline;
  7891. procedure setEOFEE; inline;
  7892. procedure setPIDEE; inline;
  7893. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  7894. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  7895. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  7896. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  7897. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  7898. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  7899. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  7900. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  7901. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  7902. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  7903. end;
  7904. TUSB_U1STAT = record
  7905. private
  7906. function getDIR : TBits_1; inline;
  7907. function getENDPT : TBits_4; inline;
  7908. function getENDPT0 : TBits_1; inline;
  7909. function getENDPT1 : TBits_1; inline;
  7910. function getENDPT2 : TBits_1; inline;
  7911. function getENDPT3 : TBits_1; inline;
  7912. function getPPBI : TBits_1; inline;
  7913. procedure setDIR(thebits : TBits_1); inline;
  7914. procedure setENDPT(thebits : TBits_4); inline;
  7915. procedure setENDPT0(thebits : TBits_1); inline;
  7916. procedure setENDPT1(thebits : TBits_1); inline;
  7917. procedure setENDPT2(thebits : TBits_1); inline;
  7918. procedure setENDPT3(thebits : TBits_1); inline;
  7919. procedure setPPBI(thebits : TBits_1); inline;
  7920. public
  7921. procedure clearDIR; inline;
  7922. procedure clearENDPT0; inline;
  7923. procedure clearENDPT1; inline;
  7924. procedure clearENDPT2; inline;
  7925. procedure clearENDPT3; inline;
  7926. procedure clearPPBI; inline;
  7927. procedure setDIR; inline;
  7928. procedure setENDPT0; inline;
  7929. procedure setENDPT1; inline;
  7930. procedure setENDPT2; inline;
  7931. procedure setENDPT3; inline;
  7932. procedure setPPBI; inline;
  7933. property DIR : TBits_1 read getDIR write setDIR;
  7934. property ENDPT : TBits_4 read getENDPT write setENDPT;
  7935. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  7936. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  7937. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  7938. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  7939. property PPBI : TBits_1 read getPPBI write setPPBI;
  7940. end;
  7941. TUSB_U1CON = record
  7942. private
  7943. function getHOSTEN : TBits_1; inline;
  7944. function getJSTATE : TBits_1; inline;
  7945. function getPKTDIS : TBits_1; inline;
  7946. function getPKTDIS_TOKBUSY : TBits_1; inline;
  7947. function getPPBRST : TBits_1; inline;
  7948. function getRESUME : TBits_1; inline;
  7949. function getSE0 : TBits_1; inline;
  7950. function getSOFEN : TBits_1; inline;
  7951. function getTOKBUSY : TBits_1; inline;
  7952. function getUSBEN : TBits_1; inline;
  7953. function getUSBEN_SOFEN : TBits_1; inline;
  7954. function getUSBRST : TBits_1; inline;
  7955. procedure setHOSTEN(thebits : TBits_1); inline;
  7956. procedure setJSTATE(thebits : TBits_1); inline;
  7957. procedure setPKTDIS(thebits : TBits_1); inline;
  7958. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  7959. procedure setPPBRST(thebits : TBits_1); inline;
  7960. procedure setRESUME(thebits : TBits_1); inline;
  7961. procedure setSE0(thebits : TBits_1); inline;
  7962. procedure setSOFEN(thebits : TBits_1); inline;
  7963. procedure setTOKBUSY(thebits : TBits_1); inline;
  7964. procedure setUSBEN(thebits : TBits_1); inline;
  7965. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  7966. procedure setUSBRST(thebits : TBits_1); inline;
  7967. public
  7968. procedure clearHOSTEN; inline;
  7969. procedure clearJSTATE; inline;
  7970. procedure clearPKTDIS; inline;
  7971. procedure clearPKTDIS_TOKBUSY; inline;
  7972. procedure clearPPBRST; inline;
  7973. procedure clearRESUME; inline;
  7974. procedure clearSE0; inline;
  7975. procedure clearSOFEN; inline;
  7976. procedure clearTOKBUSY; inline;
  7977. procedure clearUSBEN; inline;
  7978. procedure clearUSBEN_SOFEN; inline;
  7979. procedure clearUSBRST; inline;
  7980. procedure setHOSTEN; inline;
  7981. procedure setJSTATE; inline;
  7982. procedure setPKTDIS; inline;
  7983. procedure setPKTDIS_TOKBUSY; inline;
  7984. procedure setPPBRST; inline;
  7985. procedure setRESUME; inline;
  7986. procedure setSE0; inline;
  7987. procedure setSOFEN; inline;
  7988. procedure setTOKBUSY; inline;
  7989. procedure setUSBEN; inline;
  7990. procedure setUSBEN_SOFEN; inline;
  7991. procedure setUSBRST; inline;
  7992. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  7993. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  7994. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  7995. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  7996. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  7997. property RESUME : TBits_1 read getRESUME write setRESUME;
  7998. property SE0 : TBits_1 read getSE0 write setSE0;
  7999. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  8000. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  8001. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  8002. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  8003. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  8004. end;
  8005. TUSB_U1ADDR = record
  8006. private
  8007. function getDEVADDR : TBits_7; inline;
  8008. function getDEVADDR0 : TBits_1; inline;
  8009. function getDEVADDR1 : TBits_1; inline;
  8010. function getDEVADDR2 : TBits_1; inline;
  8011. function getDEVADDR3 : TBits_1; inline;
  8012. function getDEVADDR4 : TBits_1; inline;
  8013. function getDEVADDR5 : TBits_1; inline;
  8014. function getDEVADDR6 : TBits_1; inline;
  8015. function getLSPDEN : TBits_1; inline;
  8016. procedure setDEVADDR(thebits : TBits_7); inline;
  8017. procedure setDEVADDR0(thebits : TBits_1); inline;
  8018. procedure setDEVADDR1(thebits : TBits_1); inline;
  8019. procedure setDEVADDR2(thebits : TBits_1); inline;
  8020. procedure setDEVADDR3(thebits : TBits_1); inline;
  8021. procedure setDEVADDR4(thebits : TBits_1); inline;
  8022. procedure setDEVADDR5(thebits : TBits_1); inline;
  8023. procedure setDEVADDR6(thebits : TBits_1); inline;
  8024. procedure setLSPDEN(thebits : TBits_1); inline;
  8025. public
  8026. procedure clearDEVADDR0; inline;
  8027. procedure clearDEVADDR1; inline;
  8028. procedure clearDEVADDR2; inline;
  8029. procedure clearDEVADDR3; inline;
  8030. procedure clearDEVADDR4; inline;
  8031. procedure clearDEVADDR5; inline;
  8032. procedure clearDEVADDR6; inline;
  8033. procedure clearLSPDEN; inline;
  8034. procedure setDEVADDR0; inline;
  8035. procedure setDEVADDR1; inline;
  8036. procedure setDEVADDR2; inline;
  8037. procedure setDEVADDR3; inline;
  8038. procedure setDEVADDR4; inline;
  8039. procedure setDEVADDR5; inline;
  8040. procedure setDEVADDR6; inline;
  8041. procedure setLSPDEN; inline;
  8042. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  8043. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  8044. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  8045. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  8046. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  8047. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  8048. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  8049. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  8050. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  8051. end;
  8052. TUSB_U1FRML = record
  8053. private
  8054. function getFRM0 : TBits_1; inline;
  8055. function getFRM1 : TBits_1; inline;
  8056. function getFRM2 : TBits_1; inline;
  8057. function getFRM3 : TBits_1; inline;
  8058. function getFRM4 : TBits_1; inline;
  8059. function getFRM5 : TBits_1; inline;
  8060. function getFRM6 : TBits_1; inline;
  8061. function getFRM7 : TBits_1; inline;
  8062. function getFRML : TBits_8; inline;
  8063. procedure setFRM0(thebits : TBits_1); inline;
  8064. procedure setFRM1(thebits : TBits_1); inline;
  8065. procedure setFRM2(thebits : TBits_1); inline;
  8066. procedure setFRM3(thebits : TBits_1); inline;
  8067. procedure setFRM4(thebits : TBits_1); inline;
  8068. procedure setFRM5(thebits : TBits_1); inline;
  8069. procedure setFRM6(thebits : TBits_1); inline;
  8070. procedure setFRM7(thebits : TBits_1); inline;
  8071. procedure setFRML(thebits : TBits_8); inline;
  8072. public
  8073. procedure clearFRM0; inline;
  8074. procedure clearFRM1; inline;
  8075. procedure clearFRM2; inline;
  8076. procedure clearFRM3; inline;
  8077. procedure clearFRM4; inline;
  8078. procedure clearFRM5; inline;
  8079. procedure clearFRM6; inline;
  8080. procedure clearFRM7; inline;
  8081. procedure setFRM0; inline;
  8082. procedure setFRM1; inline;
  8083. procedure setFRM2; inline;
  8084. procedure setFRM3; inline;
  8085. procedure setFRM4; inline;
  8086. procedure setFRM5; inline;
  8087. procedure setFRM6; inline;
  8088. procedure setFRM7; inline;
  8089. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  8090. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  8091. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  8092. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  8093. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  8094. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  8095. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  8096. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  8097. property FRML : TBits_8 read getFRML write setFRML;
  8098. end;
  8099. TUSB_U1FRMH = record
  8100. private
  8101. function getFRM10 : TBits_1; inline;
  8102. function getFRM8 : TBits_1; inline;
  8103. function getFRM9 : TBits_1; inline;
  8104. function getFRMH : TBits_3; inline;
  8105. procedure setFRM10(thebits : TBits_1); inline;
  8106. procedure setFRM8(thebits : TBits_1); inline;
  8107. procedure setFRM9(thebits : TBits_1); inline;
  8108. procedure setFRMH(thebits : TBits_3); inline;
  8109. public
  8110. procedure clearFRM10; inline;
  8111. procedure clearFRM8; inline;
  8112. procedure clearFRM9; inline;
  8113. procedure setFRM10; inline;
  8114. procedure setFRM8; inline;
  8115. procedure setFRM9; inline;
  8116. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  8117. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  8118. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  8119. property FRMH : TBits_3 read getFRMH write setFRMH;
  8120. end;
  8121. TUSB_U1TOK = record
  8122. private
  8123. function getEP : TBits_4; inline;
  8124. function getEP0 : TBits_1; inline;
  8125. function getEP1 : TBits_1; inline;
  8126. function getEP2 : TBits_1; inline;
  8127. function getEP3 : TBits_1; inline;
  8128. function getPID : TBits_4; inline;
  8129. function getPID0 : TBits_1; inline;
  8130. function getPID1 : TBits_1; inline;
  8131. function getPID2 : TBits_1; inline;
  8132. function getPID3 : TBits_1; inline;
  8133. procedure setEP(thebits : TBits_4); inline;
  8134. procedure setEP0(thebits : TBits_1); inline;
  8135. procedure setEP1(thebits : TBits_1); inline;
  8136. procedure setEP2(thebits : TBits_1); inline;
  8137. procedure setEP3(thebits : TBits_1); inline;
  8138. procedure setPID(thebits : TBits_4); inline;
  8139. procedure setPID0(thebits : TBits_1); inline;
  8140. procedure setPID1(thebits : TBits_1); inline;
  8141. procedure setPID2(thebits : TBits_1); inline;
  8142. procedure setPID3(thebits : TBits_1); inline;
  8143. public
  8144. procedure clearEP0; inline;
  8145. procedure clearEP1; inline;
  8146. procedure clearEP2; inline;
  8147. procedure clearEP3; inline;
  8148. procedure clearPID0; inline;
  8149. procedure clearPID1; inline;
  8150. procedure clearPID2; inline;
  8151. procedure clearPID3; inline;
  8152. procedure setEP0; inline;
  8153. procedure setEP1; inline;
  8154. procedure setEP2; inline;
  8155. procedure setEP3; inline;
  8156. procedure setPID0; inline;
  8157. procedure setPID1; inline;
  8158. procedure setPID2; inline;
  8159. procedure setPID3; inline;
  8160. property EP : TBits_4 read getEP write setEP;
  8161. property EP0 : TBits_1 read getEP0 write setEP0;
  8162. property EP1 : TBits_1 read getEP1 write setEP1;
  8163. property EP2 : TBits_1 read getEP2 write setEP2;
  8164. property EP3 : TBits_1 read getEP3 write setEP3;
  8165. property PID : TBits_4 read getPID write setPID;
  8166. property PID0 : TBits_1 read getPID0 write setPID0;
  8167. property PID1 : TBits_1 read getPID1 write setPID1;
  8168. property PID2 : TBits_1 read getPID2 write setPID2;
  8169. property PID3 : TBits_1 read getPID3 write setPID3;
  8170. end;
  8171. type
  8172. TUSBRegisters = record
  8173. U1OTGIR : longWord;
  8174. U1OTGIRCLR : longWord;
  8175. U1OTGIE : longWord;
  8176. U1OTGIECLR : longWord;
  8177. U1OTGIESET : longWord;
  8178. U1OTGIEINV : longWord;
  8179. U1OTGSTAT : longWord;
  8180. U1OTGCON : longWord;
  8181. U1OTGCONCLR : longWord;
  8182. U1OTGCONSET : longWord;
  8183. U1OTGCONINV : longWord;
  8184. U1PWRC : longWord;
  8185. U1PWRCCLR : longWord;
  8186. U1PWRCSET : longWord;
  8187. U1PWRCINV : longWord;
  8188. U1IRbits : TUSB_U1IR;
  8189. U1IR : longWord;
  8190. U1IRCLR : longWord;
  8191. U1IEbits : TUSB_U1IE;
  8192. U1IE : longWord;
  8193. U1IECLR : longWord;
  8194. U1IESET : longWord;
  8195. U1IEINV : longWord;
  8196. U1EIRbits : TUSB_U1EIR;
  8197. U1EIR : longWord;
  8198. U1EIRCLR : longWord;
  8199. U1EIEbits : TUSB_U1EIE;
  8200. U1EIE : longWord;
  8201. U1EIECLR : longWord;
  8202. U1EIESET : longWord;
  8203. U1EIEINV : longWord;
  8204. U1STATbits : TUSB_U1STAT;
  8205. U1STAT : longWord;
  8206. U1CONbits : TUSB_U1CON;
  8207. U1CON : longWord;
  8208. U1CONCLR : longWord;
  8209. U1CONSET : longWord;
  8210. U1CONINV : longWord;
  8211. U1ADDRbits : TUSB_U1ADDR;
  8212. U1ADDR : longWord;
  8213. U1ADDRCLR : longWord;
  8214. U1ADDRSET : longWord;
  8215. U1ADDRINV : longWord;
  8216. U1BDTP1 : longWord;
  8217. U1BDTP1CLR : longWord;
  8218. U1BDTP1SET : longWord;
  8219. U1BDTP1INV : longWord;
  8220. U1FRMLbits : TUSB_U1FRML;
  8221. U1FRML : longWord;
  8222. U1FRMHbits : TUSB_U1FRMH;
  8223. U1FRMH : longWord;
  8224. U1TOKbits : TUSB_U1TOK;
  8225. U1TOK : longWord;
  8226. U1TOKCLR : longWord;
  8227. U1TOKSET : longWord;
  8228. U1TOKINV : longWord;
  8229. U1SOF : longWord;
  8230. U1SOFCLR : longWord;
  8231. U1SOFSET : longWord;
  8232. U1SOFINV : longWord;
  8233. U1BDTP2 : longWord;
  8234. U1BDTP2CLR : longWord;
  8235. U1BDTP2SET : longWord;
  8236. U1BDTP2INV : longWord;
  8237. U1BDTP3 : longWord;
  8238. U1BDTP3CLR : longWord;
  8239. U1BDTP3SET : longWord;
  8240. U1BDTP3INV : longWord;
  8241. U1CNFG1 : longWord;
  8242. U1CNFG1CLR : longWord;
  8243. U1CNFG1SET : longWord;
  8244. U1CNFG1INV : longWord;
  8245. U1EP0 : longWord;
  8246. U1EP0CLR : longWord;
  8247. U1EP0SET : longWord;
  8248. U1EP0INV : longWord;
  8249. U1EP1 : longWord;
  8250. U1EP1CLR : longWord;
  8251. U1EP1SET : longWord;
  8252. U1EP1INV : longWord;
  8253. U1EP2 : longWord;
  8254. U1EP2CLR : longWord;
  8255. U1EP2SET : longWord;
  8256. U1EP2INV : longWord;
  8257. U1EP3 : longWord;
  8258. U1EP3CLR : longWord;
  8259. U1EP3SET : longWord;
  8260. U1EP3INV : longWord;
  8261. U1EP4 : longWord;
  8262. U1EP4CLR : longWord;
  8263. U1EP4SET : longWord;
  8264. U1EP4INV : longWord;
  8265. U1EP5 : longWord;
  8266. U1EP5CLR : longWord;
  8267. U1EP5SET : longWord;
  8268. U1EP5INV : longWord;
  8269. U1EP6 : longWord;
  8270. U1EP6CLR : longWord;
  8271. U1EP6SET : longWord;
  8272. U1EP6INV : longWord;
  8273. U1EP7 : longWord;
  8274. U1EP7CLR : longWord;
  8275. U1EP7SET : longWord;
  8276. U1EP7INV : longWord;
  8277. U1EP8 : longWord;
  8278. U1EP8CLR : longWord;
  8279. U1EP8SET : longWord;
  8280. U1EP8INV : longWord;
  8281. U1EP9 : longWord;
  8282. U1EP9CLR : longWord;
  8283. U1EP9SET : longWord;
  8284. U1EP9INV : longWord;
  8285. U1EP10 : longWord;
  8286. U1EP10CLR : longWord;
  8287. U1EP10SET : longWord;
  8288. U1EP10INV : longWord;
  8289. U1EP11 : longWord;
  8290. U1EP11CLR : longWord;
  8291. U1EP11SET : longWord;
  8292. U1EP11INV : longWord;
  8293. U1EP12 : longWord;
  8294. U1EP12CLR : longWord;
  8295. U1EP12SET : longWord;
  8296. U1EP12INV : longWord;
  8297. U1EP13 : longWord;
  8298. U1EP13CLR : longWord;
  8299. U1EP13SET : longWord;
  8300. U1EP13INV : longWord;
  8301. U1EP14 : longWord;
  8302. U1EP14CLR : longWord;
  8303. U1EP14SET : longWord;
  8304. U1EP14INV : longWord;
  8305. U1EP15 : longWord;
  8306. U1EP15CLR : longWord;
  8307. U1EP15SET : longWord;
  8308. U1EP15INV : longWord;
  8309. end;
  8310. TPORTA_ANSELA = record
  8311. private
  8312. function getANSA0 : TBits_1; inline;
  8313. function getANSA1 : TBits_1; inline;
  8314. function getw : TBits_32; inline;
  8315. procedure setANSA0(thebits : TBits_1); inline;
  8316. procedure setANSA1(thebits : TBits_1); inline;
  8317. procedure setw(thebits : TBits_32); inline;
  8318. public
  8319. procedure clearANSA0; inline;
  8320. procedure clearANSA1; inline;
  8321. procedure setANSA0; inline;
  8322. procedure setANSA1; inline;
  8323. property ANSA0 : TBits_1 read getANSA0 write setANSA0;
  8324. property ANSA1 : TBits_1 read getANSA1 write setANSA1;
  8325. property w : TBits_32 read getw write setw;
  8326. end;
  8327. TPORTA_TRISA = record
  8328. private
  8329. function getTRISA0 : TBits_1; inline;
  8330. function getTRISA1 : TBits_1; inline;
  8331. function getTRISA2 : TBits_1; inline;
  8332. function getTRISA3 : TBits_1; inline;
  8333. function getTRISA4 : TBits_1; inline;
  8334. function getw : TBits_32; inline;
  8335. procedure setTRISA0(thebits : TBits_1); inline;
  8336. procedure setTRISA1(thebits : TBits_1); inline;
  8337. procedure setTRISA2(thebits : TBits_1); inline;
  8338. procedure setTRISA3(thebits : TBits_1); inline;
  8339. procedure setTRISA4(thebits : TBits_1); inline;
  8340. procedure setw(thebits : TBits_32); inline;
  8341. public
  8342. procedure clearTRISA0; inline;
  8343. procedure clearTRISA1; inline;
  8344. procedure clearTRISA2; inline;
  8345. procedure clearTRISA3; inline;
  8346. procedure clearTRISA4; inline;
  8347. procedure setTRISA0; inline;
  8348. procedure setTRISA1; inline;
  8349. procedure setTRISA2; inline;
  8350. procedure setTRISA3; inline;
  8351. procedure setTRISA4; inline;
  8352. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8353. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8354. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8355. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8356. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8357. property w : TBits_32 read getw write setw;
  8358. end;
  8359. TPORTA_PORTA = record
  8360. private
  8361. function getRA0 : TBits_1; inline;
  8362. function getRA1 : TBits_1; inline;
  8363. function getRA2 : TBits_1; inline;
  8364. function getRA3 : TBits_1; inline;
  8365. function getRA4 : TBits_1; inline;
  8366. function getw : TBits_32; inline;
  8367. procedure setRA0(thebits : TBits_1); inline;
  8368. procedure setRA1(thebits : TBits_1); inline;
  8369. procedure setRA2(thebits : TBits_1); inline;
  8370. procedure setRA3(thebits : TBits_1); inline;
  8371. procedure setRA4(thebits : TBits_1); inline;
  8372. procedure setw(thebits : TBits_32); inline;
  8373. public
  8374. procedure clearRA0; inline;
  8375. procedure clearRA1; inline;
  8376. procedure clearRA2; inline;
  8377. procedure clearRA3; inline;
  8378. procedure clearRA4; inline;
  8379. procedure setRA0; inline;
  8380. procedure setRA1; inline;
  8381. procedure setRA2; inline;
  8382. procedure setRA3; inline;
  8383. procedure setRA4; inline;
  8384. property RA0 : TBits_1 read getRA0 write setRA0;
  8385. property RA1 : TBits_1 read getRA1 write setRA1;
  8386. property RA2 : TBits_1 read getRA2 write setRA2;
  8387. property RA3 : TBits_1 read getRA3 write setRA3;
  8388. property RA4 : TBits_1 read getRA4 write setRA4;
  8389. property w : TBits_32 read getw write setw;
  8390. end;
  8391. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4);
  8392. TPortA_bitset = set of TPortA_bits;
  8393. TPORTA_LATA = record
  8394. private
  8395. function getLATA0 : TBits_1; inline;
  8396. function getLATA1 : TBits_1; inline;
  8397. function getLATA2 : TBits_1; inline;
  8398. function getLATA3 : TBits_1; inline;
  8399. function getLATA4 : TBits_1; inline;
  8400. function getw : TBits_32; inline;
  8401. procedure setLATA0(thebits : TBits_1); inline;
  8402. procedure setLATA1(thebits : TBits_1); inline;
  8403. procedure setLATA2(thebits : TBits_1); inline;
  8404. procedure setLATA3(thebits : TBits_1); inline;
  8405. procedure setLATA4(thebits : TBits_1); inline;
  8406. procedure setw(thebits : TBits_32); inline;
  8407. public
  8408. procedure clearLATA0; inline;
  8409. procedure clearLATA1; inline;
  8410. procedure clearLATA2; inline;
  8411. procedure clearLATA3; inline;
  8412. procedure clearLATA4; inline;
  8413. procedure setLATA0; inline;
  8414. procedure setLATA1; inline;
  8415. procedure setLATA2; inline;
  8416. procedure setLATA3; inline;
  8417. procedure setLATA4; inline;
  8418. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8419. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8420. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8421. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8422. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8423. property w : TBits_32 read getw write setw;
  8424. end;
  8425. TPORTA_CNPUA = record
  8426. private
  8427. function getCNPUA0 : TBits_1; inline;
  8428. function getCNPUA1 : TBits_1; inline;
  8429. function getCNPUA2 : TBits_1; inline;
  8430. function getCNPUA3 : TBits_1; inline;
  8431. function getCNPUA4 : TBits_1; inline;
  8432. function getw : TBits_32; inline;
  8433. procedure setCNPUA0(thebits : TBits_1); inline;
  8434. procedure setCNPUA1(thebits : TBits_1); inline;
  8435. procedure setCNPUA2(thebits : TBits_1); inline;
  8436. procedure setCNPUA3(thebits : TBits_1); inline;
  8437. procedure setCNPUA4(thebits : TBits_1); inline;
  8438. procedure setw(thebits : TBits_32); inline;
  8439. public
  8440. procedure clearCNPUA0; inline;
  8441. procedure clearCNPUA1; inline;
  8442. procedure clearCNPUA2; inline;
  8443. procedure clearCNPUA3; inline;
  8444. procedure clearCNPUA4; inline;
  8445. procedure setCNPUA0; inline;
  8446. procedure setCNPUA1; inline;
  8447. procedure setCNPUA2; inline;
  8448. procedure setCNPUA3; inline;
  8449. procedure setCNPUA4; inline;
  8450. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8451. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8452. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8453. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8454. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8455. property w : TBits_32 read getw write setw;
  8456. end;
  8457. TPORTA_CNPDA = record
  8458. private
  8459. function getCNPDA0 : TBits_1; inline;
  8460. function getCNPDA1 : TBits_1; inline;
  8461. function getCNPDA2 : TBits_1; inline;
  8462. function getCNPDA3 : TBits_1; inline;
  8463. function getCNPDA4 : TBits_1; inline;
  8464. function getw : TBits_32; inline;
  8465. procedure setCNPDA0(thebits : TBits_1); inline;
  8466. procedure setCNPDA1(thebits : TBits_1); inline;
  8467. procedure setCNPDA2(thebits : TBits_1); inline;
  8468. procedure setCNPDA3(thebits : TBits_1); inline;
  8469. procedure setCNPDA4(thebits : TBits_1); inline;
  8470. procedure setw(thebits : TBits_32); inline;
  8471. public
  8472. procedure clearCNPDA0; inline;
  8473. procedure clearCNPDA1; inline;
  8474. procedure clearCNPDA2; inline;
  8475. procedure clearCNPDA3; inline;
  8476. procedure clearCNPDA4; inline;
  8477. procedure setCNPDA0; inline;
  8478. procedure setCNPDA1; inline;
  8479. procedure setCNPDA2; inline;
  8480. procedure setCNPDA3; inline;
  8481. procedure setCNPDA4; inline;
  8482. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8483. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8484. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8485. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8486. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8487. property w : TBits_32 read getw write setw;
  8488. end;
  8489. TPORTA_CNCONA = record
  8490. private
  8491. function getON : TBits_1; inline;
  8492. function getSIDL : TBits_1; inline;
  8493. function getw : TBits_32; inline;
  8494. procedure setON(thebits : TBits_1); inline;
  8495. procedure setSIDL(thebits : TBits_1); inline;
  8496. procedure setw(thebits : TBits_32); inline;
  8497. public
  8498. procedure clearON; inline;
  8499. procedure clearSIDL; inline;
  8500. procedure setON; inline;
  8501. procedure setSIDL; inline;
  8502. property ON : TBits_1 read getON write setON;
  8503. property SIDL : TBits_1 read getSIDL write setSIDL;
  8504. property w : TBits_32 read getw write setw;
  8505. end;
  8506. TPORTA_CNENA = record
  8507. private
  8508. function getCNIEA0 : TBits_1; inline;
  8509. function getCNIEA1 : TBits_1; inline;
  8510. function getCNIEA2 : TBits_1; inline;
  8511. function getCNIEA3 : TBits_1; inline;
  8512. function getCNIEA4 : TBits_1; inline;
  8513. function getw : TBits_32; inline;
  8514. procedure setCNIEA0(thebits : TBits_1); inline;
  8515. procedure setCNIEA1(thebits : TBits_1); inline;
  8516. procedure setCNIEA2(thebits : TBits_1); inline;
  8517. procedure setCNIEA3(thebits : TBits_1); inline;
  8518. procedure setCNIEA4(thebits : TBits_1); inline;
  8519. procedure setw(thebits : TBits_32); inline;
  8520. public
  8521. procedure clearCNIEA0; inline;
  8522. procedure clearCNIEA1; inline;
  8523. procedure clearCNIEA2; inline;
  8524. procedure clearCNIEA3; inline;
  8525. procedure clearCNIEA4; inline;
  8526. procedure setCNIEA0; inline;
  8527. procedure setCNIEA1; inline;
  8528. procedure setCNIEA2; inline;
  8529. procedure setCNIEA3; inline;
  8530. procedure setCNIEA4; inline;
  8531. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8532. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8533. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8534. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8535. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8536. property w : TBits_32 read getw write setw;
  8537. end;
  8538. TPORTA_CNSTATA = record
  8539. private
  8540. function getCNSTATA0 : TBits_1; inline;
  8541. function getCNSTATA1 : TBits_1; inline;
  8542. function getCNSTATA2 : TBits_1; inline;
  8543. function getCNSTATA3 : TBits_1; inline;
  8544. function getCNSTATA4 : TBits_1; inline;
  8545. function getw : TBits_32; inline;
  8546. procedure setCNSTATA0(thebits : TBits_1); inline;
  8547. procedure setCNSTATA1(thebits : TBits_1); inline;
  8548. procedure setCNSTATA2(thebits : TBits_1); inline;
  8549. procedure setCNSTATA3(thebits : TBits_1); inline;
  8550. procedure setCNSTATA4(thebits : TBits_1); inline;
  8551. procedure setw(thebits : TBits_32); inline;
  8552. public
  8553. procedure clearCNSTATA0; inline;
  8554. procedure clearCNSTATA1; inline;
  8555. procedure clearCNSTATA2; inline;
  8556. procedure clearCNSTATA3; inline;
  8557. procedure clearCNSTATA4; inline;
  8558. procedure setCNSTATA0; inline;
  8559. procedure setCNSTATA1; inline;
  8560. procedure setCNSTATA2; inline;
  8561. procedure setCNSTATA3; inline;
  8562. procedure setCNSTATA4; inline;
  8563. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8564. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8565. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8566. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8567. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8568. property w : TBits_32 read getw write setw;
  8569. end;
  8570. type
  8571. TPORTARegisters = record
  8572. ANSELAbits : TPORTA_ANSELA;
  8573. ANSELA : longWord;
  8574. ANSELACLR : longWord;
  8575. ANSELASET : longWord;
  8576. ANSELAINV : longWord;
  8577. TRISAbits : TPORTA_TRISA;
  8578. TRISA : longWord;
  8579. TRISACLR : longWord;
  8580. TRISASET : longWord;
  8581. TRISAINV : longWord;
  8582. PORTAbits : TPORTA_PORTA;
  8583. PORTA : longWord;
  8584. PORTACLR : longWord;
  8585. PORTASET : longWord;
  8586. PORTAINV : longWord;
  8587. LATAbits : TPORTA_LATA;
  8588. LATA : longWord;
  8589. LATACLR : longWord;
  8590. LATASET : longWord;
  8591. LATAINV : longWord;
  8592. ODCA : longWord;
  8593. ODCACLR : longWord;
  8594. ODCASET : longWord;
  8595. ODCAINV : longWord;
  8596. CNPUAbits : TPORTA_CNPUA;
  8597. CNPUA : longWord;
  8598. CNPUACLR : longWord;
  8599. CNPUASET : longWord;
  8600. CNPUAINV : longWord;
  8601. CNPDAbits : TPORTA_CNPDA;
  8602. CNPDA : longWord;
  8603. CNPDACLR : longWord;
  8604. CNPDASET : longWord;
  8605. CNPDAINV : longWord;
  8606. CNCONAbits : TPORTA_CNCONA;
  8607. CNCONA : longWord;
  8608. CNCONACLR : longWord;
  8609. CNCONASET : longWord;
  8610. CNCONAINV : longWord;
  8611. CNENAbits : TPORTA_CNENA;
  8612. CNENA : longWord;
  8613. CNENACLR : longWord;
  8614. CNENASET : longWord;
  8615. CNENAINV : longWord;
  8616. CNSTATAbits : TPORTA_CNSTATA;
  8617. CNSTATA : longWord;
  8618. CNSTATACLR : longWord;
  8619. CNSTATASET : longWord;
  8620. CNSTATAINV : longWord;
  8621. end;
  8622. TPORTB_ANSELB = record
  8623. private
  8624. function getANSB0 : TBits_1; inline;
  8625. function getANSB1 : TBits_1; inline;
  8626. function getANSB13 : TBits_1; inline;
  8627. function getANSB14 : TBits_1; inline;
  8628. function getANSB15 : TBits_1; inline;
  8629. function getANSB2 : TBits_1; inline;
  8630. function getANSB3 : TBits_1; inline;
  8631. function getw : TBits_32; inline;
  8632. procedure setANSB0(thebits : TBits_1); inline;
  8633. procedure setANSB1(thebits : TBits_1); inline;
  8634. procedure setANSB13(thebits : TBits_1); inline;
  8635. procedure setANSB14(thebits : TBits_1); inline;
  8636. procedure setANSB15(thebits : TBits_1); inline;
  8637. procedure setANSB2(thebits : TBits_1); inline;
  8638. procedure setANSB3(thebits : TBits_1); inline;
  8639. procedure setw(thebits : TBits_32); inline;
  8640. public
  8641. procedure clearANSB0; inline;
  8642. procedure clearANSB13; inline;
  8643. procedure clearANSB14; inline;
  8644. procedure clearANSB15; inline;
  8645. procedure clearANSB1; inline;
  8646. procedure clearANSB2; inline;
  8647. procedure clearANSB3; inline;
  8648. procedure setANSB0; inline;
  8649. procedure setANSB13; inline;
  8650. procedure setANSB14; inline;
  8651. procedure setANSB15; inline;
  8652. procedure setANSB1; inline;
  8653. procedure setANSB2; inline;
  8654. procedure setANSB3; inline;
  8655. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8656. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8657. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8658. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8659. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8660. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8661. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8662. property w : TBits_32 read getw write setw;
  8663. end;
  8664. TPORTB_TRISB = record
  8665. private
  8666. function getTRISB0 : TBits_1; inline;
  8667. function getTRISB1 : TBits_1; inline;
  8668. function getTRISB10 : TBits_1; inline;
  8669. function getTRISB11 : TBits_1; inline;
  8670. function getTRISB13 : TBits_1; inline;
  8671. function getTRISB14 : TBits_1; inline;
  8672. function getTRISB15 : TBits_1; inline;
  8673. function getTRISB2 : TBits_1; inline;
  8674. function getTRISB3 : TBits_1; inline;
  8675. function getTRISB4 : TBits_1; inline;
  8676. function getTRISB5 : TBits_1; inline;
  8677. function getTRISB7 : TBits_1; inline;
  8678. function getTRISB8 : TBits_1; inline;
  8679. function getTRISB9 : TBits_1; inline;
  8680. function getw : TBits_32; inline;
  8681. procedure setTRISB0(thebits : TBits_1); inline;
  8682. procedure setTRISB1(thebits : TBits_1); inline;
  8683. procedure setTRISB10(thebits : TBits_1); inline;
  8684. procedure setTRISB11(thebits : TBits_1); inline;
  8685. procedure setTRISB13(thebits : TBits_1); inline;
  8686. procedure setTRISB14(thebits : TBits_1); inline;
  8687. procedure setTRISB15(thebits : TBits_1); inline;
  8688. procedure setTRISB2(thebits : TBits_1); inline;
  8689. procedure setTRISB3(thebits : TBits_1); inline;
  8690. procedure setTRISB4(thebits : TBits_1); inline;
  8691. procedure setTRISB5(thebits : TBits_1); inline;
  8692. procedure setTRISB7(thebits : TBits_1); inline;
  8693. procedure setTRISB8(thebits : TBits_1); inline;
  8694. procedure setTRISB9(thebits : TBits_1); inline;
  8695. procedure setw(thebits : TBits_32); inline;
  8696. public
  8697. procedure clearTRISB0; inline;
  8698. procedure clearTRISB10; inline;
  8699. procedure clearTRISB11; inline;
  8700. procedure clearTRISB13; inline;
  8701. procedure clearTRISB14; inline;
  8702. procedure clearTRISB15; inline;
  8703. procedure clearTRISB1; inline;
  8704. procedure clearTRISB2; inline;
  8705. procedure clearTRISB3; inline;
  8706. procedure clearTRISB4; inline;
  8707. procedure clearTRISB5; inline;
  8708. procedure clearTRISB7; inline;
  8709. procedure clearTRISB8; inline;
  8710. procedure clearTRISB9; inline;
  8711. procedure setTRISB0; inline;
  8712. procedure setTRISB10; inline;
  8713. procedure setTRISB11; inline;
  8714. procedure setTRISB13; inline;
  8715. procedure setTRISB14; inline;
  8716. procedure setTRISB15; inline;
  8717. procedure setTRISB1; inline;
  8718. procedure setTRISB2; inline;
  8719. procedure setTRISB3; inline;
  8720. procedure setTRISB4; inline;
  8721. procedure setTRISB5; inline;
  8722. procedure setTRISB7; inline;
  8723. procedure setTRISB8; inline;
  8724. procedure setTRISB9; inline;
  8725. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8726. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8727. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8728. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8729. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8730. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8731. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8732. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8733. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8734. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8735. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8736. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8737. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8738. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8739. property w : TBits_32 read getw write setw;
  8740. end;
  8741. TPORTB_PORTB = record
  8742. private
  8743. function getRB0 : TBits_1; inline;
  8744. function getRB1 : TBits_1; inline;
  8745. function getRB10 : TBits_1; inline;
  8746. function getRB11 : TBits_1; inline;
  8747. function getRB13 : TBits_1; inline;
  8748. function getRB14 : TBits_1; inline;
  8749. function getRB15 : TBits_1; inline;
  8750. function getRB2 : TBits_1; inline;
  8751. function getRB3 : TBits_1; inline;
  8752. function getRB4 : TBits_1; inline;
  8753. function getRB5 : TBits_1; inline;
  8754. function getRB7 : TBits_1; inline;
  8755. function getRB8 : TBits_1; inline;
  8756. function getRB9 : TBits_1; inline;
  8757. function getw : TBits_32; inline;
  8758. procedure setRB0(thebits : TBits_1); inline;
  8759. procedure setRB1(thebits : TBits_1); inline;
  8760. procedure setRB10(thebits : TBits_1); inline;
  8761. procedure setRB11(thebits : TBits_1); inline;
  8762. procedure setRB13(thebits : TBits_1); inline;
  8763. procedure setRB14(thebits : TBits_1); inline;
  8764. procedure setRB15(thebits : TBits_1); inline;
  8765. procedure setRB2(thebits : TBits_1); inline;
  8766. procedure setRB3(thebits : TBits_1); inline;
  8767. procedure setRB4(thebits : TBits_1); inline;
  8768. procedure setRB5(thebits : TBits_1); inline;
  8769. procedure setRB7(thebits : TBits_1); inline;
  8770. procedure setRB8(thebits : TBits_1); inline;
  8771. procedure setRB9(thebits : TBits_1); inline;
  8772. procedure setw(thebits : TBits_32); inline;
  8773. public
  8774. procedure clearRB0; inline;
  8775. procedure clearRB10; inline;
  8776. procedure clearRB11; inline;
  8777. procedure clearRB13; inline;
  8778. procedure clearRB14; inline;
  8779. procedure clearRB15; inline;
  8780. procedure clearRB1; inline;
  8781. procedure clearRB2; inline;
  8782. procedure clearRB3; inline;
  8783. procedure clearRB4; inline;
  8784. procedure clearRB5; inline;
  8785. procedure clearRB7; inline;
  8786. procedure clearRB8; inline;
  8787. procedure clearRB9; inline;
  8788. procedure setRB0; inline;
  8789. procedure setRB10; inline;
  8790. procedure setRB11; inline;
  8791. procedure setRB13; inline;
  8792. procedure setRB14; inline;
  8793. procedure setRB15; inline;
  8794. procedure setRB1; inline;
  8795. procedure setRB2; inline;
  8796. procedure setRB3; inline;
  8797. procedure setRB4; inline;
  8798. procedure setRB5; inline;
  8799. procedure setRB7; inline;
  8800. procedure setRB8; inline;
  8801. procedure setRB9; inline;
  8802. property RB0 : TBits_1 read getRB0 write setRB0;
  8803. property RB1 : TBits_1 read getRB1 write setRB1;
  8804. property RB10 : TBits_1 read getRB10 write setRB10;
  8805. property RB11 : TBits_1 read getRB11 write setRB11;
  8806. property RB13 : TBits_1 read getRB13 write setRB13;
  8807. property RB14 : TBits_1 read getRB14 write setRB14;
  8808. property RB15 : TBits_1 read getRB15 write setRB15;
  8809. property RB2 : TBits_1 read getRB2 write setRB2;
  8810. property RB3 : TBits_1 read getRB3 write setRB3;
  8811. property RB4 : TBits_1 read getRB4 write setRB4;
  8812. property RB5 : TBits_1 read getRB5 write setRB5;
  8813. property RB7 : TBits_1 read getRB7 write setRB7;
  8814. property RB8 : TBits_1 read getRB8 write setRB8;
  8815. property RB9 : TBits_1 read getRB9 write setRB9;
  8816. property w : TBits_32 read getw write setw;
  8817. end;
  8818. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB13=13,RB14=14,RB15=15);
  8819. TPortB_bitset = set of TPortB_bits;
  8820. TPORTB_LATB = record
  8821. private
  8822. function getLATB0 : TBits_1; inline;
  8823. function getLATB1 : TBits_1; inline;
  8824. function getLATB10 : TBits_1; inline;
  8825. function getLATB11 : TBits_1; inline;
  8826. function getLATB13 : TBits_1; inline;
  8827. function getLATB14 : TBits_1; inline;
  8828. function getLATB15 : TBits_1; inline;
  8829. function getLATB2 : TBits_1; inline;
  8830. function getLATB3 : TBits_1; inline;
  8831. function getLATB4 : TBits_1; inline;
  8832. function getLATB5 : TBits_1; inline;
  8833. function getLATB7 : TBits_1; inline;
  8834. function getLATB8 : TBits_1; inline;
  8835. function getLATB9 : TBits_1; inline;
  8836. function getw : TBits_32; inline;
  8837. procedure setLATB0(thebits : TBits_1); inline;
  8838. procedure setLATB1(thebits : TBits_1); inline;
  8839. procedure setLATB10(thebits : TBits_1); inline;
  8840. procedure setLATB11(thebits : TBits_1); inline;
  8841. procedure setLATB13(thebits : TBits_1); inline;
  8842. procedure setLATB14(thebits : TBits_1); inline;
  8843. procedure setLATB15(thebits : TBits_1); inline;
  8844. procedure setLATB2(thebits : TBits_1); inline;
  8845. procedure setLATB3(thebits : TBits_1); inline;
  8846. procedure setLATB4(thebits : TBits_1); inline;
  8847. procedure setLATB5(thebits : TBits_1); inline;
  8848. procedure setLATB7(thebits : TBits_1); inline;
  8849. procedure setLATB8(thebits : TBits_1); inline;
  8850. procedure setLATB9(thebits : TBits_1); inline;
  8851. procedure setw(thebits : TBits_32); inline;
  8852. public
  8853. procedure clearLATB0; inline;
  8854. procedure clearLATB10; inline;
  8855. procedure clearLATB11; inline;
  8856. procedure clearLATB13; inline;
  8857. procedure clearLATB14; inline;
  8858. procedure clearLATB15; inline;
  8859. procedure clearLATB1; inline;
  8860. procedure clearLATB2; inline;
  8861. procedure clearLATB3; inline;
  8862. procedure clearLATB4; inline;
  8863. procedure clearLATB5; inline;
  8864. procedure clearLATB7; inline;
  8865. procedure clearLATB8; inline;
  8866. procedure clearLATB9; inline;
  8867. procedure setLATB0; inline;
  8868. procedure setLATB10; inline;
  8869. procedure setLATB11; inline;
  8870. procedure setLATB13; inline;
  8871. procedure setLATB14; inline;
  8872. procedure setLATB15; inline;
  8873. procedure setLATB1; inline;
  8874. procedure setLATB2; inline;
  8875. procedure setLATB3; inline;
  8876. procedure setLATB4; inline;
  8877. procedure setLATB5; inline;
  8878. procedure setLATB7; inline;
  8879. procedure setLATB8; inline;
  8880. procedure setLATB9; inline;
  8881. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  8882. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  8883. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  8884. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  8885. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  8886. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  8887. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  8888. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  8889. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  8890. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  8891. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  8892. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  8893. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  8894. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  8895. property w : TBits_32 read getw write setw;
  8896. end;
  8897. TPORTB_ODCB = record
  8898. private
  8899. function getODCB10 : TBits_1; inline;
  8900. function getODCB11 : TBits_1; inline;
  8901. function getODCB4 : TBits_1; inline;
  8902. function getODCB5 : TBits_1; inline;
  8903. function getODCB7 : TBits_1; inline;
  8904. function getODCB8 : TBits_1; inline;
  8905. function getODCB9 : TBits_1; inline;
  8906. function getw : TBits_32; inline;
  8907. procedure setODCB10(thebits : TBits_1); inline;
  8908. procedure setODCB11(thebits : TBits_1); inline;
  8909. procedure setODCB4(thebits : TBits_1); inline;
  8910. procedure setODCB5(thebits : TBits_1); inline;
  8911. procedure setODCB7(thebits : TBits_1); inline;
  8912. procedure setODCB8(thebits : TBits_1); inline;
  8913. procedure setODCB9(thebits : TBits_1); inline;
  8914. procedure setw(thebits : TBits_32); inline;
  8915. public
  8916. procedure clearODCB10; inline;
  8917. procedure clearODCB11; inline;
  8918. procedure clearODCB4; inline;
  8919. procedure clearODCB5; inline;
  8920. procedure clearODCB7; inline;
  8921. procedure clearODCB8; inline;
  8922. procedure clearODCB9; inline;
  8923. procedure setODCB10; inline;
  8924. procedure setODCB11; inline;
  8925. procedure setODCB4; inline;
  8926. procedure setODCB5; inline;
  8927. procedure setODCB7; inline;
  8928. procedure setODCB8; inline;
  8929. procedure setODCB9; inline;
  8930. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  8931. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  8932. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  8933. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  8934. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  8935. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  8936. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  8937. property w : TBits_32 read getw write setw;
  8938. end;
  8939. TPORTB_CNPUB = record
  8940. private
  8941. function getCNPUB0 : TBits_1; inline;
  8942. function getCNPUB1 : TBits_1; inline;
  8943. function getCNPUB10 : TBits_1; inline;
  8944. function getCNPUB11 : TBits_1; inline;
  8945. function getCNPUB13 : TBits_1; inline;
  8946. function getCNPUB14 : TBits_1; inline;
  8947. function getCNPUB15 : TBits_1; inline;
  8948. function getCNPUB2 : TBits_1; inline;
  8949. function getCNPUB3 : TBits_1; inline;
  8950. function getCNPUB4 : TBits_1; inline;
  8951. function getCNPUB5 : TBits_1; inline;
  8952. function getCNPUB7 : TBits_1; inline;
  8953. function getCNPUB8 : TBits_1; inline;
  8954. function getCNPUB9 : TBits_1; inline;
  8955. function getw : TBits_32; inline;
  8956. procedure setCNPUB0(thebits : TBits_1); inline;
  8957. procedure setCNPUB1(thebits : TBits_1); inline;
  8958. procedure setCNPUB10(thebits : TBits_1); inline;
  8959. procedure setCNPUB11(thebits : TBits_1); inline;
  8960. procedure setCNPUB13(thebits : TBits_1); inline;
  8961. procedure setCNPUB14(thebits : TBits_1); inline;
  8962. procedure setCNPUB15(thebits : TBits_1); inline;
  8963. procedure setCNPUB2(thebits : TBits_1); inline;
  8964. procedure setCNPUB3(thebits : TBits_1); inline;
  8965. procedure setCNPUB4(thebits : TBits_1); inline;
  8966. procedure setCNPUB5(thebits : TBits_1); inline;
  8967. procedure setCNPUB7(thebits : TBits_1); inline;
  8968. procedure setCNPUB8(thebits : TBits_1); inline;
  8969. procedure setCNPUB9(thebits : TBits_1); inline;
  8970. procedure setw(thebits : TBits_32); inline;
  8971. public
  8972. procedure clearCNPUB0; inline;
  8973. procedure clearCNPUB10; inline;
  8974. procedure clearCNPUB11; inline;
  8975. procedure clearCNPUB13; inline;
  8976. procedure clearCNPUB14; inline;
  8977. procedure clearCNPUB15; inline;
  8978. procedure clearCNPUB1; inline;
  8979. procedure clearCNPUB2; inline;
  8980. procedure clearCNPUB3; inline;
  8981. procedure clearCNPUB4; inline;
  8982. procedure clearCNPUB5; inline;
  8983. procedure clearCNPUB7; inline;
  8984. procedure clearCNPUB8; inline;
  8985. procedure clearCNPUB9; inline;
  8986. procedure setCNPUB0; inline;
  8987. procedure setCNPUB10; inline;
  8988. procedure setCNPUB11; inline;
  8989. procedure setCNPUB13; inline;
  8990. procedure setCNPUB14; inline;
  8991. procedure setCNPUB15; inline;
  8992. procedure setCNPUB1; inline;
  8993. procedure setCNPUB2; inline;
  8994. procedure setCNPUB3; inline;
  8995. procedure setCNPUB4; inline;
  8996. procedure setCNPUB5; inline;
  8997. procedure setCNPUB7; inline;
  8998. procedure setCNPUB8; inline;
  8999. procedure setCNPUB9; inline;
  9000. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9001. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9002. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9003. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9004. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9005. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9006. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9007. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9008. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9009. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9010. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9011. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9012. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9013. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9014. property w : TBits_32 read getw write setw;
  9015. end;
  9016. TPORTB_CNPDB = record
  9017. private
  9018. function getCNPDB0 : TBits_1; inline;
  9019. function getCNPDB1 : TBits_1; inline;
  9020. function getCNPDB10 : TBits_1; inline;
  9021. function getCNPDB11 : TBits_1; inline;
  9022. function getCNPDB13 : TBits_1; inline;
  9023. function getCNPDB14 : TBits_1; inline;
  9024. function getCNPDB15 : TBits_1; inline;
  9025. function getCNPDB2 : TBits_1; inline;
  9026. function getCNPDB3 : TBits_1; inline;
  9027. function getCNPDB4 : TBits_1; inline;
  9028. function getCNPDB5 : TBits_1; inline;
  9029. function getCNPDB7 : TBits_1; inline;
  9030. function getCNPDB8 : TBits_1; inline;
  9031. function getCNPDB9 : TBits_1; inline;
  9032. function getw : TBits_32; inline;
  9033. procedure setCNPDB0(thebits : TBits_1); inline;
  9034. procedure setCNPDB1(thebits : TBits_1); inline;
  9035. procedure setCNPDB10(thebits : TBits_1); inline;
  9036. procedure setCNPDB11(thebits : TBits_1); inline;
  9037. procedure setCNPDB13(thebits : TBits_1); inline;
  9038. procedure setCNPDB14(thebits : TBits_1); inline;
  9039. procedure setCNPDB15(thebits : TBits_1); inline;
  9040. procedure setCNPDB2(thebits : TBits_1); inline;
  9041. procedure setCNPDB3(thebits : TBits_1); inline;
  9042. procedure setCNPDB4(thebits : TBits_1); inline;
  9043. procedure setCNPDB5(thebits : TBits_1); inline;
  9044. procedure setCNPDB7(thebits : TBits_1); inline;
  9045. procedure setCNPDB8(thebits : TBits_1); inline;
  9046. procedure setCNPDB9(thebits : TBits_1); inline;
  9047. procedure setw(thebits : TBits_32); inline;
  9048. public
  9049. procedure clearCNPDB0; inline;
  9050. procedure clearCNPDB10; inline;
  9051. procedure clearCNPDB11; inline;
  9052. procedure clearCNPDB13; inline;
  9053. procedure clearCNPDB14; inline;
  9054. procedure clearCNPDB15; inline;
  9055. procedure clearCNPDB1; inline;
  9056. procedure clearCNPDB2; inline;
  9057. procedure clearCNPDB3; inline;
  9058. procedure clearCNPDB4; inline;
  9059. procedure clearCNPDB5; inline;
  9060. procedure clearCNPDB7; inline;
  9061. procedure clearCNPDB8; inline;
  9062. procedure clearCNPDB9; inline;
  9063. procedure setCNPDB0; inline;
  9064. procedure setCNPDB10; inline;
  9065. procedure setCNPDB11; inline;
  9066. procedure setCNPDB13; inline;
  9067. procedure setCNPDB14; inline;
  9068. procedure setCNPDB15; inline;
  9069. procedure setCNPDB1; inline;
  9070. procedure setCNPDB2; inline;
  9071. procedure setCNPDB3; inline;
  9072. procedure setCNPDB4; inline;
  9073. procedure setCNPDB5; inline;
  9074. procedure setCNPDB7; inline;
  9075. procedure setCNPDB8; inline;
  9076. procedure setCNPDB9; inline;
  9077. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9078. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9079. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9080. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9081. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9082. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9083. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9084. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9085. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9086. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9087. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9088. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9089. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9090. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9091. property w : TBits_32 read getw write setw;
  9092. end;
  9093. TPORTB_CNCONB = record
  9094. private
  9095. function getON : TBits_1; inline;
  9096. function getSIDL : TBits_1; inline;
  9097. function getw : TBits_32; inline;
  9098. procedure setON(thebits : TBits_1); inline;
  9099. procedure setSIDL(thebits : TBits_1); inline;
  9100. procedure setw(thebits : TBits_32); inline;
  9101. public
  9102. procedure clearON; inline;
  9103. procedure clearSIDL; inline;
  9104. procedure setON; inline;
  9105. procedure setSIDL; inline;
  9106. property ON : TBits_1 read getON write setON;
  9107. property SIDL : TBits_1 read getSIDL write setSIDL;
  9108. property w : TBits_32 read getw write setw;
  9109. end;
  9110. TPORTB_CNENB = record
  9111. private
  9112. function getCNIEB0 : TBits_1; inline;
  9113. function getCNIEB1 : TBits_1; inline;
  9114. function getCNIEB10 : TBits_1; inline;
  9115. function getCNIEB11 : TBits_1; inline;
  9116. function getCNIEB13 : TBits_1; inline;
  9117. function getCNIEB14 : TBits_1; inline;
  9118. function getCNIEB15 : TBits_1; inline;
  9119. function getCNIEB2 : TBits_1; inline;
  9120. function getCNIEB3 : TBits_1; inline;
  9121. function getCNIEB4 : TBits_1; inline;
  9122. function getCNIEB5 : TBits_1; inline;
  9123. function getCNIEB7 : TBits_1; inline;
  9124. function getCNIEB8 : TBits_1; inline;
  9125. function getCNIEB9 : TBits_1; inline;
  9126. function getw : TBits_32; inline;
  9127. procedure setCNIEB0(thebits : TBits_1); inline;
  9128. procedure setCNIEB1(thebits : TBits_1); inline;
  9129. procedure setCNIEB10(thebits : TBits_1); inline;
  9130. procedure setCNIEB11(thebits : TBits_1); inline;
  9131. procedure setCNIEB13(thebits : TBits_1); inline;
  9132. procedure setCNIEB14(thebits : TBits_1); inline;
  9133. procedure setCNIEB15(thebits : TBits_1); inline;
  9134. procedure setCNIEB2(thebits : TBits_1); inline;
  9135. procedure setCNIEB3(thebits : TBits_1); inline;
  9136. procedure setCNIEB4(thebits : TBits_1); inline;
  9137. procedure setCNIEB5(thebits : TBits_1); inline;
  9138. procedure setCNIEB7(thebits : TBits_1); inline;
  9139. procedure setCNIEB8(thebits : TBits_1); inline;
  9140. procedure setCNIEB9(thebits : TBits_1); inline;
  9141. procedure setw(thebits : TBits_32); inline;
  9142. public
  9143. procedure clearCNIEB0; inline;
  9144. procedure clearCNIEB10; inline;
  9145. procedure clearCNIEB11; inline;
  9146. procedure clearCNIEB13; inline;
  9147. procedure clearCNIEB14; inline;
  9148. procedure clearCNIEB15; inline;
  9149. procedure clearCNIEB1; inline;
  9150. procedure clearCNIEB2; inline;
  9151. procedure clearCNIEB3; inline;
  9152. procedure clearCNIEB4; inline;
  9153. procedure clearCNIEB5; inline;
  9154. procedure clearCNIEB7; inline;
  9155. procedure clearCNIEB8; inline;
  9156. procedure clearCNIEB9; inline;
  9157. procedure setCNIEB0; inline;
  9158. procedure setCNIEB10; inline;
  9159. procedure setCNIEB11; inline;
  9160. procedure setCNIEB13; inline;
  9161. procedure setCNIEB14; inline;
  9162. procedure setCNIEB15; inline;
  9163. procedure setCNIEB1; inline;
  9164. procedure setCNIEB2; inline;
  9165. procedure setCNIEB3; inline;
  9166. procedure setCNIEB4; inline;
  9167. procedure setCNIEB5; inline;
  9168. procedure setCNIEB7; inline;
  9169. procedure setCNIEB8; inline;
  9170. procedure setCNIEB9; inline;
  9171. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9172. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9173. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9174. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9175. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9176. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9177. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9178. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9179. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9180. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9181. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9182. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9183. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9184. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9185. property w : TBits_32 read getw write setw;
  9186. end;
  9187. TPORTB_CNSTATB = record
  9188. private
  9189. function getCNSTATB0 : TBits_1; inline;
  9190. function getCNSTATB1 : TBits_1; inline;
  9191. function getCNSTATB10 : TBits_1; inline;
  9192. function getCNSTATB11 : TBits_1; inline;
  9193. function getCNSTATB13 : TBits_1; inline;
  9194. function getCNSTATB14 : TBits_1; inline;
  9195. function getCNSTATB15 : TBits_1; inline;
  9196. function getCNSTATB2 : TBits_1; inline;
  9197. function getCNSTATB3 : TBits_1; inline;
  9198. function getCNSTATB4 : TBits_1; inline;
  9199. function getCNSTATB5 : TBits_1; inline;
  9200. function getCNSTATB7 : TBits_1; inline;
  9201. function getCNSTATB8 : TBits_1; inline;
  9202. function getCNSTATB9 : TBits_1; inline;
  9203. function getw : TBits_32; inline;
  9204. procedure setCNSTATB0(thebits : TBits_1); inline;
  9205. procedure setCNSTATB1(thebits : TBits_1); inline;
  9206. procedure setCNSTATB10(thebits : TBits_1); inline;
  9207. procedure setCNSTATB11(thebits : TBits_1); inline;
  9208. procedure setCNSTATB13(thebits : TBits_1); inline;
  9209. procedure setCNSTATB14(thebits : TBits_1); inline;
  9210. procedure setCNSTATB15(thebits : TBits_1); inline;
  9211. procedure setCNSTATB2(thebits : TBits_1); inline;
  9212. procedure setCNSTATB3(thebits : TBits_1); inline;
  9213. procedure setCNSTATB4(thebits : TBits_1); inline;
  9214. procedure setCNSTATB5(thebits : TBits_1); inline;
  9215. procedure setCNSTATB7(thebits : TBits_1); inline;
  9216. procedure setCNSTATB8(thebits : TBits_1); inline;
  9217. procedure setCNSTATB9(thebits : TBits_1); inline;
  9218. procedure setw(thebits : TBits_32); inline;
  9219. public
  9220. procedure clearCNSTATB0; inline;
  9221. procedure clearCNSTATB10; inline;
  9222. procedure clearCNSTATB11; inline;
  9223. procedure clearCNSTATB13; inline;
  9224. procedure clearCNSTATB14; inline;
  9225. procedure clearCNSTATB15; inline;
  9226. procedure clearCNSTATB1; inline;
  9227. procedure clearCNSTATB2; inline;
  9228. procedure clearCNSTATB3; inline;
  9229. procedure clearCNSTATB4; inline;
  9230. procedure clearCNSTATB5; inline;
  9231. procedure clearCNSTATB7; inline;
  9232. procedure clearCNSTATB8; inline;
  9233. procedure clearCNSTATB9; inline;
  9234. procedure setCNSTATB0; inline;
  9235. procedure setCNSTATB10; inline;
  9236. procedure setCNSTATB11; inline;
  9237. procedure setCNSTATB13; inline;
  9238. procedure setCNSTATB14; inline;
  9239. procedure setCNSTATB15; inline;
  9240. procedure setCNSTATB1; inline;
  9241. procedure setCNSTATB2; inline;
  9242. procedure setCNSTATB3; inline;
  9243. procedure setCNSTATB4; inline;
  9244. procedure setCNSTATB5; inline;
  9245. procedure setCNSTATB7; inline;
  9246. procedure setCNSTATB8; inline;
  9247. procedure setCNSTATB9; inline;
  9248. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9249. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9250. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9251. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9252. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9253. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9254. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9255. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9256. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9257. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9258. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9259. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9260. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9261. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9262. property w : TBits_32 read getw write setw;
  9263. end;
  9264. type
  9265. TPORTBRegisters = record
  9266. ANSELBbits : TPORTB_ANSELB;
  9267. ANSELB : longWord;
  9268. ANSELBCLR : longWord;
  9269. ANSELBSET : longWord;
  9270. ANSELBINV : longWord;
  9271. TRISBbits : TPORTB_TRISB;
  9272. TRISB : longWord;
  9273. TRISBCLR : longWord;
  9274. TRISBSET : longWord;
  9275. TRISBINV : longWord;
  9276. PORTBbits : TPORTB_PORTB;
  9277. PORTB : longWord;
  9278. PORTBCLR : longWord;
  9279. PORTBSET : longWord;
  9280. PORTBINV : longWord;
  9281. LATBbits : TPORTB_LATB;
  9282. LATB : longWord;
  9283. LATBCLR : longWord;
  9284. LATBSET : longWord;
  9285. LATBINV : longWord;
  9286. ODCBbits : TPORTB_ODCB;
  9287. ODCB : longWord;
  9288. ODCBCLR : longWord;
  9289. ODCBSET : longWord;
  9290. ODCBINV : longWord;
  9291. CNPUBbits : TPORTB_CNPUB;
  9292. CNPUB : longWord;
  9293. CNPUBCLR : longWord;
  9294. CNPUBSET : longWord;
  9295. CNPUBINV : longWord;
  9296. CNPDBbits : TPORTB_CNPDB;
  9297. CNPDB : longWord;
  9298. CNPDBCLR : longWord;
  9299. CNPDBSET : longWord;
  9300. CNPDBINV : longWord;
  9301. CNCONBbits : TPORTB_CNCONB;
  9302. CNCONB : longWord;
  9303. CNCONBCLR : longWord;
  9304. CNCONBSET : longWord;
  9305. CNCONBINV : longWord;
  9306. CNENBbits : TPORTB_CNENB;
  9307. CNENB : longWord;
  9308. CNENBCLR : longWord;
  9309. CNENBSET : longWord;
  9310. CNENBINV : longWord;
  9311. CNSTATBbits : TPORTB_CNSTATB;
  9312. CNSTATB : longWord;
  9313. CNSTATBCLR : longWord;
  9314. CNSTATBSET : longWord;
  9315. CNSTATBINV : longWord;
  9316. end;
  9317. TPORTC_ANSELC = record
  9318. private
  9319. function getANSC0 : TBits_1; inline;
  9320. function getANSC1 : TBits_1; inline;
  9321. function getANSC3 : TBits_1; inline;
  9322. function getw : TBits_32; inline;
  9323. procedure setANSC0(thebits : TBits_1); inline;
  9324. procedure setANSC1(thebits : TBits_1); inline;
  9325. procedure setANSC3(thebits : TBits_1); inline;
  9326. procedure setw(thebits : TBits_32); inline;
  9327. public
  9328. procedure clearANSC0; inline;
  9329. procedure clearANSC1; inline;
  9330. procedure clearANSC3; inline;
  9331. procedure setANSC0; inline;
  9332. procedure setANSC1; inline;
  9333. procedure setANSC3; inline;
  9334. property ANSC0 : TBits_1 read getANSC0 write setANSC0;
  9335. property ANSC1 : TBits_1 read getANSC1 write setANSC1;
  9336. property ANSC3 : TBits_1 read getANSC3 write setANSC3;
  9337. property w : TBits_32 read getw write setw;
  9338. end;
  9339. TPORTC_TRISC = record
  9340. private
  9341. function getTRISC0 : TBits_1; inline;
  9342. function getTRISC1 : TBits_1; inline;
  9343. function getTRISC3 : TBits_1; inline;
  9344. function getTRISC9 : TBits_1; inline;
  9345. function getw : TBits_32; inline;
  9346. procedure setTRISC0(thebits : TBits_1); inline;
  9347. procedure setTRISC1(thebits : TBits_1); inline;
  9348. procedure setTRISC3(thebits : TBits_1); inline;
  9349. procedure setTRISC9(thebits : TBits_1); inline;
  9350. procedure setw(thebits : TBits_32); inline;
  9351. public
  9352. procedure clearTRISC0; inline;
  9353. procedure clearTRISC1; inline;
  9354. procedure clearTRISC3; inline;
  9355. procedure clearTRISC9; inline;
  9356. procedure setTRISC0; inline;
  9357. procedure setTRISC1; inline;
  9358. procedure setTRISC3; inline;
  9359. procedure setTRISC9; inline;
  9360. property TRISC0 : TBits_1 read getTRISC0 write setTRISC0;
  9361. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  9362. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  9363. property TRISC9 : TBits_1 read getTRISC9 write setTRISC9;
  9364. property w : TBits_32 read getw write setw;
  9365. end;
  9366. TPORTC_PORTC = record
  9367. private
  9368. function getRC0 : TBits_1; inline;
  9369. function getRC1 : TBits_1; inline;
  9370. function getRC3 : TBits_1; inline;
  9371. function getRC9 : TBits_1; inline;
  9372. function getw : TBits_32; inline;
  9373. procedure setRC0(thebits : TBits_1); inline;
  9374. procedure setRC1(thebits : TBits_1); inline;
  9375. procedure setRC3(thebits : TBits_1); inline;
  9376. procedure setRC9(thebits : TBits_1); inline;
  9377. procedure setw(thebits : TBits_32); inline;
  9378. public
  9379. procedure clearRC0; inline;
  9380. procedure clearRC1; inline;
  9381. procedure clearRC3; inline;
  9382. procedure clearRC9; inline;
  9383. procedure setRC0; inline;
  9384. procedure setRC1; inline;
  9385. procedure setRC3; inline;
  9386. procedure setRC9; inline;
  9387. property RC0 : TBits_1 read getRC0 write setRC0;
  9388. property RC1 : TBits_1 read getRC1 write setRC1;
  9389. property RC3 : TBits_1 read getRC3 write setRC3;
  9390. property RC9 : TBits_1 read getRC9 write setRC9;
  9391. property w : TBits_32 read getw write setw;
  9392. end;
  9393. TPortC_bits=(RC0=0,RC1=1,RC3=3,RC9=9);
  9394. TPortC_bitset = set of TPortC_bits;
  9395. TPORTC_LATC = record
  9396. private
  9397. function getLATC0 : TBits_1; inline;
  9398. function getLATC1 : TBits_1; inline;
  9399. function getLATC3 : TBits_1; inline;
  9400. function getLATC9 : TBits_1; inline;
  9401. function getw : TBits_32; inline;
  9402. procedure setLATC0(thebits : TBits_1); inline;
  9403. procedure setLATC1(thebits : TBits_1); inline;
  9404. procedure setLATC3(thebits : TBits_1); inline;
  9405. procedure setLATC9(thebits : TBits_1); inline;
  9406. procedure setw(thebits : TBits_32); inline;
  9407. public
  9408. procedure clearLATC0; inline;
  9409. procedure clearLATC1; inline;
  9410. procedure clearLATC3; inline;
  9411. procedure clearLATC9; inline;
  9412. procedure setLATC0; inline;
  9413. procedure setLATC1; inline;
  9414. procedure setLATC3; inline;
  9415. procedure setLATC9; inline;
  9416. property LATC0 : TBits_1 read getLATC0 write setLATC0;
  9417. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  9418. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  9419. property LATC9 : TBits_1 read getLATC9 write setLATC9;
  9420. property w : TBits_32 read getw write setw;
  9421. end;
  9422. TPORTC_ODCC = record
  9423. private
  9424. function getODCC9 : TBits_1; inline;
  9425. function getw : TBits_32; inline;
  9426. procedure setODCC9(thebits : TBits_1); inline;
  9427. procedure setw(thebits : TBits_32); inline;
  9428. public
  9429. procedure clearODCC9; inline;
  9430. procedure setODCC9; inline;
  9431. property ODCC9 : TBits_1 read getODCC9 write setODCC9;
  9432. property w : TBits_32 read getw write setw;
  9433. end;
  9434. TPORTC_CNPUC = record
  9435. private
  9436. function getCNPUC0 : TBits_1; inline;
  9437. function getCNPUC1 : TBits_1; inline;
  9438. function getCNPUC3 : TBits_1; inline;
  9439. function getCNPUC9 : TBits_1; inline;
  9440. function getw : TBits_32; inline;
  9441. procedure setCNPUC0(thebits : TBits_1); inline;
  9442. procedure setCNPUC1(thebits : TBits_1); inline;
  9443. procedure setCNPUC3(thebits : TBits_1); inline;
  9444. procedure setCNPUC9(thebits : TBits_1); inline;
  9445. procedure setw(thebits : TBits_32); inline;
  9446. public
  9447. procedure clearCNPUC0; inline;
  9448. procedure clearCNPUC1; inline;
  9449. procedure clearCNPUC3; inline;
  9450. procedure clearCNPUC9; inline;
  9451. procedure setCNPUC0; inline;
  9452. procedure setCNPUC1; inline;
  9453. procedure setCNPUC3; inline;
  9454. procedure setCNPUC9; inline;
  9455. property CNPUC0 : TBits_1 read getCNPUC0 write setCNPUC0;
  9456. property CNPUC1 : TBits_1 read getCNPUC1 write setCNPUC1;
  9457. property CNPUC3 : TBits_1 read getCNPUC3 write setCNPUC3;
  9458. property CNPUC9 : TBits_1 read getCNPUC9 write setCNPUC9;
  9459. property w : TBits_32 read getw write setw;
  9460. end;
  9461. TPORTC_CNPDC = record
  9462. private
  9463. function getCNPDC0 : TBits_1; inline;
  9464. function getCNPDC1 : TBits_1; inline;
  9465. function getCNPDC3 : TBits_1; inline;
  9466. function getCNPDC9 : TBits_1; inline;
  9467. function getw : TBits_32; inline;
  9468. procedure setCNPDC0(thebits : TBits_1); inline;
  9469. procedure setCNPDC1(thebits : TBits_1); inline;
  9470. procedure setCNPDC3(thebits : TBits_1); inline;
  9471. procedure setCNPDC9(thebits : TBits_1); inline;
  9472. procedure setw(thebits : TBits_32); inline;
  9473. public
  9474. procedure clearCNPDC0; inline;
  9475. procedure clearCNPDC1; inline;
  9476. procedure clearCNPDC3; inline;
  9477. procedure clearCNPDC9; inline;
  9478. procedure setCNPDC0; inline;
  9479. procedure setCNPDC1; inline;
  9480. procedure setCNPDC3; inline;
  9481. procedure setCNPDC9; inline;
  9482. property CNPDC0 : TBits_1 read getCNPDC0 write setCNPDC0;
  9483. property CNPDC1 : TBits_1 read getCNPDC1 write setCNPDC1;
  9484. property CNPDC3 : TBits_1 read getCNPDC3 write setCNPDC3;
  9485. property CNPDC9 : TBits_1 read getCNPDC9 write setCNPDC9;
  9486. property w : TBits_32 read getw write setw;
  9487. end;
  9488. TPORTC_CNCONC = record
  9489. private
  9490. function getON : TBits_1; inline;
  9491. function getSIDL : TBits_1; inline;
  9492. function getw : TBits_32; inline;
  9493. procedure setON(thebits : TBits_1); inline;
  9494. procedure setSIDL(thebits : TBits_1); inline;
  9495. procedure setw(thebits : TBits_32); inline;
  9496. public
  9497. procedure clearON; inline;
  9498. procedure clearSIDL; inline;
  9499. procedure setON; inline;
  9500. procedure setSIDL; inline;
  9501. property ON : TBits_1 read getON write setON;
  9502. property SIDL : TBits_1 read getSIDL write setSIDL;
  9503. property w : TBits_32 read getw write setw;
  9504. end;
  9505. TPORTC_CNENC = record
  9506. private
  9507. function getCNIEC0 : TBits_1; inline;
  9508. function getCNIEC1 : TBits_1; inline;
  9509. function getCNIEC3 : TBits_1; inline;
  9510. function getCNIEC9 : TBits_1; inline;
  9511. function getw : TBits_32; inline;
  9512. procedure setCNIEC0(thebits : TBits_1); inline;
  9513. procedure setCNIEC1(thebits : TBits_1); inline;
  9514. procedure setCNIEC3(thebits : TBits_1); inline;
  9515. procedure setCNIEC9(thebits : TBits_1); inline;
  9516. procedure setw(thebits : TBits_32); inline;
  9517. public
  9518. procedure clearCNIEC0; inline;
  9519. procedure clearCNIEC1; inline;
  9520. procedure clearCNIEC3; inline;
  9521. procedure clearCNIEC9; inline;
  9522. procedure setCNIEC0; inline;
  9523. procedure setCNIEC1; inline;
  9524. procedure setCNIEC3; inline;
  9525. procedure setCNIEC9; inline;
  9526. property CNIEC0 : TBits_1 read getCNIEC0 write setCNIEC0;
  9527. property CNIEC1 : TBits_1 read getCNIEC1 write setCNIEC1;
  9528. property CNIEC3 : TBits_1 read getCNIEC3 write setCNIEC3;
  9529. property CNIEC9 : TBits_1 read getCNIEC9 write setCNIEC9;
  9530. property w : TBits_32 read getw write setw;
  9531. end;
  9532. TPORTC_CNSTATC = record
  9533. private
  9534. function getCNSTATC0 : TBits_1; inline;
  9535. function getCNSTATC1 : TBits_1; inline;
  9536. function getCNSTATC3 : TBits_1; inline;
  9537. function getCNSTATC9 : TBits_1; inline;
  9538. function getw : TBits_32; inline;
  9539. procedure setCNSTATC0(thebits : TBits_1); inline;
  9540. procedure setCNSTATC1(thebits : TBits_1); inline;
  9541. procedure setCNSTATC3(thebits : TBits_1); inline;
  9542. procedure setCNSTATC9(thebits : TBits_1); inline;
  9543. procedure setw(thebits : TBits_32); inline;
  9544. public
  9545. procedure clearCNSTATC0; inline;
  9546. procedure clearCNSTATC1; inline;
  9547. procedure clearCNSTATC3; inline;
  9548. procedure clearCNSTATC9; inline;
  9549. procedure setCNSTATC0; inline;
  9550. procedure setCNSTATC1; inline;
  9551. procedure setCNSTATC3; inline;
  9552. procedure setCNSTATC9; inline;
  9553. property CNSTATC0 : TBits_1 read getCNSTATC0 write setCNSTATC0;
  9554. property CNSTATC1 : TBits_1 read getCNSTATC1 write setCNSTATC1;
  9555. property CNSTATC3 : TBits_1 read getCNSTATC3 write setCNSTATC3;
  9556. property CNSTATC9 : TBits_1 read getCNSTATC9 write setCNSTATC9;
  9557. property w : TBits_32 read getw write setw;
  9558. end;
  9559. type
  9560. TPORTCRegisters = record
  9561. ANSELCbits : TPORTC_ANSELC;
  9562. ANSELC : longWord;
  9563. ANSELCCLR : longWord;
  9564. ANSELCSET : longWord;
  9565. ANSELCINV : longWord;
  9566. TRISCbits : TPORTC_TRISC;
  9567. TRISC : longWord;
  9568. TRISCCLR : longWord;
  9569. TRISCSET : longWord;
  9570. TRISCINV : longWord;
  9571. PORTCbits : TPORTC_PORTC;
  9572. PORTC : longWord;
  9573. PORTCCLR : longWord;
  9574. PORTCSET : longWord;
  9575. PORTCINV : longWord;
  9576. LATCbits : TPORTC_LATC;
  9577. LATC : longWord;
  9578. LATCCLR : longWord;
  9579. LATCSET : longWord;
  9580. LATCINV : longWord;
  9581. ODCCbits : TPORTC_ODCC;
  9582. ODCC : longWord;
  9583. ODCCCLR : longWord;
  9584. ODCCSET : longWord;
  9585. ODCCINV : longWord;
  9586. CNPUCbits : TPORTC_CNPUC;
  9587. CNPUC : longWord;
  9588. CNPUCCLR : longWord;
  9589. CNPUCSET : longWord;
  9590. CNPUCINV : longWord;
  9591. CNPDCbits : TPORTC_CNPDC;
  9592. CNPDC : longWord;
  9593. CNPDCCLR : longWord;
  9594. CNPDCSET : longWord;
  9595. CNPDCINV : longWord;
  9596. CNCONCbits : TPORTC_CNCONC;
  9597. CNCONC : longWord;
  9598. CNCONCCLR : longWord;
  9599. CNCONCSET : longWord;
  9600. CNCONCINV : longWord;
  9601. CNENCbits : TPORTC_CNENC;
  9602. CNENC : longWord;
  9603. CNENCCLR : longWord;
  9604. CNENCSET : longWord;
  9605. CNENCINV : longWord;
  9606. CNSTATCbits : TPORTC_CNSTATC;
  9607. CNSTATC : longWord;
  9608. CNSTATCCLR : longWord;
  9609. CNSTATCSET : longWord;
  9610. CNSTATCINV : longWord;
  9611. end;
  9612. TDEVCFG_DEVCFG3 = record
  9613. private
  9614. function getFUSBIDIO : TBits_1; inline;
  9615. function getFVBUSONIO : TBits_1; inline;
  9616. function getIOL1WAY : TBits_1; inline;
  9617. function getPMDL1WAY : TBits_1; inline;
  9618. function getUSERID : TBits_16; inline;
  9619. function getw : TBits_32; inline;
  9620. procedure setFUSBIDIO(thebits : TBits_1); inline;
  9621. procedure setFVBUSONIO(thebits : TBits_1); inline;
  9622. procedure setIOL1WAY(thebits : TBits_1); inline;
  9623. procedure setPMDL1WAY(thebits : TBits_1); inline;
  9624. procedure setUSERID(thebits : TBits_16); inline;
  9625. procedure setw(thebits : TBits_32); inline;
  9626. public
  9627. procedure clearFUSBIDIO; inline;
  9628. procedure clearFVBUSONIO; inline;
  9629. procedure clearIOL1WAY; inline;
  9630. procedure clearPMDL1WAY; inline;
  9631. procedure setFUSBIDIO; inline;
  9632. procedure setFVBUSONIO; inline;
  9633. procedure setIOL1WAY; inline;
  9634. procedure setPMDL1WAY; inline;
  9635. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  9636. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  9637. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  9638. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  9639. property USERID : TBits_16 read getUSERID write setUSERID;
  9640. property w : TBits_32 read getw write setw;
  9641. end;
  9642. TDEVCFG_DEVCFG2 = record
  9643. private
  9644. function getFPLLIDIV : TBits_3; inline;
  9645. function getFPLLMUL : TBits_3; inline;
  9646. function getFPLLODIV : TBits_3; inline;
  9647. function getUPLLEN : TBits_1; inline;
  9648. function getUPLLIDIV : TBits_3; inline;
  9649. function getw : TBits_32; inline;
  9650. procedure setFPLLIDIV(thebits : TBits_3); inline;
  9651. procedure setFPLLMUL(thebits : TBits_3); inline;
  9652. procedure setFPLLODIV(thebits : TBits_3); inline;
  9653. procedure setUPLLEN(thebits : TBits_1); inline;
  9654. procedure setUPLLIDIV(thebits : TBits_3); inline;
  9655. procedure setw(thebits : TBits_32); inline;
  9656. public
  9657. procedure clearUPLLEN; inline;
  9658. procedure setUPLLEN; inline;
  9659. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  9660. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  9661. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  9662. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  9663. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  9664. property w : TBits_32 read getw write setw;
  9665. end;
  9666. TDEVCFG_DEVCFG1 = record
  9667. private
  9668. function getFCKSM : TBits_2; inline;
  9669. function getFNOSC : TBits_3; inline;
  9670. function getFPBDIV : TBits_2; inline;
  9671. function getFSOSCEN : TBits_1; inline;
  9672. function getFWDTEN : TBits_1; inline;
  9673. function getFWDTWINSZ : TBits_2; inline;
  9674. function getIESO : TBits_1; inline;
  9675. function getOSCIOFNC : TBits_1; inline;
  9676. function getPOSCMOD : TBits_2; inline;
  9677. function getWDTPS : TBits_5; inline;
  9678. function getWINDIS : TBits_1; inline;
  9679. function getw : TBits_32; inline;
  9680. procedure setFCKSM(thebits : TBits_2); inline;
  9681. procedure setFNOSC(thebits : TBits_3); inline;
  9682. procedure setFPBDIV(thebits : TBits_2); inline;
  9683. procedure setFSOSCEN(thebits : TBits_1); inline;
  9684. procedure setFWDTEN(thebits : TBits_1); inline;
  9685. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  9686. procedure setIESO(thebits : TBits_1); inline;
  9687. procedure setOSCIOFNC(thebits : TBits_1); inline;
  9688. procedure setPOSCMOD(thebits : TBits_2); inline;
  9689. procedure setWDTPS(thebits : TBits_5); inline;
  9690. procedure setWINDIS(thebits : TBits_1); inline;
  9691. procedure setw(thebits : TBits_32); inline;
  9692. public
  9693. procedure clearFSOSCEN; inline;
  9694. procedure clearFWDTEN; inline;
  9695. procedure clearIESO; inline;
  9696. procedure clearOSCIOFNC; inline;
  9697. procedure clearWINDIS; inline;
  9698. procedure setFSOSCEN; inline;
  9699. procedure setFWDTEN; inline;
  9700. procedure setIESO; inline;
  9701. procedure setOSCIOFNC; inline;
  9702. procedure setWINDIS; inline;
  9703. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  9704. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  9705. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  9706. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  9707. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  9708. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  9709. property IESO : TBits_1 read getIESO write setIESO;
  9710. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  9711. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  9712. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  9713. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  9714. property w : TBits_32 read getw write setw;
  9715. end;
  9716. TDEVCFG_DEVCFG0 = record
  9717. private
  9718. function getBWP : TBits_1; inline;
  9719. function getCP : TBits_1; inline;
  9720. function getDEBUG : TBits_2; inline;
  9721. function getFDEBUG : TBits_2; inline;
  9722. function getICESEL : TBits_2; inline;
  9723. function getJTAGEN : TBits_1; inline;
  9724. function getPWP : TBits_6; inline;
  9725. function getw : TBits_32; inline;
  9726. procedure setBWP(thebits : TBits_1); inline;
  9727. procedure setCP(thebits : TBits_1); inline;
  9728. procedure setDEBUG(thebits : TBits_2); inline;
  9729. procedure setFDEBUG(thebits : TBits_2); inline;
  9730. procedure setICESEL(thebits : TBits_2); inline;
  9731. procedure setJTAGEN(thebits : TBits_1); inline;
  9732. procedure setPWP(thebits : TBits_6); inline;
  9733. procedure setw(thebits : TBits_32); inline;
  9734. public
  9735. procedure clearBWP; inline;
  9736. procedure clearCP; inline;
  9737. procedure clearJTAGEN; inline;
  9738. procedure setBWP; inline;
  9739. procedure setCP; inline;
  9740. procedure setJTAGEN; inline;
  9741. property BWP : TBits_1 read getBWP write setBWP;
  9742. property CP : TBits_1 read getCP write setCP;
  9743. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  9744. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  9745. property ICESEL : TBits_2 read getICESEL write setICESEL;
  9746. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  9747. property PWP : TBits_6 read getPWP write setPWP;
  9748. property w : TBits_32 read getw write setw;
  9749. end;
  9750. const
  9751. _CORE_TIMER_IRQ = 0;
  9752. _CORE_SOFTWARE_0_IRQ = 1;
  9753. _CORE_SOFTWARE_1_IRQ = 2;
  9754. _EXTERNAL_0_IRQ = 3;
  9755. _TIMER_1_IRQ = 4;
  9756. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  9757. _INPUT_CAPTURE_1_IRQ = 6;
  9758. _OUTPUT_COMPARE_1_IRQ = 7;
  9759. _EXTERNAL_1_IRQ = 8;
  9760. _TIMER_2_IRQ = 9;
  9761. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  9762. _INPUT_CAPTURE_2_IRQ = 11;
  9763. _OUTPUT_COMPARE_2_IRQ = 12;
  9764. _EXTERNAL_2_IRQ = 13;
  9765. _TIMER_3_IRQ = 14;
  9766. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  9767. _INPUT_CAPTURE_3_IRQ = 16;
  9768. _OUTPUT_COMPARE_3_IRQ = 17;
  9769. _EXTERNAL_3_IRQ = 18;
  9770. _TIMER_4_IRQ = 19;
  9771. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  9772. _INPUT_CAPTURE_4_IRQ = 21;
  9773. _OUTPUT_COMPARE_4_IRQ = 22;
  9774. _EXTERNAL_4_IRQ = 23;
  9775. _TIMER_5_IRQ = 24;
  9776. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  9777. _INPUT_CAPTURE_5_IRQ = 26;
  9778. _OUTPUT_COMPARE_5_IRQ = 27;
  9779. _ADC_IRQ = 28;
  9780. _FAIL_SAFE_MONITOR_IRQ = 29;
  9781. _RTCC_IRQ = 30;
  9782. _FLASH_CONTROL_IRQ = 31;
  9783. _COMPARATOR_1_IRQ = 32;
  9784. _COMPARATOR_2_IRQ = 33;
  9785. _COMPARATOR_3_IRQ = 34;
  9786. _USB_IRQ = 35;
  9787. _SPI1_ERR_IRQ = 36;
  9788. _SPI1_RX_IRQ = 37;
  9789. _SPI1_TX_IRQ = 38;
  9790. _UART1_ERR_IRQ = 39;
  9791. _UART1_RX_IRQ = 40;
  9792. _UART1_TX_IRQ = 41;
  9793. _I2C1_BUS_IRQ = 42;
  9794. _I2C1_SLAVE_IRQ = 43;
  9795. _I2C1_MASTER_IRQ = 44;
  9796. _CHANGE_NOTICE_A_IRQ = 45;
  9797. _CHANGE_NOTICE_B_IRQ = 46;
  9798. _CHANGE_NOTICE_C_IRQ = 47;
  9799. _PMP_IRQ = 48;
  9800. _PMP_ERROR_IRQ = 49;
  9801. _SPI2_ERR_IRQ = 50;
  9802. _SPI2_RX_IRQ = 51;
  9803. _SPI2_TX_IRQ = 52;
  9804. _UART2_ERR_IRQ = 53;
  9805. _UART2_RX_IRQ = 54;
  9806. _UART2_TX_IRQ = 55;
  9807. _I2C2_BUS_IRQ = 56;
  9808. _I2C2_SLAVE_IRQ = 57;
  9809. _I2C2_MASTER_IRQ = 58;
  9810. _CTMU_IRQ = 59;
  9811. _DMA0_IRQ = 60;
  9812. _DMA1_IRQ = 61;
  9813. _DMA2_IRQ = 62;
  9814. _DMA3_IRQ = 63;
  9815. const
  9816. ADC10_BASE_ADDRESS = $BF809000;
  9817. var
  9818. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  9819. const
  9820. BMX_BASE_ADDRESS = $BF882000;
  9821. var
  9822. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  9823. const
  9824. CFG_BASE_ADDRESS = $BF80F200;
  9825. var
  9826. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  9827. const
  9828. CMP_BASE_ADDRESS = $BF80A000;
  9829. var
  9830. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  9831. const
  9832. CVR_BASE_ADDRESS = $BF809800;
  9833. var
  9834. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  9835. const
  9836. DMAC_BASE_ADDRESS = $BF883000;
  9837. var
  9838. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  9839. const
  9840. DMAC0_BASE_ADDRESS = $BF883060;
  9841. var
  9842. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  9843. const
  9844. DMAC1_BASE_ADDRESS = $BF883120;
  9845. var
  9846. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  9847. const
  9848. DMAC2_BASE_ADDRESS = $BF8831E0;
  9849. var
  9850. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  9851. const
  9852. DMAC3_BASE_ADDRESS = $BF8832A0;
  9853. var
  9854. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  9855. const
  9856. I2C1_BASE_ADDRESS = $BF805000;
  9857. var
  9858. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  9859. const
  9860. I2C2_BASE_ADDRESS = $BF805100;
  9861. var
  9862. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  9863. const
  9864. ICAP1_BASE_ADDRESS = $BF802000;
  9865. var
  9866. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  9867. const
  9868. ICAP2_BASE_ADDRESS = $BF802200;
  9869. var
  9870. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  9871. const
  9872. ICAP3_BASE_ADDRESS = $BF802400;
  9873. var
  9874. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  9875. const
  9876. ICAP4_BASE_ADDRESS = $BF802600;
  9877. var
  9878. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  9879. const
  9880. ICAP5_BASE_ADDRESS = $BF802800;
  9881. var
  9882. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  9883. const
  9884. INT_BASE_ADDRESS = $BF881000;
  9885. var
  9886. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  9887. const
  9888. NVM_BASE_ADDRESS = $BF80F400;
  9889. var
  9890. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  9891. const
  9892. OCMP1_BASE_ADDRESS = $BF803000;
  9893. var
  9894. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  9895. const
  9896. OCMP2_BASE_ADDRESS = $BF803200;
  9897. var
  9898. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  9899. const
  9900. OCMP3_BASE_ADDRESS = $BF803400;
  9901. var
  9902. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  9903. const
  9904. OCMP4_BASE_ADDRESS = $BF803600;
  9905. var
  9906. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  9907. const
  9908. OCMP5_BASE_ADDRESS = $BF803800;
  9909. var
  9910. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  9911. const
  9912. OSC_BASE_ADDRESS = $BF80F000;
  9913. var
  9914. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  9915. const
  9916. PMP_BASE_ADDRESS = $BF807000;
  9917. var
  9918. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  9919. const
  9920. PORTA_BASE_ADDRESS = $BF886000;
  9921. var
  9922. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  9923. const
  9924. PORTB_BASE_ADDRESS = $BF886100;
  9925. var
  9926. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  9927. const
  9928. PORTC_BASE_ADDRESS = $BF886200;
  9929. var
  9930. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  9931. const
  9932. RCON_BASE_ADDRESS = $BF80F600;
  9933. var
  9934. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  9935. const
  9936. RTCC_BASE_ADDRESS = $BF800200;
  9937. var
  9938. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  9939. const
  9940. SPI1_BASE_ADDRESS = $BF805800;
  9941. var
  9942. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  9943. const
  9944. SPI2_BASE_ADDRESS = $BF805A00;
  9945. var
  9946. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  9947. const
  9948. TMR1_BASE_ADDRESS = $BF800600;
  9949. var
  9950. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  9951. const
  9952. TMR2_BASE_ADDRESS = $BF800800;
  9953. var
  9954. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  9955. const
  9956. TMR3_BASE_ADDRESS = $BF800A00;
  9957. var
  9958. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  9959. const
  9960. TMR4_BASE_ADDRESS = $BF800C00;
  9961. var
  9962. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  9963. const
  9964. TMR5_BASE_ADDRESS = $BF800E00;
  9965. var
  9966. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  9967. const
  9968. UART1_BASE_ADDRESS = $BF806000;
  9969. var
  9970. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  9971. const
  9972. UART2_BASE_ADDRESS = $BF806200;
  9973. var
  9974. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  9975. const
  9976. USB_BASE_ADDRESS = $BF885040;
  9977. var
  9978. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  9979. const
  9980. WDT_BASE_ADDRESS = $BF800000;
  9981. var
  9982. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  9983. implementation
  9984. type
  9985. TDefRegMap = record
  9986. val : longWord;
  9987. clr : longWord;
  9988. &set : longWord;
  9989. inv : longWord;
  9990. end;
  9991. pTDefRegMap = ^TDefRegMap;
  9992. procedure TWDT_WDTCON.setWDTCLR; inline;
  9993. begin
  9994. pTDefRegMap(@Self)^.&set := $00000001;
  9995. end;
  9996. procedure TWDT_WDTCON.clearWDTCLR; inline;
  9997. begin
  9998. pTDefRegMap(@Self)^.clr := $00000001;
  9999. end;
  10000. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  10001. begin
  10002. if thebits = 0 then
  10003. pTDefRegMap(@Self)^.clr := $00000001
  10004. else
  10005. pTDefRegMap(@Self)^.&set := $00000001;
  10006. end;
  10007. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  10008. begin
  10009. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10010. end;
  10011. procedure TWDT_WDTCON.setWDTWINEN; inline;
  10012. begin
  10013. pTDefRegMap(@Self)^.&set := $00000002;
  10014. end;
  10015. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  10016. begin
  10017. pTDefRegMap(@Self)^.clr := $00000002;
  10018. end;
  10019. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  10020. begin
  10021. if thebits = 0 then
  10022. pTDefRegMap(@Self)^.clr := $00000002
  10023. else
  10024. pTDefRegMap(@Self)^.&set := $00000002;
  10025. end;
  10026. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  10027. begin
  10028. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10029. end;
  10030. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  10031. begin
  10032. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10033. end;
  10034. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  10035. begin
  10036. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10037. end;
  10038. procedure TWDT_WDTCON.setON; inline;
  10039. begin
  10040. pTDefRegMap(@Self)^.&set := $00008000;
  10041. end;
  10042. procedure TWDT_WDTCON.clearON; inline;
  10043. begin
  10044. pTDefRegMap(@Self)^.clr := $00008000;
  10045. end;
  10046. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  10047. begin
  10048. if thebits = 0 then
  10049. pTDefRegMap(@Self)^.clr := $00008000
  10050. else
  10051. pTDefRegMap(@Self)^.&set := $00008000;
  10052. end;
  10053. function TWDT_WDTCON.getON : TBits_1; inline;
  10054. begin
  10055. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10056. end;
  10057. procedure TWDT_WDTCON.setSWDTPS0; inline;
  10058. begin
  10059. pTDefRegMap(@Self)^.&set := $00000004;
  10060. end;
  10061. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  10062. begin
  10063. pTDefRegMap(@Self)^.clr := $00000004;
  10064. end;
  10065. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  10066. begin
  10067. if thebits = 0 then
  10068. pTDefRegMap(@Self)^.clr := $00000004
  10069. else
  10070. pTDefRegMap(@Self)^.&set := $00000004;
  10071. end;
  10072. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  10073. begin
  10074. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10075. end;
  10076. procedure TWDT_WDTCON.setSWDTPS1; inline;
  10077. begin
  10078. pTDefRegMap(@Self)^.&set := $00000008;
  10079. end;
  10080. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  10081. begin
  10082. pTDefRegMap(@Self)^.clr := $00000008;
  10083. end;
  10084. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  10085. begin
  10086. if thebits = 0 then
  10087. pTDefRegMap(@Self)^.clr := $00000008
  10088. else
  10089. pTDefRegMap(@Self)^.&set := $00000008;
  10090. end;
  10091. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  10092. begin
  10093. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10094. end;
  10095. procedure TWDT_WDTCON.setSWDTPS2; inline;
  10096. begin
  10097. pTDefRegMap(@Self)^.&set := $00000010;
  10098. end;
  10099. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  10100. begin
  10101. pTDefRegMap(@Self)^.clr := $00000010;
  10102. end;
  10103. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  10104. begin
  10105. if thebits = 0 then
  10106. pTDefRegMap(@Self)^.clr := $00000010
  10107. else
  10108. pTDefRegMap(@Self)^.&set := $00000010;
  10109. end;
  10110. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  10111. begin
  10112. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10113. end;
  10114. procedure TWDT_WDTCON.setSWDTPS3; inline;
  10115. begin
  10116. pTDefRegMap(@Self)^.&set := $00000020;
  10117. end;
  10118. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  10119. begin
  10120. pTDefRegMap(@Self)^.clr := $00000020;
  10121. end;
  10122. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  10123. begin
  10124. if thebits = 0 then
  10125. pTDefRegMap(@Self)^.clr := $00000020
  10126. else
  10127. pTDefRegMap(@Self)^.&set := $00000020;
  10128. end;
  10129. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  10130. begin
  10131. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10132. end;
  10133. procedure TWDT_WDTCON.setSWDTPS4; inline;
  10134. begin
  10135. pTDefRegMap(@Self)^.&set := $00000040;
  10136. end;
  10137. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  10138. begin
  10139. pTDefRegMap(@Self)^.clr := $00000040;
  10140. end;
  10141. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  10142. begin
  10143. if thebits = 0 then
  10144. pTDefRegMap(@Self)^.clr := $00000040
  10145. else
  10146. pTDefRegMap(@Self)^.&set := $00000040;
  10147. end;
  10148. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  10149. begin
  10150. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10151. end;
  10152. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  10153. begin
  10154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10155. end;
  10156. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  10157. begin
  10158. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10159. end;
  10160. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  10161. begin
  10162. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10163. end;
  10164. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  10165. begin
  10166. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10167. end;
  10168. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  10169. begin
  10170. pTDefRegMap(@Self)^.val := thebits;
  10171. end;
  10172. function TWDT_WDTCON.getw : TBits_32; inline;
  10173. begin
  10174. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10175. end;
  10176. procedure TRTCC_RTCCON.setRTCOE; inline;
  10177. begin
  10178. pTDefRegMap(@Self)^.&set := $00000001;
  10179. end;
  10180. procedure TRTCC_RTCCON.clearRTCOE; inline;
  10181. begin
  10182. pTDefRegMap(@Self)^.clr := $00000001;
  10183. end;
  10184. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  10185. begin
  10186. if thebits = 0 then
  10187. pTDefRegMap(@Self)^.clr := $00000001
  10188. else
  10189. pTDefRegMap(@Self)^.&set := $00000001;
  10190. end;
  10191. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  10192. begin
  10193. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10194. end;
  10195. procedure TRTCC_RTCCON.setHALFSEC; inline;
  10196. begin
  10197. pTDefRegMap(@Self)^.&set := $00000002;
  10198. end;
  10199. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  10200. begin
  10201. pTDefRegMap(@Self)^.clr := $00000002;
  10202. end;
  10203. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  10204. begin
  10205. if thebits = 0 then
  10206. pTDefRegMap(@Self)^.clr := $00000002
  10207. else
  10208. pTDefRegMap(@Self)^.&set := $00000002;
  10209. end;
  10210. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  10211. begin
  10212. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10213. end;
  10214. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  10215. begin
  10216. pTDefRegMap(@Self)^.&set := $00000004;
  10217. end;
  10218. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  10219. begin
  10220. pTDefRegMap(@Self)^.clr := $00000004;
  10221. end;
  10222. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  10223. begin
  10224. if thebits = 0 then
  10225. pTDefRegMap(@Self)^.clr := $00000004
  10226. else
  10227. pTDefRegMap(@Self)^.&set := $00000004;
  10228. end;
  10229. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  10230. begin
  10231. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10232. end;
  10233. procedure TRTCC_RTCCON.setRTCWREN; inline;
  10234. begin
  10235. pTDefRegMap(@Self)^.&set := $00000008;
  10236. end;
  10237. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  10238. begin
  10239. pTDefRegMap(@Self)^.clr := $00000008;
  10240. end;
  10241. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  10242. begin
  10243. if thebits = 0 then
  10244. pTDefRegMap(@Self)^.clr := $00000008
  10245. else
  10246. pTDefRegMap(@Self)^.&set := $00000008;
  10247. end;
  10248. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  10249. begin
  10250. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10251. end;
  10252. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  10253. begin
  10254. pTDefRegMap(@Self)^.&set := $00000040;
  10255. end;
  10256. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  10257. begin
  10258. pTDefRegMap(@Self)^.clr := $00000040;
  10259. end;
  10260. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  10261. begin
  10262. if thebits = 0 then
  10263. pTDefRegMap(@Self)^.clr := $00000040
  10264. else
  10265. pTDefRegMap(@Self)^.&set := $00000040;
  10266. end;
  10267. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  10268. begin
  10269. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10270. end;
  10271. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  10272. begin
  10273. pTDefRegMap(@Self)^.&set := $00000080;
  10274. end;
  10275. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  10276. begin
  10277. pTDefRegMap(@Self)^.clr := $00000080;
  10278. end;
  10279. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  10280. begin
  10281. if thebits = 0 then
  10282. pTDefRegMap(@Self)^.clr := $00000080
  10283. else
  10284. pTDefRegMap(@Self)^.&set := $00000080;
  10285. end;
  10286. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  10287. begin
  10288. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10289. end;
  10290. procedure TRTCC_RTCCON.setSIDL; inline;
  10291. begin
  10292. pTDefRegMap(@Self)^.&set := $00002000;
  10293. end;
  10294. procedure TRTCC_RTCCON.clearSIDL; inline;
  10295. begin
  10296. pTDefRegMap(@Self)^.clr := $00002000;
  10297. end;
  10298. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10299. begin
  10300. if thebits = 0 then
  10301. pTDefRegMap(@Self)^.clr := $00002000
  10302. else
  10303. pTDefRegMap(@Self)^.&set := $00002000;
  10304. end;
  10305. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10306. begin
  10307. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10308. end;
  10309. procedure TRTCC_RTCCON.setON; inline;
  10310. begin
  10311. pTDefRegMap(@Self)^.&set := $00008000;
  10312. end;
  10313. procedure TRTCC_RTCCON.clearON; inline;
  10314. begin
  10315. pTDefRegMap(@Self)^.clr := $00008000;
  10316. end;
  10317. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10318. begin
  10319. if thebits = 0 then
  10320. pTDefRegMap(@Self)^.clr := $00008000
  10321. else
  10322. pTDefRegMap(@Self)^.&set := $00008000;
  10323. end;
  10324. function TRTCC_RTCCON.getON : TBits_1; inline;
  10325. begin
  10326. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10327. end;
  10328. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10329. begin
  10330. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10331. end;
  10332. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10333. begin
  10334. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10335. end;
  10336. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10337. begin
  10338. pTDefRegMap(@Self)^.val := thebits;
  10339. end;
  10340. function TRTCC_RTCCON.getw : TBits_32; inline;
  10341. begin
  10342. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10343. end;
  10344. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10345. begin
  10346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10347. end;
  10348. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10349. begin
  10350. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10351. end;
  10352. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10353. begin
  10354. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10355. end;
  10356. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10357. begin
  10358. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10359. end;
  10360. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10361. begin
  10362. pTDefRegMap(@Self)^.&set := $00001000;
  10363. end;
  10364. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10365. begin
  10366. pTDefRegMap(@Self)^.clr := $00001000;
  10367. end;
  10368. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10369. begin
  10370. if thebits = 0 then
  10371. pTDefRegMap(@Self)^.clr := $00001000
  10372. else
  10373. pTDefRegMap(@Self)^.&set := $00001000;
  10374. end;
  10375. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10376. begin
  10377. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10378. end;
  10379. procedure TRTCC_RTCALRM.setPIV; inline;
  10380. begin
  10381. pTDefRegMap(@Self)^.&set := $00002000;
  10382. end;
  10383. procedure TRTCC_RTCALRM.clearPIV; inline;
  10384. begin
  10385. pTDefRegMap(@Self)^.clr := $00002000;
  10386. end;
  10387. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10388. begin
  10389. if thebits = 0 then
  10390. pTDefRegMap(@Self)^.clr := $00002000
  10391. else
  10392. pTDefRegMap(@Self)^.&set := $00002000;
  10393. end;
  10394. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10395. begin
  10396. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10397. end;
  10398. procedure TRTCC_RTCALRM.setCHIME; inline;
  10399. begin
  10400. pTDefRegMap(@Self)^.&set := $00004000;
  10401. end;
  10402. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10403. begin
  10404. pTDefRegMap(@Self)^.clr := $00004000;
  10405. end;
  10406. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10407. begin
  10408. if thebits = 0 then
  10409. pTDefRegMap(@Self)^.clr := $00004000
  10410. else
  10411. pTDefRegMap(@Self)^.&set := $00004000;
  10412. end;
  10413. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10414. begin
  10415. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10416. end;
  10417. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10418. begin
  10419. pTDefRegMap(@Self)^.&set := $00008000;
  10420. end;
  10421. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10422. begin
  10423. pTDefRegMap(@Self)^.clr := $00008000;
  10424. end;
  10425. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10426. begin
  10427. if thebits = 0 then
  10428. pTDefRegMap(@Self)^.clr := $00008000
  10429. else
  10430. pTDefRegMap(@Self)^.&set := $00008000;
  10431. end;
  10432. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10433. begin
  10434. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10435. end;
  10436. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10437. begin
  10438. pTDefRegMap(@Self)^.val := thebits;
  10439. end;
  10440. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10441. begin
  10442. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10443. end;
  10444. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10445. begin
  10446. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10447. end;
  10448. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10449. begin
  10450. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10451. end;
  10452. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10453. begin
  10454. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10455. end;
  10456. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10457. begin
  10458. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10459. end;
  10460. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10461. begin
  10462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10463. end;
  10464. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10465. begin
  10466. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10467. end;
  10468. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10469. begin
  10470. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10471. end;
  10472. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10473. begin
  10474. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10475. end;
  10476. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10477. begin
  10478. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10479. end;
  10480. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10481. begin
  10482. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10483. end;
  10484. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10485. begin
  10486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10487. end;
  10488. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10489. begin
  10490. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10491. end;
  10492. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10493. begin
  10494. pTDefRegMap(@Self)^.val := thebits;
  10495. end;
  10496. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10497. begin
  10498. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10499. end;
  10500. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10501. begin
  10502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10503. end;
  10504. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10505. begin
  10506. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10507. end;
  10508. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10509. begin
  10510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10511. end;
  10512. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  10513. begin
  10514. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10515. end;
  10516. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  10517. begin
  10518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10519. end;
  10520. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  10521. begin
  10522. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10523. end;
  10524. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  10525. begin
  10526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10527. end;
  10528. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  10529. begin
  10530. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10531. end;
  10532. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  10533. begin
  10534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10535. end;
  10536. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  10537. begin
  10538. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10539. end;
  10540. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  10541. begin
  10542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10543. end;
  10544. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  10545. begin
  10546. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10547. end;
  10548. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  10549. begin
  10550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10551. end;
  10552. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  10553. begin
  10554. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10555. end;
  10556. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  10557. begin
  10558. pTDefRegMap(@Self)^.val := thebits;
  10559. end;
  10560. function TRTCC_RTCDATE.getw : TBits_32; inline;
  10561. begin
  10562. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10563. end;
  10564. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  10565. begin
  10566. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10567. end;
  10568. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  10569. begin
  10570. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10571. end;
  10572. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  10573. begin
  10574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10575. end;
  10576. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  10577. begin
  10578. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10579. end;
  10580. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  10581. begin
  10582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10583. end;
  10584. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  10585. begin
  10586. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10587. end;
  10588. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  10589. begin
  10590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10591. end;
  10592. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  10593. begin
  10594. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10595. end;
  10596. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  10597. begin
  10598. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10599. end;
  10600. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  10601. begin
  10602. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10603. end;
  10604. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  10605. begin
  10606. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10607. end;
  10608. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  10609. begin
  10610. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10611. end;
  10612. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  10613. begin
  10614. pTDefRegMap(@Self)^.val := thebits;
  10615. end;
  10616. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  10617. begin
  10618. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10619. end;
  10620. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  10621. begin
  10622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10623. end;
  10624. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  10625. begin
  10626. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10627. end;
  10628. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  10629. begin
  10630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10631. end;
  10632. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  10633. begin
  10634. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10635. end;
  10636. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  10637. begin
  10638. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10639. end;
  10640. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  10641. begin
  10642. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10643. end;
  10644. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  10645. begin
  10646. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10647. end;
  10648. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  10649. begin
  10650. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10651. end;
  10652. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  10653. begin
  10654. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10655. end;
  10656. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  10657. begin
  10658. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10659. end;
  10660. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  10661. begin
  10662. pTDefRegMap(@Self)^.val := thebits;
  10663. end;
  10664. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  10665. begin
  10666. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10667. end;
  10668. procedure TTMR1_T1CON.setTCS; inline;
  10669. begin
  10670. pTDefRegMap(@Self)^.&set := $00000002;
  10671. end;
  10672. procedure TTMR1_T1CON.clearTCS; inline;
  10673. begin
  10674. pTDefRegMap(@Self)^.clr := $00000002;
  10675. end;
  10676. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  10677. begin
  10678. if thebits = 0 then
  10679. pTDefRegMap(@Self)^.clr := $00000002
  10680. else
  10681. pTDefRegMap(@Self)^.&set := $00000002;
  10682. end;
  10683. function TTMR1_T1CON.getTCS : TBits_1; inline;
  10684. begin
  10685. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10686. end;
  10687. procedure TTMR1_T1CON.setTSYNC; inline;
  10688. begin
  10689. pTDefRegMap(@Self)^.&set := $00000004;
  10690. end;
  10691. procedure TTMR1_T1CON.clearTSYNC; inline;
  10692. begin
  10693. pTDefRegMap(@Self)^.clr := $00000004;
  10694. end;
  10695. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  10696. begin
  10697. if thebits = 0 then
  10698. pTDefRegMap(@Self)^.clr := $00000004
  10699. else
  10700. pTDefRegMap(@Self)^.&set := $00000004;
  10701. end;
  10702. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  10703. begin
  10704. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10705. end;
  10706. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  10707. begin
  10708. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  10709. end;
  10710. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  10711. begin
  10712. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  10713. end;
  10714. procedure TTMR1_T1CON.setTGATE; inline;
  10715. begin
  10716. pTDefRegMap(@Self)^.&set := $00000080;
  10717. end;
  10718. procedure TTMR1_T1CON.clearTGATE; inline;
  10719. begin
  10720. pTDefRegMap(@Self)^.clr := $00000080;
  10721. end;
  10722. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  10723. begin
  10724. if thebits = 0 then
  10725. pTDefRegMap(@Self)^.clr := $00000080
  10726. else
  10727. pTDefRegMap(@Self)^.&set := $00000080;
  10728. end;
  10729. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  10730. begin
  10731. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10732. end;
  10733. procedure TTMR1_T1CON.setTWIP; inline;
  10734. begin
  10735. pTDefRegMap(@Self)^.&set := $00000800;
  10736. end;
  10737. procedure TTMR1_T1CON.clearTWIP; inline;
  10738. begin
  10739. pTDefRegMap(@Self)^.clr := $00000800;
  10740. end;
  10741. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  10742. begin
  10743. if thebits = 0 then
  10744. pTDefRegMap(@Self)^.clr := $00000800
  10745. else
  10746. pTDefRegMap(@Self)^.&set := $00000800;
  10747. end;
  10748. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  10749. begin
  10750. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  10751. end;
  10752. procedure TTMR1_T1CON.setTWDIS; inline;
  10753. begin
  10754. pTDefRegMap(@Self)^.&set := $00001000;
  10755. end;
  10756. procedure TTMR1_T1CON.clearTWDIS; inline;
  10757. begin
  10758. pTDefRegMap(@Self)^.clr := $00001000;
  10759. end;
  10760. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  10761. begin
  10762. if thebits = 0 then
  10763. pTDefRegMap(@Self)^.clr := $00001000
  10764. else
  10765. pTDefRegMap(@Self)^.&set := $00001000;
  10766. end;
  10767. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  10768. begin
  10769. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10770. end;
  10771. procedure TTMR1_T1CON.setSIDL; inline;
  10772. begin
  10773. pTDefRegMap(@Self)^.&set := $00002000;
  10774. end;
  10775. procedure TTMR1_T1CON.clearSIDL; inline;
  10776. begin
  10777. pTDefRegMap(@Self)^.clr := $00002000;
  10778. end;
  10779. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  10780. begin
  10781. if thebits = 0 then
  10782. pTDefRegMap(@Self)^.clr := $00002000
  10783. else
  10784. pTDefRegMap(@Self)^.&set := $00002000;
  10785. end;
  10786. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  10787. begin
  10788. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10789. end;
  10790. procedure TTMR1_T1CON.setON; inline;
  10791. begin
  10792. pTDefRegMap(@Self)^.&set := $00008000;
  10793. end;
  10794. procedure TTMR1_T1CON.clearON; inline;
  10795. begin
  10796. pTDefRegMap(@Self)^.clr := $00008000;
  10797. end;
  10798. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  10799. begin
  10800. if thebits = 0 then
  10801. pTDefRegMap(@Self)^.clr := $00008000
  10802. else
  10803. pTDefRegMap(@Self)^.&set := $00008000;
  10804. end;
  10805. function TTMR1_T1CON.getON : TBits_1; inline;
  10806. begin
  10807. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10808. end;
  10809. procedure TTMR1_T1CON.setTCKPS0; inline;
  10810. begin
  10811. pTDefRegMap(@Self)^.&set := $00000010;
  10812. end;
  10813. procedure TTMR1_T1CON.clearTCKPS0; inline;
  10814. begin
  10815. pTDefRegMap(@Self)^.clr := $00000010;
  10816. end;
  10817. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  10818. begin
  10819. if thebits = 0 then
  10820. pTDefRegMap(@Self)^.clr := $00000010
  10821. else
  10822. pTDefRegMap(@Self)^.&set := $00000010;
  10823. end;
  10824. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  10825. begin
  10826. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10827. end;
  10828. procedure TTMR1_T1CON.setTCKPS1; inline;
  10829. begin
  10830. pTDefRegMap(@Self)^.&set := $00000020;
  10831. end;
  10832. procedure TTMR1_T1CON.clearTCKPS1; inline;
  10833. begin
  10834. pTDefRegMap(@Self)^.clr := $00000020;
  10835. end;
  10836. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  10837. begin
  10838. if thebits = 0 then
  10839. pTDefRegMap(@Self)^.clr := $00000020
  10840. else
  10841. pTDefRegMap(@Self)^.&set := $00000020;
  10842. end;
  10843. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  10844. begin
  10845. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10846. end;
  10847. procedure TTMR1_T1CON.setTSIDL; inline;
  10848. begin
  10849. pTDefRegMap(@Self)^.&set := $00002000;
  10850. end;
  10851. procedure TTMR1_T1CON.clearTSIDL; inline;
  10852. begin
  10853. pTDefRegMap(@Self)^.clr := $00002000;
  10854. end;
  10855. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  10856. begin
  10857. if thebits = 0 then
  10858. pTDefRegMap(@Self)^.clr := $00002000
  10859. else
  10860. pTDefRegMap(@Self)^.&set := $00002000;
  10861. end;
  10862. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  10863. begin
  10864. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10865. end;
  10866. procedure TTMR1_T1CON.setTON; inline;
  10867. begin
  10868. pTDefRegMap(@Self)^.&set := $00008000;
  10869. end;
  10870. procedure TTMR1_T1CON.clearTON; inline;
  10871. begin
  10872. pTDefRegMap(@Self)^.clr := $00008000;
  10873. end;
  10874. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  10875. begin
  10876. if thebits = 0 then
  10877. pTDefRegMap(@Self)^.clr := $00008000
  10878. else
  10879. pTDefRegMap(@Self)^.&set := $00008000;
  10880. end;
  10881. function TTMR1_T1CON.getTON : TBits_1; inline;
  10882. begin
  10883. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10884. end;
  10885. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  10886. begin
  10887. pTDefRegMap(@Self)^.val := thebits;
  10888. end;
  10889. function TTMR1_T1CON.getw : TBits_32; inline;
  10890. begin
  10891. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10892. end;
  10893. procedure TTMR2_T2CON.setTCS; inline;
  10894. begin
  10895. pTDefRegMap(@Self)^.&set := $00000002;
  10896. end;
  10897. procedure TTMR2_T2CON.clearTCS; inline;
  10898. begin
  10899. pTDefRegMap(@Self)^.clr := $00000002;
  10900. end;
  10901. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  10902. begin
  10903. if thebits = 0 then
  10904. pTDefRegMap(@Self)^.clr := $00000002
  10905. else
  10906. pTDefRegMap(@Self)^.&set := $00000002;
  10907. end;
  10908. function TTMR2_T2CON.getTCS : TBits_1; inline;
  10909. begin
  10910. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10911. end;
  10912. procedure TTMR2_T2CON.setT32; inline;
  10913. begin
  10914. pTDefRegMap(@Self)^.&set := $00000008;
  10915. end;
  10916. procedure TTMR2_T2CON.clearT32; inline;
  10917. begin
  10918. pTDefRegMap(@Self)^.clr := $00000008;
  10919. end;
  10920. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  10921. begin
  10922. if thebits = 0 then
  10923. pTDefRegMap(@Self)^.clr := $00000008
  10924. else
  10925. pTDefRegMap(@Self)^.&set := $00000008;
  10926. end;
  10927. function TTMR2_T2CON.getT32 : TBits_1; inline;
  10928. begin
  10929. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10930. end;
  10931. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  10932. begin
  10933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10934. end;
  10935. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  10936. begin
  10937. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10938. end;
  10939. procedure TTMR2_T2CON.setTGATE; inline;
  10940. begin
  10941. pTDefRegMap(@Self)^.&set := $00000080;
  10942. end;
  10943. procedure TTMR2_T2CON.clearTGATE; inline;
  10944. begin
  10945. pTDefRegMap(@Self)^.clr := $00000080;
  10946. end;
  10947. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  10948. begin
  10949. if thebits = 0 then
  10950. pTDefRegMap(@Self)^.clr := $00000080
  10951. else
  10952. pTDefRegMap(@Self)^.&set := $00000080;
  10953. end;
  10954. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  10955. begin
  10956. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10957. end;
  10958. procedure TTMR2_T2CON.setSIDL; inline;
  10959. begin
  10960. pTDefRegMap(@Self)^.&set := $00002000;
  10961. end;
  10962. procedure TTMR2_T2CON.clearSIDL; inline;
  10963. begin
  10964. pTDefRegMap(@Self)^.clr := $00002000;
  10965. end;
  10966. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  10967. begin
  10968. if thebits = 0 then
  10969. pTDefRegMap(@Self)^.clr := $00002000
  10970. else
  10971. pTDefRegMap(@Self)^.&set := $00002000;
  10972. end;
  10973. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  10974. begin
  10975. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10976. end;
  10977. procedure TTMR2_T2CON.setON; inline;
  10978. begin
  10979. pTDefRegMap(@Self)^.&set := $00008000;
  10980. end;
  10981. procedure TTMR2_T2CON.clearON; inline;
  10982. begin
  10983. pTDefRegMap(@Self)^.clr := $00008000;
  10984. end;
  10985. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  10986. begin
  10987. if thebits = 0 then
  10988. pTDefRegMap(@Self)^.clr := $00008000
  10989. else
  10990. pTDefRegMap(@Self)^.&set := $00008000;
  10991. end;
  10992. function TTMR2_T2CON.getON : TBits_1; inline;
  10993. begin
  10994. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10995. end;
  10996. procedure TTMR2_T2CON.setTCKPS0; inline;
  10997. begin
  10998. pTDefRegMap(@Self)^.&set := $00000010;
  10999. end;
  11000. procedure TTMR2_T2CON.clearTCKPS0; inline;
  11001. begin
  11002. pTDefRegMap(@Self)^.clr := $00000010;
  11003. end;
  11004. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  11005. begin
  11006. if thebits = 0 then
  11007. pTDefRegMap(@Self)^.clr := $00000010
  11008. else
  11009. pTDefRegMap(@Self)^.&set := $00000010;
  11010. end;
  11011. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  11012. begin
  11013. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11014. end;
  11015. procedure TTMR2_T2CON.setTCKPS1; inline;
  11016. begin
  11017. pTDefRegMap(@Self)^.&set := $00000020;
  11018. end;
  11019. procedure TTMR2_T2CON.clearTCKPS1; inline;
  11020. begin
  11021. pTDefRegMap(@Self)^.clr := $00000020;
  11022. end;
  11023. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  11024. begin
  11025. if thebits = 0 then
  11026. pTDefRegMap(@Self)^.clr := $00000020
  11027. else
  11028. pTDefRegMap(@Self)^.&set := $00000020;
  11029. end;
  11030. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  11031. begin
  11032. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11033. end;
  11034. procedure TTMR2_T2CON.setTCKPS2; inline;
  11035. begin
  11036. pTDefRegMap(@Self)^.&set := $00000040;
  11037. end;
  11038. procedure TTMR2_T2CON.clearTCKPS2; inline;
  11039. begin
  11040. pTDefRegMap(@Self)^.clr := $00000040;
  11041. end;
  11042. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  11043. begin
  11044. if thebits = 0 then
  11045. pTDefRegMap(@Self)^.clr := $00000040
  11046. else
  11047. pTDefRegMap(@Self)^.&set := $00000040;
  11048. end;
  11049. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  11050. begin
  11051. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11052. end;
  11053. procedure TTMR2_T2CON.setTSIDL; inline;
  11054. begin
  11055. pTDefRegMap(@Self)^.&set := $00002000;
  11056. end;
  11057. procedure TTMR2_T2CON.clearTSIDL; inline;
  11058. begin
  11059. pTDefRegMap(@Self)^.clr := $00002000;
  11060. end;
  11061. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  11062. begin
  11063. if thebits = 0 then
  11064. pTDefRegMap(@Self)^.clr := $00002000
  11065. else
  11066. pTDefRegMap(@Self)^.&set := $00002000;
  11067. end;
  11068. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  11069. begin
  11070. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11071. end;
  11072. procedure TTMR2_T2CON.setTON; inline;
  11073. begin
  11074. pTDefRegMap(@Self)^.&set := $00008000;
  11075. end;
  11076. procedure TTMR2_T2CON.clearTON; inline;
  11077. begin
  11078. pTDefRegMap(@Self)^.clr := $00008000;
  11079. end;
  11080. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  11081. begin
  11082. if thebits = 0 then
  11083. pTDefRegMap(@Self)^.clr := $00008000
  11084. else
  11085. pTDefRegMap(@Self)^.&set := $00008000;
  11086. end;
  11087. function TTMR2_T2CON.getTON : TBits_1; inline;
  11088. begin
  11089. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11090. end;
  11091. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  11092. begin
  11093. pTDefRegMap(@Self)^.val := thebits;
  11094. end;
  11095. function TTMR2_T2CON.getw : TBits_32; inline;
  11096. begin
  11097. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11098. end;
  11099. procedure TTMR3_T3CON.setTCS; inline;
  11100. begin
  11101. pTDefRegMap(@Self)^.&set := $00000002;
  11102. end;
  11103. procedure TTMR3_T3CON.clearTCS; inline;
  11104. begin
  11105. pTDefRegMap(@Self)^.clr := $00000002;
  11106. end;
  11107. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  11108. begin
  11109. if thebits = 0 then
  11110. pTDefRegMap(@Self)^.clr := $00000002
  11111. else
  11112. pTDefRegMap(@Self)^.&set := $00000002;
  11113. end;
  11114. function TTMR3_T3CON.getTCS : TBits_1; inline;
  11115. begin
  11116. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11117. end;
  11118. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  11119. begin
  11120. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11121. end;
  11122. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  11123. begin
  11124. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11125. end;
  11126. procedure TTMR3_T3CON.setTGATE; inline;
  11127. begin
  11128. pTDefRegMap(@Self)^.&set := $00000080;
  11129. end;
  11130. procedure TTMR3_T3CON.clearTGATE; inline;
  11131. begin
  11132. pTDefRegMap(@Self)^.clr := $00000080;
  11133. end;
  11134. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  11135. begin
  11136. if thebits = 0 then
  11137. pTDefRegMap(@Self)^.clr := $00000080
  11138. else
  11139. pTDefRegMap(@Self)^.&set := $00000080;
  11140. end;
  11141. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  11142. begin
  11143. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11144. end;
  11145. procedure TTMR3_T3CON.setSIDL; inline;
  11146. begin
  11147. pTDefRegMap(@Self)^.&set := $00002000;
  11148. end;
  11149. procedure TTMR3_T3CON.clearSIDL; inline;
  11150. begin
  11151. pTDefRegMap(@Self)^.clr := $00002000;
  11152. end;
  11153. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  11154. begin
  11155. if thebits = 0 then
  11156. pTDefRegMap(@Self)^.clr := $00002000
  11157. else
  11158. pTDefRegMap(@Self)^.&set := $00002000;
  11159. end;
  11160. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  11161. begin
  11162. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11163. end;
  11164. procedure TTMR3_T3CON.setON; inline;
  11165. begin
  11166. pTDefRegMap(@Self)^.&set := $00008000;
  11167. end;
  11168. procedure TTMR3_T3CON.clearON; inline;
  11169. begin
  11170. pTDefRegMap(@Self)^.clr := $00008000;
  11171. end;
  11172. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  11173. begin
  11174. if thebits = 0 then
  11175. pTDefRegMap(@Self)^.clr := $00008000
  11176. else
  11177. pTDefRegMap(@Self)^.&set := $00008000;
  11178. end;
  11179. function TTMR3_T3CON.getON : TBits_1; inline;
  11180. begin
  11181. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11182. end;
  11183. procedure TTMR3_T3CON.setTCKPS0; inline;
  11184. begin
  11185. pTDefRegMap(@Self)^.&set := $00000010;
  11186. end;
  11187. procedure TTMR3_T3CON.clearTCKPS0; inline;
  11188. begin
  11189. pTDefRegMap(@Self)^.clr := $00000010;
  11190. end;
  11191. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  11192. begin
  11193. if thebits = 0 then
  11194. pTDefRegMap(@Self)^.clr := $00000010
  11195. else
  11196. pTDefRegMap(@Self)^.&set := $00000010;
  11197. end;
  11198. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  11199. begin
  11200. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11201. end;
  11202. procedure TTMR3_T3CON.setTCKPS1; inline;
  11203. begin
  11204. pTDefRegMap(@Self)^.&set := $00000020;
  11205. end;
  11206. procedure TTMR3_T3CON.clearTCKPS1; inline;
  11207. begin
  11208. pTDefRegMap(@Self)^.clr := $00000020;
  11209. end;
  11210. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  11211. begin
  11212. if thebits = 0 then
  11213. pTDefRegMap(@Self)^.clr := $00000020
  11214. else
  11215. pTDefRegMap(@Self)^.&set := $00000020;
  11216. end;
  11217. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  11218. begin
  11219. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11220. end;
  11221. procedure TTMR3_T3CON.setTCKPS2; inline;
  11222. begin
  11223. pTDefRegMap(@Self)^.&set := $00000040;
  11224. end;
  11225. procedure TTMR3_T3CON.clearTCKPS2; inline;
  11226. begin
  11227. pTDefRegMap(@Self)^.clr := $00000040;
  11228. end;
  11229. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  11230. begin
  11231. if thebits = 0 then
  11232. pTDefRegMap(@Self)^.clr := $00000040
  11233. else
  11234. pTDefRegMap(@Self)^.&set := $00000040;
  11235. end;
  11236. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  11237. begin
  11238. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11239. end;
  11240. procedure TTMR3_T3CON.setTSIDL; inline;
  11241. begin
  11242. pTDefRegMap(@Self)^.&set := $00002000;
  11243. end;
  11244. procedure TTMR3_T3CON.clearTSIDL; inline;
  11245. begin
  11246. pTDefRegMap(@Self)^.clr := $00002000;
  11247. end;
  11248. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  11249. begin
  11250. if thebits = 0 then
  11251. pTDefRegMap(@Self)^.clr := $00002000
  11252. else
  11253. pTDefRegMap(@Self)^.&set := $00002000;
  11254. end;
  11255. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  11256. begin
  11257. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11258. end;
  11259. procedure TTMR3_T3CON.setTON; inline;
  11260. begin
  11261. pTDefRegMap(@Self)^.&set := $00008000;
  11262. end;
  11263. procedure TTMR3_T3CON.clearTON; inline;
  11264. begin
  11265. pTDefRegMap(@Self)^.clr := $00008000;
  11266. end;
  11267. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  11268. begin
  11269. if thebits = 0 then
  11270. pTDefRegMap(@Self)^.clr := $00008000
  11271. else
  11272. pTDefRegMap(@Self)^.&set := $00008000;
  11273. end;
  11274. function TTMR3_T3CON.getTON : TBits_1; inline;
  11275. begin
  11276. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11277. end;
  11278. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  11279. begin
  11280. pTDefRegMap(@Self)^.val := thebits;
  11281. end;
  11282. function TTMR3_T3CON.getw : TBits_32; inline;
  11283. begin
  11284. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11285. end;
  11286. procedure TTMR4_T4CON.setTCS; inline;
  11287. begin
  11288. pTDefRegMap(@Self)^.&set := $00000002;
  11289. end;
  11290. procedure TTMR4_T4CON.clearTCS; inline;
  11291. begin
  11292. pTDefRegMap(@Self)^.clr := $00000002;
  11293. end;
  11294. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11295. begin
  11296. if thebits = 0 then
  11297. pTDefRegMap(@Self)^.clr := $00000002
  11298. else
  11299. pTDefRegMap(@Self)^.&set := $00000002;
  11300. end;
  11301. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11302. begin
  11303. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11304. end;
  11305. procedure TTMR4_T4CON.setT32; inline;
  11306. begin
  11307. pTDefRegMap(@Self)^.&set := $00000008;
  11308. end;
  11309. procedure TTMR4_T4CON.clearT32; inline;
  11310. begin
  11311. pTDefRegMap(@Self)^.clr := $00000008;
  11312. end;
  11313. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11314. begin
  11315. if thebits = 0 then
  11316. pTDefRegMap(@Self)^.clr := $00000008
  11317. else
  11318. pTDefRegMap(@Self)^.&set := $00000008;
  11319. end;
  11320. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11321. begin
  11322. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11323. end;
  11324. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11325. begin
  11326. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11327. end;
  11328. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11329. begin
  11330. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11331. end;
  11332. procedure TTMR4_T4CON.setTGATE; inline;
  11333. begin
  11334. pTDefRegMap(@Self)^.&set := $00000080;
  11335. end;
  11336. procedure TTMR4_T4CON.clearTGATE; inline;
  11337. begin
  11338. pTDefRegMap(@Self)^.clr := $00000080;
  11339. end;
  11340. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11341. begin
  11342. if thebits = 0 then
  11343. pTDefRegMap(@Self)^.clr := $00000080
  11344. else
  11345. pTDefRegMap(@Self)^.&set := $00000080;
  11346. end;
  11347. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11348. begin
  11349. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11350. end;
  11351. procedure TTMR4_T4CON.setSIDL; inline;
  11352. begin
  11353. pTDefRegMap(@Self)^.&set := $00002000;
  11354. end;
  11355. procedure TTMR4_T4CON.clearSIDL; inline;
  11356. begin
  11357. pTDefRegMap(@Self)^.clr := $00002000;
  11358. end;
  11359. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11360. begin
  11361. if thebits = 0 then
  11362. pTDefRegMap(@Self)^.clr := $00002000
  11363. else
  11364. pTDefRegMap(@Self)^.&set := $00002000;
  11365. end;
  11366. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11367. begin
  11368. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11369. end;
  11370. procedure TTMR4_T4CON.setON; inline;
  11371. begin
  11372. pTDefRegMap(@Self)^.&set := $00008000;
  11373. end;
  11374. procedure TTMR4_T4CON.clearON; inline;
  11375. begin
  11376. pTDefRegMap(@Self)^.clr := $00008000;
  11377. end;
  11378. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11379. begin
  11380. if thebits = 0 then
  11381. pTDefRegMap(@Self)^.clr := $00008000
  11382. else
  11383. pTDefRegMap(@Self)^.&set := $00008000;
  11384. end;
  11385. function TTMR4_T4CON.getON : TBits_1; inline;
  11386. begin
  11387. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11388. end;
  11389. procedure TTMR4_T4CON.setTCKPS0; inline;
  11390. begin
  11391. pTDefRegMap(@Self)^.&set := $00000010;
  11392. end;
  11393. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11394. begin
  11395. pTDefRegMap(@Self)^.clr := $00000010;
  11396. end;
  11397. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11398. begin
  11399. if thebits = 0 then
  11400. pTDefRegMap(@Self)^.clr := $00000010
  11401. else
  11402. pTDefRegMap(@Self)^.&set := $00000010;
  11403. end;
  11404. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11405. begin
  11406. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11407. end;
  11408. procedure TTMR4_T4CON.setTCKPS1; inline;
  11409. begin
  11410. pTDefRegMap(@Self)^.&set := $00000020;
  11411. end;
  11412. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11413. begin
  11414. pTDefRegMap(@Self)^.clr := $00000020;
  11415. end;
  11416. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11417. begin
  11418. if thebits = 0 then
  11419. pTDefRegMap(@Self)^.clr := $00000020
  11420. else
  11421. pTDefRegMap(@Self)^.&set := $00000020;
  11422. end;
  11423. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11424. begin
  11425. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11426. end;
  11427. procedure TTMR4_T4CON.setTCKPS2; inline;
  11428. begin
  11429. pTDefRegMap(@Self)^.&set := $00000040;
  11430. end;
  11431. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11432. begin
  11433. pTDefRegMap(@Self)^.clr := $00000040;
  11434. end;
  11435. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11436. begin
  11437. if thebits = 0 then
  11438. pTDefRegMap(@Self)^.clr := $00000040
  11439. else
  11440. pTDefRegMap(@Self)^.&set := $00000040;
  11441. end;
  11442. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11443. begin
  11444. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11445. end;
  11446. procedure TTMR4_T4CON.setTSIDL; inline;
  11447. begin
  11448. pTDefRegMap(@Self)^.&set := $00002000;
  11449. end;
  11450. procedure TTMR4_T4CON.clearTSIDL; inline;
  11451. begin
  11452. pTDefRegMap(@Self)^.clr := $00002000;
  11453. end;
  11454. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11455. begin
  11456. if thebits = 0 then
  11457. pTDefRegMap(@Self)^.clr := $00002000
  11458. else
  11459. pTDefRegMap(@Self)^.&set := $00002000;
  11460. end;
  11461. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11462. begin
  11463. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11464. end;
  11465. procedure TTMR4_T4CON.setTON; inline;
  11466. begin
  11467. pTDefRegMap(@Self)^.&set := $00008000;
  11468. end;
  11469. procedure TTMR4_T4CON.clearTON; inline;
  11470. begin
  11471. pTDefRegMap(@Self)^.clr := $00008000;
  11472. end;
  11473. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11474. begin
  11475. if thebits = 0 then
  11476. pTDefRegMap(@Self)^.clr := $00008000
  11477. else
  11478. pTDefRegMap(@Self)^.&set := $00008000;
  11479. end;
  11480. function TTMR4_T4CON.getTON : TBits_1; inline;
  11481. begin
  11482. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11483. end;
  11484. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11485. begin
  11486. pTDefRegMap(@Self)^.val := thebits;
  11487. end;
  11488. function TTMR4_T4CON.getw : TBits_32; inline;
  11489. begin
  11490. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11491. end;
  11492. procedure TTMR5_T5CON.setTCS; inline;
  11493. begin
  11494. pTDefRegMap(@Self)^.&set := $00000002;
  11495. end;
  11496. procedure TTMR5_T5CON.clearTCS; inline;
  11497. begin
  11498. pTDefRegMap(@Self)^.clr := $00000002;
  11499. end;
  11500. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11501. begin
  11502. if thebits = 0 then
  11503. pTDefRegMap(@Self)^.clr := $00000002
  11504. else
  11505. pTDefRegMap(@Self)^.&set := $00000002;
  11506. end;
  11507. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11508. begin
  11509. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11510. end;
  11511. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  11512. begin
  11513. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11514. end;
  11515. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  11516. begin
  11517. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11518. end;
  11519. procedure TTMR5_T5CON.setTGATE; inline;
  11520. begin
  11521. pTDefRegMap(@Self)^.&set := $00000080;
  11522. end;
  11523. procedure TTMR5_T5CON.clearTGATE; inline;
  11524. begin
  11525. pTDefRegMap(@Self)^.clr := $00000080;
  11526. end;
  11527. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  11528. begin
  11529. if thebits = 0 then
  11530. pTDefRegMap(@Self)^.clr := $00000080
  11531. else
  11532. pTDefRegMap(@Self)^.&set := $00000080;
  11533. end;
  11534. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  11535. begin
  11536. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11537. end;
  11538. procedure TTMR5_T5CON.setSIDL; inline;
  11539. begin
  11540. pTDefRegMap(@Self)^.&set := $00002000;
  11541. end;
  11542. procedure TTMR5_T5CON.clearSIDL; inline;
  11543. begin
  11544. pTDefRegMap(@Self)^.clr := $00002000;
  11545. end;
  11546. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  11547. begin
  11548. if thebits = 0 then
  11549. pTDefRegMap(@Self)^.clr := $00002000
  11550. else
  11551. pTDefRegMap(@Self)^.&set := $00002000;
  11552. end;
  11553. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  11554. begin
  11555. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11556. end;
  11557. procedure TTMR5_T5CON.setON; inline;
  11558. begin
  11559. pTDefRegMap(@Self)^.&set := $00008000;
  11560. end;
  11561. procedure TTMR5_T5CON.clearON; inline;
  11562. begin
  11563. pTDefRegMap(@Self)^.clr := $00008000;
  11564. end;
  11565. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  11566. begin
  11567. if thebits = 0 then
  11568. pTDefRegMap(@Self)^.clr := $00008000
  11569. else
  11570. pTDefRegMap(@Self)^.&set := $00008000;
  11571. end;
  11572. function TTMR5_T5CON.getON : TBits_1; inline;
  11573. begin
  11574. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11575. end;
  11576. procedure TTMR5_T5CON.setTCKPS0; inline;
  11577. begin
  11578. pTDefRegMap(@Self)^.&set := $00000010;
  11579. end;
  11580. procedure TTMR5_T5CON.clearTCKPS0; inline;
  11581. begin
  11582. pTDefRegMap(@Self)^.clr := $00000010;
  11583. end;
  11584. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  11585. begin
  11586. if thebits = 0 then
  11587. pTDefRegMap(@Self)^.clr := $00000010
  11588. else
  11589. pTDefRegMap(@Self)^.&set := $00000010;
  11590. end;
  11591. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  11592. begin
  11593. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11594. end;
  11595. procedure TTMR5_T5CON.setTCKPS1; inline;
  11596. begin
  11597. pTDefRegMap(@Self)^.&set := $00000020;
  11598. end;
  11599. procedure TTMR5_T5CON.clearTCKPS1; inline;
  11600. begin
  11601. pTDefRegMap(@Self)^.clr := $00000020;
  11602. end;
  11603. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  11604. begin
  11605. if thebits = 0 then
  11606. pTDefRegMap(@Self)^.clr := $00000020
  11607. else
  11608. pTDefRegMap(@Self)^.&set := $00000020;
  11609. end;
  11610. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  11611. begin
  11612. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11613. end;
  11614. procedure TTMR5_T5CON.setTCKPS2; inline;
  11615. begin
  11616. pTDefRegMap(@Self)^.&set := $00000040;
  11617. end;
  11618. procedure TTMR5_T5CON.clearTCKPS2; inline;
  11619. begin
  11620. pTDefRegMap(@Self)^.clr := $00000040;
  11621. end;
  11622. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  11623. begin
  11624. if thebits = 0 then
  11625. pTDefRegMap(@Self)^.clr := $00000040
  11626. else
  11627. pTDefRegMap(@Self)^.&set := $00000040;
  11628. end;
  11629. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  11630. begin
  11631. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11632. end;
  11633. procedure TTMR5_T5CON.setTSIDL; inline;
  11634. begin
  11635. pTDefRegMap(@Self)^.&set := $00002000;
  11636. end;
  11637. procedure TTMR5_T5CON.clearTSIDL; inline;
  11638. begin
  11639. pTDefRegMap(@Self)^.clr := $00002000;
  11640. end;
  11641. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  11642. begin
  11643. if thebits = 0 then
  11644. pTDefRegMap(@Self)^.clr := $00002000
  11645. else
  11646. pTDefRegMap(@Self)^.&set := $00002000;
  11647. end;
  11648. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  11649. begin
  11650. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11651. end;
  11652. procedure TTMR5_T5CON.setTON; inline;
  11653. begin
  11654. pTDefRegMap(@Self)^.&set := $00008000;
  11655. end;
  11656. procedure TTMR5_T5CON.clearTON; inline;
  11657. begin
  11658. pTDefRegMap(@Self)^.clr := $00008000;
  11659. end;
  11660. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  11661. begin
  11662. if thebits = 0 then
  11663. pTDefRegMap(@Self)^.clr := $00008000
  11664. else
  11665. pTDefRegMap(@Self)^.&set := $00008000;
  11666. end;
  11667. function TTMR5_T5CON.getTON : TBits_1; inline;
  11668. begin
  11669. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11670. end;
  11671. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  11672. begin
  11673. pTDefRegMap(@Self)^.val := thebits;
  11674. end;
  11675. function TTMR5_T5CON.getw : TBits_32; inline;
  11676. begin
  11677. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11678. end;
  11679. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  11680. begin
  11681. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11682. end;
  11683. function TICAP1_IC1CON.getICM : TBits_3; inline;
  11684. begin
  11685. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11686. end;
  11687. procedure TICAP1_IC1CON.setICBNE; inline;
  11688. begin
  11689. pTDefRegMap(@Self)^.&set := $00000008;
  11690. end;
  11691. procedure TICAP1_IC1CON.clearICBNE; inline;
  11692. begin
  11693. pTDefRegMap(@Self)^.clr := $00000008;
  11694. end;
  11695. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  11696. begin
  11697. if thebits = 0 then
  11698. pTDefRegMap(@Self)^.clr := $00000008
  11699. else
  11700. pTDefRegMap(@Self)^.&set := $00000008;
  11701. end;
  11702. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  11703. begin
  11704. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11705. end;
  11706. procedure TICAP1_IC1CON.setICOV; inline;
  11707. begin
  11708. pTDefRegMap(@Self)^.&set := $00000010;
  11709. end;
  11710. procedure TICAP1_IC1CON.clearICOV; inline;
  11711. begin
  11712. pTDefRegMap(@Self)^.clr := $00000010;
  11713. end;
  11714. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  11715. begin
  11716. if thebits = 0 then
  11717. pTDefRegMap(@Self)^.clr := $00000010
  11718. else
  11719. pTDefRegMap(@Self)^.&set := $00000010;
  11720. end;
  11721. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  11722. begin
  11723. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11724. end;
  11725. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  11726. begin
  11727. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11728. end;
  11729. function TICAP1_IC1CON.getICI : TBits_2; inline;
  11730. begin
  11731. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11732. end;
  11733. procedure TICAP1_IC1CON.setICTMR; inline;
  11734. begin
  11735. pTDefRegMap(@Self)^.&set := $00000080;
  11736. end;
  11737. procedure TICAP1_IC1CON.clearICTMR; inline;
  11738. begin
  11739. pTDefRegMap(@Self)^.clr := $00000080;
  11740. end;
  11741. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  11742. begin
  11743. if thebits = 0 then
  11744. pTDefRegMap(@Self)^.clr := $00000080
  11745. else
  11746. pTDefRegMap(@Self)^.&set := $00000080;
  11747. end;
  11748. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  11749. begin
  11750. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11751. end;
  11752. procedure TICAP1_IC1CON.setC32; inline;
  11753. begin
  11754. pTDefRegMap(@Self)^.&set := $00000100;
  11755. end;
  11756. procedure TICAP1_IC1CON.clearC32; inline;
  11757. begin
  11758. pTDefRegMap(@Self)^.clr := $00000100;
  11759. end;
  11760. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  11761. begin
  11762. if thebits = 0 then
  11763. pTDefRegMap(@Self)^.clr := $00000100
  11764. else
  11765. pTDefRegMap(@Self)^.&set := $00000100;
  11766. end;
  11767. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  11768. begin
  11769. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11770. end;
  11771. procedure TICAP1_IC1CON.setFEDGE; inline;
  11772. begin
  11773. pTDefRegMap(@Self)^.&set := $00000200;
  11774. end;
  11775. procedure TICAP1_IC1CON.clearFEDGE; inline;
  11776. begin
  11777. pTDefRegMap(@Self)^.clr := $00000200;
  11778. end;
  11779. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  11780. begin
  11781. if thebits = 0 then
  11782. pTDefRegMap(@Self)^.clr := $00000200
  11783. else
  11784. pTDefRegMap(@Self)^.&set := $00000200;
  11785. end;
  11786. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  11787. begin
  11788. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11789. end;
  11790. procedure TICAP1_IC1CON.setSIDL; inline;
  11791. begin
  11792. pTDefRegMap(@Self)^.&set := $00002000;
  11793. end;
  11794. procedure TICAP1_IC1CON.clearSIDL; inline;
  11795. begin
  11796. pTDefRegMap(@Self)^.clr := $00002000;
  11797. end;
  11798. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  11799. begin
  11800. if thebits = 0 then
  11801. pTDefRegMap(@Self)^.clr := $00002000
  11802. else
  11803. pTDefRegMap(@Self)^.&set := $00002000;
  11804. end;
  11805. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  11806. begin
  11807. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11808. end;
  11809. procedure TICAP1_IC1CON.setON; inline;
  11810. begin
  11811. pTDefRegMap(@Self)^.&set := $00008000;
  11812. end;
  11813. procedure TICAP1_IC1CON.clearON; inline;
  11814. begin
  11815. pTDefRegMap(@Self)^.clr := $00008000;
  11816. end;
  11817. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  11818. begin
  11819. if thebits = 0 then
  11820. pTDefRegMap(@Self)^.clr := $00008000
  11821. else
  11822. pTDefRegMap(@Self)^.&set := $00008000;
  11823. end;
  11824. function TICAP1_IC1CON.getON : TBits_1; inline;
  11825. begin
  11826. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11827. end;
  11828. procedure TICAP1_IC1CON.setICM0; inline;
  11829. begin
  11830. pTDefRegMap(@Self)^.&set := $00000001;
  11831. end;
  11832. procedure TICAP1_IC1CON.clearICM0; inline;
  11833. begin
  11834. pTDefRegMap(@Self)^.clr := $00000001;
  11835. end;
  11836. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  11837. begin
  11838. if thebits = 0 then
  11839. pTDefRegMap(@Self)^.clr := $00000001
  11840. else
  11841. pTDefRegMap(@Self)^.&set := $00000001;
  11842. end;
  11843. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  11844. begin
  11845. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11846. end;
  11847. procedure TICAP1_IC1CON.setICM1; inline;
  11848. begin
  11849. pTDefRegMap(@Self)^.&set := $00000002;
  11850. end;
  11851. procedure TICAP1_IC1CON.clearICM1; inline;
  11852. begin
  11853. pTDefRegMap(@Self)^.clr := $00000002;
  11854. end;
  11855. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  11856. begin
  11857. if thebits = 0 then
  11858. pTDefRegMap(@Self)^.clr := $00000002
  11859. else
  11860. pTDefRegMap(@Self)^.&set := $00000002;
  11861. end;
  11862. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  11863. begin
  11864. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11865. end;
  11866. procedure TICAP1_IC1CON.setICM2; inline;
  11867. begin
  11868. pTDefRegMap(@Self)^.&set := $00000004;
  11869. end;
  11870. procedure TICAP1_IC1CON.clearICM2; inline;
  11871. begin
  11872. pTDefRegMap(@Self)^.clr := $00000004;
  11873. end;
  11874. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  11875. begin
  11876. if thebits = 0 then
  11877. pTDefRegMap(@Self)^.clr := $00000004
  11878. else
  11879. pTDefRegMap(@Self)^.&set := $00000004;
  11880. end;
  11881. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  11882. begin
  11883. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11884. end;
  11885. procedure TICAP1_IC1CON.setICI0; inline;
  11886. begin
  11887. pTDefRegMap(@Self)^.&set := $00000020;
  11888. end;
  11889. procedure TICAP1_IC1CON.clearICI0; inline;
  11890. begin
  11891. pTDefRegMap(@Self)^.clr := $00000020;
  11892. end;
  11893. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  11894. begin
  11895. if thebits = 0 then
  11896. pTDefRegMap(@Self)^.clr := $00000020
  11897. else
  11898. pTDefRegMap(@Self)^.&set := $00000020;
  11899. end;
  11900. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  11901. begin
  11902. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11903. end;
  11904. procedure TICAP1_IC1CON.setICI1; inline;
  11905. begin
  11906. pTDefRegMap(@Self)^.&set := $00000040;
  11907. end;
  11908. procedure TICAP1_IC1CON.clearICI1; inline;
  11909. begin
  11910. pTDefRegMap(@Self)^.clr := $00000040;
  11911. end;
  11912. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  11913. begin
  11914. if thebits = 0 then
  11915. pTDefRegMap(@Self)^.clr := $00000040
  11916. else
  11917. pTDefRegMap(@Self)^.&set := $00000040;
  11918. end;
  11919. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  11920. begin
  11921. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11922. end;
  11923. procedure TICAP1_IC1CON.setICSIDL; inline;
  11924. begin
  11925. pTDefRegMap(@Self)^.&set := $00002000;
  11926. end;
  11927. procedure TICAP1_IC1CON.clearICSIDL; inline;
  11928. begin
  11929. pTDefRegMap(@Self)^.clr := $00002000;
  11930. end;
  11931. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  11932. begin
  11933. if thebits = 0 then
  11934. pTDefRegMap(@Self)^.clr := $00002000
  11935. else
  11936. pTDefRegMap(@Self)^.&set := $00002000;
  11937. end;
  11938. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  11939. begin
  11940. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11941. end;
  11942. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  11943. begin
  11944. pTDefRegMap(@Self)^.val := thebits;
  11945. end;
  11946. function TICAP1_IC1CON.getw : TBits_32; inline;
  11947. begin
  11948. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11949. end;
  11950. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  11951. begin
  11952. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11953. end;
  11954. function TICAP2_IC2CON.getICM : TBits_3; inline;
  11955. begin
  11956. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11957. end;
  11958. procedure TICAP2_IC2CON.setICBNE; inline;
  11959. begin
  11960. pTDefRegMap(@Self)^.&set := $00000008;
  11961. end;
  11962. procedure TICAP2_IC2CON.clearICBNE; inline;
  11963. begin
  11964. pTDefRegMap(@Self)^.clr := $00000008;
  11965. end;
  11966. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  11967. begin
  11968. if thebits = 0 then
  11969. pTDefRegMap(@Self)^.clr := $00000008
  11970. else
  11971. pTDefRegMap(@Self)^.&set := $00000008;
  11972. end;
  11973. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  11974. begin
  11975. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11976. end;
  11977. procedure TICAP2_IC2CON.setICOV; inline;
  11978. begin
  11979. pTDefRegMap(@Self)^.&set := $00000010;
  11980. end;
  11981. procedure TICAP2_IC2CON.clearICOV; inline;
  11982. begin
  11983. pTDefRegMap(@Self)^.clr := $00000010;
  11984. end;
  11985. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  11986. begin
  11987. if thebits = 0 then
  11988. pTDefRegMap(@Self)^.clr := $00000010
  11989. else
  11990. pTDefRegMap(@Self)^.&set := $00000010;
  11991. end;
  11992. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  11993. begin
  11994. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11995. end;
  11996. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  11997. begin
  11998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11999. end;
  12000. function TICAP2_IC2CON.getICI : TBits_2; inline;
  12001. begin
  12002. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12003. end;
  12004. procedure TICAP2_IC2CON.setICTMR; inline;
  12005. begin
  12006. pTDefRegMap(@Self)^.&set := $00000080;
  12007. end;
  12008. procedure TICAP2_IC2CON.clearICTMR; inline;
  12009. begin
  12010. pTDefRegMap(@Self)^.clr := $00000080;
  12011. end;
  12012. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  12013. begin
  12014. if thebits = 0 then
  12015. pTDefRegMap(@Self)^.clr := $00000080
  12016. else
  12017. pTDefRegMap(@Self)^.&set := $00000080;
  12018. end;
  12019. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  12020. begin
  12021. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12022. end;
  12023. procedure TICAP2_IC2CON.setC32; inline;
  12024. begin
  12025. pTDefRegMap(@Self)^.&set := $00000100;
  12026. end;
  12027. procedure TICAP2_IC2CON.clearC32; inline;
  12028. begin
  12029. pTDefRegMap(@Self)^.clr := $00000100;
  12030. end;
  12031. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  12032. begin
  12033. if thebits = 0 then
  12034. pTDefRegMap(@Self)^.clr := $00000100
  12035. else
  12036. pTDefRegMap(@Self)^.&set := $00000100;
  12037. end;
  12038. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  12039. begin
  12040. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12041. end;
  12042. procedure TICAP2_IC2CON.setFEDGE; inline;
  12043. begin
  12044. pTDefRegMap(@Self)^.&set := $00000200;
  12045. end;
  12046. procedure TICAP2_IC2CON.clearFEDGE; inline;
  12047. begin
  12048. pTDefRegMap(@Self)^.clr := $00000200;
  12049. end;
  12050. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  12051. begin
  12052. if thebits = 0 then
  12053. pTDefRegMap(@Self)^.clr := $00000200
  12054. else
  12055. pTDefRegMap(@Self)^.&set := $00000200;
  12056. end;
  12057. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  12058. begin
  12059. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12060. end;
  12061. procedure TICAP2_IC2CON.setSIDL; inline;
  12062. begin
  12063. pTDefRegMap(@Self)^.&set := $00002000;
  12064. end;
  12065. procedure TICAP2_IC2CON.clearSIDL; inline;
  12066. begin
  12067. pTDefRegMap(@Self)^.clr := $00002000;
  12068. end;
  12069. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  12070. begin
  12071. if thebits = 0 then
  12072. pTDefRegMap(@Self)^.clr := $00002000
  12073. else
  12074. pTDefRegMap(@Self)^.&set := $00002000;
  12075. end;
  12076. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  12077. begin
  12078. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12079. end;
  12080. procedure TICAP2_IC2CON.setON; inline;
  12081. begin
  12082. pTDefRegMap(@Self)^.&set := $00008000;
  12083. end;
  12084. procedure TICAP2_IC2CON.clearON; inline;
  12085. begin
  12086. pTDefRegMap(@Self)^.clr := $00008000;
  12087. end;
  12088. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  12089. begin
  12090. if thebits = 0 then
  12091. pTDefRegMap(@Self)^.clr := $00008000
  12092. else
  12093. pTDefRegMap(@Self)^.&set := $00008000;
  12094. end;
  12095. function TICAP2_IC2CON.getON : TBits_1; inline;
  12096. begin
  12097. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12098. end;
  12099. procedure TICAP2_IC2CON.setICM0; inline;
  12100. begin
  12101. pTDefRegMap(@Self)^.&set := $00000001;
  12102. end;
  12103. procedure TICAP2_IC2CON.clearICM0; inline;
  12104. begin
  12105. pTDefRegMap(@Self)^.clr := $00000001;
  12106. end;
  12107. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  12108. begin
  12109. if thebits = 0 then
  12110. pTDefRegMap(@Self)^.clr := $00000001
  12111. else
  12112. pTDefRegMap(@Self)^.&set := $00000001;
  12113. end;
  12114. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  12115. begin
  12116. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12117. end;
  12118. procedure TICAP2_IC2CON.setICM1; inline;
  12119. begin
  12120. pTDefRegMap(@Self)^.&set := $00000002;
  12121. end;
  12122. procedure TICAP2_IC2CON.clearICM1; inline;
  12123. begin
  12124. pTDefRegMap(@Self)^.clr := $00000002;
  12125. end;
  12126. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  12127. begin
  12128. if thebits = 0 then
  12129. pTDefRegMap(@Self)^.clr := $00000002
  12130. else
  12131. pTDefRegMap(@Self)^.&set := $00000002;
  12132. end;
  12133. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  12134. begin
  12135. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12136. end;
  12137. procedure TICAP2_IC2CON.setICM2; inline;
  12138. begin
  12139. pTDefRegMap(@Self)^.&set := $00000004;
  12140. end;
  12141. procedure TICAP2_IC2CON.clearICM2; inline;
  12142. begin
  12143. pTDefRegMap(@Self)^.clr := $00000004;
  12144. end;
  12145. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  12146. begin
  12147. if thebits = 0 then
  12148. pTDefRegMap(@Self)^.clr := $00000004
  12149. else
  12150. pTDefRegMap(@Self)^.&set := $00000004;
  12151. end;
  12152. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  12153. begin
  12154. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12155. end;
  12156. procedure TICAP2_IC2CON.setICI0; inline;
  12157. begin
  12158. pTDefRegMap(@Self)^.&set := $00000020;
  12159. end;
  12160. procedure TICAP2_IC2CON.clearICI0; inline;
  12161. begin
  12162. pTDefRegMap(@Self)^.clr := $00000020;
  12163. end;
  12164. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  12165. begin
  12166. if thebits = 0 then
  12167. pTDefRegMap(@Self)^.clr := $00000020
  12168. else
  12169. pTDefRegMap(@Self)^.&set := $00000020;
  12170. end;
  12171. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  12172. begin
  12173. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12174. end;
  12175. procedure TICAP2_IC2CON.setICI1; inline;
  12176. begin
  12177. pTDefRegMap(@Self)^.&set := $00000040;
  12178. end;
  12179. procedure TICAP2_IC2CON.clearICI1; inline;
  12180. begin
  12181. pTDefRegMap(@Self)^.clr := $00000040;
  12182. end;
  12183. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  12184. begin
  12185. if thebits = 0 then
  12186. pTDefRegMap(@Self)^.clr := $00000040
  12187. else
  12188. pTDefRegMap(@Self)^.&set := $00000040;
  12189. end;
  12190. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  12191. begin
  12192. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12193. end;
  12194. procedure TICAP2_IC2CON.setICSIDL; inline;
  12195. begin
  12196. pTDefRegMap(@Self)^.&set := $00002000;
  12197. end;
  12198. procedure TICAP2_IC2CON.clearICSIDL; inline;
  12199. begin
  12200. pTDefRegMap(@Self)^.clr := $00002000;
  12201. end;
  12202. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  12203. begin
  12204. if thebits = 0 then
  12205. pTDefRegMap(@Self)^.clr := $00002000
  12206. else
  12207. pTDefRegMap(@Self)^.&set := $00002000;
  12208. end;
  12209. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  12210. begin
  12211. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12212. end;
  12213. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  12214. begin
  12215. pTDefRegMap(@Self)^.val := thebits;
  12216. end;
  12217. function TICAP2_IC2CON.getw : TBits_32; inline;
  12218. begin
  12219. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12220. end;
  12221. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  12222. begin
  12223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12224. end;
  12225. function TICAP3_IC3CON.getICM : TBits_3; inline;
  12226. begin
  12227. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12228. end;
  12229. procedure TICAP3_IC3CON.setICBNE; inline;
  12230. begin
  12231. pTDefRegMap(@Self)^.&set := $00000008;
  12232. end;
  12233. procedure TICAP3_IC3CON.clearICBNE; inline;
  12234. begin
  12235. pTDefRegMap(@Self)^.clr := $00000008;
  12236. end;
  12237. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  12238. begin
  12239. if thebits = 0 then
  12240. pTDefRegMap(@Self)^.clr := $00000008
  12241. else
  12242. pTDefRegMap(@Self)^.&set := $00000008;
  12243. end;
  12244. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  12245. begin
  12246. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12247. end;
  12248. procedure TICAP3_IC3CON.setICOV; inline;
  12249. begin
  12250. pTDefRegMap(@Self)^.&set := $00000010;
  12251. end;
  12252. procedure TICAP3_IC3CON.clearICOV; inline;
  12253. begin
  12254. pTDefRegMap(@Self)^.clr := $00000010;
  12255. end;
  12256. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  12257. begin
  12258. if thebits = 0 then
  12259. pTDefRegMap(@Self)^.clr := $00000010
  12260. else
  12261. pTDefRegMap(@Self)^.&set := $00000010;
  12262. end;
  12263. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  12264. begin
  12265. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12266. end;
  12267. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  12268. begin
  12269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12270. end;
  12271. function TICAP3_IC3CON.getICI : TBits_2; inline;
  12272. begin
  12273. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12274. end;
  12275. procedure TICAP3_IC3CON.setICTMR; inline;
  12276. begin
  12277. pTDefRegMap(@Self)^.&set := $00000080;
  12278. end;
  12279. procedure TICAP3_IC3CON.clearICTMR; inline;
  12280. begin
  12281. pTDefRegMap(@Self)^.clr := $00000080;
  12282. end;
  12283. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  12284. begin
  12285. if thebits = 0 then
  12286. pTDefRegMap(@Self)^.clr := $00000080
  12287. else
  12288. pTDefRegMap(@Self)^.&set := $00000080;
  12289. end;
  12290. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  12291. begin
  12292. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12293. end;
  12294. procedure TICAP3_IC3CON.setC32; inline;
  12295. begin
  12296. pTDefRegMap(@Self)^.&set := $00000100;
  12297. end;
  12298. procedure TICAP3_IC3CON.clearC32; inline;
  12299. begin
  12300. pTDefRegMap(@Self)^.clr := $00000100;
  12301. end;
  12302. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12303. begin
  12304. if thebits = 0 then
  12305. pTDefRegMap(@Self)^.clr := $00000100
  12306. else
  12307. pTDefRegMap(@Self)^.&set := $00000100;
  12308. end;
  12309. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12310. begin
  12311. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12312. end;
  12313. procedure TICAP3_IC3CON.setFEDGE; inline;
  12314. begin
  12315. pTDefRegMap(@Self)^.&set := $00000200;
  12316. end;
  12317. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12318. begin
  12319. pTDefRegMap(@Self)^.clr := $00000200;
  12320. end;
  12321. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12322. begin
  12323. if thebits = 0 then
  12324. pTDefRegMap(@Self)^.clr := $00000200
  12325. else
  12326. pTDefRegMap(@Self)^.&set := $00000200;
  12327. end;
  12328. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12329. begin
  12330. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12331. end;
  12332. procedure TICAP3_IC3CON.setSIDL; inline;
  12333. begin
  12334. pTDefRegMap(@Self)^.&set := $00002000;
  12335. end;
  12336. procedure TICAP3_IC3CON.clearSIDL; inline;
  12337. begin
  12338. pTDefRegMap(@Self)^.clr := $00002000;
  12339. end;
  12340. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12341. begin
  12342. if thebits = 0 then
  12343. pTDefRegMap(@Self)^.clr := $00002000
  12344. else
  12345. pTDefRegMap(@Self)^.&set := $00002000;
  12346. end;
  12347. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12348. begin
  12349. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12350. end;
  12351. procedure TICAP3_IC3CON.setON; inline;
  12352. begin
  12353. pTDefRegMap(@Self)^.&set := $00008000;
  12354. end;
  12355. procedure TICAP3_IC3CON.clearON; inline;
  12356. begin
  12357. pTDefRegMap(@Self)^.clr := $00008000;
  12358. end;
  12359. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12360. begin
  12361. if thebits = 0 then
  12362. pTDefRegMap(@Self)^.clr := $00008000
  12363. else
  12364. pTDefRegMap(@Self)^.&set := $00008000;
  12365. end;
  12366. function TICAP3_IC3CON.getON : TBits_1; inline;
  12367. begin
  12368. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12369. end;
  12370. procedure TICAP3_IC3CON.setICM0; inline;
  12371. begin
  12372. pTDefRegMap(@Self)^.&set := $00000001;
  12373. end;
  12374. procedure TICAP3_IC3CON.clearICM0; inline;
  12375. begin
  12376. pTDefRegMap(@Self)^.clr := $00000001;
  12377. end;
  12378. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12379. begin
  12380. if thebits = 0 then
  12381. pTDefRegMap(@Self)^.clr := $00000001
  12382. else
  12383. pTDefRegMap(@Self)^.&set := $00000001;
  12384. end;
  12385. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12386. begin
  12387. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12388. end;
  12389. procedure TICAP3_IC3CON.setICM1; inline;
  12390. begin
  12391. pTDefRegMap(@Self)^.&set := $00000002;
  12392. end;
  12393. procedure TICAP3_IC3CON.clearICM1; inline;
  12394. begin
  12395. pTDefRegMap(@Self)^.clr := $00000002;
  12396. end;
  12397. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12398. begin
  12399. if thebits = 0 then
  12400. pTDefRegMap(@Self)^.clr := $00000002
  12401. else
  12402. pTDefRegMap(@Self)^.&set := $00000002;
  12403. end;
  12404. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12405. begin
  12406. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12407. end;
  12408. procedure TICAP3_IC3CON.setICM2; inline;
  12409. begin
  12410. pTDefRegMap(@Self)^.&set := $00000004;
  12411. end;
  12412. procedure TICAP3_IC3CON.clearICM2; inline;
  12413. begin
  12414. pTDefRegMap(@Self)^.clr := $00000004;
  12415. end;
  12416. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12417. begin
  12418. if thebits = 0 then
  12419. pTDefRegMap(@Self)^.clr := $00000004
  12420. else
  12421. pTDefRegMap(@Self)^.&set := $00000004;
  12422. end;
  12423. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12424. begin
  12425. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12426. end;
  12427. procedure TICAP3_IC3CON.setICI0; inline;
  12428. begin
  12429. pTDefRegMap(@Self)^.&set := $00000020;
  12430. end;
  12431. procedure TICAP3_IC3CON.clearICI0; inline;
  12432. begin
  12433. pTDefRegMap(@Self)^.clr := $00000020;
  12434. end;
  12435. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12436. begin
  12437. if thebits = 0 then
  12438. pTDefRegMap(@Self)^.clr := $00000020
  12439. else
  12440. pTDefRegMap(@Self)^.&set := $00000020;
  12441. end;
  12442. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12443. begin
  12444. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12445. end;
  12446. procedure TICAP3_IC3CON.setICI1; inline;
  12447. begin
  12448. pTDefRegMap(@Self)^.&set := $00000040;
  12449. end;
  12450. procedure TICAP3_IC3CON.clearICI1; inline;
  12451. begin
  12452. pTDefRegMap(@Self)^.clr := $00000040;
  12453. end;
  12454. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12455. begin
  12456. if thebits = 0 then
  12457. pTDefRegMap(@Self)^.clr := $00000040
  12458. else
  12459. pTDefRegMap(@Self)^.&set := $00000040;
  12460. end;
  12461. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12462. begin
  12463. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12464. end;
  12465. procedure TICAP3_IC3CON.setICSIDL; inline;
  12466. begin
  12467. pTDefRegMap(@Self)^.&set := $00002000;
  12468. end;
  12469. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12470. begin
  12471. pTDefRegMap(@Self)^.clr := $00002000;
  12472. end;
  12473. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12474. begin
  12475. if thebits = 0 then
  12476. pTDefRegMap(@Self)^.clr := $00002000
  12477. else
  12478. pTDefRegMap(@Self)^.&set := $00002000;
  12479. end;
  12480. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12481. begin
  12482. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12483. end;
  12484. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12485. begin
  12486. pTDefRegMap(@Self)^.val := thebits;
  12487. end;
  12488. function TICAP3_IC3CON.getw : TBits_32; inline;
  12489. begin
  12490. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12491. end;
  12492. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12493. begin
  12494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12495. end;
  12496. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12497. begin
  12498. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12499. end;
  12500. procedure TICAP4_IC4CON.setICBNE; inline;
  12501. begin
  12502. pTDefRegMap(@Self)^.&set := $00000008;
  12503. end;
  12504. procedure TICAP4_IC4CON.clearICBNE; inline;
  12505. begin
  12506. pTDefRegMap(@Self)^.clr := $00000008;
  12507. end;
  12508. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12509. begin
  12510. if thebits = 0 then
  12511. pTDefRegMap(@Self)^.clr := $00000008
  12512. else
  12513. pTDefRegMap(@Self)^.&set := $00000008;
  12514. end;
  12515. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  12516. begin
  12517. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12518. end;
  12519. procedure TICAP4_IC4CON.setICOV; inline;
  12520. begin
  12521. pTDefRegMap(@Self)^.&set := $00000010;
  12522. end;
  12523. procedure TICAP4_IC4CON.clearICOV; inline;
  12524. begin
  12525. pTDefRegMap(@Self)^.clr := $00000010;
  12526. end;
  12527. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  12528. begin
  12529. if thebits = 0 then
  12530. pTDefRegMap(@Self)^.clr := $00000010
  12531. else
  12532. pTDefRegMap(@Self)^.&set := $00000010;
  12533. end;
  12534. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  12535. begin
  12536. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12537. end;
  12538. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  12539. begin
  12540. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12541. end;
  12542. function TICAP4_IC4CON.getICI : TBits_2; inline;
  12543. begin
  12544. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12545. end;
  12546. procedure TICAP4_IC4CON.setICTMR; inline;
  12547. begin
  12548. pTDefRegMap(@Self)^.&set := $00000080;
  12549. end;
  12550. procedure TICAP4_IC4CON.clearICTMR; inline;
  12551. begin
  12552. pTDefRegMap(@Self)^.clr := $00000080;
  12553. end;
  12554. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  12555. begin
  12556. if thebits = 0 then
  12557. pTDefRegMap(@Self)^.clr := $00000080
  12558. else
  12559. pTDefRegMap(@Self)^.&set := $00000080;
  12560. end;
  12561. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  12562. begin
  12563. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12564. end;
  12565. procedure TICAP4_IC4CON.setC32; inline;
  12566. begin
  12567. pTDefRegMap(@Self)^.&set := $00000100;
  12568. end;
  12569. procedure TICAP4_IC4CON.clearC32; inline;
  12570. begin
  12571. pTDefRegMap(@Self)^.clr := $00000100;
  12572. end;
  12573. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  12574. begin
  12575. if thebits = 0 then
  12576. pTDefRegMap(@Self)^.clr := $00000100
  12577. else
  12578. pTDefRegMap(@Self)^.&set := $00000100;
  12579. end;
  12580. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  12581. begin
  12582. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12583. end;
  12584. procedure TICAP4_IC4CON.setFEDGE; inline;
  12585. begin
  12586. pTDefRegMap(@Self)^.&set := $00000200;
  12587. end;
  12588. procedure TICAP4_IC4CON.clearFEDGE; inline;
  12589. begin
  12590. pTDefRegMap(@Self)^.clr := $00000200;
  12591. end;
  12592. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  12593. begin
  12594. if thebits = 0 then
  12595. pTDefRegMap(@Self)^.clr := $00000200
  12596. else
  12597. pTDefRegMap(@Self)^.&set := $00000200;
  12598. end;
  12599. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  12600. begin
  12601. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12602. end;
  12603. procedure TICAP4_IC4CON.setSIDL; inline;
  12604. begin
  12605. pTDefRegMap(@Self)^.&set := $00002000;
  12606. end;
  12607. procedure TICAP4_IC4CON.clearSIDL; inline;
  12608. begin
  12609. pTDefRegMap(@Self)^.clr := $00002000;
  12610. end;
  12611. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  12612. begin
  12613. if thebits = 0 then
  12614. pTDefRegMap(@Self)^.clr := $00002000
  12615. else
  12616. pTDefRegMap(@Self)^.&set := $00002000;
  12617. end;
  12618. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  12619. begin
  12620. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12621. end;
  12622. procedure TICAP4_IC4CON.setON; inline;
  12623. begin
  12624. pTDefRegMap(@Self)^.&set := $00008000;
  12625. end;
  12626. procedure TICAP4_IC4CON.clearON; inline;
  12627. begin
  12628. pTDefRegMap(@Self)^.clr := $00008000;
  12629. end;
  12630. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  12631. begin
  12632. if thebits = 0 then
  12633. pTDefRegMap(@Self)^.clr := $00008000
  12634. else
  12635. pTDefRegMap(@Self)^.&set := $00008000;
  12636. end;
  12637. function TICAP4_IC4CON.getON : TBits_1; inline;
  12638. begin
  12639. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12640. end;
  12641. procedure TICAP4_IC4CON.setICM0; inline;
  12642. begin
  12643. pTDefRegMap(@Self)^.&set := $00000001;
  12644. end;
  12645. procedure TICAP4_IC4CON.clearICM0; inline;
  12646. begin
  12647. pTDefRegMap(@Self)^.clr := $00000001;
  12648. end;
  12649. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  12650. begin
  12651. if thebits = 0 then
  12652. pTDefRegMap(@Self)^.clr := $00000001
  12653. else
  12654. pTDefRegMap(@Self)^.&set := $00000001;
  12655. end;
  12656. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  12657. begin
  12658. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12659. end;
  12660. procedure TICAP4_IC4CON.setICM1; inline;
  12661. begin
  12662. pTDefRegMap(@Self)^.&set := $00000002;
  12663. end;
  12664. procedure TICAP4_IC4CON.clearICM1; inline;
  12665. begin
  12666. pTDefRegMap(@Self)^.clr := $00000002;
  12667. end;
  12668. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  12669. begin
  12670. if thebits = 0 then
  12671. pTDefRegMap(@Self)^.clr := $00000002
  12672. else
  12673. pTDefRegMap(@Self)^.&set := $00000002;
  12674. end;
  12675. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  12676. begin
  12677. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12678. end;
  12679. procedure TICAP4_IC4CON.setICM2; inline;
  12680. begin
  12681. pTDefRegMap(@Self)^.&set := $00000004;
  12682. end;
  12683. procedure TICAP4_IC4CON.clearICM2; inline;
  12684. begin
  12685. pTDefRegMap(@Self)^.clr := $00000004;
  12686. end;
  12687. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  12688. begin
  12689. if thebits = 0 then
  12690. pTDefRegMap(@Self)^.clr := $00000004
  12691. else
  12692. pTDefRegMap(@Self)^.&set := $00000004;
  12693. end;
  12694. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  12695. begin
  12696. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12697. end;
  12698. procedure TICAP4_IC4CON.setICI0; inline;
  12699. begin
  12700. pTDefRegMap(@Self)^.&set := $00000020;
  12701. end;
  12702. procedure TICAP4_IC4CON.clearICI0; inline;
  12703. begin
  12704. pTDefRegMap(@Self)^.clr := $00000020;
  12705. end;
  12706. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  12707. begin
  12708. if thebits = 0 then
  12709. pTDefRegMap(@Self)^.clr := $00000020
  12710. else
  12711. pTDefRegMap(@Self)^.&set := $00000020;
  12712. end;
  12713. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  12714. begin
  12715. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12716. end;
  12717. procedure TICAP4_IC4CON.setICI1; inline;
  12718. begin
  12719. pTDefRegMap(@Self)^.&set := $00000040;
  12720. end;
  12721. procedure TICAP4_IC4CON.clearICI1; inline;
  12722. begin
  12723. pTDefRegMap(@Self)^.clr := $00000040;
  12724. end;
  12725. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  12726. begin
  12727. if thebits = 0 then
  12728. pTDefRegMap(@Self)^.clr := $00000040
  12729. else
  12730. pTDefRegMap(@Self)^.&set := $00000040;
  12731. end;
  12732. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  12733. begin
  12734. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12735. end;
  12736. procedure TICAP4_IC4CON.setICSIDL; inline;
  12737. begin
  12738. pTDefRegMap(@Self)^.&set := $00002000;
  12739. end;
  12740. procedure TICAP4_IC4CON.clearICSIDL; inline;
  12741. begin
  12742. pTDefRegMap(@Self)^.clr := $00002000;
  12743. end;
  12744. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  12745. begin
  12746. if thebits = 0 then
  12747. pTDefRegMap(@Self)^.clr := $00002000
  12748. else
  12749. pTDefRegMap(@Self)^.&set := $00002000;
  12750. end;
  12751. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  12752. begin
  12753. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12754. end;
  12755. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  12756. begin
  12757. pTDefRegMap(@Self)^.val := thebits;
  12758. end;
  12759. function TICAP4_IC4CON.getw : TBits_32; inline;
  12760. begin
  12761. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12762. end;
  12763. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  12764. begin
  12765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12766. end;
  12767. function TICAP5_IC5CON.getICM : TBits_3; inline;
  12768. begin
  12769. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12770. end;
  12771. procedure TICAP5_IC5CON.setICBNE; inline;
  12772. begin
  12773. pTDefRegMap(@Self)^.&set := $00000008;
  12774. end;
  12775. procedure TICAP5_IC5CON.clearICBNE; inline;
  12776. begin
  12777. pTDefRegMap(@Self)^.clr := $00000008;
  12778. end;
  12779. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  12780. begin
  12781. if thebits = 0 then
  12782. pTDefRegMap(@Self)^.clr := $00000008
  12783. else
  12784. pTDefRegMap(@Self)^.&set := $00000008;
  12785. end;
  12786. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  12787. begin
  12788. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12789. end;
  12790. procedure TICAP5_IC5CON.setICOV; inline;
  12791. begin
  12792. pTDefRegMap(@Self)^.&set := $00000010;
  12793. end;
  12794. procedure TICAP5_IC5CON.clearICOV; inline;
  12795. begin
  12796. pTDefRegMap(@Self)^.clr := $00000010;
  12797. end;
  12798. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  12799. begin
  12800. if thebits = 0 then
  12801. pTDefRegMap(@Self)^.clr := $00000010
  12802. else
  12803. pTDefRegMap(@Self)^.&set := $00000010;
  12804. end;
  12805. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  12806. begin
  12807. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12808. end;
  12809. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  12810. begin
  12811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12812. end;
  12813. function TICAP5_IC5CON.getICI : TBits_2; inline;
  12814. begin
  12815. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12816. end;
  12817. procedure TICAP5_IC5CON.setICTMR; inline;
  12818. begin
  12819. pTDefRegMap(@Self)^.&set := $00000080;
  12820. end;
  12821. procedure TICAP5_IC5CON.clearICTMR; inline;
  12822. begin
  12823. pTDefRegMap(@Self)^.clr := $00000080;
  12824. end;
  12825. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  12826. begin
  12827. if thebits = 0 then
  12828. pTDefRegMap(@Self)^.clr := $00000080
  12829. else
  12830. pTDefRegMap(@Self)^.&set := $00000080;
  12831. end;
  12832. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  12833. begin
  12834. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12835. end;
  12836. procedure TICAP5_IC5CON.setC32; inline;
  12837. begin
  12838. pTDefRegMap(@Self)^.&set := $00000100;
  12839. end;
  12840. procedure TICAP5_IC5CON.clearC32; inline;
  12841. begin
  12842. pTDefRegMap(@Self)^.clr := $00000100;
  12843. end;
  12844. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  12845. begin
  12846. if thebits = 0 then
  12847. pTDefRegMap(@Self)^.clr := $00000100
  12848. else
  12849. pTDefRegMap(@Self)^.&set := $00000100;
  12850. end;
  12851. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  12852. begin
  12853. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12854. end;
  12855. procedure TICAP5_IC5CON.setFEDGE; inline;
  12856. begin
  12857. pTDefRegMap(@Self)^.&set := $00000200;
  12858. end;
  12859. procedure TICAP5_IC5CON.clearFEDGE; inline;
  12860. begin
  12861. pTDefRegMap(@Self)^.clr := $00000200;
  12862. end;
  12863. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  12864. begin
  12865. if thebits = 0 then
  12866. pTDefRegMap(@Self)^.clr := $00000200
  12867. else
  12868. pTDefRegMap(@Self)^.&set := $00000200;
  12869. end;
  12870. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  12871. begin
  12872. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12873. end;
  12874. procedure TICAP5_IC5CON.setSIDL; inline;
  12875. begin
  12876. pTDefRegMap(@Self)^.&set := $00002000;
  12877. end;
  12878. procedure TICAP5_IC5CON.clearSIDL; inline;
  12879. begin
  12880. pTDefRegMap(@Self)^.clr := $00002000;
  12881. end;
  12882. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  12883. begin
  12884. if thebits = 0 then
  12885. pTDefRegMap(@Self)^.clr := $00002000
  12886. else
  12887. pTDefRegMap(@Self)^.&set := $00002000;
  12888. end;
  12889. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  12890. begin
  12891. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12892. end;
  12893. procedure TICAP5_IC5CON.setON; inline;
  12894. begin
  12895. pTDefRegMap(@Self)^.&set := $00008000;
  12896. end;
  12897. procedure TICAP5_IC5CON.clearON; inline;
  12898. begin
  12899. pTDefRegMap(@Self)^.clr := $00008000;
  12900. end;
  12901. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  12902. begin
  12903. if thebits = 0 then
  12904. pTDefRegMap(@Self)^.clr := $00008000
  12905. else
  12906. pTDefRegMap(@Self)^.&set := $00008000;
  12907. end;
  12908. function TICAP5_IC5CON.getON : TBits_1; inline;
  12909. begin
  12910. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12911. end;
  12912. procedure TICAP5_IC5CON.setICM0; inline;
  12913. begin
  12914. pTDefRegMap(@Self)^.&set := $00000001;
  12915. end;
  12916. procedure TICAP5_IC5CON.clearICM0; inline;
  12917. begin
  12918. pTDefRegMap(@Self)^.clr := $00000001;
  12919. end;
  12920. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  12921. begin
  12922. if thebits = 0 then
  12923. pTDefRegMap(@Self)^.clr := $00000001
  12924. else
  12925. pTDefRegMap(@Self)^.&set := $00000001;
  12926. end;
  12927. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  12928. begin
  12929. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12930. end;
  12931. procedure TICAP5_IC5CON.setICM1; inline;
  12932. begin
  12933. pTDefRegMap(@Self)^.&set := $00000002;
  12934. end;
  12935. procedure TICAP5_IC5CON.clearICM1; inline;
  12936. begin
  12937. pTDefRegMap(@Self)^.clr := $00000002;
  12938. end;
  12939. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  12940. begin
  12941. if thebits = 0 then
  12942. pTDefRegMap(@Self)^.clr := $00000002
  12943. else
  12944. pTDefRegMap(@Self)^.&set := $00000002;
  12945. end;
  12946. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  12947. begin
  12948. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12949. end;
  12950. procedure TICAP5_IC5CON.setICM2; inline;
  12951. begin
  12952. pTDefRegMap(@Self)^.&set := $00000004;
  12953. end;
  12954. procedure TICAP5_IC5CON.clearICM2; inline;
  12955. begin
  12956. pTDefRegMap(@Self)^.clr := $00000004;
  12957. end;
  12958. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  12959. begin
  12960. if thebits = 0 then
  12961. pTDefRegMap(@Self)^.clr := $00000004
  12962. else
  12963. pTDefRegMap(@Self)^.&set := $00000004;
  12964. end;
  12965. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  12966. begin
  12967. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12968. end;
  12969. procedure TICAP5_IC5CON.setICI0; inline;
  12970. begin
  12971. pTDefRegMap(@Self)^.&set := $00000020;
  12972. end;
  12973. procedure TICAP5_IC5CON.clearICI0; inline;
  12974. begin
  12975. pTDefRegMap(@Self)^.clr := $00000020;
  12976. end;
  12977. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  12978. begin
  12979. if thebits = 0 then
  12980. pTDefRegMap(@Self)^.clr := $00000020
  12981. else
  12982. pTDefRegMap(@Self)^.&set := $00000020;
  12983. end;
  12984. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  12985. begin
  12986. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12987. end;
  12988. procedure TICAP5_IC5CON.setICI1; inline;
  12989. begin
  12990. pTDefRegMap(@Self)^.&set := $00000040;
  12991. end;
  12992. procedure TICAP5_IC5CON.clearICI1; inline;
  12993. begin
  12994. pTDefRegMap(@Self)^.clr := $00000040;
  12995. end;
  12996. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  12997. begin
  12998. if thebits = 0 then
  12999. pTDefRegMap(@Self)^.clr := $00000040
  13000. else
  13001. pTDefRegMap(@Self)^.&set := $00000040;
  13002. end;
  13003. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  13004. begin
  13005. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13006. end;
  13007. procedure TICAP5_IC5CON.setICSIDL; inline;
  13008. begin
  13009. pTDefRegMap(@Self)^.&set := $00002000;
  13010. end;
  13011. procedure TICAP5_IC5CON.clearICSIDL; inline;
  13012. begin
  13013. pTDefRegMap(@Self)^.clr := $00002000;
  13014. end;
  13015. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  13016. begin
  13017. if thebits = 0 then
  13018. pTDefRegMap(@Self)^.clr := $00002000
  13019. else
  13020. pTDefRegMap(@Self)^.&set := $00002000;
  13021. end;
  13022. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  13023. begin
  13024. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13025. end;
  13026. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  13027. begin
  13028. pTDefRegMap(@Self)^.val := thebits;
  13029. end;
  13030. function TICAP5_IC5CON.getw : TBits_32; inline;
  13031. begin
  13032. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13033. end;
  13034. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  13035. begin
  13036. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13037. end;
  13038. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  13039. begin
  13040. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13041. end;
  13042. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  13043. begin
  13044. pTDefRegMap(@Self)^.&set := $00000008;
  13045. end;
  13046. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  13047. begin
  13048. pTDefRegMap(@Self)^.clr := $00000008;
  13049. end;
  13050. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  13051. begin
  13052. if thebits = 0 then
  13053. pTDefRegMap(@Self)^.clr := $00000008
  13054. else
  13055. pTDefRegMap(@Self)^.&set := $00000008;
  13056. end;
  13057. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  13058. begin
  13059. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13060. end;
  13061. procedure TOCMP1_OC1CON.setOCFLT; inline;
  13062. begin
  13063. pTDefRegMap(@Self)^.&set := $00000010;
  13064. end;
  13065. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  13066. begin
  13067. pTDefRegMap(@Self)^.clr := $00000010;
  13068. end;
  13069. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  13070. begin
  13071. if thebits = 0 then
  13072. pTDefRegMap(@Self)^.clr := $00000010
  13073. else
  13074. pTDefRegMap(@Self)^.&set := $00000010;
  13075. end;
  13076. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  13077. begin
  13078. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13079. end;
  13080. procedure TOCMP1_OC1CON.setOC32; inline;
  13081. begin
  13082. pTDefRegMap(@Self)^.&set := $00000020;
  13083. end;
  13084. procedure TOCMP1_OC1CON.clearOC32; inline;
  13085. begin
  13086. pTDefRegMap(@Self)^.clr := $00000020;
  13087. end;
  13088. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  13089. begin
  13090. if thebits = 0 then
  13091. pTDefRegMap(@Self)^.clr := $00000020
  13092. else
  13093. pTDefRegMap(@Self)^.&set := $00000020;
  13094. end;
  13095. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  13096. begin
  13097. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13098. end;
  13099. procedure TOCMP1_OC1CON.setSIDL; inline;
  13100. begin
  13101. pTDefRegMap(@Self)^.&set := $00002000;
  13102. end;
  13103. procedure TOCMP1_OC1CON.clearSIDL; inline;
  13104. begin
  13105. pTDefRegMap(@Self)^.clr := $00002000;
  13106. end;
  13107. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  13108. begin
  13109. if thebits = 0 then
  13110. pTDefRegMap(@Self)^.clr := $00002000
  13111. else
  13112. pTDefRegMap(@Self)^.&set := $00002000;
  13113. end;
  13114. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  13115. begin
  13116. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13117. end;
  13118. procedure TOCMP1_OC1CON.setON; inline;
  13119. begin
  13120. pTDefRegMap(@Self)^.&set := $00008000;
  13121. end;
  13122. procedure TOCMP1_OC1CON.clearON; inline;
  13123. begin
  13124. pTDefRegMap(@Self)^.clr := $00008000;
  13125. end;
  13126. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  13127. begin
  13128. if thebits = 0 then
  13129. pTDefRegMap(@Self)^.clr := $00008000
  13130. else
  13131. pTDefRegMap(@Self)^.&set := $00008000;
  13132. end;
  13133. function TOCMP1_OC1CON.getON : TBits_1; inline;
  13134. begin
  13135. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13136. end;
  13137. procedure TOCMP1_OC1CON.setOCM0; inline;
  13138. begin
  13139. pTDefRegMap(@Self)^.&set := $00000001;
  13140. end;
  13141. procedure TOCMP1_OC1CON.clearOCM0; inline;
  13142. begin
  13143. pTDefRegMap(@Self)^.clr := $00000001;
  13144. end;
  13145. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  13146. begin
  13147. if thebits = 0 then
  13148. pTDefRegMap(@Self)^.clr := $00000001
  13149. else
  13150. pTDefRegMap(@Self)^.&set := $00000001;
  13151. end;
  13152. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  13153. begin
  13154. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13155. end;
  13156. procedure TOCMP1_OC1CON.setOCM1; inline;
  13157. begin
  13158. pTDefRegMap(@Self)^.&set := $00000002;
  13159. end;
  13160. procedure TOCMP1_OC1CON.clearOCM1; inline;
  13161. begin
  13162. pTDefRegMap(@Self)^.clr := $00000002;
  13163. end;
  13164. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  13165. begin
  13166. if thebits = 0 then
  13167. pTDefRegMap(@Self)^.clr := $00000002
  13168. else
  13169. pTDefRegMap(@Self)^.&set := $00000002;
  13170. end;
  13171. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  13172. begin
  13173. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13174. end;
  13175. procedure TOCMP1_OC1CON.setOCM2; inline;
  13176. begin
  13177. pTDefRegMap(@Self)^.&set := $00000004;
  13178. end;
  13179. procedure TOCMP1_OC1CON.clearOCM2; inline;
  13180. begin
  13181. pTDefRegMap(@Self)^.clr := $00000004;
  13182. end;
  13183. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  13184. begin
  13185. if thebits = 0 then
  13186. pTDefRegMap(@Self)^.clr := $00000004
  13187. else
  13188. pTDefRegMap(@Self)^.&set := $00000004;
  13189. end;
  13190. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  13191. begin
  13192. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13193. end;
  13194. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  13195. begin
  13196. pTDefRegMap(@Self)^.&set := $00002000;
  13197. end;
  13198. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  13199. begin
  13200. pTDefRegMap(@Self)^.clr := $00002000;
  13201. end;
  13202. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  13203. begin
  13204. if thebits = 0 then
  13205. pTDefRegMap(@Self)^.clr := $00002000
  13206. else
  13207. pTDefRegMap(@Self)^.&set := $00002000;
  13208. end;
  13209. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  13210. begin
  13211. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13212. end;
  13213. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  13214. begin
  13215. pTDefRegMap(@Self)^.val := thebits;
  13216. end;
  13217. function TOCMP1_OC1CON.getw : TBits_32; inline;
  13218. begin
  13219. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13220. end;
  13221. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  13222. begin
  13223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13224. end;
  13225. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  13226. begin
  13227. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13228. end;
  13229. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  13230. begin
  13231. pTDefRegMap(@Self)^.&set := $00000008;
  13232. end;
  13233. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  13234. begin
  13235. pTDefRegMap(@Self)^.clr := $00000008;
  13236. end;
  13237. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  13238. begin
  13239. if thebits = 0 then
  13240. pTDefRegMap(@Self)^.clr := $00000008
  13241. else
  13242. pTDefRegMap(@Self)^.&set := $00000008;
  13243. end;
  13244. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  13245. begin
  13246. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13247. end;
  13248. procedure TOCMP2_OC2CON.setOCFLT; inline;
  13249. begin
  13250. pTDefRegMap(@Self)^.&set := $00000010;
  13251. end;
  13252. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  13253. begin
  13254. pTDefRegMap(@Self)^.clr := $00000010;
  13255. end;
  13256. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  13257. begin
  13258. if thebits = 0 then
  13259. pTDefRegMap(@Self)^.clr := $00000010
  13260. else
  13261. pTDefRegMap(@Self)^.&set := $00000010;
  13262. end;
  13263. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  13264. begin
  13265. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13266. end;
  13267. procedure TOCMP2_OC2CON.setOC32; inline;
  13268. begin
  13269. pTDefRegMap(@Self)^.&set := $00000020;
  13270. end;
  13271. procedure TOCMP2_OC2CON.clearOC32; inline;
  13272. begin
  13273. pTDefRegMap(@Self)^.clr := $00000020;
  13274. end;
  13275. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  13276. begin
  13277. if thebits = 0 then
  13278. pTDefRegMap(@Self)^.clr := $00000020
  13279. else
  13280. pTDefRegMap(@Self)^.&set := $00000020;
  13281. end;
  13282. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  13283. begin
  13284. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13285. end;
  13286. procedure TOCMP2_OC2CON.setSIDL; inline;
  13287. begin
  13288. pTDefRegMap(@Self)^.&set := $00002000;
  13289. end;
  13290. procedure TOCMP2_OC2CON.clearSIDL; inline;
  13291. begin
  13292. pTDefRegMap(@Self)^.clr := $00002000;
  13293. end;
  13294. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13295. begin
  13296. if thebits = 0 then
  13297. pTDefRegMap(@Self)^.clr := $00002000
  13298. else
  13299. pTDefRegMap(@Self)^.&set := $00002000;
  13300. end;
  13301. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13302. begin
  13303. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13304. end;
  13305. procedure TOCMP2_OC2CON.setON; inline;
  13306. begin
  13307. pTDefRegMap(@Self)^.&set := $00008000;
  13308. end;
  13309. procedure TOCMP2_OC2CON.clearON; inline;
  13310. begin
  13311. pTDefRegMap(@Self)^.clr := $00008000;
  13312. end;
  13313. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13314. begin
  13315. if thebits = 0 then
  13316. pTDefRegMap(@Self)^.clr := $00008000
  13317. else
  13318. pTDefRegMap(@Self)^.&set := $00008000;
  13319. end;
  13320. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13321. begin
  13322. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13323. end;
  13324. procedure TOCMP2_OC2CON.setOCM0; inline;
  13325. begin
  13326. pTDefRegMap(@Self)^.&set := $00000001;
  13327. end;
  13328. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13329. begin
  13330. pTDefRegMap(@Self)^.clr := $00000001;
  13331. end;
  13332. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13333. begin
  13334. if thebits = 0 then
  13335. pTDefRegMap(@Self)^.clr := $00000001
  13336. else
  13337. pTDefRegMap(@Self)^.&set := $00000001;
  13338. end;
  13339. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13340. begin
  13341. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13342. end;
  13343. procedure TOCMP2_OC2CON.setOCM1; inline;
  13344. begin
  13345. pTDefRegMap(@Self)^.&set := $00000002;
  13346. end;
  13347. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13348. begin
  13349. pTDefRegMap(@Self)^.clr := $00000002;
  13350. end;
  13351. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13352. begin
  13353. if thebits = 0 then
  13354. pTDefRegMap(@Self)^.clr := $00000002
  13355. else
  13356. pTDefRegMap(@Self)^.&set := $00000002;
  13357. end;
  13358. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13359. begin
  13360. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13361. end;
  13362. procedure TOCMP2_OC2CON.setOCM2; inline;
  13363. begin
  13364. pTDefRegMap(@Self)^.&set := $00000004;
  13365. end;
  13366. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13367. begin
  13368. pTDefRegMap(@Self)^.clr := $00000004;
  13369. end;
  13370. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13371. begin
  13372. if thebits = 0 then
  13373. pTDefRegMap(@Self)^.clr := $00000004
  13374. else
  13375. pTDefRegMap(@Self)^.&set := $00000004;
  13376. end;
  13377. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13378. begin
  13379. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13380. end;
  13381. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13382. begin
  13383. pTDefRegMap(@Self)^.&set := $00002000;
  13384. end;
  13385. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13386. begin
  13387. pTDefRegMap(@Self)^.clr := $00002000;
  13388. end;
  13389. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13390. begin
  13391. if thebits = 0 then
  13392. pTDefRegMap(@Self)^.clr := $00002000
  13393. else
  13394. pTDefRegMap(@Self)^.&set := $00002000;
  13395. end;
  13396. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13397. begin
  13398. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13399. end;
  13400. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13401. begin
  13402. pTDefRegMap(@Self)^.val := thebits;
  13403. end;
  13404. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13405. begin
  13406. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13407. end;
  13408. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13409. begin
  13410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13411. end;
  13412. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13413. begin
  13414. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13415. end;
  13416. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13417. begin
  13418. pTDefRegMap(@Self)^.&set := $00000008;
  13419. end;
  13420. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13421. begin
  13422. pTDefRegMap(@Self)^.clr := $00000008;
  13423. end;
  13424. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13425. begin
  13426. if thebits = 0 then
  13427. pTDefRegMap(@Self)^.clr := $00000008
  13428. else
  13429. pTDefRegMap(@Self)^.&set := $00000008;
  13430. end;
  13431. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13432. begin
  13433. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13434. end;
  13435. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13436. begin
  13437. pTDefRegMap(@Self)^.&set := $00000010;
  13438. end;
  13439. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13440. begin
  13441. pTDefRegMap(@Self)^.clr := $00000010;
  13442. end;
  13443. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13444. begin
  13445. if thebits = 0 then
  13446. pTDefRegMap(@Self)^.clr := $00000010
  13447. else
  13448. pTDefRegMap(@Self)^.&set := $00000010;
  13449. end;
  13450. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13451. begin
  13452. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13453. end;
  13454. procedure TOCMP3_OC3CON.setOC32; inline;
  13455. begin
  13456. pTDefRegMap(@Self)^.&set := $00000020;
  13457. end;
  13458. procedure TOCMP3_OC3CON.clearOC32; inline;
  13459. begin
  13460. pTDefRegMap(@Self)^.clr := $00000020;
  13461. end;
  13462. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13463. begin
  13464. if thebits = 0 then
  13465. pTDefRegMap(@Self)^.clr := $00000020
  13466. else
  13467. pTDefRegMap(@Self)^.&set := $00000020;
  13468. end;
  13469. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13470. begin
  13471. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13472. end;
  13473. procedure TOCMP3_OC3CON.setSIDL; inline;
  13474. begin
  13475. pTDefRegMap(@Self)^.&set := $00002000;
  13476. end;
  13477. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13478. begin
  13479. pTDefRegMap(@Self)^.clr := $00002000;
  13480. end;
  13481. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13482. begin
  13483. if thebits = 0 then
  13484. pTDefRegMap(@Self)^.clr := $00002000
  13485. else
  13486. pTDefRegMap(@Self)^.&set := $00002000;
  13487. end;
  13488. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13489. begin
  13490. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13491. end;
  13492. procedure TOCMP3_OC3CON.setON; inline;
  13493. begin
  13494. pTDefRegMap(@Self)^.&set := $00008000;
  13495. end;
  13496. procedure TOCMP3_OC3CON.clearON; inline;
  13497. begin
  13498. pTDefRegMap(@Self)^.clr := $00008000;
  13499. end;
  13500. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13501. begin
  13502. if thebits = 0 then
  13503. pTDefRegMap(@Self)^.clr := $00008000
  13504. else
  13505. pTDefRegMap(@Self)^.&set := $00008000;
  13506. end;
  13507. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13508. begin
  13509. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13510. end;
  13511. procedure TOCMP3_OC3CON.setOCM0; inline;
  13512. begin
  13513. pTDefRegMap(@Self)^.&set := $00000001;
  13514. end;
  13515. procedure TOCMP3_OC3CON.clearOCM0; inline;
  13516. begin
  13517. pTDefRegMap(@Self)^.clr := $00000001;
  13518. end;
  13519. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  13520. begin
  13521. if thebits = 0 then
  13522. pTDefRegMap(@Self)^.clr := $00000001
  13523. else
  13524. pTDefRegMap(@Self)^.&set := $00000001;
  13525. end;
  13526. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  13527. begin
  13528. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13529. end;
  13530. procedure TOCMP3_OC3CON.setOCM1; inline;
  13531. begin
  13532. pTDefRegMap(@Self)^.&set := $00000002;
  13533. end;
  13534. procedure TOCMP3_OC3CON.clearOCM1; inline;
  13535. begin
  13536. pTDefRegMap(@Self)^.clr := $00000002;
  13537. end;
  13538. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  13539. begin
  13540. if thebits = 0 then
  13541. pTDefRegMap(@Self)^.clr := $00000002
  13542. else
  13543. pTDefRegMap(@Self)^.&set := $00000002;
  13544. end;
  13545. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  13546. begin
  13547. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13548. end;
  13549. procedure TOCMP3_OC3CON.setOCM2; inline;
  13550. begin
  13551. pTDefRegMap(@Self)^.&set := $00000004;
  13552. end;
  13553. procedure TOCMP3_OC3CON.clearOCM2; inline;
  13554. begin
  13555. pTDefRegMap(@Self)^.clr := $00000004;
  13556. end;
  13557. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  13558. begin
  13559. if thebits = 0 then
  13560. pTDefRegMap(@Self)^.clr := $00000004
  13561. else
  13562. pTDefRegMap(@Self)^.&set := $00000004;
  13563. end;
  13564. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  13565. begin
  13566. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13567. end;
  13568. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  13569. begin
  13570. pTDefRegMap(@Self)^.&set := $00002000;
  13571. end;
  13572. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  13573. begin
  13574. pTDefRegMap(@Self)^.clr := $00002000;
  13575. end;
  13576. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  13577. begin
  13578. if thebits = 0 then
  13579. pTDefRegMap(@Self)^.clr := $00002000
  13580. else
  13581. pTDefRegMap(@Self)^.&set := $00002000;
  13582. end;
  13583. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  13584. begin
  13585. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13586. end;
  13587. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  13588. begin
  13589. pTDefRegMap(@Self)^.val := thebits;
  13590. end;
  13591. function TOCMP3_OC3CON.getw : TBits_32; inline;
  13592. begin
  13593. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13594. end;
  13595. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  13596. begin
  13597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13598. end;
  13599. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  13600. begin
  13601. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13602. end;
  13603. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  13604. begin
  13605. pTDefRegMap(@Self)^.&set := $00000008;
  13606. end;
  13607. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  13608. begin
  13609. pTDefRegMap(@Self)^.clr := $00000008;
  13610. end;
  13611. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  13612. begin
  13613. if thebits = 0 then
  13614. pTDefRegMap(@Self)^.clr := $00000008
  13615. else
  13616. pTDefRegMap(@Self)^.&set := $00000008;
  13617. end;
  13618. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  13619. begin
  13620. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13621. end;
  13622. procedure TOCMP4_OC4CON.setOCFLT; inline;
  13623. begin
  13624. pTDefRegMap(@Self)^.&set := $00000010;
  13625. end;
  13626. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  13627. begin
  13628. pTDefRegMap(@Self)^.clr := $00000010;
  13629. end;
  13630. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  13631. begin
  13632. if thebits = 0 then
  13633. pTDefRegMap(@Self)^.clr := $00000010
  13634. else
  13635. pTDefRegMap(@Self)^.&set := $00000010;
  13636. end;
  13637. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  13638. begin
  13639. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13640. end;
  13641. procedure TOCMP4_OC4CON.setOC32; inline;
  13642. begin
  13643. pTDefRegMap(@Self)^.&set := $00000020;
  13644. end;
  13645. procedure TOCMP4_OC4CON.clearOC32; inline;
  13646. begin
  13647. pTDefRegMap(@Self)^.clr := $00000020;
  13648. end;
  13649. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  13650. begin
  13651. if thebits = 0 then
  13652. pTDefRegMap(@Self)^.clr := $00000020
  13653. else
  13654. pTDefRegMap(@Self)^.&set := $00000020;
  13655. end;
  13656. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  13657. begin
  13658. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13659. end;
  13660. procedure TOCMP4_OC4CON.setSIDL; inline;
  13661. begin
  13662. pTDefRegMap(@Self)^.&set := $00002000;
  13663. end;
  13664. procedure TOCMP4_OC4CON.clearSIDL; inline;
  13665. begin
  13666. pTDefRegMap(@Self)^.clr := $00002000;
  13667. end;
  13668. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  13669. begin
  13670. if thebits = 0 then
  13671. pTDefRegMap(@Self)^.clr := $00002000
  13672. else
  13673. pTDefRegMap(@Self)^.&set := $00002000;
  13674. end;
  13675. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  13676. begin
  13677. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13678. end;
  13679. procedure TOCMP4_OC4CON.setON; inline;
  13680. begin
  13681. pTDefRegMap(@Self)^.&set := $00008000;
  13682. end;
  13683. procedure TOCMP4_OC4CON.clearON; inline;
  13684. begin
  13685. pTDefRegMap(@Self)^.clr := $00008000;
  13686. end;
  13687. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  13688. begin
  13689. if thebits = 0 then
  13690. pTDefRegMap(@Self)^.clr := $00008000
  13691. else
  13692. pTDefRegMap(@Self)^.&set := $00008000;
  13693. end;
  13694. function TOCMP4_OC4CON.getON : TBits_1; inline;
  13695. begin
  13696. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13697. end;
  13698. procedure TOCMP4_OC4CON.setOCM0; inline;
  13699. begin
  13700. pTDefRegMap(@Self)^.&set := $00000001;
  13701. end;
  13702. procedure TOCMP4_OC4CON.clearOCM0; inline;
  13703. begin
  13704. pTDefRegMap(@Self)^.clr := $00000001;
  13705. end;
  13706. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  13707. begin
  13708. if thebits = 0 then
  13709. pTDefRegMap(@Self)^.clr := $00000001
  13710. else
  13711. pTDefRegMap(@Self)^.&set := $00000001;
  13712. end;
  13713. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  13714. begin
  13715. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13716. end;
  13717. procedure TOCMP4_OC4CON.setOCM1; inline;
  13718. begin
  13719. pTDefRegMap(@Self)^.&set := $00000002;
  13720. end;
  13721. procedure TOCMP4_OC4CON.clearOCM1; inline;
  13722. begin
  13723. pTDefRegMap(@Self)^.clr := $00000002;
  13724. end;
  13725. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  13726. begin
  13727. if thebits = 0 then
  13728. pTDefRegMap(@Self)^.clr := $00000002
  13729. else
  13730. pTDefRegMap(@Self)^.&set := $00000002;
  13731. end;
  13732. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  13733. begin
  13734. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13735. end;
  13736. procedure TOCMP4_OC4CON.setOCM2; inline;
  13737. begin
  13738. pTDefRegMap(@Self)^.&set := $00000004;
  13739. end;
  13740. procedure TOCMP4_OC4CON.clearOCM2; inline;
  13741. begin
  13742. pTDefRegMap(@Self)^.clr := $00000004;
  13743. end;
  13744. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  13745. begin
  13746. if thebits = 0 then
  13747. pTDefRegMap(@Self)^.clr := $00000004
  13748. else
  13749. pTDefRegMap(@Self)^.&set := $00000004;
  13750. end;
  13751. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  13752. begin
  13753. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13754. end;
  13755. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  13756. begin
  13757. pTDefRegMap(@Self)^.&set := $00002000;
  13758. end;
  13759. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  13760. begin
  13761. pTDefRegMap(@Self)^.clr := $00002000;
  13762. end;
  13763. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  13764. begin
  13765. if thebits = 0 then
  13766. pTDefRegMap(@Self)^.clr := $00002000
  13767. else
  13768. pTDefRegMap(@Self)^.&set := $00002000;
  13769. end;
  13770. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  13771. begin
  13772. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13773. end;
  13774. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  13775. begin
  13776. pTDefRegMap(@Self)^.val := thebits;
  13777. end;
  13778. function TOCMP4_OC4CON.getw : TBits_32; inline;
  13779. begin
  13780. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13781. end;
  13782. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  13783. begin
  13784. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13785. end;
  13786. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  13787. begin
  13788. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13789. end;
  13790. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  13791. begin
  13792. pTDefRegMap(@Self)^.&set := $00000008;
  13793. end;
  13794. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  13795. begin
  13796. pTDefRegMap(@Self)^.clr := $00000008;
  13797. end;
  13798. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  13799. begin
  13800. if thebits = 0 then
  13801. pTDefRegMap(@Self)^.clr := $00000008
  13802. else
  13803. pTDefRegMap(@Self)^.&set := $00000008;
  13804. end;
  13805. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  13806. begin
  13807. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13808. end;
  13809. procedure TOCMP5_OC5CON.setOCFLT; inline;
  13810. begin
  13811. pTDefRegMap(@Self)^.&set := $00000010;
  13812. end;
  13813. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  13814. begin
  13815. pTDefRegMap(@Self)^.clr := $00000010;
  13816. end;
  13817. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  13818. begin
  13819. if thebits = 0 then
  13820. pTDefRegMap(@Self)^.clr := $00000010
  13821. else
  13822. pTDefRegMap(@Self)^.&set := $00000010;
  13823. end;
  13824. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  13825. begin
  13826. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13827. end;
  13828. procedure TOCMP5_OC5CON.setOC32; inline;
  13829. begin
  13830. pTDefRegMap(@Self)^.&set := $00000020;
  13831. end;
  13832. procedure TOCMP5_OC5CON.clearOC32; inline;
  13833. begin
  13834. pTDefRegMap(@Self)^.clr := $00000020;
  13835. end;
  13836. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  13837. begin
  13838. if thebits = 0 then
  13839. pTDefRegMap(@Self)^.clr := $00000020
  13840. else
  13841. pTDefRegMap(@Self)^.&set := $00000020;
  13842. end;
  13843. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  13844. begin
  13845. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13846. end;
  13847. procedure TOCMP5_OC5CON.setSIDL; inline;
  13848. begin
  13849. pTDefRegMap(@Self)^.&set := $00002000;
  13850. end;
  13851. procedure TOCMP5_OC5CON.clearSIDL; inline;
  13852. begin
  13853. pTDefRegMap(@Self)^.clr := $00002000;
  13854. end;
  13855. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  13856. begin
  13857. if thebits = 0 then
  13858. pTDefRegMap(@Self)^.clr := $00002000
  13859. else
  13860. pTDefRegMap(@Self)^.&set := $00002000;
  13861. end;
  13862. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  13863. begin
  13864. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13865. end;
  13866. procedure TOCMP5_OC5CON.setON; inline;
  13867. begin
  13868. pTDefRegMap(@Self)^.&set := $00008000;
  13869. end;
  13870. procedure TOCMP5_OC5CON.clearON; inline;
  13871. begin
  13872. pTDefRegMap(@Self)^.clr := $00008000;
  13873. end;
  13874. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  13875. begin
  13876. if thebits = 0 then
  13877. pTDefRegMap(@Self)^.clr := $00008000
  13878. else
  13879. pTDefRegMap(@Self)^.&set := $00008000;
  13880. end;
  13881. function TOCMP5_OC5CON.getON : TBits_1; inline;
  13882. begin
  13883. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13884. end;
  13885. procedure TOCMP5_OC5CON.setOCM0; inline;
  13886. begin
  13887. pTDefRegMap(@Self)^.&set := $00000001;
  13888. end;
  13889. procedure TOCMP5_OC5CON.clearOCM0; inline;
  13890. begin
  13891. pTDefRegMap(@Self)^.clr := $00000001;
  13892. end;
  13893. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  13894. begin
  13895. if thebits = 0 then
  13896. pTDefRegMap(@Self)^.clr := $00000001
  13897. else
  13898. pTDefRegMap(@Self)^.&set := $00000001;
  13899. end;
  13900. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  13901. begin
  13902. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13903. end;
  13904. procedure TOCMP5_OC5CON.setOCM1; inline;
  13905. begin
  13906. pTDefRegMap(@Self)^.&set := $00000002;
  13907. end;
  13908. procedure TOCMP5_OC5CON.clearOCM1; inline;
  13909. begin
  13910. pTDefRegMap(@Self)^.clr := $00000002;
  13911. end;
  13912. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  13913. begin
  13914. if thebits = 0 then
  13915. pTDefRegMap(@Self)^.clr := $00000002
  13916. else
  13917. pTDefRegMap(@Self)^.&set := $00000002;
  13918. end;
  13919. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  13920. begin
  13921. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13922. end;
  13923. procedure TOCMP5_OC5CON.setOCM2; inline;
  13924. begin
  13925. pTDefRegMap(@Self)^.&set := $00000004;
  13926. end;
  13927. procedure TOCMP5_OC5CON.clearOCM2; inline;
  13928. begin
  13929. pTDefRegMap(@Self)^.clr := $00000004;
  13930. end;
  13931. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  13932. begin
  13933. if thebits = 0 then
  13934. pTDefRegMap(@Self)^.clr := $00000004
  13935. else
  13936. pTDefRegMap(@Self)^.&set := $00000004;
  13937. end;
  13938. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  13939. begin
  13940. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13941. end;
  13942. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  13943. begin
  13944. pTDefRegMap(@Self)^.&set := $00002000;
  13945. end;
  13946. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  13947. begin
  13948. pTDefRegMap(@Self)^.clr := $00002000;
  13949. end;
  13950. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  13951. begin
  13952. if thebits = 0 then
  13953. pTDefRegMap(@Self)^.clr := $00002000
  13954. else
  13955. pTDefRegMap(@Self)^.&set := $00002000;
  13956. end;
  13957. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  13958. begin
  13959. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13960. end;
  13961. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  13962. begin
  13963. pTDefRegMap(@Self)^.val := thebits;
  13964. end;
  13965. function TOCMP5_OC5CON.getw : TBits_32; inline;
  13966. begin
  13967. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13968. end;
  13969. procedure TI2C1_I2C1ACON.setSEN; inline;
  13970. begin
  13971. pTDefRegMap(@Self)^.&set := $00000001;
  13972. end;
  13973. procedure TI2C1_I2C1ACON.clearSEN; inline;
  13974. begin
  13975. pTDefRegMap(@Self)^.clr := $00000001;
  13976. end;
  13977. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  13978. begin
  13979. if thebits = 0 then
  13980. pTDefRegMap(@Self)^.clr := $00000001
  13981. else
  13982. pTDefRegMap(@Self)^.&set := $00000001;
  13983. end;
  13984. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  13985. begin
  13986. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13987. end;
  13988. procedure TI2C1_I2C1ACON.setRSEN; inline;
  13989. begin
  13990. pTDefRegMap(@Self)^.&set := $00000002;
  13991. end;
  13992. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  13993. begin
  13994. pTDefRegMap(@Self)^.clr := $00000002;
  13995. end;
  13996. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  13997. begin
  13998. if thebits = 0 then
  13999. pTDefRegMap(@Self)^.clr := $00000002
  14000. else
  14001. pTDefRegMap(@Self)^.&set := $00000002;
  14002. end;
  14003. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  14004. begin
  14005. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14006. end;
  14007. procedure TI2C1_I2C1ACON.setPEN; inline;
  14008. begin
  14009. pTDefRegMap(@Self)^.&set := $00000004;
  14010. end;
  14011. procedure TI2C1_I2C1ACON.clearPEN; inline;
  14012. begin
  14013. pTDefRegMap(@Self)^.clr := $00000004;
  14014. end;
  14015. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  14016. begin
  14017. if thebits = 0 then
  14018. pTDefRegMap(@Self)^.clr := $00000004
  14019. else
  14020. pTDefRegMap(@Self)^.&set := $00000004;
  14021. end;
  14022. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  14023. begin
  14024. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14025. end;
  14026. procedure TI2C1_I2C1ACON.setRCEN; inline;
  14027. begin
  14028. pTDefRegMap(@Self)^.&set := $00000008;
  14029. end;
  14030. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  14031. begin
  14032. pTDefRegMap(@Self)^.clr := $00000008;
  14033. end;
  14034. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  14035. begin
  14036. if thebits = 0 then
  14037. pTDefRegMap(@Self)^.clr := $00000008
  14038. else
  14039. pTDefRegMap(@Self)^.&set := $00000008;
  14040. end;
  14041. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  14042. begin
  14043. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14044. end;
  14045. procedure TI2C1_I2C1ACON.setACKEN; inline;
  14046. begin
  14047. pTDefRegMap(@Self)^.&set := $00000010;
  14048. end;
  14049. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  14050. begin
  14051. pTDefRegMap(@Self)^.clr := $00000010;
  14052. end;
  14053. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  14054. begin
  14055. if thebits = 0 then
  14056. pTDefRegMap(@Self)^.clr := $00000010
  14057. else
  14058. pTDefRegMap(@Self)^.&set := $00000010;
  14059. end;
  14060. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  14061. begin
  14062. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14063. end;
  14064. procedure TI2C1_I2C1ACON.setACKDT; inline;
  14065. begin
  14066. pTDefRegMap(@Self)^.&set := $00000020;
  14067. end;
  14068. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  14069. begin
  14070. pTDefRegMap(@Self)^.clr := $00000020;
  14071. end;
  14072. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  14073. begin
  14074. if thebits = 0 then
  14075. pTDefRegMap(@Self)^.clr := $00000020
  14076. else
  14077. pTDefRegMap(@Self)^.&set := $00000020;
  14078. end;
  14079. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  14080. begin
  14081. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14082. end;
  14083. procedure TI2C1_I2C1ACON.setSTREN; inline;
  14084. begin
  14085. pTDefRegMap(@Self)^.&set := $00000040;
  14086. end;
  14087. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  14088. begin
  14089. pTDefRegMap(@Self)^.clr := $00000040;
  14090. end;
  14091. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  14092. begin
  14093. if thebits = 0 then
  14094. pTDefRegMap(@Self)^.clr := $00000040
  14095. else
  14096. pTDefRegMap(@Self)^.&set := $00000040;
  14097. end;
  14098. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  14099. begin
  14100. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14101. end;
  14102. procedure TI2C1_I2C1ACON.setGCEN; inline;
  14103. begin
  14104. pTDefRegMap(@Self)^.&set := $00000080;
  14105. end;
  14106. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  14107. begin
  14108. pTDefRegMap(@Self)^.clr := $00000080;
  14109. end;
  14110. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  14111. begin
  14112. if thebits = 0 then
  14113. pTDefRegMap(@Self)^.clr := $00000080
  14114. else
  14115. pTDefRegMap(@Self)^.&set := $00000080;
  14116. end;
  14117. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  14118. begin
  14119. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14120. end;
  14121. procedure TI2C1_I2C1ACON.setSMEN; inline;
  14122. begin
  14123. pTDefRegMap(@Self)^.&set := $00000100;
  14124. end;
  14125. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  14126. begin
  14127. pTDefRegMap(@Self)^.clr := $00000100;
  14128. end;
  14129. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  14130. begin
  14131. if thebits = 0 then
  14132. pTDefRegMap(@Self)^.clr := $00000100
  14133. else
  14134. pTDefRegMap(@Self)^.&set := $00000100;
  14135. end;
  14136. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  14137. begin
  14138. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14139. end;
  14140. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  14141. begin
  14142. pTDefRegMap(@Self)^.&set := $00000200;
  14143. end;
  14144. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  14145. begin
  14146. pTDefRegMap(@Self)^.clr := $00000200;
  14147. end;
  14148. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  14149. begin
  14150. if thebits = 0 then
  14151. pTDefRegMap(@Self)^.clr := $00000200
  14152. else
  14153. pTDefRegMap(@Self)^.&set := $00000200;
  14154. end;
  14155. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  14156. begin
  14157. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14158. end;
  14159. procedure TI2C1_I2C1ACON.setA10M; inline;
  14160. begin
  14161. pTDefRegMap(@Self)^.&set := $00000400;
  14162. end;
  14163. procedure TI2C1_I2C1ACON.clearA10M; inline;
  14164. begin
  14165. pTDefRegMap(@Self)^.clr := $00000400;
  14166. end;
  14167. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  14168. begin
  14169. if thebits = 0 then
  14170. pTDefRegMap(@Self)^.clr := $00000400
  14171. else
  14172. pTDefRegMap(@Self)^.&set := $00000400;
  14173. end;
  14174. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  14175. begin
  14176. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14177. end;
  14178. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  14179. begin
  14180. pTDefRegMap(@Self)^.&set := $00000800;
  14181. end;
  14182. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  14183. begin
  14184. pTDefRegMap(@Self)^.clr := $00000800;
  14185. end;
  14186. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  14187. begin
  14188. if thebits = 0 then
  14189. pTDefRegMap(@Self)^.clr := $00000800
  14190. else
  14191. pTDefRegMap(@Self)^.&set := $00000800;
  14192. end;
  14193. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  14194. begin
  14195. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14196. end;
  14197. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  14198. begin
  14199. pTDefRegMap(@Self)^.&set := $00001000;
  14200. end;
  14201. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  14202. begin
  14203. pTDefRegMap(@Self)^.clr := $00001000;
  14204. end;
  14205. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  14206. begin
  14207. if thebits = 0 then
  14208. pTDefRegMap(@Self)^.clr := $00001000
  14209. else
  14210. pTDefRegMap(@Self)^.&set := $00001000;
  14211. end;
  14212. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  14213. begin
  14214. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14215. end;
  14216. procedure TI2C1_I2C1ACON.setSIDL; inline;
  14217. begin
  14218. pTDefRegMap(@Self)^.&set := $00002000;
  14219. end;
  14220. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  14221. begin
  14222. pTDefRegMap(@Self)^.clr := $00002000;
  14223. end;
  14224. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  14225. begin
  14226. if thebits = 0 then
  14227. pTDefRegMap(@Self)^.clr := $00002000
  14228. else
  14229. pTDefRegMap(@Self)^.&set := $00002000;
  14230. end;
  14231. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  14232. begin
  14233. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14234. end;
  14235. procedure TI2C1_I2C1ACON.setON; inline;
  14236. begin
  14237. pTDefRegMap(@Self)^.&set := $00008000;
  14238. end;
  14239. procedure TI2C1_I2C1ACON.clearON; inline;
  14240. begin
  14241. pTDefRegMap(@Self)^.clr := $00008000;
  14242. end;
  14243. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  14244. begin
  14245. if thebits = 0 then
  14246. pTDefRegMap(@Self)^.clr := $00008000
  14247. else
  14248. pTDefRegMap(@Self)^.&set := $00008000;
  14249. end;
  14250. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  14251. begin
  14252. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14253. end;
  14254. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  14255. begin
  14256. pTDefRegMap(@Self)^.&set := $00000800;
  14257. end;
  14258. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  14259. begin
  14260. pTDefRegMap(@Self)^.clr := $00000800;
  14261. end;
  14262. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  14263. begin
  14264. if thebits = 0 then
  14265. pTDefRegMap(@Self)^.clr := $00000800
  14266. else
  14267. pTDefRegMap(@Self)^.&set := $00000800;
  14268. end;
  14269. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  14270. begin
  14271. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14272. end;
  14273. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  14274. begin
  14275. pTDefRegMap(@Self)^.&set := $00002000;
  14276. end;
  14277. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  14278. begin
  14279. pTDefRegMap(@Self)^.clr := $00002000;
  14280. end;
  14281. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  14282. begin
  14283. if thebits = 0 then
  14284. pTDefRegMap(@Self)^.clr := $00002000
  14285. else
  14286. pTDefRegMap(@Self)^.&set := $00002000;
  14287. end;
  14288. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  14289. begin
  14290. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14291. end;
  14292. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14293. begin
  14294. pTDefRegMap(@Self)^.&set := $00008000;
  14295. end;
  14296. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14297. begin
  14298. pTDefRegMap(@Self)^.clr := $00008000;
  14299. end;
  14300. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14301. begin
  14302. if thebits = 0 then
  14303. pTDefRegMap(@Self)^.clr := $00008000
  14304. else
  14305. pTDefRegMap(@Self)^.&set := $00008000;
  14306. end;
  14307. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14308. begin
  14309. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14310. end;
  14311. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14312. begin
  14313. pTDefRegMap(@Self)^.val := thebits;
  14314. end;
  14315. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14316. begin
  14317. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14318. end;
  14319. procedure TI2C1_I2C1CON.setSEN; inline;
  14320. begin
  14321. pTDefRegMap(@Self)^.&set := $00000001;
  14322. end;
  14323. procedure TI2C1_I2C1CON.clearSEN; inline;
  14324. begin
  14325. pTDefRegMap(@Self)^.clr := $00000001;
  14326. end;
  14327. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14328. begin
  14329. if thebits = 0 then
  14330. pTDefRegMap(@Self)^.clr := $00000001
  14331. else
  14332. pTDefRegMap(@Self)^.&set := $00000001;
  14333. end;
  14334. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14335. begin
  14336. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14337. end;
  14338. procedure TI2C1_I2C1CON.setRSEN; inline;
  14339. begin
  14340. pTDefRegMap(@Self)^.&set := $00000002;
  14341. end;
  14342. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14343. begin
  14344. pTDefRegMap(@Self)^.clr := $00000002;
  14345. end;
  14346. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14347. begin
  14348. if thebits = 0 then
  14349. pTDefRegMap(@Self)^.clr := $00000002
  14350. else
  14351. pTDefRegMap(@Self)^.&set := $00000002;
  14352. end;
  14353. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14354. begin
  14355. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14356. end;
  14357. procedure TI2C1_I2C1CON.setPEN; inline;
  14358. begin
  14359. pTDefRegMap(@Self)^.&set := $00000004;
  14360. end;
  14361. procedure TI2C1_I2C1CON.clearPEN; inline;
  14362. begin
  14363. pTDefRegMap(@Self)^.clr := $00000004;
  14364. end;
  14365. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14366. begin
  14367. if thebits = 0 then
  14368. pTDefRegMap(@Self)^.clr := $00000004
  14369. else
  14370. pTDefRegMap(@Self)^.&set := $00000004;
  14371. end;
  14372. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14373. begin
  14374. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14375. end;
  14376. procedure TI2C1_I2C1CON.setRCEN; inline;
  14377. begin
  14378. pTDefRegMap(@Self)^.&set := $00000008;
  14379. end;
  14380. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14381. begin
  14382. pTDefRegMap(@Self)^.clr := $00000008;
  14383. end;
  14384. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14385. begin
  14386. if thebits = 0 then
  14387. pTDefRegMap(@Self)^.clr := $00000008
  14388. else
  14389. pTDefRegMap(@Self)^.&set := $00000008;
  14390. end;
  14391. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14392. begin
  14393. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14394. end;
  14395. procedure TI2C1_I2C1CON.setACKEN; inline;
  14396. begin
  14397. pTDefRegMap(@Self)^.&set := $00000010;
  14398. end;
  14399. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14400. begin
  14401. pTDefRegMap(@Self)^.clr := $00000010;
  14402. end;
  14403. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14404. begin
  14405. if thebits = 0 then
  14406. pTDefRegMap(@Self)^.clr := $00000010
  14407. else
  14408. pTDefRegMap(@Self)^.&set := $00000010;
  14409. end;
  14410. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14411. begin
  14412. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14413. end;
  14414. procedure TI2C1_I2C1CON.setACKDT; inline;
  14415. begin
  14416. pTDefRegMap(@Self)^.&set := $00000020;
  14417. end;
  14418. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14419. begin
  14420. pTDefRegMap(@Self)^.clr := $00000020;
  14421. end;
  14422. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14423. begin
  14424. if thebits = 0 then
  14425. pTDefRegMap(@Self)^.clr := $00000020
  14426. else
  14427. pTDefRegMap(@Self)^.&set := $00000020;
  14428. end;
  14429. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14430. begin
  14431. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14432. end;
  14433. procedure TI2C1_I2C1CON.setSTREN; inline;
  14434. begin
  14435. pTDefRegMap(@Self)^.&set := $00000040;
  14436. end;
  14437. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14438. begin
  14439. pTDefRegMap(@Self)^.clr := $00000040;
  14440. end;
  14441. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14442. begin
  14443. if thebits = 0 then
  14444. pTDefRegMap(@Self)^.clr := $00000040
  14445. else
  14446. pTDefRegMap(@Self)^.&set := $00000040;
  14447. end;
  14448. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14449. begin
  14450. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14451. end;
  14452. procedure TI2C1_I2C1CON.setGCEN; inline;
  14453. begin
  14454. pTDefRegMap(@Self)^.&set := $00000080;
  14455. end;
  14456. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14457. begin
  14458. pTDefRegMap(@Self)^.clr := $00000080;
  14459. end;
  14460. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14461. begin
  14462. if thebits = 0 then
  14463. pTDefRegMap(@Self)^.clr := $00000080
  14464. else
  14465. pTDefRegMap(@Self)^.&set := $00000080;
  14466. end;
  14467. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14468. begin
  14469. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14470. end;
  14471. procedure TI2C1_I2C1CON.setSMEN; inline;
  14472. begin
  14473. pTDefRegMap(@Self)^.&set := $00000100;
  14474. end;
  14475. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14476. begin
  14477. pTDefRegMap(@Self)^.clr := $00000100;
  14478. end;
  14479. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14480. begin
  14481. if thebits = 0 then
  14482. pTDefRegMap(@Self)^.clr := $00000100
  14483. else
  14484. pTDefRegMap(@Self)^.&set := $00000100;
  14485. end;
  14486. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14487. begin
  14488. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14489. end;
  14490. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14491. begin
  14492. pTDefRegMap(@Self)^.&set := $00000200;
  14493. end;
  14494. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14495. begin
  14496. pTDefRegMap(@Self)^.clr := $00000200;
  14497. end;
  14498. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14499. begin
  14500. if thebits = 0 then
  14501. pTDefRegMap(@Self)^.clr := $00000200
  14502. else
  14503. pTDefRegMap(@Self)^.&set := $00000200;
  14504. end;
  14505. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14506. begin
  14507. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14508. end;
  14509. procedure TI2C1_I2C1CON.setA10M; inline;
  14510. begin
  14511. pTDefRegMap(@Self)^.&set := $00000400;
  14512. end;
  14513. procedure TI2C1_I2C1CON.clearA10M; inline;
  14514. begin
  14515. pTDefRegMap(@Self)^.clr := $00000400;
  14516. end;
  14517. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  14518. begin
  14519. if thebits = 0 then
  14520. pTDefRegMap(@Self)^.clr := $00000400
  14521. else
  14522. pTDefRegMap(@Self)^.&set := $00000400;
  14523. end;
  14524. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  14525. begin
  14526. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14527. end;
  14528. procedure TI2C1_I2C1CON.setSTRICT; inline;
  14529. begin
  14530. pTDefRegMap(@Self)^.&set := $00000800;
  14531. end;
  14532. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  14533. begin
  14534. pTDefRegMap(@Self)^.clr := $00000800;
  14535. end;
  14536. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  14537. begin
  14538. if thebits = 0 then
  14539. pTDefRegMap(@Self)^.clr := $00000800
  14540. else
  14541. pTDefRegMap(@Self)^.&set := $00000800;
  14542. end;
  14543. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  14544. begin
  14545. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14546. end;
  14547. procedure TI2C1_I2C1CON.setSCLREL; inline;
  14548. begin
  14549. pTDefRegMap(@Self)^.&set := $00001000;
  14550. end;
  14551. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  14552. begin
  14553. pTDefRegMap(@Self)^.clr := $00001000;
  14554. end;
  14555. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  14556. begin
  14557. if thebits = 0 then
  14558. pTDefRegMap(@Self)^.clr := $00001000
  14559. else
  14560. pTDefRegMap(@Self)^.&set := $00001000;
  14561. end;
  14562. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  14563. begin
  14564. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14565. end;
  14566. procedure TI2C1_I2C1CON.setSIDL; inline;
  14567. begin
  14568. pTDefRegMap(@Self)^.&set := $00002000;
  14569. end;
  14570. procedure TI2C1_I2C1CON.clearSIDL; inline;
  14571. begin
  14572. pTDefRegMap(@Self)^.clr := $00002000;
  14573. end;
  14574. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  14575. begin
  14576. if thebits = 0 then
  14577. pTDefRegMap(@Self)^.clr := $00002000
  14578. else
  14579. pTDefRegMap(@Self)^.&set := $00002000;
  14580. end;
  14581. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  14582. begin
  14583. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14584. end;
  14585. procedure TI2C1_I2C1CON.setON; inline;
  14586. begin
  14587. pTDefRegMap(@Self)^.&set := $00008000;
  14588. end;
  14589. procedure TI2C1_I2C1CON.clearON; inline;
  14590. begin
  14591. pTDefRegMap(@Self)^.clr := $00008000;
  14592. end;
  14593. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  14594. begin
  14595. if thebits = 0 then
  14596. pTDefRegMap(@Self)^.clr := $00008000
  14597. else
  14598. pTDefRegMap(@Self)^.&set := $00008000;
  14599. end;
  14600. function TI2C1_I2C1CON.getON : TBits_1; inline;
  14601. begin
  14602. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14603. end;
  14604. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  14605. begin
  14606. pTDefRegMap(@Self)^.&set := $00000800;
  14607. end;
  14608. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  14609. begin
  14610. pTDefRegMap(@Self)^.clr := $00000800;
  14611. end;
  14612. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  14613. begin
  14614. if thebits = 0 then
  14615. pTDefRegMap(@Self)^.clr := $00000800
  14616. else
  14617. pTDefRegMap(@Self)^.&set := $00000800;
  14618. end;
  14619. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  14620. begin
  14621. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14622. end;
  14623. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  14624. begin
  14625. pTDefRegMap(@Self)^.&set := $00002000;
  14626. end;
  14627. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  14628. begin
  14629. pTDefRegMap(@Self)^.clr := $00002000;
  14630. end;
  14631. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  14632. begin
  14633. if thebits = 0 then
  14634. pTDefRegMap(@Self)^.clr := $00002000
  14635. else
  14636. pTDefRegMap(@Self)^.&set := $00002000;
  14637. end;
  14638. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  14639. begin
  14640. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14641. end;
  14642. procedure TI2C1_I2C1CON.setI2CEN; inline;
  14643. begin
  14644. pTDefRegMap(@Self)^.&set := $00008000;
  14645. end;
  14646. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  14647. begin
  14648. pTDefRegMap(@Self)^.clr := $00008000;
  14649. end;
  14650. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  14651. begin
  14652. if thebits = 0 then
  14653. pTDefRegMap(@Self)^.clr := $00008000
  14654. else
  14655. pTDefRegMap(@Self)^.&set := $00008000;
  14656. end;
  14657. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  14658. begin
  14659. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14660. end;
  14661. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  14662. begin
  14663. pTDefRegMap(@Self)^.val := thebits;
  14664. end;
  14665. function TI2C1_I2C1CON.getw : TBits_32; inline;
  14666. begin
  14667. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14668. end;
  14669. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  14670. begin
  14671. pTDefRegMap(@Self)^.&set := $00000001;
  14672. end;
  14673. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  14674. begin
  14675. pTDefRegMap(@Self)^.clr := $00000001;
  14676. end;
  14677. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  14678. begin
  14679. if thebits = 0 then
  14680. pTDefRegMap(@Self)^.clr := $00000001
  14681. else
  14682. pTDefRegMap(@Self)^.&set := $00000001;
  14683. end;
  14684. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  14685. begin
  14686. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14687. end;
  14688. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  14689. begin
  14690. pTDefRegMap(@Self)^.&set := $00000002;
  14691. end;
  14692. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  14693. begin
  14694. pTDefRegMap(@Self)^.clr := $00000002;
  14695. end;
  14696. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  14697. begin
  14698. if thebits = 0 then
  14699. pTDefRegMap(@Self)^.clr := $00000002
  14700. else
  14701. pTDefRegMap(@Self)^.&set := $00000002;
  14702. end;
  14703. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  14704. begin
  14705. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14706. end;
  14707. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  14708. begin
  14709. pTDefRegMap(@Self)^.&set := $00000004;
  14710. end;
  14711. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  14712. begin
  14713. pTDefRegMap(@Self)^.clr := $00000004;
  14714. end;
  14715. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  14716. begin
  14717. if thebits = 0 then
  14718. pTDefRegMap(@Self)^.clr := $00000004
  14719. else
  14720. pTDefRegMap(@Self)^.&set := $00000004;
  14721. end;
  14722. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  14723. begin
  14724. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14725. end;
  14726. procedure TI2C1_I2C1ASTAT.setS; inline;
  14727. begin
  14728. pTDefRegMap(@Self)^.&set := $00000008;
  14729. end;
  14730. procedure TI2C1_I2C1ASTAT.clearS; inline;
  14731. begin
  14732. pTDefRegMap(@Self)^.clr := $00000008;
  14733. end;
  14734. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  14735. begin
  14736. if thebits = 0 then
  14737. pTDefRegMap(@Self)^.clr := $00000008
  14738. else
  14739. pTDefRegMap(@Self)^.&set := $00000008;
  14740. end;
  14741. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  14742. begin
  14743. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14744. end;
  14745. procedure TI2C1_I2C1ASTAT.setP; inline;
  14746. begin
  14747. pTDefRegMap(@Self)^.&set := $00000010;
  14748. end;
  14749. procedure TI2C1_I2C1ASTAT.clearP; inline;
  14750. begin
  14751. pTDefRegMap(@Self)^.clr := $00000010;
  14752. end;
  14753. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  14754. begin
  14755. if thebits = 0 then
  14756. pTDefRegMap(@Self)^.clr := $00000010
  14757. else
  14758. pTDefRegMap(@Self)^.&set := $00000010;
  14759. end;
  14760. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  14761. begin
  14762. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14763. end;
  14764. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  14765. begin
  14766. pTDefRegMap(@Self)^.&set := $00000020;
  14767. end;
  14768. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  14769. begin
  14770. pTDefRegMap(@Self)^.clr := $00000020;
  14771. end;
  14772. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  14773. begin
  14774. if thebits = 0 then
  14775. pTDefRegMap(@Self)^.clr := $00000020
  14776. else
  14777. pTDefRegMap(@Self)^.&set := $00000020;
  14778. end;
  14779. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  14780. begin
  14781. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14782. end;
  14783. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  14784. begin
  14785. pTDefRegMap(@Self)^.&set := $00000040;
  14786. end;
  14787. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  14788. begin
  14789. pTDefRegMap(@Self)^.clr := $00000040;
  14790. end;
  14791. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  14792. begin
  14793. if thebits = 0 then
  14794. pTDefRegMap(@Self)^.clr := $00000040
  14795. else
  14796. pTDefRegMap(@Self)^.&set := $00000040;
  14797. end;
  14798. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  14799. begin
  14800. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14801. end;
  14802. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  14803. begin
  14804. pTDefRegMap(@Self)^.&set := $00000080;
  14805. end;
  14806. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  14807. begin
  14808. pTDefRegMap(@Self)^.clr := $00000080;
  14809. end;
  14810. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  14811. begin
  14812. if thebits = 0 then
  14813. pTDefRegMap(@Self)^.clr := $00000080
  14814. else
  14815. pTDefRegMap(@Self)^.&set := $00000080;
  14816. end;
  14817. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  14818. begin
  14819. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14820. end;
  14821. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  14822. begin
  14823. pTDefRegMap(@Self)^.&set := $00000100;
  14824. end;
  14825. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  14826. begin
  14827. pTDefRegMap(@Self)^.clr := $00000100;
  14828. end;
  14829. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  14830. begin
  14831. if thebits = 0 then
  14832. pTDefRegMap(@Self)^.clr := $00000100
  14833. else
  14834. pTDefRegMap(@Self)^.&set := $00000100;
  14835. end;
  14836. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  14837. begin
  14838. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14839. end;
  14840. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  14841. begin
  14842. pTDefRegMap(@Self)^.&set := $00000200;
  14843. end;
  14844. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  14845. begin
  14846. pTDefRegMap(@Self)^.clr := $00000200;
  14847. end;
  14848. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  14849. begin
  14850. if thebits = 0 then
  14851. pTDefRegMap(@Self)^.clr := $00000200
  14852. else
  14853. pTDefRegMap(@Self)^.&set := $00000200;
  14854. end;
  14855. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  14856. begin
  14857. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14858. end;
  14859. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  14860. begin
  14861. pTDefRegMap(@Self)^.&set := $00000400;
  14862. end;
  14863. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  14864. begin
  14865. pTDefRegMap(@Self)^.clr := $00000400;
  14866. end;
  14867. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  14868. begin
  14869. if thebits = 0 then
  14870. pTDefRegMap(@Self)^.clr := $00000400
  14871. else
  14872. pTDefRegMap(@Self)^.&set := $00000400;
  14873. end;
  14874. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  14875. begin
  14876. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14877. end;
  14878. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  14879. begin
  14880. pTDefRegMap(@Self)^.&set := $00004000;
  14881. end;
  14882. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  14883. begin
  14884. pTDefRegMap(@Self)^.clr := $00004000;
  14885. end;
  14886. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  14887. begin
  14888. if thebits = 0 then
  14889. pTDefRegMap(@Self)^.clr := $00004000
  14890. else
  14891. pTDefRegMap(@Self)^.&set := $00004000;
  14892. end;
  14893. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  14894. begin
  14895. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14896. end;
  14897. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  14898. begin
  14899. pTDefRegMap(@Self)^.&set := $00008000;
  14900. end;
  14901. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  14902. begin
  14903. pTDefRegMap(@Self)^.clr := $00008000;
  14904. end;
  14905. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  14906. begin
  14907. if thebits = 0 then
  14908. pTDefRegMap(@Self)^.clr := $00008000
  14909. else
  14910. pTDefRegMap(@Self)^.&set := $00008000;
  14911. end;
  14912. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  14913. begin
  14914. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14915. end;
  14916. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  14917. begin
  14918. pTDefRegMap(@Self)^.&set := $00000040;
  14919. end;
  14920. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  14921. begin
  14922. pTDefRegMap(@Self)^.clr := $00000040;
  14923. end;
  14924. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  14925. begin
  14926. if thebits = 0 then
  14927. pTDefRegMap(@Self)^.clr := $00000040
  14928. else
  14929. pTDefRegMap(@Self)^.&set := $00000040;
  14930. end;
  14931. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  14932. begin
  14933. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14934. end;
  14935. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  14936. begin
  14937. pTDefRegMap(@Self)^.val := thebits;
  14938. end;
  14939. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  14940. begin
  14941. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14942. end;
  14943. procedure TI2C1_I2C1STAT.setTBF; inline;
  14944. begin
  14945. pTDefRegMap(@Self)^.&set := $00000001;
  14946. end;
  14947. procedure TI2C1_I2C1STAT.clearTBF; inline;
  14948. begin
  14949. pTDefRegMap(@Self)^.clr := $00000001;
  14950. end;
  14951. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  14952. begin
  14953. if thebits = 0 then
  14954. pTDefRegMap(@Self)^.clr := $00000001
  14955. else
  14956. pTDefRegMap(@Self)^.&set := $00000001;
  14957. end;
  14958. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  14959. begin
  14960. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14961. end;
  14962. procedure TI2C1_I2C1STAT.setRBF; inline;
  14963. begin
  14964. pTDefRegMap(@Self)^.&set := $00000002;
  14965. end;
  14966. procedure TI2C1_I2C1STAT.clearRBF; inline;
  14967. begin
  14968. pTDefRegMap(@Self)^.clr := $00000002;
  14969. end;
  14970. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  14971. begin
  14972. if thebits = 0 then
  14973. pTDefRegMap(@Self)^.clr := $00000002
  14974. else
  14975. pTDefRegMap(@Self)^.&set := $00000002;
  14976. end;
  14977. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  14978. begin
  14979. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14980. end;
  14981. procedure TI2C1_I2C1STAT.setR_W; inline;
  14982. begin
  14983. pTDefRegMap(@Self)^.&set := $00000004;
  14984. end;
  14985. procedure TI2C1_I2C1STAT.clearR_W; inline;
  14986. begin
  14987. pTDefRegMap(@Self)^.clr := $00000004;
  14988. end;
  14989. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  14990. begin
  14991. if thebits = 0 then
  14992. pTDefRegMap(@Self)^.clr := $00000004
  14993. else
  14994. pTDefRegMap(@Self)^.&set := $00000004;
  14995. end;
  14996. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  14997. begin
  14998. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14999. end;
  15000. procedure TI2C1_I2C1STAT.setS; inline;
  15001. begin
  15002. pTDefRegMap(@Self)^.&set := $00000008;
  15003. end;
  15004. procedure TI2C1_I2C1STAT.clearS; inline;
  15005. begin
  15006. pTDefRegMap(@Self)^.clr := $00000008;
  15007. end;
  15008. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  15009. begin
  15010. if thebits = 0 then
  15011. pTDefRegMap(@Self)^.clr := $00000008
  15012. else
  15013. pTDefRegMap(@Self)^.&set := $00000008;
  15014. end;
  15015. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  15016. begin
  15017. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15018. end;
  15019. procedure TI2C1_I2C1STAT.setP; inline;
  15020. begin
  15021. pTDefRegMap(@Self)^.&set := $00000010;
  15022. end;
  15023. procedure TI2C1_I2C1STAT.clearP; inline;
  15024. begin
  15025. pTDefRegMap(@Self)^.clr := $00000010;
  15026. end;
  15027. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  15028. begin
  15029. if thebits = 0 then
  15030. pTDefRegMap(@Self)^.clr := $00000010
  15031. else
  15032. pTDefRegMap(@Self)^.&set := $00000010;
  15033. end;
  15034. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  15035. begin
  15036. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15037. end;
  15038. procedure TI2C1_I2C1STAT.setD_A; inline;
  15039. begin
  15040. pTDefRegMap(@Self)^.&set := $00000020;
  15041. end;
  15042. procedure TI2C1_I2C1STAT.clearD_A; inline;
  15043. begin
  15044. pTDefRegMap(@Self)^.clr := $00000020;
  15045. end;
  15046. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  15047. begin
  15048. if thebits = 0 then
  15049. pTDefRegMap(@Self)^.clr := $00000020
  15050. else
  15051. pTDefRegMap(@Self)^.&set := $00000020;
  15052. end;
  15053. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  15054. begin
  15055. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15056. end;
  15057. procedure TI2C1_I2C1STAT.setI2COV; inline;
  15058. begin
  15059. pTDefRegMap(@Self)^.&set := $00000040;
  15060. end;
  15061. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  15062. begin
  15063. pTDefRegMap(@Self)^.clr := $00000040;
  15064. end;
  15065. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  15066. begin
  15067. if thebits = 0 then
  15068. pTDefRegMap(@Self)^.clr := $00000040
  15069. else
  15070. pTDefRegMap(@Self)^.&set := $00000040;
  15071. end;
  15072. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  15073. begin
  15074. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15075. end;
  15076. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  15077. begin
  15078. pTDefRegMap(@Self)^.&set := $00000080;
  15079. end;
  15080. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  15081. begin
  15082. pTDefRegMap(@Self)^.clr := $00000080;
  15083. end;
  15084. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  15085. begin
  15086. if thebits = 0 then
  15087. pTDefRegMap(@Self)^.clr := $00000080
  15088. else
  15089. pTDefRegMap(@Self)^.&set := $00000080;
  15090. end;
  15091. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  15092. begin
  15093. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15094. end;
  15095. procedure TI2C1_I2C1STAT.setADD10; inline;
  15096. begin
  15097. pTDefRegMap(@Self)^.&set := $00000100;
  15098. end;
  15099. procedure TI2C1_I2C1STAT.clearADD10; inline;
  15100. begin
  15101. pTDefRegMap(@Self)^.clr := $00000100;
  15102. end;
  15103. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  15104. begin
  15105. if thebits = 0 then
  15106. pTDefRegMap(@Self)^.clr := $00000100
  15107. else
  15108. pTDefRegMap(@Self)^.&set := $00000100;
  15109. end;
  15110. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  15111. begin
  15112. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15113. end;
  15114. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  15115. begin
  15116. pTDefRegMap(@Self)^.&set := $00000200;
  15117. end;
  15118. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  15119. begin
  15120. pTDefRegMap(@Self)^.clr := $00000200;
  15121. end;
  15122. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  15123. begin
  15124. if thebits = 0 then
  15125. pTDefRegMap(@Self)^.clr := $00000200
  15126. else
  15127. pTDefRegMap(@Self)^.&set := $00000200;
  15128. end;
  15129. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  15130. begin
  15131. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15132. end;
  15133. procedure TI2C1_I2C1STAT.setBCL; inline;
  15134. begin
  15135. pTDefRegMap(@Self)^.&set := $00000400;
  15136. end;
  15137. procedure TI2C1_I2C1STAT.clearBCL; inline;
  15138. begin
  15139. pTDefRegMap(@Self)^.clr := $00000400;
  15140. end;
  15141. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  15142. begin
  15143. if thebits = 0 then
  15144. pTDefRegMap(@Self)^.clr := $00000400
  15145. else
  15146. pTDefRegMap(@Self)^.&set := $00000400;
  15147. end;
  15148. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  15149. begin
  15150. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15151. end;
  15152. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  15153. begin
  15154. pTDefRegMap(@Self)^.&set := $00004000;
  15155. end;
  15156. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  15157. begin
  15158. pTDefRegMap(@Self)^.clr := $00004000;
  15159. end;
  15160. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  15161. begin
  15162. if thebits = 0 then
  15163. pTDefRegMap(@Self)^.clr := $00004000
  15164. else
  15165. pTDefRegMap(@Self)^.&set := $00004000;
  15166. end;
  15167. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  15168. begin
  15169. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15170. end;
  15171. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  15172. begin
  15173. pTDefRegMap(@Self)^.&set := $00008000;
  15174. end;
  15175. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  15176. begin
  15177. pTDefRegMap(@Self)^.clr := $00008000;
  15178. end;
  15179. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  15180. begin
  15181. if thebits = 0 then
  15182. pTDefRegMap(@Self)^.clr := $00008000
  15183. else
  15184. pTDefRegMap(@Self)^.&set := $00008000;
  15185. end;
  15186. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  15187. begin
  15188. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15189. end;
  15190. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  15191. begin
  15192. pTDefRegMap(@Self)^.&set := $00000040;
  15193. end;
  15194. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  15195. begin
  15196. pTDefRegMap(@Self)^.clr := $00000040;
  15197. end;
  15198. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  15199. begin
  15200. if thebits = 0 then
  15201. pTDefRegMap(@Self)^.clr := $00000040
  15202. else
  15203. pTDefRegMap(@Self)^.&set := $00000040;
  15204. end;
  15205. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  15206. begin
  15207. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15208. end;
  15209. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  15210. begin
  15211. pTDefRegMap(@Self)^.val := thebits;
  15212. end;
  15213. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  15214. begin
  15215. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15216. end;
  15217. procedure TI2C2_I2C2ACON.setSEN; inline;
  15218. begin
  15219. pTDefRegMap(@Self)^.&set := $00000001;
  15220. end;
  15221. procedure TI2C2_I2C2ACON.clearSEN; inline;
  15222. begin
  15223. pTDefRegMap(@Self)^.clr := $00000001;
  15224. end;
  15225. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  15226. begin
  15227. if thebits = 0 then
  15228. pTDefRegMap(@Self)^.clr := $00000001
  15229. else
  15230. pTDefRegMap(@Self)^.&set := $00000001;
  15231. end;
  15232. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  15233. begin
  15234. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15235. end;
  15236. procedure TI2C2_I2C2ACON.setRSEN; inline;
  15237. begin
  15238. pTDefRegMap(@Self)^.&set := $00000002;
  15239. end;
  15240. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  15241. begin
  15242. pTDefRegMap(@Self)^.clr := $00000002;
  15243. end;
  15244. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  15245. begin
  15246. if thebits = 0 then
  15247. pTDefRegMap(@Self)^.clr := $00000002
  15248. else
  15249. pTDefRegMap(@Self)^.&set := $00000002;
  15250. end;
  15251. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  15252. begin
  15253. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15254. end;
  15255. procedure TI2C2_I2C2ACON.setPEN; inline;
  15256. begin
  15257. pTDefRegMap(@Self)^.&set := $00000004;
  15258. end;
  15259. procedure TI2C2_I2C2ACON.clearPEN; inline;
  15260. begin
  15261. pTDefRegMap(@Self)^.clr := $00000004;
  15262. end;
  15263. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  15264. begin
  15265. if thebits = 0 then
  15266. pTDefRegMap(@Self)^.clr := $00000004
  15267. else
  15268. pTDefRegMap(@Self)^.&set := $00000004;
  15269. end;
  15270. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  15271. begin
  15272. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15273. end;
  15274. procedure TI2C2_I2C2ACON.setRCEN; inline;
  15275. begin
  15276. pTDefRegMap(@Self)^.&set := $00000008;
  15277. end;
  15278. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  15279. begin
  15280. pTDefRegMap(@Self)^.clr := $00000008;
  15281. end;
  15282. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  15283. begin
  15284. if thebits = 0 then
  15285. pTDefRegMap(@Self)^.clr := $00000008
  15286. else
  15287. pTDefRegMap(@Self)^.&set := $00000008;
  15288. end;
  15289. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  15290. begin
  15291. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15292. end;
  15293. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15294. begin
  15295. pTDefRegMap(@Self)^.&set := $00000010;
  15296. end;
  15297. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15298. begin
  15299. pTDefRegMap(@Self)^.clr := $00000010;
  15300. end;
  15301. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15302. begin
  15303. if thebits = 0 then
  15304. pTDefRegMap(@Self)^.clr := $00000010
  15305. else
  15306. pTDefRegMap(@Self)^.&set := $00000010;
  15307. end;
  15308. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15309. begin
  15310. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15311. end;
  15312. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15313. begin
  15314. pTDefRegMap(@Self)^.&set := $00000020;
  15315. end;
  15316. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15317. begin
  15318. pTDefRegMap(@Self)^.clr := $00000020;
  15319. end;
  15320. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15321. begin
  15322. if thebits = 0 then
  15323. pTDefRegMap(@Self)^.clr := $00000020
  15324. else
  15325. pTDefRegMap(@Self)^.&set := $00000020;
  15326. end;
  15327. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15328. begin
  15329. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15330. end;
  15331. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15332. begin
  15333. pTDefRegMap(@Self)^.&set := $00000040;
  15334. end;
  15335. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15336. begin
  15337. pTDefRegMap(@Self)^.clr := $00000040;
  15338. end;
  15339. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15340. begin
  15341. if thebits = 0 then
  15342. pTDefRegMap(@Self)^.clr := $00000040
  15343. else
  15344. pTDefRegMap(@Self)^.&set := $00000040;
  15345. end;
  15346. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15347. begin
  15348. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15349. end;
  15350. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15351. begin
  15352. pTDefRegMap(@Self)^.&set := $00000080;
  15353. end;
  15354. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15355. begin
  15356. pTDefRegMap(@Self)^.clr := $00000080;
  15357. end;
  15358. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15359. begin
  15360. if thebits = 0 then
  15361. pTDefRegMap(@Self)^.clr := $00000080
  15362. else
  15363. pTDefRegMap(@Self)^.&set := $00000080;
  15364. end;
  15365. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15366. begin
  15367. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15368. end;
  15369. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15370. begin
  15371. pTDefRegMap(@Self)^.&set := $00000100;
  15372. end;
  15373. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15374. begin
  15375. pTDefRegMap(@Self)^.clr := $00000100;
  15376. end;
  15377. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15378. begin
  15379. if thebits = 0 then
  15380. pTDefRegMap(@Self)^.clr := $00000100
  15381. else
  15382. pTDefRegMap(@Self)^.&set := $00000100;
  15383. end;
  15384. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15385. begin
  15386. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15387. end;
  15388. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15389. begin
  15390. pTDefRegMap(@Self)^.&set := $00000200;
  15391. end;
  15392. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15393. begin
  15394. pTDefRegMap(@Self)^.clr := $00000200;
  15395. end;
  15396. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15397. begin
  15398. if thebits = 0 then
  15399. pTDefRegMap(@Self)^.clr := $00000200
  15400. else
  15401. pTDefRegMap(@Self)^.&set := $00000200;
  15402. end;
  15403. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15404. begin
  15405. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15406. end;
  15407. procedure TI2C2_I2C2ACON.setA10M; inline;
  15408. begin
  15409. pTDefRegMap(@Self)^.&set := $00000400;
  15410. end;
  15411. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15412. begin
  15413. pTDefRegMap(@Self)^.clr := $00000400;
  15414. end;
  15415. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15416. begin
  15417. if thebits = 0 then
  15418. pTDefRegMap(@Self)^.clr := $00000400
  15419. else
  15420. pTDefRegMap(@Self)^.&set := $00000400;
  15421. end;
  15422. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15423. begin
  15424. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15425. end;
  15426. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15427. begin
  15428. pTDefRegMap(@Self)^.&set := $00000800;
  15429. end;
  15430. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15431. begin
  15432. pTDefRegMap(@Self)^.clr := $00000800;
  15433. end;
  15434. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15435. begin
  15436. if thebits = 0 then
  15437. pTDefRegMap(@Self)^.clr := $00000800
  15438. else
  15439. pTDefRegMap(@Self)^.&set := $00000800;
  15440. end;
  15441. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15442. begin
  15443. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15444. end;
  15445. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15446. begin
  15447. pTDefRegMap(@Self)^.&set := $00001000;
  15448. end;
  15449. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15450. begin
  15451. pTDefRegMap(@Self)^.clr := $00001000;
  15452. end;
  15453. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15454. begin
  15455. if thebits = 0 then
  15456. pTDefRegMap(@Self)^.clr := $00001000
  15457. else
  15458. pTDefRegMap(@Self)^.&set := $00001000;
  15459. end;
  15460. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15461. begin
  15462. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15463. end;
  15464. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15465. begin
  15466. pTDefRegMap(@Self)^.&set := $00002000;
  15467. end;
  15468. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15469. begin
  15470. pTDefRegMap(@Self)^.clr := $00002000;
  15471. end;
  15472. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15473. begin
  15474. if thebits = 0 then
  15475. pTDefRegMap(@Self)^.clr := $00002000
  15476. else
  15477. pTDefRegMap(@Self)^.&set := $00002000;
  15478. end;
  15479. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15480. begin
  15481. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15482. end;
  15483. procedure TI2C2_I2C2ACON.setON; inline;
  15484. begin
  15485. pTDefRegMap(@Self)^.&set := $00008000;
  15486. end;
  15487. procedure TI2C2_I2C2ACON.clearON; inline;
  15488. begin
  15489. pTDefRegMap(@Self)^.clr := $00008000;
  15490. end;
  15491. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15492. begin
  15493. if thebits = 0 then
  15494. pTDefRegMap(@Self)^.clr := $00008000
  15495. else
  15496. pTDefRegMap(@Self)^.&set := $00008000;
  15497. end;
  15498. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15499. begin
  15500. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15501. end;
  15502. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15503. begin
  15504. pTDefRegMap(@Self)^.&set := $00000800;
  15505. end;
  15506. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15507. begin
  15508. pTDefRegMap(@Self)^.clr := $00000800;
  15509. end;
  15510. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15511. begin
  15512. if thebits = 0 then
  15513. pTDefRegMap(@Self)^.clr := $00000800
  15514. else
  15515. pTDefRegMap(@Self)^.&set := $00000800;
  15516. end;
  15517. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  15518. begin
  15519. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15520. end;
  15521. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  15522. begin
  15523. pTDefRegMap(@Self)^.&set := $00002000;
  15524. end;
  15525. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  15526. begin
  15527. pTDefRegMap(@Self)^.clr := $00002000;
  15528. end;
  15529. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  15530. begin
  15531. if thebits = 0 then
  15532. pTDefRegMap(@Self)^.clr := $00002000
  15533. else
  15534. pTDefRegMap(@Self)^.&set := $00002000;
  15535. end;
  15536. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  15537. begin
  15538. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15539. end;
  15540. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  15541. begin
  15542. pTDefRegMap(@Self)^.&set := $00008000;
  15543. end;
  15544. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  15545. begin
  15546. pTDefRegMap(@Self)^.clr := $00008000;
  15547. end;
  15548. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  15549. begin
  15550. if thebits = 0 then
  15551. pTDefRegMap(@Self)^.clr := $00008000
  15552. else
  15553. pTDefRegMap(@Self)^.&set := $00008000;
  15554. end;
  15555. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  15556. begin
  15557. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15558. end;
  15559. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  15560. begin
  15561. pTDefRegMap(@Self)^.val := thebits;
  15562. end;
  15563. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  15564. begin
  15565. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15566. end;
  15567. procedure TI2C2_I2C2CON.setSEN; inline;
  15568. begin
  15569. pTDefRegMap(@Self)^.&set := $00000001;
  15570. end;
  15571. procedure TI2C2_I2C2CON.clearSEN; inline;
  15572. begin
  15573. pTDefRegMap(@Self)^.clr := $00000001;
  15574. end;
  15575. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  15576. begin
  15577. if thebits = 0 then
  15578. pTDefRegMap(@Self)^.clr := $00000001
  15579. else
  15580. pTDefRegMap(@Self)^.&set := $00000001;
  15581. end;
  15582. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  15583. begin
  15584. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15585. end;
  15586. procedure TI2C2_I2C2CON.setRSEN; inline;
  15587. begin
  15588. pTDefRegMap(@Self)^.&set := $00000002;
  15589. end;
  15590. procedure TI2C2_I2C2CON.clearRSEN; inline;
  15591. begin
  15592. pTDefRegMap(@Self)^.clr := $00000002;
  15593. end;
  15594. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  15595. begin
  15596. if thebits = 0 then
  15597. pTDefRegMap(@Self)^.clr := $00000002
  15598. else
  15599. pTDefRegMap(@Self)^.&set := $00000002;
  15600. end;
  15601. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  15602. begin
  15603. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15604. end;
  15605. procedure TI2C2_I2C2CON.setPEN; inline;
  15606. begin
  15607. pTDefRegMap(@Self)^.&set := $00000004;
  15608. end;
  15609. procedure TI2C2_I2C2CON.clearPEN; inline;
  15610. begin
  15611. pTDefRegMap(@Self)^.clr := $00000004;
  15612. end;
  15613. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  15614. begin
  15615. if thebits = 0 then
  15616. pTDefRegMap(@Self)^.clr := $00000004
  15617. else
  15618. pTDefRegMap(@Self)^.&set := $00000004;
  15619. end;
  15620. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  15621. begin
  15622. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15623. end;
  15624. procedure TI2C2_I2C2CON.setRCEN; inline;
  15625. begin
  15626. pTDefRegMap(@Self)^.&set := $00000008;
  15627. end;
  15628. procedure TI2C2_I2C2CON.clearRCEN; inline;
  15629. begin
  15630. pTDefRegMap(@Self)^.clr := $00000008;
  15631. end;
  15632. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  15633. begin
  15634. if thebits = 0 then
  15635. pTDefRegMap(@Self)^.clr := $00000008
  15636. else
  15637. pTDefRegMap(@Self)^.&set := $00000008;
  15638. end;
  15639. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  15640. begin
  15641. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15642. end;
  15643. procedure TI2C2_I2C2CON.setACKEN; inline;
  15644. begin
  15645. pTDefRegMap(@Self)^.&set := $00000010;
  15646. end;
  15647. procedure TI2C2_I2C2CON.clearACKEN; inline;
  15648. begin
  15649. pTDefRegMap(@Self)^.clr := $00000010;
  15650. end;
  15651. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  15652. begin
  15653. if thebits = 0 then
  15654. pTDefRegMap(@Self)^.clr := $00000010
  15655. else
  15656. pTDefRegMap(@Self)^.&set := $00000010;
  15657. end;
  15658. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  15659. begin
  15660. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15661. end;
  15662. procedure TI2C2_I2C2CON.setACKDT; inline;
  15663. begin
  15664. pTDefRegMap(@Self)^.&set := $00000020;
  15665. end;
  15666. procedure TI2C2_I2C2CON.clearACKDT; inline;
  15667. begin
  15668. pTDefRegMap(@Self)^.clr := $00000020;
  15669. end;
  15670. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  15671. begin
  15672. if thebits = 0 then
  15673. pTDefRegMap(@Self)^.clr := $00000020
  15674. else
  15675. pTDefRegMap(@Self)^.&set := $00000020;
  15676. end;
  15677. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  15678. begin
  15679. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15680. end;
  15681. procedure TI2C2_I2C2CON.setSTREN; inline;
  15682. begin
  15683. pTDefRegMap(@Self)^.&set := $00000040;
  15684. end;
  15685. procedure TI2C2_I2C2CON.clearSTREN; inline;
  15686. begin
  15687. pTDefRegMap(@Self)^.clr := $00000040;
  15688. end;
  15689. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  15690. begin
  15691. if thebits = 0 then
  15692. pTDefRegMap(@Self)^.clr := $00000040
  15693. else
  15694. pTDefRegMap(@Self)^.&set := $00000040;
  15695. end;
  15696. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  15697. begin
  15698. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15699. end;
  15700. procedure TI2C2_I2C2CON.setGCEN; inline;
  15701. begin
  15702. pTDefRegMap(@Self)^.&set := $00000080;
  15703. end;
  15704. procedure TI2C2_I2C2CON.clearGCEN; inline;
  15705. begin
  15706. pTDefRegMap(@Self)^.clr := $00000080;
  15707. end;
  15708. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  15709. begin
  15710. if thebits = 0 then
  15711. pTDefRegMap(@Self)^.clr := $00000080
  15712. else
  15713. pTDefRegMap(@Self)^.&set := $00000080;
  15714. end;
  15715. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  15716. begin
  15717. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15718. end;
  15719. procedure TI2C2_I2C2CON.setSMEN; inline;
  15720. begin
  15721. pTDefRegMap(@Self)^.&set := $00000100;
  15722. end;
  15723. procedure TI2C2_I2C2CON.clearSMEN; inline;
  15724. begin
  15725. pTDefRegMap(@Self)^.clr := $00000100;
  15726. end;
  15727. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  15728. begin
  15729. if thebits = 0 then
  15730. pTDefRegMap(@Self)^.clr := $00000100
  15731. else
  15732. pTDefRegMap(@Self)^.&set := $00000100;
  15733. end;
  15734. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  15735. begin
  15736. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15737. end;
  15738. procedure TI2C2_I2C2CON.setDISSLW; inline;
  15739. begin
  15740. pTDefRegMap(@Self)^.&set := $00000200;
  15741. end;
  15742. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  15743. begin
  15744. pTDefRegMap(@Self)^.clr := $00000200;
  15745. end;
  15746. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  15747. begin
  15748. if thebits = 0 then
  15749. pTDefRegMap(@Self)^.clr := $00000200
  15750. else
  15751. pTDefRegMap(@Self)^.&set := $00000200;
  15752. end;
  15753. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  15754. begin
  15755. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15756. end;
  15757. procedure TI2C2_I2C2CON.setA10M; inline;
  15758. begin
  15759. pTDefRegMap(@Self)^.&set := $00000400;
  15760. end;
  15761. procedure TI2C2_I2C2CON.clearA10M; inline;
  15762. begin
  15763. pTDefRegMap(@Self)^.clr := $00000400;
  15764. end;
  15765. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  15766. begin
  15767. if thebits = 0 then
  15768. pTDefRegMap(@Self)^.clr := $00000400
  15769. else
  15770. pTDefRegMap(@Self)^.&set := $00000400;
  15771. end;
  15772. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  15773. begin
  15774. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15775. end;
  15776. procedure TI2C2_I2C2CON.setSTRICT; inline;
  15777. begin
  15778. pTDefRegMap(@Self)^.&set := $00000800;
  15779. end;
  15780. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  15781. begin
  15782. pTDefRegMap(@Self)^.clr := $00000800;
  15783. end;
  15784. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  15785. begin
  15786. if thebits = 0 then
  15787. pTDefRegMap(@Self)^.clr := $00000800
  15788. else
  15789. pTDefRegMap(@Self)^.&set := $00000800;
  15790. end;
  15791. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  15792. begin
  15793. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15794. end;
  15795. procedure TI2C2_I2C2CON.setSCLREL; inline;
  15796. begin
  15797. pTDefRegMap(@Self)^.&set := $00001000;
  15798. end;
  15799. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  15800. begin
  15801. pTDefRegMap(@Self)^.clr := $00001000;
  15802. end;
  15803. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  15804. begin
  15805. if thebits = 0 then
  15806. pTDefRegMap(@Self)^.clr := $00001000
  15807. else
  15808. pTDefRegMap(@Self)^.&set := $00001000;
  15809. end;
  15810. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  15811. begin
  15812. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15813. end;
  15814. procedure TI2C2_I2C2CON.setSIDL; inline;
  15815. begin
  15816. pTDefRegMap(@Self)^.&set := $00002000;
  15817. end;
  15818. procedure TI2C2_I2C2CON.clearSIDL; inline;
  15819. begin
  15820. pTDefRegMap(@Self)^.clr := $00002000;
  15821. end;
  15822. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  15823. begin
  15824. if thebits = 0 then
  15825. pTDefRegMap(@Self)^.clr := $00002000
  15826. else
  15827. pTDefRegMap(@Self)^.&set := $00002000;
  15828. end;
  15829. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  15830. begin
  15831. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15832. end;
  15833. procedure TI2C2_I2C2CON.setON; inline;
  15834. begin
  15835. pTDefRegMap(@Self)^.&set := $00008000;
  15836. end;
  15837. procedure TI2C2_I2C2CON.clearON; inline;
  15838. begin
  15839. pTDefRegMap(@Self)^.clr := $00008000;
  15840. end;
  15841. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  15842. begin
  15843. if thebits = 0 then
  15844. pTDefRegMap(@Self)^.clr := $00008000
  15845. else
  15846. pTDefRegMap(@Self)^.&set := $00008000;
  15847. end;
  15848. function TI2C2_I2C2CON.getON : TBits_1; inline;
  15849. begin
  15850. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15851. end;
  15852. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  15853. begin
  15854. pTDefRegMap(@Self)^.&set := $00000800;
  15855. end;
  15856. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  15857. begin
  15858. pTDefRegMap(@Self)^.clr := $00000800;
  15859. end;
  15860. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  15861. begin
  15862. if thebits = 0 then
  15863. pTDefRegMap(@Self)^.clr := $00000800
  15864. else
  15865. pTDefRegMap(@Self)^.&set := $00000800;
  15866. end;
  15867. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  15868. begin
  15869. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15870. end;
  15871. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  15872. begin
  15873. pTDefRegMap(@Self)^.&set := $00002000;
  15874. end;
  15875. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  15876. begin
  15877. pTDefRegMap(@Self)^.clr := $00002000;
  15878. end;
  15879. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  15880. begin
  15881. if thebits = 0 then
  15882. pTDefRegMap(@Self)^.clr := $00002000
  15883. else
  15884. pTDefRegMap(@Self)^.&set := $00002000;
  15885. end;
  15886. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  15887. begin
  15888. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15889. end;
  15890. procedure TI2C2_I2C2CON.setI2CEN; inline;
  15891. begin
  15892. pTDefRegMap(@Self)^.&set := $00008000;
  15893. end;
  15894. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  15895. begin
  15896. pTDefRegMap(@Self)^.clr := $00008000;
  15897. end;
  15898. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  15899. begin
  15900. if thebits = 0 then
  15901. pTDefRegMap(@Self)^.clr := $00008000
  15902. else
  15903. pTDefRegMap(@Self)^.&set := $00008000;
  15904. end;
  15905. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  15906. begin
  15907. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15908. end;
  15909. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  15910. begin
  15911. pTDefRegMap(@Self)^.val := thebits;
  15912. end;
  15913. function TI2C2_I2C2CON.getw : TBits_32; inline;
  15914. begin
  15915. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15916. end;
  15917. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  15918. begin
  15919. pTDefRegMap(@Self)^.&set := $00000001;
  15920. end;
  15921. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  15922. begin
  15923. pTDefRegMap(@Self)^.clr := $00000001;
  15924. end;
  15925. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  15926. begin
  15927. if thebits = 0 then
  15928. pTDefRegMap(@Self)^.clr := $00000001
  15929. else
  15930. pTDefRegMap(@Self)^.&set := $00000001;
  15931. end;
  15932. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  15933. begin
  15934. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15935. end;
  15936. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  15937. begin
  15938. pTDefRegMap(@Self)^.&set := $00000002;
  15939. end;
  15940. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  15941. begin
  15942. pTDefRegMap(@Self)^.clr := $00000002;
  15943. end;
  15944. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  15945. begin
  15946. if thebits = 0 then
  15947. pTDefRegMap(@Self)^.clr := $00000002
  15948. else
  15949. pTDefRegMap(@Self)^.&set := $00000002;
  15950. end;
  15951. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  15952. begin
  15953. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15954. end;
  15955. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  15956. begin
  15957. pTDefRegMap(@Self)^.&set := $00000004;
  15958. end;
  15959. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  15960. begin
  15961. pTDefRegMap(@Self)^.clr := $00000004;
  15962. end;
  15963. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  15964. begin
  15965. if thebits = 0 then
  15966. pTDefRegMap(@Self)^.clr := $00000004
  15967. else
  15968. pTDefRegMap(@Self)^.&set := $00000004;
  15969. end;
  15970. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  15971. begin
  15972. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15973. end;
  15974. procedure TI2C2_I2C2ASTAT.setS; inline;
  15975. begin
  15976. pTDefRegMap(@Self)^.&set := $00000008;
  15977. end;
  15978. procedure TI2C2_I2C2ASTAT.clearS; inline;
  15979. begin
  15980. pTDefRegMap(@Self)^.clr := $00000008;
  15981. end;
  15982. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  15983. begin
  15984. if thebits = 0 then
  15985. pTDefRegMap(@Self)^.clr := $00000008
  15986. else
  15987. pTDefRegMap(@Self)^.&set := $00000008;
  15988. end;
  15989. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  15990. begin
  15991. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15992. end;
  15993. procedure TI2C2_I2C2ASTAT.setP; inline;
  15994. begin
  15995. pTDefRegMap(@Self)^.&set := $00000010;
  15996. end;
  15997. procedure TI2C2_I2C2ASTAT.clearP; inline;
  15998. begin
  15999. pTDefRegMap(@Self)^.clr := $00000010;
  16000. end;
  16001. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  16002. begin
  16003. if thebits = 0 then
  16004. pTDefRegMap(@Self)^.clr := $00000010
  16005. else
  16006. pTDefRegMap(@Self)^.&set := $00000010;
  16007. end;
  16008. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  16009. begin
  16010. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16011. end;
  16012. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  16013. begin
  16014. pTDefRegMap(@Self)^.&set := $00000020;
  16015. end;
  16016. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  16017. begin
  16018. pTDefRegMap(@Self)^.clr := $00000020;
  16019. end;
  16020. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  16021. begin
  16022. if thebits = 0 then
  16023. pTDefRegMap(@Self)^.clr := $00000020
  16024. else
  16025. pTDefRegMap(@Self)^.&set := $00000020;
  16026. end;
  16027. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  16028. begin
  16029. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16030. end;
  16031. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  16032. begin
  16033. pTDefRegMap(@Self)^.&set := $00000040;
  16034. end;
  16035. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  16036. begin
  16037. pTDefRegMap(@Self)^.clr := $00000040;
  16038. end;
  16039. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  16040. begin
  16041. if thebits = 0 then
  16042. pTDefRegMap(@Self)^.clr := $00000040
  16043. else
  16044. pTDefRegMap(@Self)^.&set := $00000040;
  16045. end;
  16046. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  16047. begin
  16048. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16049. end;
  16050. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  16051. begin
  16052. pTDefRegMap(@Self)^.&set := $00000080;
  16053. end;
  16054. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  16055. begin
  16056. pTDefRegMap(@Self)^.clr := $00000080;
  16057. end;
  16058. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  16059. begin
  16060. if thebits = 0 then
  16061. pTDefRegMap(@Self)^.clr := $00000080
  16062. else
  16063. pTDefRegMap(@Self)^.&set := $00000080;
  16064. end;
  16065. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  16066. begin
  16067. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16068. end;
  16069. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  16070. begin
  16071. pTDefRegMap(@Self)^.&set := $00000100;
  16072. end;
  16073. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  16074. begin
  16075. pTDefRegMap(@Self)^.clr := $00000100;
  16076. end;
  16077. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  16078. begin
  16079. if thebits = 0 then
  16080. pTDefRegMap(@Self)^.clr := $00000100
  16081. else
  16082. pTDefRegMap(@Self)^.&set := $00000100;
  16083. end;
  16084. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  16085. begin
  16086. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16087. end;
  16088. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  16089. begin
  16090. pTDefRegMap(@Self)^.&set := $00000200;
  16091. end;
  16092. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  16093. begin
  16094. pTDefRegMap(@Self)^.clr := $00000200;
  16095. end;
  16096. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  16097. begin
  16098. if thebits = 0 then
  16099. pTDefRegMap(@Self)^.clr := $00000200
  16100. else
  16101. pTDefRegMap(@Self)^.&set := $00000200;
  16102. end;
  16103. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  16104. begin
  16105. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16106. end;
  16107. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  16108. begin
  16109. pTDefRegMap(@Self)^.&set := $00000400;
  16110. end;
  16111. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  16112. begin
  16113. pTDefRegMap(@Self)^.clr := $00000400;
  16114. end;
  16115. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  16116. begin
  16117. if thebits = 0 then
  16118. pTDefRegMap(@Self)^.clr := $00000400
  16119. else
  16120. pTDefRegMap(@Self)^.&set := $00000400;
  16121. end;
  16122. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  16123. begin
  16124. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16125. end;
  16126. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  16127. begin
  16128. pTDefRegMap(@Self)^.&set := $00004000;
  16129. end;
  16130. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  16131. begin
  16132. pTDefRegMap(@Self)^.clr := $00004000;
  16133. end;
  16134. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  16135. begin
  16136. if thebits = 0 then
  16137. pTDefRegMap(@Self)^.clr := $00004000
  16138. else
  16139. pTDefRegMap(@Self)^.&set := $00004000;
  16140. end;
  16141. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  16142. begin
  16143. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16144. end;
  16145. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  16146. begin
  16147. pTDefRegMap(@Self)^.&set := $00008000;
  16148. end;
  16149. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  16150. begin
  16151. pTDefRegMap(@Self)^.clr := $00008000;
  16152. end;
  16153. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  16154. begin
  16155. if thebits = 0 then
  16156. pTDefRegMap(@Self)^.clr := $00008000
  16157. else
  16158. pTDefRegMap(@Self)^.&set := $00008000;
  16159. end;
  16160. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  16161. begin
  16162. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16163. end;
  16164. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  16165. begin
  16166. pTDefRegMap(@Self)^.&set := $00000040;
  16167. end;
  16168. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  16169. begin
  16170. pTDefRegMap(@Self)^.clr := $00000040;
  16171. end;
  16172. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  16173. begin
  16174. if thebits = 0 then
  16175. pTDefRegMap(@Self)^.clr := $00000040
  16176. else
  16177. pTDefRegMap(@Self)^.&set := $00000040;
  16178. end;
  16179. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  16180. begin
  16181. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16182. end;
  16183. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  16184. begin
  16185. pTDefRegMap(@Self)^.val := thebits;
  16186. end;
  16187. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  16188. begin
  16189. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16190. end;
  16191. procedure TI2C2_I2C2STAT.setTBF; inline;
  16192. begin
  16193. pTDefRegMap(@Self)^.&set := $00000001;
  16194. end;
  16195. procedure TI2C2_I2C2STAT.clearTBF; inline;
  16196. begin
  16197. pTDefRegMap(@Self)^.clr := $00000001;
  16198. end;
  16199. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  16200. begin
  16201. if thebits = 0 then
  16202. pTDefRegMap(@Self)^.clr := $00000001
  16203. else
  16204. pTDefRegMap(@Self)^.&set := $00000001;
  16205. end;
  16206. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  16207. begin
  16208. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16209. end;
  16210. procedure TI2C2_I2C2STAT.setRBF; inline;
  16211. begin
  16212. pTDefRegMap(@Self)^.&set := $00000002;
  16213. end;
  16214. procedure TI2C2_I2C2STAT.clearRBF; inline;
  16215. begin
  16216. pTDefRegMap(@Self)^.clr := $00000002;
  16217. end;
  16218. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  16219. begin
  16220. if thebits = 0 then
  16221. pTDefRegMap(@Self)^.clr := $00000002
  16222. else
  16223. pTDefRegMap(@Self)^.&set := $00000002;
  16224. end;
  16225. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  16226. begin
  16227. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16228. end;
  16229. procedure TI2C2_I2C2STAT.setR_W; inline;
  16230. begin
  16231. pTDefRegMap(@Self)^.&set := $00000004;
  16232. end;
  16233. procedure TI2C2_I2C2STAT.clearR_W; inline;
  16234. begin
  16235. pTDefRegMap(@Self)^.clr := $00000004;
  16236. end;
  16237. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  16238. begin
  16239. if thebits = 0 then
  16240. pTDefRegMap(@Self)^.clr := $00000004
  16241. else
  16242. pTDefRegMap(@Self)^.&set := $00000004;
  16243. end;
  16244. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  16245. begin
  16246. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16247. end;
  16248. procedure TI2C2_I2C2STAT.setS; inline;
  16249. begin
  16250. pTDefRegMap(@Self)^.&set := $00000008;
  16251. end;
  16252. procedure TI2C2_I2C2STAT.clearS; inline;
  16253. begin
  16254. pTDefRegMap(@Self)^.clr := $00000008;
  16255. end;
  16256. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  16257. begin
  16258. if thebits = 0 then
  16259. pTDefRegMap(@Self)^.clr := $00000008
  16260. else
  16261. pTDefRegMap(@Self)^.&set := $00000008;
  16262. end;
  16263. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  16264. begin
  16265. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16266. end;
  16267. procedure TI2C2_I2C2STAT.setP; inline;
  16268. begin
  16269. pTDefRegMap(@Self)^.&set := $00000010;
  16270. end;
  16271. procedure TI2C2_I2C2STAT.clearP; inline;
  16272. begin
  16273. pTDefRegMap(@Self)^.clr := $00000010;
  16274. end;
  16275. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  16276. begin
  16277. if thebits = 0 then
  16278. pTDefRegMap(@Self)^.clr := $00000010
  16279. else
  16280. pTDefRegMap(@Self)^.&set := $00000010;
  16281. end;
  16282. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  16283. begin
  16284. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16285. end;
  16286. procedure TI2C2_I2C2STAT.setD_A; inline;
  16287. begin
  16288. pTDefRegMap(@Self)^.&set := $00000020;
  16289. end;
  16290. procedure TI2C2_I2C2STAT.clearD_A; inline;
  16291. begin
  16292. pTDefRegMap(@Self)^.clr := $00000020;
  16293. end;
  16294. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16295. begin
  16296. if thebits = 0 then
  16297. pTDefRegMap(@Self)^.clr := $00000020
  16298. else
  16299. pTDefRegMap(@Self)^.&set := $00000020;
  16300. end;
  16301. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16302. begin
  16303. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16304. end;
  16305. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16306. begin
  16307. pTDefRegMap(@Self)^.&set := $00000040;
  16308. end;
  16309. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16310. begin
  16311. pTDefRegMap(@Self)^.clr := $00000040;
  16312. end;
  16313. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16314. begin
  16315. if thebits = 0 then
  16316. pTDefRegMap(@Self)^.clr := $00000040
  16317. else
  16318. pTDefRegMap(@Self)^.&set := $00000040;
  16319. end;
  16320. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16321. begin
  16322. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16323. end;
  16324. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16325. begin
  16326. pTDefRegMap(@Self)^.&set := $00000080;
  16327. end;
  16328. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16329. begin
  16330. pTDefRegMap(@Self)^.clr := $00000080;
  16331. end;
  16332. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16333. begin
  16334. if thebits = 0 then
  16335. pTDefRegMap(@Self)^.clr := $00000080
  16336. else
  16337. pTDefRegMap(@Self)^.&set := $00000080;
  16338. end;
  16339. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16340. begin
  16341. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16342. end;
  16343. procedure TI2C2_I2C2STAT.setADD10; inline;
  16344. begin
  16345. pTDefRegMap(@Self)^.&set := $00000100;
  16346. end;
  16347. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16348. begin
  16349. pTDefRegMap(@Self)^.clr := $00000100;
  16350. end;
  16351. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16352. begin
  16353. if thebits = 0 then
  16354. pTDefRegMap(@Self)^.clr := $00000100
  16355. else
  16356. pTDefRegMap(@Self)^.&set := $00000100;
  16357. end;
  16358. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16359. begin
  16360. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16361. end;
  16362. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16363. begin
  16364. pTDefRegMap(@Self)^.&set := $00000200;
  16365. end;
  16366. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16367. begin
  16368. pTDefRegMap(@Self)^.clr := $00000200;
  16369. end;
  16370. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16371. begin
  16372. if thebits = 0 then
  16373. pTDefRegMap(@Self)^.clr := $00000200
  16374. else
  16375. pTDefRegMap(@Self)^.&set := $00000200;
  16376. end;
  16377. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16378. begin
  16379. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16380. end;
  16381. procedure TI2C2_I2C2STAT.setBCL; inline;
  16382. begin
  16383. pTDefRegMap(@Self)^.&set := $00000400;
  16384. end;
  16385. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16386. begin
  16387. pTDefRegMap(@Self)^.clr := $00000400;
  16388. end;
  16389. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16390. begin
  16391. if thebits = 0 then
  16392. pTDefRegMap(@Self)^.clr := $00000400
  16393. else
  16394. pTDefRegMap(@Self)^.&set := $00000400;
  16395. end;
  16396. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16397. begin
  16398. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16399. end;
  16400. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16401. begin
  16402. pTDefRegMap(@Self)^.&set := $00004000;
  16403. end;
  16404. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16405. begin
  16406. pTDefRegMap(@Self)^.clr := $00004000;
  16407. end;
  16408. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16409. begin
  16410. if thebits = 0 then
  16411. pTDefRegMap(@Self)^.clr := $00004000
  16412. else
  16413. pTDefRegMap(@Self)^.&set := $00004000;
  16414. end;
  16415. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16416. begin
  16417. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16418. end;
  16419. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16420. begin
  16421. pTDefRegMap(@Self)^.&set := $00008000;
  16422. end;
  16423. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16424. begin
  16425. pTDefRegMap(@Self)^.clr := $00008000;
  16426. end;
  16427. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16428. begin
  16429. if thebits = 0 then
  16430. pTDefRegMap(@Self)^.clr := $00008000
  16431. else
  16432. pTDefRegMap(@Self)^.&set := $00008000;
  16433. end;
  16434. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16435. begin
  16436. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16437. end;
  16438. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16439. begin
  16440. pTDefRegMap(@Self)^.&set := $00000040;
  16441. end;
  16442. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16443. begin
  16444. pTDefRegMap(@Self)^.clr := $00000040;
  16445. end;
  16446. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16447. begin
  16448. if thebits = 0 then
  16449. pTDefRegMap(@Self)^.clr := $00000040
  16450. else
  16451. pTDefRegMap(@Self)^.&set := $00000040;
  16452. end;
  16453. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16454. begin
  16455. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16456. end;
  16457. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16458. begin
  16459. pTDefRegMap(@Self)^.val := thebits;
  16460. end;
  16461. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16462. begin
  16463. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16464. end;
  16465. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16466. begin
  16467. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16468. end;
  16469. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16470. begin
  16471. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16472. end;
  16473. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16474. begin
  16475. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16476. end;
  16477. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16478. begin
  16479. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16480. end;
  16481. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16482. begin
  16483. pTDefRegMap(@Self)^.&set := $00000010;
  16484. end;
  16485. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16486. begin
  16487. pTDefRegMap(@Self)^.clr := $00000010;
  16488. end;
  16489. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16490. begin
  16491. if thebits = 0 then
  16492. pTDefRegMap(@Self)^.clr := $00000010
  16493. else
  16494. pTDefRegMap(@Self)^.&set := $00000010;
  16495. end;
  16496. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16497. begin
  16498. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16499. end;
  16500. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16501. begin
  16502. pTDefRegMap(@Self)^.&set := $00000020;
  16503. end;
  16504. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16505. begin
  16506. pTDefRegMap(@Self)^.clr := $00000020;
  16507. end;
  16508. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16509. begin
  16510. if thebits = 0 then
  16511. pTDefRegMap(@Self)^.clr := $00000020
  16512. else
  16513. pTDefRegMap(@Self)^.&set := $00000020;
  16514. end;
  16515. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  16516. begin
  16517. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16518. end;
  16519. procedure TSPI1_SPI1CON.setCKP; inline;
  16520. begin
  16521. pTDefRegMap(@Self)^.&set := $00000040;
  16522. end;
  16523. procedure TSPI1_SPI1CON.clearCKP; inline;
  16524. begin
  16525. pTDefRegMap(@Self)^.clr := $00000040;
  16526. end;
  16527. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  16528. begin
  16529. if thebits = 0 then
  16530. pTDefRegMap(@Self)^.clr := $00000040
  16531. else
  16532. pTDefRegMap(@Self)^.&set := $00000040;
  16533. end;
  16534. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  16535. begin
  16536. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16537. end;
  16538. procedure TSPI1_SPI1CON.setSSEN; inline;
  16539. begin
  16540. pTDefRegMap(@Self)^.&set := $00000080;
  16541. end;
  16542. procedure TSPI1_SPI1CON.clearSSEN; inline;
  16543. begin
  16544. pTDefRegMap(@Self)^.clr := $00000080;
  16545. end;
  16546. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  16547. begin
  16548. if thebits = 0 then
  16549. pTDefRegMap(@Self)^.clr := $00000080
  16550. else
  16551. pTDefRegMap(@Self)^.&set := $00000080;
  16552. end;
  16553. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  16554. begin
  16555. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16556. end;
  16557. procedure TSPI1_SPI1CON.setCKE; inline;
  16558. begin
  16559. pTDefRegMap(@Self)^.&set := $00000100;
  16560. end;
  16561. procedure TSPI1_SPI1CON.clearCKE; inline;
  16562. begin
  16563. pTDefRegMap(@Self)^.clr := $00000100;
  16564. end;
  16565. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  16566. begin
  16567. if thebits = 0 then
  16568. pTDefRegMap(@Self)^.clr := $00000100
  16569. else
  16570. pTDefRegMap(@Self)^.&set := $00000100;
  16571. end;
  16572. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  16573. begin
  16574. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16575. end;
  16576. procedure TSPI1_SPI1CON.setSMP; inline;
  16577. begin
  16578. pTDefRegMap(@Self)^.&set := $00000200;
  16579. end;
  16580. procedure TSPI1_SPI1CON.clearSMP; inline;
  16581. begin
  16582. pTDefRegMap(@Self)^.clr := $00000200;
  16583. end;
  16584. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  16585. begin
  16586. if thebits = 0 then
  16587. pTDefRegMap(@Self)^.clr := $00000200
  16588. else
  16589. pTDefRegMap(@Self)^.&set := $00000200;
  16590. end;
  16591. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  16592. begin
  16593. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16594. end;
  16595. procedure TSPI1_SPI1CON.setMODE16; inline;
  16596. begin
  16597. pTDefRegMap(@Self)^.&set := $00000400;
  16598. end;
  16599. procedure TSPI1_SPI1CON.clearMODE16; inline;
  16600. begin
  16601. pTDefRegMap(@Self)^.clr := $00000400;
  16602. end;
  16603. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  16604. begin
  16605. if thebits = 0 then
  16606. pTDefRegMap(@Self)^.clr := $00000400
  16607. else
  16608. pTDefRegMap(@Self)^.&set := $00000400;
  16609. end;
  16610. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  16611. begin
  16612. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16613. end;
  16614. procedure TSPI1_SPI1CON.setMODE32; inline;
  16615. begin
  16616. pTDefRegMap(@Self)^.&set := $00000800;
  16617. end;
  16618. procedure TSPI1_SPI1CON.clearMODE32; inline;
  16619. begin
  16620. pTDefRegMap(@Self)^.clr := $00000800;
  16621. end;
  16622. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  16623. begin
  16624. if thebits = 0 then
  16625. pTDefRegMap(@Self)^.clr := $00000800
  16626. else
  16627. pTDefRegMap(@Self)^.&set := $00000800;
  16628. end;
  16629. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  16630. begin
  16631. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16632. end;
  16633. procedure TSPI1_SPI1CON.setDISSDO; inline;
  16634. begin
  16635. pTDefRegMap(@Self)^.&set := $00001000;
  16636. end;
  16637. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  16638. begin
  16639. pTDefRegMap(@Self)^.clr := $00001000;
  16640. end;
  16641. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  16642. begin
  16643. if thebits = 0 then
  16644. pTDefRegMap(@Self)^.clr := $00001000
  16645. else
  16646. pTDefRegMap(@Self)^.&set := $00001000;
  16647. end;
  16648. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  16649. begin
  16650. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16651. end;
  16652. procedure TSPI1_SPI1CON.setSIDL; inline;
  16653. begin
  16654. pTDefRegMap(@Self)^.&set := $00002000;
  16655. end;
  16656. procedure TSPI1_SPI1CON.clearSIDL; inline;
  16657. begin
  16658. pTDefRegMap(@Self)^.clr := $00002000;
  16659. end;
  16660. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  16661. begin
  16662. if thebits = 0 then
  16663. pTDefRegMap(@Self)^.clr := $00002000
  16664. else
  16665. pTDefRegMap(@Self)^.&set := $00002000;
  16666. end;
  16667. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  16668. begin
  16669. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16670. end;
  16671. procedure TSPI1_SPI1CON.setON; inline;
  16672. begin
  16673. pTDefRegMap(@Self)^.&set := $00008000;
  16674. end;
  16675. procedure TSPI1_SPI1CON.clearON; inline;
  16676. begin
  16677. pTDefRegMap(@Self)^.clr := $00008000;
  16678. end;
  16679. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  16680. begin
  16681. if thebits = 0 then
  16682. pTDefRegMap(@Self)^.clr := $00008000
  16683. else
  16684. pTDefRegMap(@Self)^.&set := $00008000;
  16685. end;
  16686. function TSPI1_SPI1CON.getON : TBits_1; inline;
  16687. begin
  16688. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16689. end;
  16690. procedure TSPI1_SPI1CON.setENHBUF; inline;
  16691. begin
  16692. pTDefRegMap(@Self)^.&set := $00010000;
  16693. end;
  16694. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  16695. begin
  16696. pTDefRegMap(@Self)^.clr := $00010000;
  16697. end;
  16698. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  16699. begin
  16700. if thebits = 0 then
  16701. pTDefRegMap(@Self)^.clr := $00010000
  16702. else
  16703. pTDefRegMap(@Self)^.&set := $00010000;
  16704. end;
  16705. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  16706. begin
  16707. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  16708. end;
  16709. procedure TSPI1_SPI1CON.setSPIFE; inline;
  16710. begin
  16711. pTDefRegMap(@Self)^.&set := $00020000;
  16712. end;
  16713. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  16714. begin
  16715. pTDefRegMap(@Self)^.clr := $00020000;
  16716. end;
  16717. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  16718. begin
  16719. if thebits = 0 then
  16720. pTDefRegMap(@Self)^.clr := $00020000
  16721. else
  16722. pTDefRegMap(@Self)^.&set := $00020000;
  16723. end;
  16724. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  16725. begin
  16726. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  16727. end;
  16728. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  16729. begin
  16730. pTDefRegMap(@Self)^.&set := $00800000;
  16731. end;
  16732. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  16733. begin
  16734. pTDefRegMap(@Self)^.clr := $00800000;
  16735. end;
  16736. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  16737. begin
  16738. if thebits = 0 then
  16739. pTDefRegMap(@Self)^.clr := $00800000
  16740. else
  16741. pTDefRegMap(@Self)^.&set := $00800000;
  16742. end;
  16743. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  16744. begin
  16745. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16746. end;
  16747. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  16748. begin
  16749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  16750. end;
  16751. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  16752. begin
  16753. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  16754. end;
  16755. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  16756. begin
  16757. pTDefRegMap(@Self)^.&set := $08000000;
  16758. end;
  16759. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  16760. begin
  16761. pTDefRegMap(@Self)^.clr := $08000000;
  16762. end;
  16763. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  16764. begin
  16765. if thebits = 0 then
  16766. pTDefRegMap(@Self)^.clr := $08000000
  16767. else
  16768. pTDefRegMap(@Self)^.&set := $08000000;
  16769. end;
  16770. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  16771. begin
  16772. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  16773. end;
  16774. procedure TSPI1_SPI1CON.setMSSEN; inline;
  16775. begin
  16776. pTDefRegMap(@Self)^.&set := $10000000;
  16777. end;
  16778. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  16779. begin
  16780. pTDefRegMap(@Self)^.clr := $10000000;
  16781. end;
  16782. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  16783. begin
  16784. if thebits = 0 then
  16785. pTDefRegMap(@Self)^.clr := $10000000
  16786. else
  16787. pTDefRegMap(@Self)^.&set := $10000000;
  16788. end;
  16789. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  16790. begin
  16791. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  16792. end;
  16793. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  16794. begin
  16795. pTDefRegMap(@Self)^.&set := $20000000;
  16796. end;
  16797. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  16798. begin
  16799. pTDefRegMap(@Self)^.clr := $20000000;
  16800. end;
  16801. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  16802. begin
  16803. if thebits = 0 then
  16804. pTDefRegMap(@Self)^.clr := $20000000
  16805. else
  16806. pTDefRegMap(@Self)^.&set := $20000000;
  16807. end;
  16808. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  16809. begin
  16810. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  16811. end;
  16812. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  16813. begin
  16814. pTDefRegMap(@Self)^.&set := $40000000;
  16815. end;
  16816. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  16817. begin
  16818. pTDefRegMap(@Self)^.clr := $40000000;
  16819. end;
  16820. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  16821. begin
  16822. if thebits = 0 then
  16823. pTDefRegMap(@Self)^.clr := $40000000
  16824. else
  16825. pTDefRegMap(@Self)^.&set := $40000000;
  16826. end;
  16827. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  16828. begin
  16829. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  16830. end;
  16831. procedure TSPI1_SPI1CON.setFRMEN; inline;
  16832. begin
  16833. pTDefRegMap(@Self)^.&set := $80000000;
  16834. end;
  16835. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  16836. begin
  16837. pTDefRegMap(@Self)^.clr := $80000000;
  16838. end;
  16839. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  16840. begin
  16841. if thebits = 0 then
  16842. pTDefRegMap(@Self)^.clr := $80000000
  16843. else
  16844. pTDefRegMap(@Self)^.&set := $80000000;
  16845. end;
  16846. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  16847. begin
  16848. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  16849. end;
  16850. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  16851. begin
  16852. pTDefRegMap(@Self)^.val := thebits;
  16853. end;
  16854. function TSPI1_SPI1CON.getw : TBits_32; inline;
  16855. begin
  16856. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16857. end;
  16858. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  16859. begin
  16860. pTDefRegMap(@Self)^.&set := $00000001;
  16861. end;
  16862. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  16863. begin
  16864. pTDefRegMap(@Self)^.clr := $00000001;
  16865. end;
  16866. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  16867. begin
  16868. if thebits = 0 then
  16869. pTDefRegMap(@Self)^.clr := $00000001
  16870. else
  16871. pTDefRegMap(@Self)^.&set := $00000001;
  16872. end;
  16873. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  16874. begin
  16875. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16876. end;
  16877. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  16878. begin
  16879. pTDefRegMap(@Self)^.&set := $00000002;
  16880. end;
  16881. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  16882. begin
  16883. pTDefRegMap(@Self)^.clr := $00000002;
  16884. end;
  16885. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  16886. begin
  16887. if thebits = 0 then
  16888. pTDefRegMap(@Self)^.clr := $00000002
  16889. else
  16890. pTDefRegMap(@Self)^.&set := $00000002;
  16891. end;
  16892. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  16893. begin
  16894. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16895. end;
  16896. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  16897. begin
  16898. pTDefRegMap(@Self)^.&set := $00000008;
  16899. end;
  16900. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  16901. begin
  16902. pTDefRegMap(@Self)^.clr := $00000008;
  16903. end;
  16904. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  16905. begin
  16906. if thebits = 0 then
  16907. pTDefRegMap(@Self)^.clr := $00000008
  16908. else
  16909. pTDefRegMap(@Self)^.&set := $00000008;
  16910. end;
  16911. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  16912. begin
  16913. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16914. end;
  16915. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  16916. begin
  16917. pTDefRegMap(@Self)^.&set := $00000020;
  16918. end;
  16919. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  16920. begin
  16921. pTDefRegMap(@Self)^.clr := $00000020;
  16922. end;
  16923. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  16924. begin
  16925. if thebits = 0 then
  16926. pTDefRegMap(@Self)^.clr := $00000020
  16927. else
  16928. pTDefRegMap(@Self)^.&set := $00000020;
  16929. end;
  16930. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  16931. begin
  16932. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16933. end;
  16934. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  16935. begin
  16936. pTDefRegMap(@Self)^.&set := $00000040;
  16937. end;
  16938. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  16939. begin
  16940. pTDefRegMap(@Self)^.clr := $00000040;
  16941. end;
  16942. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  16943. begin
  16944. if thebits = 0 then
  16945. pTDefRegMap(@Self)^.clr := $00000040
  16946. else
  16947. pTDefRegMap(@Self)^.&set := $00000040;
  16948. end;
  16949. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  16950. begin
  16951. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16952. end;
  16953. procedure TSPI1_SPI1STAT.setSRMT; inline;
  16954. begin
  16955. pTDefRegMap(@Self)^.&set := $00000080;
  16956. end;
  16957. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  16958. begin
  16959. pTDefRegMap(@Self)^.clr := $00000080;
  16960. end;
  16961. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  16962. begin
  16963. if thebits = 0 then
  16964. pTDefRegMap(@Self)^.clr := $00000080
  16965. else
  16966. pTDefRegMap(@Self)^.&set := $00000080;
  16967. end;
  16968. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  16969. begin
  16970. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16971. end;
  16972. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  16973. begin
  16974. pTDefRegMap(@Self)^.&set := $00000100;
  16975. end;
  16976. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  16977. begin
  16978. pTDefRegMap(@Self)^.clr := $00000100;
  16979. end;
  16980. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  16981. begin
  16982. if thebits = 0 then
  16983. pTDefRegMap(@Self)^.clr := $00000100
  16984. else
  16985. pTDefRegMap(@Self)^.&set := $00000100;
  16986. end;
  16987. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  16988. begin
  16989. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16990. end;
  16991. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  16992. begin
  16993. pTDefRegMap(@Self)^.&set := $00000800;
  16994. end;
  16995. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  16996. begin
  16997. pTDefRegMap(@Self)^.clr := $00000800;
  16998. end;
  16999. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  17000. begin
  17001. if thebits = 0 then
  17002. pTDefRegMap(@Self)^.clr := $00000800
  17003. else
  17004. pTDefRegMap(@Self)^.&set := $00000800;
  17005. end;
  17006. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  17007. begin
  17008. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17009. end;
  17010. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  17011. begin
  17012. pTDefRegMap(@Self)^.&set := $00001000;
  17013. end;
  17014. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  17015. begin
  17016. pTDefRegMap(@Self)^.clr := $00001000;
  17017. end;
  17018. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  17019. begin
  17020. if thebits = 0 then
  17021. pTDefRegMap(@Self)^.clr := $00001000
  17022. else
  17023. pTDefRegMap(@Self)^.&set := $00001000;
  17024. end;
  17025. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  17026. begin
  17027. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17028. end;
  17029. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  17030. begin
  17031. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17032. end;
  17033. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  17034. begin
  17035. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17036. end;
  17037. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  17038. begin
  17039. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17040. end;
  17041. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  17042. begin
  17043. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17044. end;
  17045. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  17046. begin
  17047. pTDefRegMap(@Self)^.val := thebits;
  17048. end;
  17049. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  17050. begin
  17051. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17052. end;
  17053. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  17054. begin
  17055. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17056. end;
  17057. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  17058. begin
  17059. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17060. end;
  17061. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  17062. begin
  17063. pTDefRegMap(@Self)^.&set := $00000008;
  17064. end;
  17065. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  17066. begin
  17067. pTDefRegMap(@Self)^.clr := $00000008;
  17068. end;
  17069. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  17070. begin
  17071. if thebits = 0 then
  17072. pTDefRegMap(@Self)^.clr := $00000008
  17073. else
  17074. pTDefRegMap(@Self)^.&set := $00000008;
  17075. end;
  17076. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  17077. begin
  17078. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17079. end;
  17080. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  17081. begin
  17082. pTDefRegMap(@Self)^.&set := $00000080;
  17083. end;
  17084. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  17085. begin
  17086. pTDefRegMap(@Self)^.clr := $00000080;
  17087. end;
  17088. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  17089. begin
  17090. if thebits = 0 then
  17091. pTDefRegMap(@Self)^.clr := $00000080
  17092. else
  17093. pTDefRegMap(@Self)^.&set := $00000080;
  17094. end;
  17095. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  17096. begin
  17097. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17098. end;
  17099. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  17100. begin
  17101. pTDefRegMap(@Self)^.&set := $00000100;
  17102. end;
  17103. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  17104. begin
  17105. pTDefRegMap(@Self)^.clr := $00000100;
  17106. end;
  17107. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  17108. begin
  17109. if thebits = 0 then
  17110. pTDefRegMap(@Self)^.clr := $00000100
  17111. else
  17112. pTDefRegMap(@Self)^.&set := $00000100;
  17113. end;
  17114. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  17115. begin
  17116. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17117. end;
  17118. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  17119. begin
  17120. pTDefRegMap(@Self)^.&set := $00000200;
  17121. end;
  17122. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  17123. begin
  17124. pTDefRegMap(@Self)^.clr := $00000200;
  17125. end;
  17126. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  17127. begin
  17128. if thebits = 0 then
  17129. pTDefRegMap(@Self)^.clr := $00000200
  17130. else
  17131. pTDefRegMap(@Self)^.&set := $00000200;
  17132. end;
  17133. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  17134. begin
  17135. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17136. end;
  17137. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  17138. begin
  17139. pTDefRegMap(@Self)^.&set := $00000400;
  17140. end;
  17141. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  17142. begin
  17143. pTDefRegMap(@Self)^.clr := $00000400;
  17144. end;
  17145. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  17146. begin
  17147. if thebits = 0 then
  17148. pTDefRegMap(@Self)^.clr := $00000400
  17149. else
  17150. pTDefRegMap(@Self)^.&set := $00000400;
  17151. end;
  17152. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  17153. begin
  17154. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17155. end;
  17156. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  17157. begin
  17158. pTDefRegMap(@Self)^.&set := $00000800;
  17159. end;
  17160. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  17161. begin
  17162. pTDefRegMap(@Self)^.clr := $00000800;
  17163. end;
  17164. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  17165. begin
  17166. if thebits = 0 then
  17167. pTDefRegMap(@Self)^.clr := $00000800
  17168. else
  17169. pTDefRegMap(@Self)^.&set := $00000800;
  17170. end;
  17171. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  17172. begin
  17173. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17174. end;
  17175. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  17176. begin
  17177. pTDefRegMap(@Self)^.&set := $00001000;
  17178. end;
  17179. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  17180. begin
  17181. pTDefRegMap(@Self)^.clr := $00001000;
  17182. end;
  17183. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  17184. begin
  17185. if thebits = 0 then
  17186. pTDefRegMap(@Self)^.clr := $00001000
  17187. else
  17188. pTDefRegMap(@Self)^.&set := $00001000;
  17189. end;
  17190. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  17191. begin
  17192. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17193. end;
  17194. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  17195. begin
  17196. pTDefRegMap(@Self)^.&set := $00008000;
  17197. end;
  17198. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  17199. begin
  17200. pTDefRegMap(@Self)^.clr := $00008000;
  17201. end;
  17202. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17203. begin
  17204. if thebits = 0 then
  17205. pTDefRegMap(@Self)^.clr := $00008000
  17206. else
  17207. pTDefRegMap(@Self)^.&set := $00008000;
  17208. end;
  17209. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  17210. begin
  17211. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17212. end;
  17213. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  17214. begin
  17215. pTDefRegMap(@Self)^.&set := $00000001;
  17216. end;
  17217. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  17218. begin
  17219. pTDefRegMap(@Self)^.clr := $00000001;
  17220. end;
  17221. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  17222. begin
  17223. if thebits = 0 then
  17224. pTDefRegMap(@Self)^.clr := $00000001
  17225. else
  17226. pTDefRegMap(@Self)^.&set := $00000001;
  17227. end;
  17228. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  17229. begin
  17230. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17231. end;
  17232. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  17233. begin
  17234. pTDefRegMap(@Self)^.&set := $00000002;
  17235. end;
  17236. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  17237. begin
  17238. pTDefRegMap(@Self)^.clr := $00000002;
  17239. end;
  17240. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  17241. begin
  17242. if thebits = 0 then
  17243. pTDefRegMap(@Self)^.clr := $00000002
  17244. else
  17245. pTDefRegMap(@Self)^.&set := $00000002;
  17246. end;
  17247. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  17248. begin
  17249. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17250. end;
  17251. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  17252. begin
  17253. pTDefRegMap(@Self)^.val := thebits;
  17254. end;
  17255. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  17256. begin
  17257. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17258. end;
  17259. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  17260. begin
  17261. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17262. end;
  17263. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  17264. begin
  17265. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17266. end;
  17267. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  17268. begin
  17269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  17270. end;
  17271. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  17272. begin
  17273. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  17274. end;
  17275. procedure TSPI2_SPI2CON.setDISSDI; inline;
  17276. begin
  17277. pTDefRegMap(@Self)^.&set := $00000010;
  17278. end;
  17279. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  17280. begin
  17281. pTDefRegMap(@Self)^.clr := $00000010;
  17282. end;
  17283. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  17284. begin
  17285. if thebits = 0 then
  17286. pTDefRegMap(@Self)^.clr := $00000010
  17287. else
  17288. pTDefRegMap(@Self)^.&set := $00000010;
  17289. end;
  17290. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  17291. begin
  17292. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17293. end;
  17294. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17295. begin
  17296. pTDefRegMap(@Self)^.&set := $00000020;
  17297. end;
  17298. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17299. begin
  17300. pTDefRegMap(@Self)^.clr := $00000020;
  17301. end;
  17302. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17303. begin
  17304. if thebits = 0 then
  17305. pTDefRegMap(@Self)^.clr := $00000020
  17306. else
  17307. pTDefRegMap(@Self)^.&set := $00000020;
  17308. end;
  17309. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17310. begin
  17311. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17312. end;
  17313. procedure TSPI2_SPI2CON.setCKP; inline;
  17314. begin
  17315. pTDefRegMap(@Self)^.&set := $00000040;
  17316. end;
  17317. procedure TSPI2_SPI2CON.clearCKP; inline;
  17318. begin
  17319. pTDefRegMap(@Self)^.clr := $00000040;
  17320. end;
  17321. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17322. begin
  17323. if thebits = 0 then
  17324. pTDefRegMap(@Self)^.clr := $00000040
  17325. else
  17326. pTDefRegMap(@Self)^.&set := $00000040;
  17327. end;
  17328. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17329. begin
  17330. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17331. end;
  17332. procedure TSPI2_SPI2CON.setSSEN; inline;
  17333. begin
  17334. pTDefRegMap(@Self)^.&set := $00000080;
  17335. end;
  17336. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17337. begin
  17338. pTDefRegMap(@Self)^.clr := $00000080;
  17339. end;
  17340. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17341. begin
  17342. if thebits = 0 then
  17343. pTDefRegMap(@Self)^.clr := $00000080
  17344. else
  17345. pTDefRegMap(@Self)^.&set := $00000080;
  17346. end;
  17347. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17348. begin
  17349. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17350. end;
  17351. procedure TSPI2_SPI2CON.setCKE; inline;
  17352. begin
  17353. pTDefRegMap(@Self)^.&set := $00000100;
  17354. end;
  17355. procedure TSPI2_SPI2CON.clearCKE; inline;
  17356. begin
  17357. pTDefRegMap(@Self)^.clr := $00000100;
  17358. end;
  17359. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17360. begin
  17361. if thebits = 0 then
  17362. pTDefRegMap(@Self)^.clr := $00000100
  17363. else
  17364. pTDefRegMap(@Self)^.&set := $00000100;
  17365. end;
  17366. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17367. begin
  17368. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17369. end;
  17370. procedure TSPI2_SPI2CON.setSMP; inline;
  17371. begin
  17372. pTDefRegMap(@Self)^.&set := $00000200;
  17373. end;
  17374. procedure TSPI2_SPI2CON.clearSMP; inline;
  17375. begin
  17376. pTDefRegMap(@Self)^.clr := $00000200;
  17377. end;
  17378. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17379. begin
  17380. if thebits = 0 then
  17381. pTDefRegMap(@Self)^.clr := $00000200
  17382. else
  17383. pTDefRegMap(@Self)^.&set := $00000200;
  17384. end;
  17385. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17386. begin
  17387. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17388. end;
  17389. procedure TSPI2_SPI2CON.setMODE16; inline;
  17390. begin
  17391. pTDefRegMap(@Self)^.&set := $00000400;
  17392. end;
  17393. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17394. begin
  17395. pTDefRegMap(@Self)^.clr := $00000400;
  17396. end;
  17397. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17398. begin
  17399. if thebits = 0 then
  17400. pTDefRegMap(@Self)^.clr := $00000400
  17401. else
  17402. pTDefRegMap(@Self)^.&set := $00000400;
  17403. end;
  17404. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17405. begin
  17406. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17407. end;
  17408. procedure TSPI2_SPI2CON.setMODE32; inline;
  17409. begin
  17410. pTDefRegMap(@Self)^.&set := $00000800;
  17411. end;
  17412. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17413. begin
  17414. pTDefRegMap(@Self)^.clr := $00000800;
  17415. end;
  17416. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17417. begin
  17418. if thebits = 0 then
  17419. pTDefRegMap(@Self)^.clr := $00000800
  17420. else
  17421. pTDefRegMap(@Self)^.&set := $00000800;
  17422. end;
  17423. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17424. begin
  17425. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17426. end;
  17427. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17428. begin
  17429. pTDefRegMap(@Self)^.&set := $00001000;
  17430. end;
  17431. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17432. begin
  17433. pTDefRegMap(@Self)^.clr := $00001000;
  17434. end;
  17435. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17436. begin
  17437. if thebits = 0 then
  17438. pTDefRegMap(@Self)^.clr := $00001000
  17439. else
  17440. pTDefRegMap(@Self)^.&set := $00001000;
  17441. end;
  17442. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17443. begin
  17444. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17445. end;
  17446. procedure TSPI2_SPI2CON.setSIDL; inline;
  17447. begin
  17448. pTDefRegMap(@Self)^.&set := $00002000;
  17449. end;
  17450. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17451. begin
  17452. pTDefRegMap(@Self)^.clr := $00002000;
  17453. end;
  17454. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17455. begin
  17456. if thebits = 0 then
  17457. pTDefRegMap(@Self)^.clr := $00002000
  17458. else
  17459. pTDefRegMap(@Self)^.&set := $00002000;
  17460. end;
  17461. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17462. begin
  17463. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17464. end;
  17465. procedure TSPI2_SPI2CON.setON; inline;
  17466. begin
  17467. pTDefRegMap(@Self)^.&set := $00008000;
  17468. end;
  17469. procedure TSPI2_SPI2CON.clearON; inline;
  17470. begin
  17471. pTDefRegMap(@Self)^.clr := $00008000;
  17472. end;
  17473. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17474. begin
  17475. if thebits = 0 then
  17476. pTDefRegMap(@Self)^.clr := $00008000
  17477. else
  17478. pTDefRegMap(@Self)^.&set := $00008000;
  17479. end;
  17480. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17481. begin
  17482. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17483. end;
  17484. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17485. begin
  17486. pTDefRegMap(@Self)^.&set := $00010000;
  17487. end;
  17488. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17489. begin
  17490. pTDefRegMap(@Self)^.clr := $00010000;
  17491. end;
  17492. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17493. begin
  17494. if thebits = 0 then
  17495. pTDefRegMap(@Self)^.clr := $00010000
  17496. else
  17497. pTDefRegMap(@Self)^.&set := $00010000;
  17498. end;
  17499. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17500. begin
  17501. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17502. end;
  17503. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17504. begin
  17505. pTDefRegMap(@Self)^.&set := $00020000;
  17506. end;
  17507. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17508. begin
  17509. pTDefRegMap(@Self)^.clr := $00020000;
  17510. end;
  17511. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  17512. begin
  17513. if thebits = 0 then
  17514. pTDefRegMap(@Self)^.clr := $00020000
  17515. else
  17516. pTDefRegMap(@Self)^.&set := $00020000;
  17517. end;
  17518. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  17519. begin
  17520. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17521. end;
  17522. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  17523. begin
  17524. pTDefRegMap(@Self)^.&set := $00800000;
  17525. end;
  17526. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  17527. begin
  17528. pTDefRegMap(@Self)^.clr := $00800000;
  17529. end;
  17530. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  17531. begin
  17532. if thebits = 0 then
  17533. pTDefRegMap(@Self)^.clr := $00800000
  17534. else
  17535. pTDefRegMap(@Self)^.&set := $00800000;
  17536. end;
  17537. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  17538. begin
  17539. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17540. end;
  17541. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  17542. begin
  17543. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17544. end;
  17545. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  17546. begin
  17547. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17548. end;
  17549. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  17550. begin
  17551. pTDefRegMap(@Self)^.&set := $08000000;
  17552. end;
  17553. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  17554. begin
  17555. pTDefRegMap(@Self)^.clr := $08000000;
  17556. end;
  17557. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  17558. begin
  17559. if thebits = 0 then
  17560. pTDefRegMap(@Self)^.clr := $08000000
  17561. else
  17562. pTDefRegMap(@Self)^.&set := $08000000;
  17563. end;
  17564. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  17565. begin
  17566. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17567. end;
  17568. procedure TSPI2_SPI2CON.setMSSEN; inline;
  17569. begin
  17570. pTDefRegMap(@Self)^.&set := $10000000;
  17571. end;
  17572. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  17573. begin
  17574. pTDefRegMap(@Self)^.clr := $10000000;
  17575. end;
  17576. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  17577. begin
  17578. if thebits = 0 then
  17579. pTDefRegMap(@Self)^.clr := $10000000
  17580. else
  17581. pTDefRegMap(@Self)^.&set := $10000000;
  17582. end;
  17583. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  17584. begin
  17585. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17586. end;
  17587. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  17588. begin
  17589. pTDefRegMap(@Self)^.&set := $20000000;
  17590. end;
  17591. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  17592. begin
  17593. pTDefRegMap(@Self)^.clr := $20000000;
  17594. end;
  17595. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  17596. begin
  17597. if thebits = 0 then
  17598. pTDefRegMap(@Self)^.clr := $20000000
  17599. else
  17600. pTDefRegMap(@Self)^.&set := $20000000;
  17601. end;
  17602. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  17603. begin
  17604. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17605. end;
  17606. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  17607. begin
  17608. pTDefRegMap(@Self)^.&set := $40000000;
  17609. end;
  17610. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  17611. begin
  17612. pTDefRegMap(@Self)^.clr := $40000000;
  17613. end;
  17614. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  17615. begin
  17616. if thebits = 0 then
  17617. pTDefRegMap(@Self)^.clr := $40000000
  17618. else
  17619. pTDefRegMap(@Self)^.&set := $40000000;
  17620. end;
  17621. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  17622. begin
  17623. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17624. end;
  17625. procedure TSPI2_SPI2CON.setFRMEN; inline;
  17626. begin
  17627. pTDefRegMap(@Self)^.&set := $80000000;
  17628. end;
  17629. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  17630. begin
  17631. pTDefRegMap(@Self)^.clr := $80000000;
  17632. end;
  17633. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  17634. begin
  17635. if thebits = 0 then
  17636. pTDefRegMap(@Self)^.clr := $80000000
  17637. else
  17638. pTDefRegMap(@Self)^.&set := $80000000;
  17639. end;
  17640. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  17641. begin
  17642. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17643. end;
  17644. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  17645. begin
  17646. pTDefRegMap(@Self)^.val := thebits;
  17647. end;
  17648. function TSPI2_SPI2CON.getw : TBits_32; inline;
  17649. begin
  17650. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17651. end;
  17652. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  17653. begin
  17654. pTDefRegMap(@Self)^.&set := $00000001;
  17655. end;
  17656. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  17657. begin
  17658. pTDefRegMap(@Self)^.clr := $00000001;
  17659. end;
  17660. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  17661. begin
  17662. if thebits = 0 then
  17663. pTDefRegMap(@Self)^.clr := $00000001
  17664. else
  17665. pTDefRegMap(@Self)^.&set := $00000001;
  17666. end;
  17667. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  17668. begin
  17669. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17670. end;
  17671. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  17672. begin
  17673. pTDefRegMap(@Self)^.&set := $00000002;
  17674. end;
  17675. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  17676. begin
  17677. pTDefRegMap(@Self)^.clr := $00000002;
  17678. end;
  17679. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  17680. begin
  17681. if thebits = 0 then
  17682. pTDefRegMap(@Self)^.clr := $00000002
  17683. else
  17684. pTDefRegMap(@Self)^.&set := $00000002;
  17685. end;
  17686. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  17687. begin
  17688. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17689. end;
  17690. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  17691. begin
  17692. pTDefRegMap(@Self)^.&set := $00000008;
  17693. end;
  17694. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  17695. begin
  17696. pTDefRegMap(@Self)^.clr := $00000008;
  17697. end;
  17698. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  17699. begin
  17700. if thebits = 0 then
  17701. pTDefRegMap(@Self)^.clr := $00000008
  17702. else
  17703. pTDefRegMap(@Self)^.&set := $00000008;
  17704. end;
  17705. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  17706. begin
  17707. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17708. end;
  17709. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  17710. begin
  17711. pTDefRegMap(@Self)^.&set := $00000020;
  17712. end;
  17713. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  17714. begin
  17715. pTDefRegMap(@Self)^.clr := $00000020;
  17716. end;
  17717. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  17718. begin
  17719. if thebits = 0 then
  17720. pTDefRegMap(@Self)^.clr := $00000020
  17721. else
  17722. pTDefRegMap(@Self)^.&set := $00000020;
  17723. end;
  17724. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  17725. begin
  17726. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17727. end;
  17728. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  17729. begin
  17730. pTDefRegMap(@Self)^.&set := $00000040;
  17731. end;
  17732. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  17733. begin
  17734. pTDefRegMap(@Self)^.clr := $00000040;
  17735. end;
  17736. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  17737. begin
  17738. if thebits = 0 then
  17739. pTDefRegMap(@Self)^.clr := $00000040
  17740. else
  17741. pTDefRegMap(@Self)^.&set := $00000040;
  17742. end;
  17743. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  17744. begin
  17745. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17746. end;
  17747. procedure TSPI2_SPI2STAT.setSRMT; inline;
  17748. begin
  17749. pTDefRegMap(@Self)^.&set := $00000080;
  17750. end;
  17751. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  17752. begin
  17753. pTDefRegMap(@Self)^.clr := $00000080;
  17754. end;
  17755. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  17756. begin
  17757. if thebits = 0 then
  17758. pTDefRegMap(@Self)^.clr := $00000080
  17759. else
  17760. pTDefRegMap(@Self)^.&set := $00000080;
  17761. end;
  17762. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  17763. begin
  17764. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17765. end;
  17766. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  17767. begin
  17768. pTDefRegMap(@Self)^.&set := $00000100;
  17769. end;
  17770. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  17771. begin
  17772. pTDefRegMap(@Self)^.clr := $00000100;
  17773. end;
  17774. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  17775. begin
  17776. if thebits = 0 then
  17777. pTDefRegMap(@Self)^.clr := $00000100
  17778. else
  17779. pTDefRegMap(@Self)^.&set := $00000100;
  17780. end;
  17781. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  17782. begin
  17783. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17784. end;
  17785. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  17786. begin
  17787. pTDefRegMap(@Self)^.&set := $00000800;
  17788. end;
  17789. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  17790. begin
  17791. pTDefRegMap(@Self)^.clr := $00000800;
  17792. end;
  17793. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  17794. begin
  17795. if thebits = 0 then
  17796. pTDefRegMap(@Self)^.clr := $00000800
  17797. else
  17798. pTDefRegMap(@Self)^.&set := $00000800;
  17799. end;
  17800. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  17801. begin
  17802. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17803. end;
  17804. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  17805. begin
  17806. pTDefRegMap(@Self)^.&set := $00001000;
  17807. end;
  17808. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  17809. begin
  17810. pTDefRegMap(@Self)^.clr := $00001000;
  17811. end;
  17812. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  17813. begin
  17814. if thebits = 0 then
  17815. pTDefRegMap(@Self)^.clr := $00001000
  17816. else
  17817. pTDefRegMap(@Self)^.&set := $00001000;
  17818. end;
  17819. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  17820. begin
  17821. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17822. end;
  17823. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  17824. begin
  17825. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17826. end;
  17827. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  17828. begin
  17829. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17830. end;
  17831. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  17832. begin
  17833. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17834. end;
  17835. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  17836. begin
  17837. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17838. end;
  17839. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  17840. begin
  17841. pTDefRegMap(@Self)^.val := thebits;
  17842. end;
  17843. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  17844. begin
  17845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17846. end;
  17847. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  17848. begin
  17849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17850. end;
  17851. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  17852. begin
  17853. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17854. end;
  17855. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  17856. begin
  17857. pTDefRegMap(@Self)^.&set := $00000008;
  17858. end;
  17859. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  17860. begin
  17861. pTDefRegMap(@Self)^.clr := $00000008;
  17862. end;
  17863. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  17864. begin
  17865. if thebits = 0 then
  17866. pTDefRegMap(@Self)^.clr := $00000008
  17867. else
  17868. pTDefRegMap(@Self)^.&set := $00000008;
  17869. end;
  17870. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  17871. begin
  17872. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17873. end;
  17874. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  17875. begin
  17876. pTDefRegMap(@Self)^.&set := $00000080;
  17877. end;
  17878. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  17879. begin
  17880. pTDefRegMap(@Self)^.clr := $00000080;
  17881. end;
  17882. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  17883. begin
  17884. if thebits = 0 then
  17885. pTDefRegMap(@Self)^.clr := $00000080
  17886. else
  17887. pTDefRegMap(@Self)^.&set := $00000080;
  17888. end;
  17889. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  17890. begin
  17891. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17892. end;
  17893. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  17894. begin
  17895. pTDefRegMap(@Self)^.&set := $00000100;
  17896. end;
  17897. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  17898. begin
  17899. pTDefRegMap(@Self)^.clr := $00000100;
  17900. end;
  17901. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  17902. begin
  17903. if thebits = 0 then
  17904. pTDefRegMap(@Self)^.clr := $00000100
  17905. else
  17906. pTDefRegMap(@Self)^.&set := $00000100;
  17907. end;
  17908. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  17909. begin
  17910. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17911. end;
  17912. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  17913. begin
  17914. pTDefRegMap(@Self)^.&set := $00000200;
  17915. end;
  17916. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  17917. begin
  17918. pTDefRegMap(@Self)^.clr := $00000200;
  17919. end;
  17920. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  17921. begin
  17922. if thebits = 0 then
  17923. pTDefRegMap(@Self)^.clr := $00000200
  17924. else
  17925. pTDefRegMap(@Self)^.&set := $00000200;
  17926. end;
  17927. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  17928. begin
  17929. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17930. end;
  17931. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  17932. begin
  17933. pTDefRegMap(@Self)^.&set := $00000400;
  17934. end;
  17935. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  17936. begin
  17937. pTDefRegMap(@Self)^.clr := $00000400;
  17938. end;
  17939. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  17940. begin
  17941. if thebits = 0 then
  17942. pTDefRegMap(@Self)^.clr := $00000400
  17943. else
  17944. pTDefRegMap(@Self)^.&set := $00000400;
  17945. end;
  17946. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  17947. begin
  17948. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17949. end;
  17950. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  17951. begin
  17952. pTDefRegMap(@Self)^.&set := $00000800;
  17953. end;
  17954. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  17955. begin
  17956. pTDefRegMap(@Self)^.clr := $00000800;
  17957. end;
  17958. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  17959. begin
  17960. if thebits = 0 then
  17961. pTDefRegMap(@Self)^.clr := $00000800
  17962. else
  17963. pTDefRegMap(@Self)^.&set := $00000800;
  17964. end;
  17965. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  17966. begin
  17967. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17968. end;
  17969. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  17970. begin
  17971. pTDefRegMap(@Self)^.&set := $00001000;
  17972. end;
  17973. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  17974. begin
  17975. pTDefRegMap(@Self)^.clr := $00001000;
  17976. end;
  17977. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  17978. begin
  17979. if thebits = 0 then
  17980. pTDefRegMap(@Self)^.clr := $00001000
  17981. else
  17982. pTDefRegMap(@Self)^.&set := $00001000;
  17983. end;
  17984. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  17985. begin
  17986. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17987. end;
  17988. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  17989. begin
  17990. pTDefRegMap(@Self)^.&set := $00008000;
  17991. end;
  17992. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  17993. begin
  17994. pTDefRegMap(@Self)^.clr := $00008000;
  17995. end;
  17996. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17997. begin
  17998. if thebits = 0 then
  17999. pTDefRegMap(@Self)^.clr := $00008000
  18000. else
  18001. pTDefRegMap(@Self)^.&set := $00008000;
  18002. end;
  18003. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  18004. begin
  18005. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18006. end;
  18007. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  18008. begin
  18009. pTDefRegMap(@Self)^.&set := $00000001;
  18010. end;
  18011. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  18012. begin
  18013. pTDefRegMap(@Self)^.clr := $00000001;
  18014. end;
  18015. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  18016. begin
  18017. if thebits = 0 then
  18018. pTDefRegMap(@Self)^.clr := $00000001
  18019. else
  18020. pTDefRegMap(@Self)^.&set := $00000001;
  18021. end;
  18022. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  18023. begin
  18024. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18025. end;
  18026. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  18027. begin
  18028. pTDefRegMap(@Self)^.&set := $00000002;
  18029. end;
  18030. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  18031. begin
  18032. pTDefRegMap(@Self)^.clr := $00000002;
  18033. end;
  18034. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  18035. begin
  18036. if thebits = 0 then
  18037. pTDefRegMap(@Self)^.clr := $00000002
  18038. else
  18039. pTDefRegMap(@Self)^.&set := $00000002;
  18040. end;
  18041. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  18042. begin
  18043. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18044. end;
  18045. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  18046. begin
  18047. pTDefRegMap(@Self)^.val := thebits;
  18048. end;
  18049. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  18050. begin
  18051. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18052. end;
  18053. procedure TUART1_U1AMODE.setSTSEL; inline;
  18054. begin
  18055. pTDefRegMap(@Self)^.&set := $00000001;
  18056. end;
  18057. procedure TUART1_U1AMODE.clearSTSEL; inline;
  18058. begin
  18059. pTDefRegMap(@Self)^.clr := $00000001;
  18060. end;
  18061. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  18062. begin
  18063. if thebits = 0 then
  18064. pTDefRegMap(@Self)^.clr := $00000001
  18065. else
  18066. pTDefRegMap(@Self)^.&set := $00000001;
  18067. end;
  18068. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  18069. begin
  18070. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18071. end;
  18072. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  18073. begin
  18074. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18075. end;
  18076. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  18077. begin
  18078. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18079. end;
  18080. procedure TUART1_U1AMODE.setBRGH; inline;
  18081. begin
  18082. pTDefRegMap(@Self)^.&set := $00000008;
  18083. end;
  18084. procedure TUART1_U1AMODE.clearBRGH; inline;
  18085. begin
  18086. pTDefRegMap(@Self)^.clr := $00000008;
  18087. end;
  18088. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  18089. begin
  18090. if thebits = 0 then
  18091. pTDefRegMap(@Self)^.clr := $00000008
  18092. else
  18093. pTDefRegMap(@Self)^.&set := $00000008;
  18094. end;
  18095. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  18096. begin
  18097. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18098. end;
  18099. procedure TUART1_U1AMODE.setRXINV; inline;
  18100. begin
  18101. pTDefRegMap(@Self)^.&set := $00000010;
  18102. end;
  18103. procedure TUART1_U1AMODE.clearRXINV; inline;
  18104. begin
  18105. pTDefRegMap(@Self)^.clr := $00000010;
  18106. end;
  18107. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  18108. begin
  18109. if thebits = 0 then
  18110. pTDefRegMap(@Self)^.clr := $00000010
  18111. else
  18112. pTDefRegMap(@Self)^.&set := $00000010;
  18113. end;
  18114. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  18115. begin
  18116. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18117. end;
  18118. procedure TUART1_U1AMODE.setABAUD; inline;
  18119. begin
  18120. pTDefRegMap(@Self)^.&set := $00000020;
  18121. end;
  18122. procedure TUART1_U1AMODE.clearABAUD; inline;
  18123. begin
  18124. pTDefRegMap(@Self)^.clr := $00000020;
  18125. end;
  18126. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  18127. begin
  18128. if thebits = 0 then
  18129. pTDefRegMap(@Self)^.clr := $00000020
  18130. else
  18131. pTDefRegMap(@Self)^.&set := $00000020;
  18132. end;
  18133. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  18134. begin
  18135. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18136. end;
  18137. procedure TUART1_U1AMODE.setLPBACK; inline;
  18138. begin
  18139. pTDefRegMap(@Self)^.&set := $00000040;
  18140. end;
  18141. procedure TUART1_U1AMODE.clearLPBACK; inline;
  18142. begin
  18143. pTDefRegMap(@Self)^.clr := $00000040;
  18144. end;
  18145. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  18146. begin
  18147. if thebits = 0 then
  18148. pTDefRegMap(@Self)^.clr := $00000040
  18149. else
  18150. pTDefRegMap(@Self)^.&set := $00000040;
  18151. end;
  18152. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  18153. begin
  18154. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18155. end;
  18156. procedure TUART1_U1AMODE.setWAKE; inline;
  18157. begin
  18158. pTDefRegMap(@Self)^.&set := $00000080;
  18159. end;
  18160. procedure TUART1_U1AMODE.clearWAKE; inline;
  18161. begin
  18162. pTDefRegMap(@Self)^.clr := $00000080;
  18163. end;
  18164. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  18165. begin
  18166. if thebits = 0 then
  18167. pTDefRegMap(@Self)^.clr := $00000080
  18168. else
  18169. pTDefRegMap(@Self)^.&set := $00000080;
  18170. end;
  18171. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  18172. begin
  18173. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18174. end;
  18175. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  18176. begin
  18177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18178. end;
  18179. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  18180. begin
  18181. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18182. end;
  18183. procedure TUART1_U1AMODE.setRTSMD; inline;
  18184. begin
  18185. pTDefRegMap(@Self)^.&set := $00000800;
  18186. end;
  18187. procedure TUART1_U1AMODE.clearRTSMD; inline;
  18188. begin
  18189. pTDefRegMap(@Self)^.clr := $00000800;
  18190. end;
  18191. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  18192. begin
  18193. if thebits = 0 then
  18194. pTDefRegMap(@Self)^.clr := $00000800
  18195. else
  18196. pTDefRegMap(@Self)^.&set := $00000800;
  18197. end;
  18198. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  18199. begin
  18200. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18201. end;
  18202. procedure TUART1_U1AMODE.setIREN; inline;
  18203. begin
  18204. pTDefRegMap(@Self)^.&set := $00001000;
  18205. end;
  18206. procedure TUART1_U1AMODE.clearIREN; inline;
  18207. begin
  18208. pTDefRegMap(@Self)^.clr := $00001000;
  18209. end;
  18210. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  18211. begin
  18212. if thebits = 0 then
  18213. pTDefRegMap(@Self)^.clr := $00001000
  18214. else
  18215. pTDefRegMap(@Self)^.&set := $00001000;
  18216. end;
  18217. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  18218. begin
  18219. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18220. end;
  18221. procedure TUART1_U1AMODE.setSIDL; inline;
  18222. begin
  18223. pTDefRegMap(@Self)^.&set := $00002000;
  18224. end;
  18225. procedure TUART1_U1AMODE.clearSIDL; inline;
  18226. begin
  18227. pTDefRegMap(@Self)^.clr := $00002000;
  18228. end;
  18229. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  18230. begin
  18231. if thebits = 0 then
  18232. pTDefRegMap(@Self)^.clr := $00002000
  18233. else
  18234. pTDefRegMap(@Self)^.&set := $00002000;
  18235. end;
  18236. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  18237. begin
  18238. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18239. end;
  18240. procedure TUART1_U1AMODE.setON; inline;
  18241. begin
  18242. pTDefRegMap(@Self)^.&set := $00008000;
  18243. end;
  18244. procedure TUART1_U1AMODE.clearON; inline;
  18245. begin
  18246. pTDefRegMap(@Self)^.clr := $00008000;
  18247. end;
  18248. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  18249. begin
  18250. if thebits = 0 then
  18251. pTDefRegMap(@Self)^.clr := $00008000
  18252. else
  18253. pTDefRegMap(@Self)^.&set := $00008000;
  18254. end;
  18255. function TUART1_U1AMODE.getON : TBits_1; inline;
  18256. begin
  18257. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18258. end;
  18259. procedure TUART1_U1AMODE.setPDSEL0; inline;
  18260. begin
  18261. pTDefRegMap(@Self)^.&set := $00000002;
  18262. end;
  18263. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  18264. begin
  18265. pTDefRegMap(@Self)^.clr := $00000002;
  18266. end;
  18267. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  18268. begin
  18269. if thebits = 0 then
  18270. pTDefRegMap(@Self)^.clr := $00000002
  18271. else
  18272. pTDefRegMap(@Self)^.&set := $00000002;
  18273. end;
  18274. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  18275. begin
  18276. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18277. end;
  18278. procedure TUART1_U1AMODE.setPDSEL1; inline;
  18279. begin
  18280. pTDefRegMap(@Self)^.&set := $00000004;
  18281. end;
  18282. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  18283. begin
  18284. pTDefRegMap(@Self)^.clr := $00000004;
  18285. end;
  18286. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  18287. begin
  18288. if thebits = 0 then
  18289. pTDefRegMap(@Self)^.clr := $00000004
  18290. else
  18291. pTDefRegMap(@Self)^.&set := $00000004;
  18292. end;
  18293. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18294. begin
  18295. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18296. end;
  18297. procedure TUART1_U1AMODE.setUEN0; inline;
  18298. begin
  18299. pTDefRegMap(@Self)^.&set := $00000100;
  18300. end;
  18301. procedure TUART1_U1AMODE.clearUEN0; inline;
  18302. begin
  18303. pTDefRegMap(@Self)^.clr := $00000100;
  18304. end;
  18305. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18306. begin
  18307. if thebits = 0 then
  18308. pTDefRegMap(@Self)^.clr := $00000100
  18309. else
  18310. pTDefRegMap(@Self)^.&set := $00000100;
  18311. end;
  18312. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18313. begin
  18314. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18315. end;
  18316. procedure TUART1_U1AMODE.setUEN1; inline;
  18317. begin
  18318. pTDefRegMap(@Self)^.&set := $00000200;
  18319. end;
  18320. procedure TUART1_U1AMODE.clearUEN1; inline;
  18321. begin
  18322. pTDefRegMap(@Self)^.clr := $00000200;
  18323. end;
  18324. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18325. begin
  18326. if thebits = 0 then
  18327. pTDefRegMap(@Self)^.clr := $00000200
  18328. else
  18329. pTDefRegMap(@Self)^.&set := $00000200;
  18330. end;
  18331. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18332. begin
  18333. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18334. end;
  18335. procedure TUART1_U1AMODE.setUSIDL; inline;
  18336. begin
  18337. pTDefRegMap(@Self)^.&set := $00002000;
  18338. end;
  18339. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18340. begin
  18341. pTDefRegMap(@Self)^.clr := $00002000;
  18342. end;
  18343. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18344. begin
  18345. if thebits = 0 then
  18346. pTDefRegMap(@Self)^.clr := $00002000
  18347. else
  18348. pTDefRegMap(@Self)^.&set := $00002000;
  18349. end;
  18350. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18351. begin
  18352. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18353. end;
  18354. procedure TUART1_U1AMODE.setUARTEN; inline;
  18355. begin
  18356. pTDefRegMap(@Self)^.&set := $00008000;
  18357. end;
  18358. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18359. begin
  18360. pTDefRegMap(@Self)^.clr := $00008000;
  18361. end;
  18362. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18363. begin
  18364. if thebits = 0 then
  18365. pTDefRegMap(@Self)^.clr := $00008000
  18366. else
  18367. pTDefRegMap(@Self)^.&set := $00008000;
  18368. end;
  18369. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18370. begin
  18371. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18372. end;
  18373. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18374. begin
  18375. pTDefRegMap(@Self)^.val := thebits;
  18376. end;
  18377. function TUART1_U1AMODE.getw : TBits_32; inline;
  18378. begin
  18379. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18380. end;
  18381. procedure TUART1_U1MODE.setSTSEL; inline;
  18382. begin
  18383. pTDefRegMap(@Self)^.&set := $00000001;
  18384. end;
  18385. procedure TUART1_U1MODE.clearSTSEL; inline;
  18386. begin
  18387. pTDefRegMap(@Self)^.clr := $00000001;
  18388. end;
  18389. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18390. begin
  18391. if thebits = 0 then
  18392. pTDefRegMap(@Self)^.clr := $00000001
  18393. else
  18394. pTDefRegMap(@Self)^.&set := $00000001;
  18395. end;
  18396. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18397. begin
  18398. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18399. end;
  18400. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18401. begin
  18402. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18403. end;
  18404. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18405. begin
  18406. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18407. end;
  18408. procedure TUART1_U1MODE.setBRGH; inline;
  18409. begin
  18410. pTDefRegMap(@Self)^.&set := $00000008;
  18411. end;
  18412. procedure TUART1_U1MODE.clearBRGH; inline;
  18413. begin
  18414. pTDefRegMap(@Self)^.clr := $00000008;
  18415. end;
  18416. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18417. begin
  18418. if thebits = 0 then
  18419. pTDefRegMap(@Self)^.clr := $00000008
  18420. else
  18421. pTDefRegMap(@Self)^.&set := $00000008;
  18422. end;
  18423. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18424. begin
  18425. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18426. end;
  18427. procedure TUART1_U1MODE.setRXINV; inline;
  18428. begin
  18429. pTDefRegMap(@Self)^.&set := $00000010;
  18430. end;
  18431. procedure TUART1_U1MODE.clearRXINV; inline;
  18432. begin
  18433. pTDefRegMap(@Self)^.clr := $00000010;
  18434. end;
  18435. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18436. begin
  18437. if thebits = 0 then
  18438. pTDefRegMap(@Self)^.clr := $00000010
  18439. else
  18440. pTDefRegMap(@Self)^.&set := $00000010;
  18441. end;
  18442. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18443. begin
  18444. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18445. end;
  18446. procedure TUART1_U1MODE.setABAUD; inline;
  18447. begin
  18448. pTDefRegMap(@Self)^.&set := $00000020;
  18449. end;
  18450. procedure TUART1_U1MODE.clearABAUD; inline;
  18451. begin
  18452. pTDefRegMap(@Self)^.clr := $00000020;
  18453. end;
  18454. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18455. begin
  18456. if thebits = 0 then
  18457. pTDefRegMap(@Self)^.clr := $00000020
  18458. else
  18459. pTDefRegMap(@Self)^.&set := $00000020;
  18460. end;
  18461. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18462. begin
  18463. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18464. end;
  18465. procedure TUART1_U1MODE.setLPBACK; inline;
  18466. begin
  18467. pTDefRegMap(@Self)^.&set := $00000040;
  18468. end;
  18469. procedure TUART1_U1MODE.clearLPBACK; inline;
  18470. begin
  18471. pTDefRegMap(@Self)^.clr := $00000040;
  18472. end;
  18473. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18474. begin
  18475. if thebits = 0 then
  18476. pTDefRegMap(@Self)^.clr := $00000040
  18477. else
  18478. pTDefRegMap(@Self)^.&set := $00000040;
  18479. end;
  18480. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18481. begin
  18482. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18483. end;
  18484. procedure TUART1_U1MODE.setWAKE; inline;
  18485. begin
  18486. pTDefRegMap(@Self)^.&set := $00000080;
  18487. end;
  18488. procedure TUART1_U1MODE.clearWAKE; inline;
  18489. begin
  18490. pTDefRegMap(@Self)^.clr := $00000080;
  18491. end;
  18492. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18493. begin
  18494. if thebits = 0 then
  18495. pTDefRegMap(@Self)^.clr := $00000080
  18496. else
  18497. pTDefRegMap(@Self)^.&set := $00000080;
  18498. end;
  18499. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18500. begin
  18501. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18502. end;
  18503. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18504. begin
  18505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18506. end;
  18507. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18508. begin
  18509. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18510. end;
  18511. procedure TUART1_U1MODE.setRTSMD; inline;
  18512. begin
  18513. pTDefRegMap(@Self)^.&set := $00000800;
  18514. end;
  18515. procedure TUART1_U1MODE.clearRTSMD; inline;
  18516. begin
  18517. pTDefRegMap(@Self)^.clr := $00000800;
  18518. end;
  18519. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  18520. begin
  18521. if thebits = 0 then
  18522. pTDefRegMap(@Self)^.clr := $00000800
  18523. else
  18524. pTDefRegMap(@Self)^.&set := $00000800;
  18525. end;
  18526. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  18527. begin
  18528. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18529. end;
  18530. procedure TUART1_U1MODE.setIREN; inline;
  18531. begin
  18532. pTDefRegMap(@Self)^.&set := $00001000;
  18533. end;
  18534. procedure TUART1_U1MODE.clearIREN; inline;
  18535. begin
  18536. pTDefRegMap(@Self)^.clr := $00001000;
  18537. end;
  18538. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  18539. begin
  18540. if thebits = 0 then
  18541. pTDefRegMap(@Self)^.clr := $00001000
  18542. else
  18543. pTDefRegMap(@Self)^.&set := $00001000;
  18544. end;
  18545. function TUART1_U1MODE.getIREN : TBits_1; inline;
  18546. begin
  18547. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18548. end;
  18549. procedure TUART1_U1MODE.setSIDL; inline;
  18550. begin
  18551. pTDefRegMap(@Self)^.&set := $00002000;
  18552. end;
  18553. procedure TUART1_U1MODE.clearSIDL; inline;
  18554. begin
  18555. pTDefRegMap(@Self)^.clr := $00002000;
  18556. end;
  18557. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  18558. begin
  18559. if thebits = 0 then
  18560. pTDefRegMap(@Self)^.clr := $00002000
  18561. else
  18562. pTDefRegMap(@Self)^.&set := $00002000;
  18563. end;
  18564. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  18565. begin
  18566. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18567. end;
  18568. procedure TUART1_U1MODE.setON; inline;
  18569. begin
  18570. pTDefRegMap(@Self)^.&set := $00008000;
  18571. end;
  18572. procedure TUART1_U1MODE.clearON; inline;
  18573. begin
  18574. pTDefRegMap(@Self)^.clr := $00008000;
  18575. end;
  18576. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  18577. begin
  18578. if thebits = 0 then
  18579. pTDefRegMap(@Self)^.clr := $00008000
  18580. else
  18581. pTDefRegMap(@Self)^.&set := $00008000;
  18582. end;
  18583. function TUART1_U1MODE.getON : TBits_1; inline;
  18584. begin
  18585. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18586. end;
  18587. procedure TUART1_U1MODE.setPDSEL0; inline;
  18588. begin
  18589. pTDefRegMap(@Self)^.&set := $00000002;
  18590. end;
  18591. procedure TUART1_U1MODE.clearPDSEL0; inline;
  18592. begin
  18593. pTDefRegMap(@Self)^.clr := $00000002;
  18594. end;
  18595. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  18596. begin
  18597. if thebits = 0 then
  18598. pTDefRegMap(@Self)^.clr := $00000002
  18599. else
  18600. pTDefRegMap(@Self)^.&set := $00000002;
  18601. end;
  18602. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  18603. begin
  18604. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18605. end;
  18606. procedure TUART1_U1MODE.setPDSEL1; inline;
  18607. begin
  18608. pTDefRegMap(@Self)^.&set := $00000004;
  18609. end;
  18610. procedure TUART1_U1MODE.clearPDSEL1; inline;
  18611. begin
  18612. pTDefRegMap(@Self)^.clr := $00000004;
  18613. end;
  18614. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  18615. begin
  18616. if thebits = 0 then
  18617. pTDefRegMap(@Self)^.clr := $00000004
  18618. else
  18619. pTDefRegMap(@Self)^.&set := $00000004;
  18620. end;
  18621. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  18622. begin
  18623. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18624. end;
  18625. procedure TUART1_U1MODE.setUEN0; inline;
  18626. begin
  18627. pTDefRegMap(@Self)^.&set := $00000100;
  18628. end;
  18629. procedure TUART1_U1MODE.clearUEN0; inline;
  18630. begin
  18631. pTDefRegMap(@Self)^.clr := $00000100;
  18632. end;
  18633. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  18634. begin
  18635. if thebits = 0 then
  18636. pTDefRegMap(@Self)^.clr := $00000100
  18637. else
  18638. pTDefRegMap(@Self)^.&set := $00000100;
  18639. end;
  18640. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  18641. begin
  18642. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18643. end;
  18644. procedure TUART1_U1MODE.setUEN1; inline;
  18645. begin
  18646. pTDefRegMap(@Self)^.&set := $00000200;
  18647. end;
  18648. procedure TUART1_U1MODE.clearUEN1; inline;
  18649. begin
  18650. pTDefRegMap(@Self)^.clr := $00000200;
  18651. end;
  18652. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  18653. begin
  18654. if thebits = 0 then
  18655. pTDefRegMap(@Self)^.clr := $00000200
  18656. else
  18657. pTDefRegMap(@Self)^.&set := $00000200;
  18658. end;
  18659. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  18660. begin
  18661. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18662. end;
  18663. procedure TUART1_U1MODE.setUSIDL; inline;
  18664. begin
  18665. pTDefRegMap(@Self)^.&set := $00002000;
  18666. end;
  18667. procedure TUART1_U1MODE.clearUSIDL; inline;
  18668. begin
  18669. pTDefRegMap(@Self)^.clr := $00002000;
  18670. end;
  18671. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  18672. begin
  18673. if thebits = 0 then
  18674. pTDefRegMap(@Self)^.clr := $00002000
  18675. else
  18676. pTDefRegMap(@Self)^.&set := $00002000;
  18677. end;
  18678. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  18679. begin
  18680. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18681. end;
  18682. procedure TUART1_U1MODE.setUARTEN; inline;
  18683. begin
  18684. pTDefRegMap(@Self)^.&set := $00008000;
  18685. end;
  18686. procedure TUART1_U1MODE.clearUARTEN; inline;
  18687. begin
  18688. pTDefRegMap(@Self)^.clr := $00008000;
  18689. end;
  18690. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  18691. begin
  18692. if thebits = 0 then
  18693. pTDefRegMap(@Self)^.clr := $00008000
  18694. else
  18695. pTDefRegMap(@Self)^.&set := $00008000;
  18696. end;
  18697. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  18698. begin
  18699. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18700. end;
  18701. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  18702. begin
  18703. pTDefRegMap(@Self)^.val := thebits;
  18704. end;
  18705. function TUART1_U1MODE.getw : TBits_32; inline;
  18706. begin
  18707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18708. end;
  18709. procedure TUART1_U1ASTA.setURXDA; inline;
  18710. begin
  18711. pTDefRegMap(@Self)^.&set := $00000001;
  18712. end;
  18713. procedure TUART1_U1ASTA.clearURXDA; inline;
  18714. begin
  18715. pTDefRegMap(@Self)^.clr := $00000001;
  18716. end;
  18717. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  18718. begin
  18719. if thebits = 0 then
  18720. pTDefRegMap(@Self)^.clr := $00000001
  18721. else
  18722. pTDefRegMap(@Self)^.&set := $00000001;
  18723. end;
  18724. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  18725. begin
  18726. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18727. end;
  18728. procedure TUART1_U1ASTA.setOERR; inline;
  18729. begin
  18730. pTDefRegMap(@Self)^.&set := $00000002;
  18731. end;
  18732. procedure TUART1_U1ASTA.clearOERR; inline;
  18733. begin
  18734. pTDefRegMap(@Self)^.clr := $00000002;
  18735. end;
  18736. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  18737. begin
  18738. if thebits = 0 then
  18739. pTDefRegMap(@Self)^.clr := $00000002
  18740. else
  18741. pTDefRegMap(@Self)^.&set := $00000002;
  18742. end;
  18743. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  18744. begin
  18745. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18746. end;
  18747. procedure TUART1_U1ASTA.setFERR; inline;
  18748. begin
  18749. pTDefRegMap(@Self)^.&set := $00000004;
  18750. end;
  18751. procedure TUART1_U1ASTA.clearFERR; inline;
  18752. begin
  18753. pTDefRegMap(@Self)^.clr := $00000004;
  18754. end;
  18755. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  18756. begin
  18757. if thebits = 0 then
  18758. pTDefRegMap(@Self)^.clr := $00000004
  18759. else
  18760. pTDefRegMap(@Self)^.&set := $00000004;
  18761. end;
  18762. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  18763. begin
  18764. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18765. end;
  18766. procedure TUART1_U1ASTA.setPERR; inline;
  18767. begin
  18768. pTDefRegMap(@Self)^.&set := $00000008;
  18769. end;
  18770. procedure TUART1_U1ASTA.clearPERR; inline;
  18771. begin
  18772. pTDefRegMap(@Self)^.clr := $00000008;
  18773. end;
  18774. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  18775. begin
  18776. if thebits = 0 then
  18777. pTDefRegMap(@Self)^.clr := $00000008
  18778. else
  18779. pTDefRegMap(@Self)^.&set := $00000008;
  18780. end;
  18781. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  18782. begin
  18783. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18784. end;
  18785. procedure TUART1_U1ASTA.setRIDLE; inline;
  18786. begin
  18787. pTDefRegMap(@Self)^.&set := $00000010;
  18788. end;
  18789. procedure TUART1_U1ASTA.clearRIDLE; inline;
  18790. begin
  18791. pTDefRegMap(@Self)^.clr := $00000010;
  18792. end;
  18793. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  18794. begin
  18795. if thebits = 0 then
  18796. pTDefRegMap(@Self)^.clr := $00000010
  18797. else
  18798. pTDefRegMap(@Self)^.&set := $00000010;
  18799. end;
  18800. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  18801. begin
  18802. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18803. end;
  18804. procedure TUART1_U1ASTA.setADDEN; inline;
  18805. begin
  18806. pTDefRegMap(@Self)^.&set := $00000020;
  18807. end;
  18808. procedure TUART1_U1ASTA.clearADDEN; inline;
  18809. begin
  18810. pTDefRegMap(@Self)^.clr := $00000020;
  18811. end;
  18812. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  18813. begin
  18814. if thebits = 0 then
  18815. pTDefRegMap(@Self)^.clr := $00000020
  18816. else
  18817. pTDefRegMap(@Self)^.&set := $00000020;
  18818. end;
  18819. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  18820. begin
  18821. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18822. end;
  18823. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  18824. begin
  18825. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18826. end;
  18827. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  18828. begin
  18829. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18830. end;
  18831. procedure TUART1_U1ASTA.setTRMT; inline;
  18832. begin
  18833. pTDefRegMap(@Self)^.&set := $00000100;
  18834. end;
  18835. procedure TUART1_U1ASTA.clearTRMT; inline;
  18836. begin
  18837. pTDefRegMap(@Self)^.clr := $00000100;
  18838. end;
  18839. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  18840. begin
  18841. if thebits = 0 then
  18842. pTDefRegMap(@Self)^.clr := $00000100
  18843. else
  18844. pTDefRegMap(@Self)^.&set := $00000100;
  18845. end;
  18846. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  18847. begin
  18848. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18849. end;
  18850. procedure TUART1_U1ASTA.setUTXBF; inline;
  18851. begin
  18852. pTDefRegMap(@Self)^.&set := $00000200;
  18853. end;
  18854. procedure TUART1_U1ASTA.clearUTXBF; inline;
  18855. begin
  18856. pTDefRegMap(@Self)^.clr := $00000200;
  18857. end;
  18858. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  18859. begin
  18860. if thebits = 0 then
  18861. pTDefRegMap(@Self)^.clr := $00000200
  18862. else
  18863. pTDefRegMap(@Self)^.&set := $00000200;
  18864. end;
  18865. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  18866. begin
  18867. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18868. end;
  18869. procedure TUART1_U1ASTA.setUTXEN; inline;
  18870. begin
  18871. pTDefRegMap(@Self)^.&set := $00000400;
  18872. end;
  18873. procedure TUART1_U1ASTA.clearUTXEN; inline;
  18874. begin
  18875. pTDefRegMap(@Self)^.clr := $00000400;
  18876. end;
  18877. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  18878. begin
  18879. if thebits = 0 then
  18880. pTDefRegMap(@Self)^.clr := $00000400
  18881. else
  18882. pTDefRegMap(@Self)^.&set := $00000400;
  18883. end;
  18884. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  18885. begin
  18886. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18887. end;
  18888. procedure TUART1_U1ASTA.setUTXBRK; inline;
  18889. begin
  18890. pTDefRegMap(@Self)^.&set := $00000800;
  18891. end;
  18892. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  18893. begin
  18894. pTDefRegMap(@Self)^.clr := $00000800;
  18895. end;
  18896. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  18897. begin
  18898. if thebits = 0 then
  18899. pTDefRegMap(@Self)^.clr := $00000800
  18900. else
  18901. pTDefRegMap(@Self)^.&set := $00000800;
  18902. end;
  18903. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  18904. begin
  18905. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18906. end;
  18907. procedure TUART1_U1ASTA.setURXEN; inline;
  18908. begin
  18909. pTDefRegMap(@Self)^.&set := $00001000;
  18910. end;
  18911. procedure TUART1_U1ASTA.clearURXEN; inline;
  18912. begin
  18913. pTDefRegMap(@Self)^.clr := $00001000;
  18914. end;
  18915. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  18916. begin
  18917. if thebits = 0 then
  18918. pTDefRegMap(@Self)^.clr := $00001000
  18919. else
  18920. pTDefRegMap(@Self)^.&set := $00001000;
  18921. end;
  18922. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  18923. begin
  18924. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18925. end;
  18926. procedure TUART1_U1ASTA.setUTXINV; inline;
  18927. begin
  18928. pTDefRegMap(@Self)^.&set := $00002000;
  18929. end;
  18930. procedure TUART1_U1ASTA.clearUTXINV; inline;
  18931. begin
  18932. pTDefRegMap(@Self)^.clr := $00002000;
  18933. end;
  18934. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  18935. begin
  18936. if thebits = 0 then
  18937. pTDefRegMap(@Self)^.clr := $00002000
  18938. else
  18939. pTDefRegMap(@Self)^.&set := $00002000;
  18940. end;
  18941. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  18942. begin
  18943. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18944. end;
  18945. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  18946. begin
  18947. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18948. end;
  18949. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  18950. begin
  18951. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18952. end;
  18953. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  18954. begin
  18955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  18956. end;
  18957. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  18958. begin
  18959. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  18960. end;
  18961. procedure TUART1_U1ASTA.setADM_EN; inline;
  18962. begin
  18963. pTDefRegMap(@Self)^.&set := $01000000;
  18964. end;
  18965. procedure TUART1_U1ASTA.clearADM_EN; inline;
  18966. begin
  18967. pTDefRegMap(@Self)^.clr := $01000000;
  18968. end;
  18969. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  18970. begin
  18971. if thebits = 0 then
  18972. pTDefRegMap(@Self)^.clr := $01000000
  18973. else
  18974. pTDefRegMap(@Self)^.&set := $01000000;
  18975. end;
  18976. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  18977. begin
  18978. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18979. end;
  18980. procedure TUART1_U1ASTA.setURXISEL0; inline;
  18981. begin
  18982. pTDefRegMap(@Self)^.&set := $00000040;
  18983. end;
  18984. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  18985. begin
  18986. pTDefRegMap(@Self)^.clr := $00000040;
  18987. end;
  18988. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  18989. begin
  18990. if thebits = 0 then
  18991. pTDefRegMap(@Self)^.clr := $00000040
  18992. else
  18993. pTDefRegMap(@Self)^.&set := $00000040;
  18994. end;
  18995. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  18996. begin
  18997. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18998. end;
  18999. procedure TUART1_U1ASTA.setURXISEL1; inline;
  19000. begin
  19001. pTDefRegMap(@Self)^.&set := $00000080;
  19002. end;
  19003. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  19004. begin
  19005. pTDefRegMap(@Self)^.clr := $00000080;
  19006. end;
  19007. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  19008. begin
  19009. if thebits = 0 then
  19010. pTDefRegMap(@Self)^.clr := $00000080
  19011. else
  19012. pTDefRegMap(@Self)^.&set := $00000080;
  19013. end;
  19014. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  19015. begin
  19016. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19017. end;
  19018. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  19019. begin
  19020. pTDefRegMap(@Self)^.&set := $00004000;
  19021. end;
  19022. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  19023. begin
  19024. pTDefRegMap(@Self)^.clr := $00004000;
  19025. end;
  19026. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  19027. begin
  19028. if thebits = 0 then
  19029. pTDefRegMap(@Self)^.clr := $00004000
  19030. else
  19031. pTDefRegMap(@Self)^.&set := $00004000;
  19032. end;
  19033. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  19034. begin
  19035. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19036. end;
  19037. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  19038. begin
  19039. pTDefRegMap(@Self)^.&set := $00008000;
  19040. end;
  19041. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  19042. begin
  19043. pTDefRegMap(@Self)^.clr := $00008000;
  19044. end;
  19045. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  19046. begin
  19047. if thebits = 0 then
  19048. pTDefRegMap(@Self)^.clr := $00008000
  19049. else
  19050. pTDefRegMap(@Self)^.&set := $00008000;
  19051. end;
  19052. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  19053. begin
  19054. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19055. end;
  19056. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  19057. begin
  19058. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19059. end;
  19060. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  19061. begin
  19062. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19063. end;
  19064. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  19065. begin
  19066. pTDefRegMap(@Self)^.val := thebits;
  19067. end;
  19068. function TUART1_U1ASTA.getw : TBits_32; inline;
  19069. begin
  19070. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19071. end;
  19072. procedure TUART1_U1STA.setURXDA; inline;
  19073. begin
  19074. pTDefRegMap(@Self)^.&set := $00000001;
  19075. end;
  19076. procedure TUART1_U1STA.clearURXDA; inline;
  19077. begin
  19078. pTDefRegMap(@Self)^.clr := $00000001;
  19079. end;
  19080. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  19081. begin
  19082. if thebits = 0 then
  19083. pTDefRegMap(@Self)^.clr := $00000001
  19084. else
  19085. pTDefRegMap(@Self)^.&set := $00000001;
  19086. end;
  19087. function TUART1_U1STA.getURXDA : TBits_1; inline;
  19088. begin
  19089. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19090. end;
  19091. procedure TUART1_U1STA.setOERR; inline;
  19092. begin
  19093. pTDefRegMap(@Self)^.&set := $00000002;
  19094. end;
  19095. procedure TUART1_U1STA.clearOERR; inline;
  19096. begin
  19097. pTDefRegMap(@Self)^.clr := $00000002;
  19098. end;
  19099. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  19100. begin
  19101. if thebits = 0 then
  19102. pTDefRegMap(@Self)^.clr := $00000002
  19103. else
  19104. pTDefRegMap(@Self)^.&set := $00000002;
  19105. end;
  19106. function TUART1_U1STA.getOERR : TBits_1; inline;
  19107. begin
  19108. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19109. end;
  19110. procedure TUART1_U1STA.setFERR; inline;
  19111. begin
  19112. pTDefRegMap(@Self)^.&set := $00000004;
  19113. end;
  19114. procedure TUART1_U1STA.clearFERR; inline;
  19115. begin
  19116. pTDefRegMap(@Self)^.clr := $00000004;
  19117. end;
  19118. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  19119. begin
  19120. if thebits = 0 then
  19121. pTDefRegMap(@Self)^.clr := $00000004
  19122. else
  19123. pTDefRegMap(@Self)^.&set := $00000004;
  19124. end;
  19125. function TUART1_U1STA.getFERR : TBits_1; inline;
  19126. begin
  19127. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19128. end;
  19129. procedure TUART1_U1STA.setPERR; inline;
  19130. begin
  19131. pTDefRegMap(@Self)^.&set := $00000008;
  19132. end;
  19133. procedure TUART1_U1STA.clearPERR; inline;
  19134. begin
  19135. pTDefRegMap(@Self)^.clr := $00000008;
  19136. end;
  19137. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  19138. begin
  19139. if thebits = 0 then
  19140. pTDefRegMap(@Self)^.clr := $00000008
  19141. else
  19142. pTDefRegMap(@Self)^.&set := $00000008;
  19143. end;
  19144. function TUART1_U1STA.getPERR : TBits_1; inline;
  19145. begin
  19146. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19147. end;
  19148. procedure TUART1_U1STA.setRIDLE; inline;
  19149. begin
  19150. pTDefRegMap(@Self)^.&set := $00000010;
  19151. end;
  19152. procedure TUART1_U1STA.clearRIDLE; inline;
  19153. begin
  19154. pTDefRegMap(@Self)^.clr := $00000010;
  19155. end;
  19156. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  19157. begin
  19158. if thebits = 0 then
  19159. pTDefRegMap(@Self)^.clr := $00000010
  19160. else
  19161. pTDefRegMap(@Self)^.&set := $00000010;
  19162. end;
  19163. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  19164. begin
  19165. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19166. end;
  19167. procedure TUART1_U1STA.setADDEN; inline;
  19168. begin
  19169. pTDefRegMap(@Self)^.&set := $00000020;
  19170. end;
  19171. procedure TUART1_U1STA.clearADDEN; inline;
  19172. begin
  19173. pTDefRegMap(@Self)^.clr := $00000020;
  19174. end;
  19175. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  19176. begin
  19177. if thebits = 0 then
  19178. pTDefRegMap(@Self)^.clr := $00000020
  19179. else
  19180. pTDefRegMap(@Self)^.&set := $00000020;
  19181. end;
  19182. function TUART1_U1STA.getADDEN : TBits_1; inline;
  19183. begin
  19184. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19185. end;
  19186. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  19187. begin
  19188. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19189. end;
  19190. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  19191. begin
  19192. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19193. end;
  19194. procedure TUART1_U1STA.setTRMT; inline;
  19195. begin
  19196. pTDefRegMap(@Self)^.&set := $00000100;
  19197. end;
  19198. procedure TUART1_U1STA.clearTRMT; inline;
  19199. begin
  19200. pTDefRegMap(@Self)^.clr := $00000100;
  19201. end;
  19202. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  19203. begin
  19204. if thebits = 0 then
  19205. pTDefRegMap(@Self)^.clr := $00000100
  19206. else
  19207. pTDefRegMap(@Self)^.&set := $00000100;
  19208. end;
  19209. function TUART1_U1STA.getTRMT : TBits_1; inline;
  19210. begin
  19211. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19212. end;
  19213. procedure TUART1_U1STA.setUTXBF; inline;
  19214. begin
  19215. pTDefRegMap(@Self)^.&set := $00000200;
  19216. end;
  19217. procedure TUART1_U1STA.clearUTXBF; inline;
  19218. begin
  19219. pTDefRegMap(@Self)^.clr := $00000200;
  19220. end;
  19221. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  19222. begin
  19223. if thebits = 0 then
  19224. pTDefRegMap(@Self)^.clr := $00000200
  19225. else
  19226. pTDefRegMap(@Self)^.&set := $00000200;
  19227. end;
  19228. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  19229. begin
  19230. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19231. end;
  19232. procedure TUART1_U1STA.setUTXEN; inline;
  19233. begin
  19234. pTDefRegMap(@Self)^.&set := $00000400;
  19235. end;
  19236. procedure TUART1_U1STA.clearUTXEN; inline;
  19237. begin
  19238. pTDefRegMap(@Self)^.clr := $00000400;
  19239. end;
  19240. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  19241. begin
  19242. if thebits = 0 then
  19243. pTDefRegMap(@Self)^.clr := $00000400
  19244. else
  19245. pTDefRegMap(@Self)^.&set := $00000400;
  19246. end;
  19247. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  19248. begin
  19249. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19250. end;
  19251. procedure TUART1_U1STA.setUTXBRK; inline;
  19252. begin
  19253. pTDefRegMap(@Self)^.&set := $00000800;
  19254. end;
  19255. procedure TUART1_U1STA.clearUTXBRK; inline;
  19256. begin
  19257. pTDefRegMap(@Self)^.clr := $00000800;
  19258. end;
  19259. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  19260. begin
  19261. if thebits = 0 then
  19262. pTDefRegMap(@Self)^.clr := $00000800
  19263. else
  19264. pTDefRegMap(@Self)^.&set := $00000800;
  19265. end;
  19266. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  19267. begin
  19268. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19269. end;
  19270. procedure TUART1_U1STA.setURXEN; inline;
  19271. begin
  19272. pTDefRegMap(@Self)^.&set := $00001000;
  19273. end;
  19274. procedure TUART1_U1STA.clearURXEN; inline;
  19275. begin
  19276. pTDefRegMap(@Self)^.clr := $00001000;
  19277. end;
  19278. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  19279. begin
  19280. if thebits = 0 then
  19281. pTDefRegMap(@Self)^.clr := $00001000
  19282. else
  19283. pTDefRegMap(@Self)^.&set := $00001000;
  19284. end;
  19285. function TUART1_U1STA.getURXEN : TBits_1; inline;
  19286. begin
  19287. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19288. end;
  19289. procedure TUART1_U1STA.setUTXINV; inline;
  19290. begin
  19291. pTDefRegMap(@Self)^.&set := $00002000;
  19292. end;
  19293. procedure TUART1_U1STA.clearUTXINV; inline;
  19294. begin
  19295. pTDefRegMap(@Self)^.clr := $00002000;
  19296. end;
  19297. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19298. begin
  19299. if thebits = 0 then
  19300. pTDefRegMap(@Self)^.clr := $00002000
  19301. else
  19302. pTDefRegMap(@Self)^.&set := $00002000;
  19303. end;
  19304. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19305. begin
  19306. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19307. end;
  19308. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19309. begin
  19310. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19311. end;
  19312. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19313. begin
  19314. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19315. end;
  19316. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19317. begin
  19318. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19319. end;
  19320. function TUART1_U1STA.getADDR : TBits_8; inline;
  19321. begin
  19322. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19323. end;
  19324. procedure TUART1_U1STA.setADM_EN; inline;
  19325. begin
  19326. pTDefRegMap(@Self)^.&set := $01000000;
  19327. end;
  19328. procedure TUART1_U1STA.clearADM_EN; inline;
  19329. begin
  19330. pTDefRegMap(@Self)^.clr := $01000000;
  19331. end;
  19332. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19333. begin
  19334. if thebits = 0 then
  19335. pTDefRegMap(@Self)^.clr := $01000000
  19336. else
  19337. pTDefRegMap(@Self)^.&set := $01000000;
  19338. end;
  19339. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19340. begin
  19341. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19342. end;
  19343. procedure TUART1_U1STA.setURXISEL0; inline;
  19344. begin
  19345. pTDefRegMap(@Self)^.&set := $00000040;
  19346. end;
  19347. procedure TUART1_U1STA.clearURXISEL0; inline;
  19348. begin
  19349. pTDefRegMap(@Self)^.clr := $00000040;
  19350. end;
  19351. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19352. begin
  19353. if thebits = 0 then
  19354. pTDefRegMap(@Self)^.clr := $00000040
  19355. else
  19356. pTDefRegMap(@Self)^.&set := $00000040;
  19357. end;
  19358. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19359. begin
  19360. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19361. end;
  19362. procedure TUART1_U1STA.setURXISEL1; inline;
  19363. begin
  19364. pTDefRegMap(@Self)^.&set := $00000080;
  19365. end;
  19366. procedure TUART1_U1STA.clearURXISEL1; inline;
  19367. begin
  19368. pTDefRegMap(@Self)^.clr := $00000080;
  19369. end;
  19370. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19371. begin
  19372. if thebits = 0 then
  19373. pTDefRegMap(@Self)^.clr := $00000080
  19374. else
  19375. pTDefRegMap(@Self)^.&set := $00000080;
  19376. end;
  19377. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19378. begin
  19379. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19380. end;
  19381. procedure TUART1_U1STA.setUTXISEL0; inline;
  19382. begin
  19383. pTDefRegMap(@Self)^.&set := $00004000;
  19384. end;
  19385. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19386. begin
  19387. pTDefRegMap(@Self)^.clr := $00004000;
  19388. end;
  19389. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19390. begin
  19391. if thebits = 0 then
  19392. pTDefRegMap(@Self)^.clr := $00004000
  19393. else
  19394. pTDefRegMap(@Self)^.&set := $00004000;
  19395. end;
  19396. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19397. begin
  19398. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19399. end;
  19400. procedure TUART1_U1STA.setUTXISEL1; inline;
  19401. begin
  19402. pTDefRegMap(@Self)^.&set := $00008000;
  19403. end;
  19404. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19405. begin
  19406. pTDefRegMap(@Self)^.clr := $00008000;
  19407. end;
  19408. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19409. begin
  19410. if thebits = 0 then
  19411. pTDefRegMap(@Self)^.clr := $00008000
  19412. else
  19413. pTDefRegMap(@Self)^.&set := $00008000;
  19414. end;
  19415. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19416. begin
  19417. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19418. end;
  19419. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19420. begin
  19421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19422. end;
  19423. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19424. begin
  19425. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19426. end;
  19427. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19428. begin
  19429. pTDefRegMap(@Self)^.val := thebits;
  19430. end;
  19431. function TUART1_U1STA.getw : TBits_32; inline;
  19432. begin
  19433. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19434. end;
  19435. procedure TUART2_U2MODE.setSTSEL; inline;
  19436. begin
  19437. pTDefRegMap(@Self)^.&set := $00000001;
  19438. end;
  19439. procedure TUART2_U2MODE.clearSTSEL; inline;
  19440. begin
  19441. pTDefRegMap(@Self)^.clr := $00000001;
  19442. end;
  19443. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19444. begin
  19445. if thebits = 0 then
  19446. pTDefRegMap(@Self)^.clr := $00000001
  19447. else
  19448. pTDefRegMap(@Self)^.&set := $00000001;
  19449. end;
  19450. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19451. begin
  19452. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19453. end;
  19454. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19455. begin
  19456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19457. end;
  19458. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19459. begin
  19460. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19461. end;
  19462. procedure TUART2_U2MODE.setBRGH; inline;
  19463. begin
  19464. pTDefRegMap(@Self)^.&set := $00000008;
  19465. end;
  19466. procedure TUART2_U2MODE.clearBRGH; inline;
  19467. begin
  19468. pTDefRegMap(@Self)^.clr := $00000008;
  19469. end;
  19470. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19471. begin
  19472. if thebits = 0 then
  19473. pTDefRegMap(@Self)^.clr := $00000008
  19474. else
  19475. pTDefRegMap(@Self)^.&set := $00000008;
  19476. end;
  19477. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19478. begin
  19479. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19480. end;
  19481. procedure TUART2_U2MODE.setRXINV; inline;
  19482. begin
  19483. pTDefRegMap(@Self)^.&set := $00000010;
  19484. end;
  19485. procedure TUART2_U2MODE.clearRXINV; inline;
  19486. begin
  19487. pTDefRegMap(@Self)^.clr := $00000010;
  19488. end;
  19489. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19490. begin
  19491. if thebits = 0 then
  19492. pTDefRegMap(@Self)^.clr := $00000010
  19493. else
  19494. pTDefRegMap(@Self)^.&set := $00000010;
  19495. end;
  19496. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19497. begin
  19498. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19499. end;
  19500. procedure TUART2_U2MODE.setABAUD; inline;
  19501. begin
  19502. pTDefRegMap(@Self)^.&set := $00000020;
  19503. end;
  19504. procedure TUART2_U2MODE.clearABAUD; inline;
  19505. begin
  19506. pTDefRegMap(@Self)^.clr := $00000020;
  19507. end;
  19508. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19509. begin
  19510. if thebits = 0 then
  19511. pTDefRegMap(@Self)^.clr := $00000020
  19512. else
  19513. pTDefRegMap(@Self)^.&set := $00000020;
  19514. end;
  19515. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  19516. begin
  19517. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19518. end;
  19519. procedure TUART2_U2MODE.setLPBACK; inline;
  19520. begin
  19521. pTDefRegMap(@Self)^.&set := $00000040;
  19522. end;
  19523. procedure TUART2_U2MODE.clearLPBACK; inline;
  19524. begin
  19525. pTDefRegMap(@Self)^.clr := $00000040;
  19526. end;
  19527. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  19528. begin
  19529. if thebits = 0 then
  19530. pTDefRegMap(@Self)^.clr := $00000040
  19531. else
  19532. pTDefRegMap(@Self)^.&set := $00000040;
  19533. end;
  19534. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  19535. begin
  19536. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19537. end;
  19538. procedure TUART2_U2MODE.setWAKE; inline;
  19539. begin
  19540. pTDefRegMap(@Self)^.&set := $00000080;
  19541. end;
  19542. procedure TUART2_U2MODE.clearWAKE; inline;
  19543. begin
  19544. pTDefRegMap(@Self)^.clr := $00000080;
  19545. end;
  19546. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  19547. begin
  19548. if thebits = 0 then
  19549. pTDefRegMap(@Self)^.clr := $00000080
  19550. else
  19551. pTDefRegMap(@Self)^.&set := $00000080;
  19552. end;
  19553. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  19554. begin
  19555. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19556. end;
  19557. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  19558. begin
  19559. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19560. end;
  19561. function TUART2_U2MODE.getUEN : TBits_2; inline;
  19562. begin
  19563. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19564. end;
  19565. procedure TUART2_U2MODE.setRTSMD; inline;
  19566. begin
  19567. pTDefRegMap(@Self)^.&set := $00000800;
  19568. end;
  19569. procedure TUART2_U2MODE.clearRTSMD; inline;
  19570. begin
  19571. pTDefRegMap(@Self)^.clr := $00000800;
  19572. end;
  19573. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  19574. begin
  19575. if thebits = 0 then
  19576. pTDefRegMap(@Self)^.clr := $00000800
  19577. else
  19578. pTDefRegMap(@Self)^.&set := $00000800;
  19579. end;
  19580. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  19581. begin
  19582. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19583. end;
  19584. procedure TUART2_U2MODE.setIREN; inline;
  19585. begin
  19586. pTDefRegMap(@Self)^.&set := $00001000;
  19587. end;
  19588. procedure TUART2_U2MODE.clearIREN; inline;
  19589. begin
  19590. pTDefRegMap(@Self)^.clr := $00001000;
  19591. end;
  19592. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  19593. begin
  19594. if thebits = 0 then
  19595. pTDefRegMap(@Self)^.clr := $00001000
  19596. else
  19597. pTDefRegMap(@Self)^.&set := $00001000;
  19598. end;
  19599. function TUART2_U2MODE.getIREN : TBits_1; inline;
  19600. begin
  19601. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19602. end;
  19603. procedure TUART2_U2MODE.setSIDL; inline;
  19604. begin
  19605. pTDefRegMap(@Self)^.&set := $00002000;
  19606. end;
  19607. procedure TUART2_U2MODE.clearSIDL; inline;
  19608. begin
  19609. pTDefRegMap(@Self)^.clr := $00002000;
  19610. end;
  19611. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  19612. begin
  19613. if thebits = 0 then
  19614. pTDefRegMap(@Self)^.clr := $00002000
  19615. else
  19616. pTDefRegMap(@Self)^.&set := $00002000;
  19617. end;
  19618. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  19619. begin
  19620. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19621. end;
  19622. procedure TUART2_U2MODE.setON; inline;
  19623. begin
  19624. pTDefRegMap(@Self)^.&set := $00008000;
  19625. end;
  19626. procedure TUART2_U2MODE.clearON; inline;
  19627. begin
  19628. pTDefRegMap(@Self)^.clr := $00008000;
  19629. end;
  19630. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  19631. begin
  19632. if thebits = 0 then
  19633. pTDefRegMap(@Self)^.clr := $00008000
  19634. else
  19635. pTDefRegMap(@Self)^.&set := $00008000;
  19636. end;
  19637. function TUART2_U2MODE.getON : TBits_1; inline;
  19638. begin
  19639. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19640. end;
  19641. procedure TUART2_U2MODE.setPDSEL0; inline;
  19642. begin
  19643. pTDefRegMap(@Self)^.&set := $00000002;
  19644. end;
  19645. procedure TUART2_U2MODE.clearPDSEL0; inline;
  19646. begin
  19647. pTDefRegMap(@Self)^.clr := $00000002;
  19648. end;
  19649. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  19650. begin
  19651. if thebits = 0 then
  19652. pTDefRegMap(@Self)^.clr := $00000002
  19653. else
  19654. pTDefRegMap(@Self)^.&set := $00000002;
  19655. end;
  19656. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  19657. begin
  19658. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19659. end;
  19660. procedure TUART2_U2MODE.setPDSEL1; inline;
  19661. begin
  19662. pTDefRegMap(@Self)^.&set := $00000004;
  19663. end;
  19664. procedure TUART2_U2MODE.clearPDSEL1; inline;
  19665. begin
  19666. pTDefRegMap(@Self)^.clr := $00000004;
  19667. end;
  19668. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  19669. begin
  19670. if thebits = 0 then
  19671. pTDefRegMap(@Self)^.clr := $00000004
  19672. else
  19673. pTDefRegMap(@Self)^.&set := $00000004;
  19674. end;
  19675. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  19676. begin
  19677. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19678. end;
  19679. procedure TUART2_U2MODE.setUEN0; inline;
  19680. begin
  19681. pTDefRegMap(@Self)^.&set := $00000100;
  19682. end;
  19683. procedure TUART2_U2MODE.clearUEN0; inline;
  19684. begin
  19685. pTDefRegMap(@Self)^.clr := $00000100;
  19686. end;
  19687. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  19688. begin
  19689. if thebits = 0 then
  19690. pTDefRegMap(@Self)^.clr := $00000100
  19691. else
  19692. pTDefRegMap(@Self)^.&set := $00000100;
  19693. end;
  19694. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  19695. begin
  19696. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19697. end;
  19698. procedure TUART2_U2MODE.setUEN1; inline;
  19699. begin
  19700. pTDefRegMap(@Self)^.&set := $00000200;
  19701. end;
  19702. procedure TUART2_U2MODE.clearUEN1; inline;
  19703. begin
  19704. pTDefRegMap(@Self)^.clr := $00000200;
  19705. end;
  19706. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  19707. begin
  19708. if thebits = 0 then
  19709. pTDefRegMap(@Self)^.clr := $00000200
  19710. else
  19711. pTDefRegMap(@Self)^.&set := $00000200;
  19712. end;
  19713. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  19714. begin
  19715. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19716. end;
  19717. procedure TUART2_U2MODE.setUSIDL; inline;
  19718. begin
  19719. pTDefRegMap(@Self)^.&set := $00002000;
  19720. end;
  19721. procedure TUART2_U2MODE.clearUSIDL; inline;
  19722. begin
  19723. pTDefRegMap(@Self)^.clr := $00002000;
  19724. end;
  19725. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  19726. begin
  19727. if thebits = 0 then
  19728. pTDefRegMap(@Self)^.clr := $00002000
  19729. else
  19730. pTDefRegMap(@Self)^.&set := $00002000;
  19731. end;
  19732. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  19733. begin
  19734. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19735. end;
  19736. procedure TUART2_U2MODE.setUARTEN; inline;
  19737. begin
  19738. pTDefRegMap(@Self)^.&set := $00008000;
  19739. end;
  19740. procedure TUART2_U2MODE.clearUARTEN; inline;
  19741. begin
  19742. pTDefRegMap(@Self)^.clr := $00008000;
  19743. end;
  19744. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  19745. begin
  19746. if thebits = 0 then
  19747. pTDefRegMap(@Self)^.clr := $00008000
  19748. else
  19749. pTDefRegMap(@Self)^.&set := $00008000;
  19750. end;
  19751. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  19752. begin
  19753. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19754. end;
  19755. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  19756. begin
  19757. pTDefRegMap(@Self)^.val := thebits;
  19758. end;
  19759. function TUART2_U2MODE.getw : TBits_32; inline;
  19760. begin
  19761. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19762. end;
  19763. procedure TUART2_U3AMODE.setSTSEL; inline;
  19764. begin
  19765. pTDefRegMap(@Self)^.&set := $00000001;
  19766. end;
  19767. procedure TUART2_U3AMODE.clearSTSEL; inline;
  19768. begin
  19769. pTDefRegMap(@Self)^.clr := $00000001;
  19770. end;
  19771. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  19772. begin
  19773. if thebits = 0 then
  19774. pTDefRegMap(@Self)^.clr := $00000001
  19775. else
  19776. pTDefRegMap(@Self)^.&set := $00000001;
  19777. end;
  19778. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  19779. begin
  19780. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19781. end;
  19782. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  19783. begin
  19784. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19785. end;
  19786. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  19787. begin
  19788. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19789. end;
  19790. procedure TUART2_U3AMODE.setBRGH; inline;
  19791. begin
  19792. pTDefRegMap(@Self)^.&set := $00000008;
  19793. end;
  19794. procedure TUART2_U3AMODE.clearBRGH; inline;
  19795. begin
  19796. pTDefRegMap(@Self)^.clr := $00000008;
  19797. end;
  19798. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  19799. begin
  19800. if thebits = 0 then
  19801. pTDefRegMap(@Self)^.clr := $00000008
  19802. else
  19803. pTDefRegMap(@Self)^.&set := $00000008;
  19804. end;
  19805. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  19806. begin
  19807. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19808. end;
  19809. procedure TUART2_U3AMODE.setRXINV; inline;
  19810. begin
  19811. pTDefRegMap(@Self)^.&set := $00000010;
  19812. end;
  19813. procedure TUART2_U3AMODE.clearRXINV; inline;
  19814. begin
  19815. pTDefRegMap(@Self)^.clr := $00000010;
  19816. end;
  19817. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  19818. begin
  19819. if thebits = 0 then
  19820. pTDefRegMap(@Self)^.clr := $00000010
  19821. else
  19822. pTDefRegMap(@Self)^.&set := $00000010;
  19823. end;
  19824. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  19825. begin
  19826. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19827. end;
  19828. procedure TUART2_U3AMODE.setABAUD; inline;
  19829. begin
  19830. pTDefRegMap(@Self)^.&set := $00000020;
  19831. end;
  19832. procedure TUART2_U3AMODE.clearABAUD; inline;
  19833. begin
  19834. pTDefRegMap(@Self)^.clr := $00000020;
  19835. end;
  19836. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  19837. begin
  19838. if thebits = 0 then
  19839. pTDefRegMap(@Self)^.clr := $00000020
  19840. else
  19841. pTDefRegMap(@Self)^.&set := $00000020;
  19842. end;
  19843. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  19844. begin
  19845. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19846. end;
  19847. procedure TUART2_U3AMODE.setLPBACK; inline;
  19848. begin
  19849. pTDefRegMap(@Self)^.&set := $00000040;
  19850. end;
  19851. procedure TUART2_U3AMODE.clearLPBACK; inline;
  19852. begin
  19853. pTDefRegMap(@Self)^.clr := $00000040;
  19854. end;
  19855. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  19856. begin
  19857. if thebits = 0 then
  19858. pTDefRegMap(@Self)^.clr := $00000040
  19859. else
  19860. pTDefRegMap(@Self)^.&set := $00000040;
  19861. end;
  19862. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  19863. begin
  19864. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19865. end;
  19866. procedure TUART2_U3AMODE.setWAKE; inline;
  19867. begin
  19868. pTDefRegMap(@Self)^.&set := $00000080;
  19869. end;
  19870. procedure TUART2_U3AMODE.clearWAKE; inline;
  19871. begin
  19872. pTDefRegMap(@Self)^.clr := $00000080;
  19873. end;
  19874. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  19875. begin
  19876. if thebits = 0 then
  19877. pTDefRegMap(@Self)^.clr := $00000080
  19878. else
  19879. pTDefRegMap(@Self)^.&set := $00000080;
  19880. end;
  19881. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  19882. begin
  19883. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19884. end;
  19885. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  19886. begin
  19887. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19888. end;
  19889. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  19890. begin
  19891. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19892. end;
  19893. procedure TUART2_U3AMODE.setRTSMD; inline;
  19894. begin
  19895. pTDefRegMap(@Self)^.&set := $00000800;
  19896. end;
  19897. procedure TUART2_U3AMODE.clearRTSMD; inline;
  19898. begin
  19899. pTDefRegMap(@Self)^.clr := $00000800;
  19900. end;
  19901. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  19902. begin
  19903. if thebits = 0 then
  19904. pTDefRegMap(@Self)^.clr := $00000800
  19905. else
  19906. pTDefRegMap(@Self)^.&set := $00000800;
  19907. end;
  19908. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  19909. begin
  19910. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19911. end;
  19912. procedure TUART2_U3AMODE.setIREN; inline;
  19913. begin
  19914. pTDefRegMap(@Self)^.&set := $00001000;
  19915. end;
  19916. procedure TUART2_U3AMODE.clearIREN; inline;
  19917. begin
  19918. pTDefRegMap(@Self)^.clr := $00001000;
  19919. end;
  19920. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  19921. begin
  19922. if thebits = 0 then
  19923. pTDefRegMap(@Self)^.clr := $00001000
  19924. else
  19925. pTDefRegMap(@Self)^.&set := $00001000;
  19926. end;
  19927. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  19928. begin
  19929. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19930. end;
  19931. procedure TUART2_U3AMODE.setSIDL; inline;
  19932. begin
  19933. pTDefRegMap(@Self)^.&set := $00002000;
  19934. end;
  19935. procedure TUART2_U3AMODE.clearSIDL; inline;
  19936. begin
  19937. pTDefRegMap(@Self)^.clr := $00002000;
  19938. end;
  19939. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  19940. begin
  19941. if thebits = 0 then
  19942. pTDefRegMap(@Self)^.clr := $00002000
  19943. else
  19944. pTDefRegMap(@Self)^.&set := $00002000;
  19945. end;
  19946. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  19947. begin
  19948. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19949. end;
  19950. procedure TUART2_U3AMODE.setON; inline;
  19951. begin
  19952. pTDefRegMap(@Self)^.&set := $00008000;
  19953. end;
  19954. procedure TUART2_U3AMODE.clearON; inline;
  19955. begin
  19956. pTDefRegMap(@Self)^.clr := $00008000;
  19957. end;
  19958. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  19959. begin
  19960. if thebits = 0 then
  19961. pTDefRegMap(@Self)^.clr := $00008000
  19962. else
  19963. pTDefRegMap(@Self)^.&set := $00008000;
  19964. end;
  19965. function TUART2_U3AMODE.getON : TBits_1; inline;
  19966. begin
  19967. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19968. end;
  19969. procedure TUART2_U3AMODE.setPDSEL0; inline;
  19970. begin
  19971. pTDefRegMap(@Self)^.&set := $00000002;
  19972. end;
  19973. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  19974. begin
  19975. pTDefRegMap(@Self)^.clr := $00000002;
  19976. end;
  19977. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  19978. begin
  19979. if thebits = 0 then
  19980. pTDefRegMap(@Self)^.clr := $00000002
  19981. else
  19982. pTDefRegMap(@Self)^.&set := $00000002;
  19983. end;
  19984. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  19985. begin
  19986. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19987. end;
  19988. procedure TUART2_U3AMODE.setPDSEL1; inline;
  19989. begin
  19990. pTDefRegMap(@Self)^.&set := $00000004;
  19991. end;
  19992. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  19993. begin
  19994. pTDefRegMap(@Self)^.clr := $00000004;
  19995. end;
  19996. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  19997. begin
  19998. if thebits = 0 then
  19999. pTDefRegMap(@Self)^.clr := $00000004
  20000. else
  20001. pTDefRegMap(@Self)^.&set := $00000004;
  20002. end;
  20003. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  20004. begin
  20005. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20006. end;
  20007. procedure TUART2_U3AMODE.setUEN0; inline;
  20008. begin
  20009. pTDefRegMap(@Self)^.&set := $00000100;
  20010. end;
  20011. procedure TUART2_U3AMODE.clearUEN0; inline;
  20012. begin
  20013. pTDefRegMap(@Self)^.clr := $00000100;
  20014. end;
  20015. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  20016. begin
  20017. if thebits = 0 then
  20018. pTDefRegMap(@Self)^.clr := $00000100
  20019. else
  20020. pTDefRegMap(@Self)^.&set := $00000100;
  20021. end;
  20022. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  20023. begin
  20024. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20025. end;
  20026. procedure TUART2_U3AMODE.setUEN1; inline;
  20027. begin
  20028. pTDefRegMap(@Self)^.&set := $00000200;
  20029. end;
  20030. procedure TUART2_U3AMODE.clearUEN1; inline;
  20031. begin
  20032. pTDefRegMap(@Self)^.clr := $00000200;
  20033. end;
  20034. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  20035. begin
  20036. if thebits = 0 then
  20037. pTDefRegMap(@Self)^.clr := $00000200
  20038. else
  20039. pTDefRegMap(@Self)^.&set := $00000200;
  20040. end;
  20041. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  20042. begin
  20043. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20044. end;
  20045. procedure TUART2_U3AMODE.setUSIDL; inline;
  20046. begin
  20047. pTDefRegMap(@Self)^.&set := $00002000;
  20048. end;
  20049. procedure TUART2_U3AMODE.clearUSIDL; inline;
  20050. begin
  20051. pTDefRegMap(@Self)^.clr := $00002000;
  20052. end;
  20053. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  20054. begin
  20055. if thebits = 0 then
  20056. pTDefRegMap(@Self)^.clr := $00002000
  20057. else
  20058. pTDefRegMap(@Self)^.&set := $00002000;
  20059. end;
  20060. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  20061. begin
  20062. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20063. end;
  20064. procedure TUART2_U3AMODE.setUARTEN; inline;
  20065. begin
  20066. pTDefRegMap(@Self)^.&set := $00008000;
  20067. end;
  20068. procedure TUART2_U3AMODE.clearUARTEN; inline;
  20069. begin
  20070. pTDefRegMap(@Self)^.clr := $00008000;
  20071. end;
  20072. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  20073. begin
  20074. if thebits = 0 then
  20075. pTDefRegMap(@Self)^.clr := $00008000
  20076. else
  20077. pTDefRegMap(@Self)^.&set := $00008000;
  20078. end;
  20079. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  20080. begin
  20081. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20082. end;
  20083. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  20084. begin
  20085. pTDefRegMap(@Self)^.val := thebits;
  20086. end;
  20087. function TUART2_U3AMODE.getw : TBits_32; inline;
  20088. begin
  20089. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20090. end;
  20091. procedure TUART2_U2STA.setURXDA; inline;
  20092. begin
  20093. pTDefRegMap(@Self)^.&set := $00000001;
  20094. end;
  20095. procedure TUART2_U2STA.clearURXDA; inline;
  20096. begin
  20097. pTDefRegMap(@Self)^.clr := $00000001;
  20098. end;
  20099. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  20100. begin
  20101. if thebits = 0 then
  20102. pTDefRegMap(@Self)^.clr := $00000001
  20103. else
  20104. pTDefRegMap(@Self)^.&set := $00000001;
  20105. end;
  20106. function TUART2_U2STA.getURXDA : TBits_1; inline;
  20107. begin
  20108. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20109. end;
  20110. procedure TUART2_U2STA.setOERR; inline;
  20111. begin
  20112. pTDefRegMap(@Self)^.&set := $00000002;
  20113. end;
  20114. procedure TUART2_U2STA.clearOERR; inline;
  20115. begin
  20116. pTDefRegMap(@Self)^.clr := $00000002;
  20117. end;
  20118. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  20119. begin
  20120. if thebits = 0 then
  20121. pTDefRegMap(@Self)^.clr := $00000002
  20122. else
  20123. pTDefRegMap(@Self)^.&set := $00000002;
  20124. end;
  20125. function TUART2_U2STA.getOERR : TBits_1; inline;
  20126. begin
  20127. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20128. end;
  20129. procedure TUART2_U2STA.setFERR; inline;
  20130. begin
  20131. pTDefRegMap(@Self)^.&set := $00000004;
  20132. end;
  20133. procedure TUART2_U2STA.clearFERR; inline;
  20134. begin
  20135. pTDefRegMap(@Self)^.clr := $00000004;
  20136. end;
  20137. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  20138. begin
  20139. if thebits = 0 then
  20140. pTDefRegMap(@Self)^.clr := $00000004
  20141. else
  20142. pTDefRegMap(@Self)^.&set := $00000004;
  20143. end;
  20144. function TUART2_U2STA.getFERR : TBits_1; inline;
  20145. begin
  20146. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20147. end;
  20148. procedure TUART2_U2STA.setPERR; inline;
  20149. begin
  20150. pTDefRegMap(@Self)^.&set := $00000008;
  20151. end;
  20152. procedure TUART2_U2STA.clearPERR; inline;
  20153. begin
  20154. pTDefRegMap(@Self)^.clr := $00000008;
  20155. end;
  20156. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  20157. begin
  20158. if thebits = 0 then
  20159. pTDefRegMap(@Self)^.clr := $00000008
  20160. else
  20161. pTDefRegMap(@Self)^.&set := $00000008;
  20162. end;
  20163. function TUART2_U2STA.getPERR : TBits_1; inline;
  20164. begin
  20165. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20166. end;
  20167. procedure TUART2_U2STA.setRIDLE; inline;
  20168. begin
  20169. pTDefRegMap(@Self)^.&set := $00000010;
  20170. end;
  20171. procedure TUART2_U2STA.clearRIDLE; inline;
  20172. begin
  20173. pTDefRegMap(@Self)^.clr := $00000010;
  20174. end;
  20175. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  20176. begin
  20177. if thebits = 0 then
  20178. pTDefRegMap(@Self)^.clr := $00000010
  20179. else
  20180. pTDefRegMap(@Self)^.&set := $00000010;
  20181. end;
  20182. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  20183. begin
  20184. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20185. end;
  20186. procedure TUART2_U2STA.setADDEN; inline;
  20187. begin
  20188. pTDefRegMap(@Self)^.&set := $00000020;
  20189. end;
  20190. procedure TUART2_U2STA.clearADDEN; inline;
  20191. begin
  20192. pTDefRegMap(@Self)^.clr := $00000020;
  20193. end;
  20194. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  20195. begin
  20196. if thebits = 0 then
  20197. pTDefRegMap(@Self)^.clr := $00000020
  20198. else
  20199. pTDefRegMap(@Self)^.&set := $00000020;
  20200. end;
  20201. function TUART2_U2STA.getADDEN : TBits_1; inline;
  20202. begin
  20203. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20204. end;
  20205. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  20206. begin
  20207. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20208. end;
  20209. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  20210. begin
  20211. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20212. end;
  20213. procedure TUART2_U2STA.setTRMT; inline;
  20214. begin
  20215. pTDefRegMap(@Self)^.&set := $00000100;
  20216. end;
  20217. procedure TUART2_U2STA.clearTRMT; inline;
  20218. begin
  20219. pTDefRegMap(@Self)^.clr := $00000100;
  20220. end;
  20221. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  20222. begin
  20223. if thebits = 0 then
  20224. pTDefRegMap(@Self)^.clr := $00000100
  20225. else
  20226. pTDefRegMap(@Self)^.&set := $00000100;
  20227. end;
  20228. function TUART2_U2STA.getTRMT : TBits_1; inline;
  20229. begin
  20230. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20231. end;
  20232. procedure TUART2_U2STA.setUTXBF; inline;
  20233. begin
  20234. pTDefRegMap(@Self)^.&set := $00000200;
  20235. end;
  20236. procedure TUART2_U2STA.clearUTXBF; inline;
  20237. begin
  20238. pTDefRegMap(@Self)^.clr := $00000200;
  20239. end;
  20240. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  20241. begin
  20242. if thebits = 0 then
  20243. pTDefRegMap(@Self)^.clr := $00000200
  20244. else
  20245. pTDefRegMap(@Self)^.&set := $00000200;
  20246. end;
  20247. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  20248. begin
  20249. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20250. end;
  20251. procedure TUART2_U2STA.setUTXEN; inline;
  20252. begin
  20253. pTDefRegMap(@Self)^.&set := $00000400;
  20254. end;
  20255. procedure TUART2_U2STA.clearUTXEN; inline;
  20256. begin
  20257. pTDefRegMap(@Self)^.clr := $00000400;
  20258. end;
  20259. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  20260. begin
  20261. if thebits = 0 then
  20262. pTDefRegMap(@Self)^.clr := $00000400
  20263. else
  20264. pTDefRegMap(@Self)^.&set := $00000400;
  20265. end;
  20266. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  20267. begin
  20268. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20269. end;
  20270. procedure TUART2_U2STA.setUTXBRK; inline;
  20271. begin
  20272. pTDefRegMap(@Self)^.&set := $00000800;
  20273. end;
  20274. procedure TUART2_U2STA.clearUTXBRK; inline;
  20275. begin
  20276. pTDefRegMap(@Self)^.clr := $00000800;
  20277. end;
  20278. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  20279. begin
  20280. if thebits = 0 then
  20281. pTDefRegMap(@Self)^.clr := $00000800
  20282. else
  20283. pTDefRegMap(@Self)^.&set := $00000800;
  20284. end;
  20285. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  20286. begin
  20287. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20288. end;
  20289. procedure TUART2_U2STA.setURXEN; inline;
  20290. begin
  20291. pTDefRegMap(@Self)^.&set := $00001000;
  20292. end;
  20293. procedure TUART2_U2STA.clearURXEN; inline;
  20294. begin
  20295. pTDefRegMap(@Self)^.clr := $00001000;
  20296. end;
  20297. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20298. begin
  20299. if thebits = 0 then
  20300. pTDefRegMap(@Self)^.clr := $00001000
  20301. else
  20302. pTDefRegMap(@Self)^.&set := $00001000;
  20303. end;
  20304. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20305. begin
  20306. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20307. end;
  20308. procedure TUART2_U2STA.setUTXINV; inline;
  20309. begin
  20310. pTDefRegMap(@Self)^.&set := $00002000;
  20311. end;
  20312. procedure TUART2_U2STA.clearUTXINV; inline;
  20313. begin
  20314. pTDefRegMap(@Self)^.clr := $00002000;
  20315. end;
  20316. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20317. begin
  20318. if thebits = 0 then
  20319. pTDefRegMap(@Self)^.clr := $00002000
  20320. else
  20321. pTDefRegMap(@Self)^.&set := $00002000;
  20322. end;
  20323. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20324. begin
  20325. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20326. end;
  20327. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20328. begin
  20329. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20330. end;
  20331. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20332. begin
  20333. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20334. end;
  20335. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20336. begin
  20337. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20338. end;
  20339. function TUART2_U2STA.getADDR : TBits_8; inline;
  20340. begin
  20341. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20342. end;
  20343. procedure TUART2_U2STA.setADM_EN; inline;
  20344. begin
  20345. pTDefRegMap(@Self)^.&set := $01000000;
  20346. end;
  20347. procedure TUART2_U2STA.clearADM_EN; inline;
  20348. begin
  20349. pTDefRegMap(@Self)^.clr := $01000000;
  20350. end;
  20351. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20352. begin
  20353. if thebits = 0 then
  20354. pTDefRegMap(@Self)^.clr := $01000000
  20355. else
  20356. pTDefRegMap(@Self)^.&set := $01000000;
  20357. end;
  20358. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20359. begin
  20360. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20361. end;
  20362. procedure TUART2_U2STA.setURXISEL0; inline;
  20363. begin
  20364. pTDefRegMap(@Self)^.&set := $00000040;
  20365. end;
  20366. procedure TUART2_U2STA.clearURXISEL0; inline;
  20367. begin
  20368. pTDefRegMap(@Self)^.clr := $00000040;
  20369. end;
  20370. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20371. begin
  20372. if thebits = 0 then
  20373. pTDefRegMap(@Self)^.clr := $00000040
  20374. else
  20375. pTDefRegMap(@Self)^.&set := $00000040;
  20376. end;
  20377. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20378. begin
  20379. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20380. end;
  20381. procedure TUART2_U2STA.setURXISEL1; inline;
  20382. begin
  20383. pTDefRegMap(@Self)^.&set := $00000080;
  20384. end;
  20385. procedure TUART2_U2STA.clearURXISEL1; inline;
  20386. begin
  20387. pTDefRegMap(@Self)^.clr := $00000080;
  20388. end;
  20389. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20390. begin
  20391. if thebits = 0 then
  20392. pTDefRegMap(@Self)^.clr := $00000080
  20393. else
  20394. pTDefRegMap(@Self)^.&set := $00000080;
  20395. end;
  20396. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20397. begin
  20398. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20399. end;
  20400. procedure TUART2_U2STA.setUTXISEL0; inline;
  20401. begin
  20402. pTDefRegMap(@Self)^.&set := $00004000;
  20403. end;
  20404. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20405. begin
  20406. pTDefRegMap(@Self)^.clr := $00004000;
  20407. end;
  20408. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20409. begin
  20410. if thebits = 0 then
  20411. pTDefRegMap(@Self)^.clr := $00004000
  20412. else
  20413. pTDefRegMap(@Self)^.&set := $00004000;
  20414. end;
  20415. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20416. begin
  20417. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20418. end;
  20419. procedure TUART2_U2STA.setUTXISEL1; inline;
  20420. begin
  20421. pTDefRegMap(@Self)^.&set := $00008000;
  20422. end;
  20423. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20424. begin
  20425. pTDefRegMap(@Self)^.clr := $00008000;
  20426. end;
  20427. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20428. begin
  20429. if thebits = 0 then
  20430. pTDefRegMap(@Self)^.clr := $00008000
  20431. else
  20432. pTDefRegMap(@Self)^.&set := $00008000;
  20433. end;
  20434. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20435. begin
  20436. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20437. end;
  20438. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20439. begin
  20440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20441. end;
  20442. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20443. begin
  20444. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20445. end;
  20446. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20447. begin
  20448. pTDefRegMap(@Self)^.val := thebits;
  20449. end;
  20450. function TUART2_U2STA.getw : TBits_32; inline;
  20451. begin
  20452. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20453. end;
  20454. procedure TUART2_U3ASTA.setURXDA; inline;
  20455. begin
  20456. pTDefRegMap(@Self)^.&set := $00000001;
  20457. end;
  20458. procedure TUART2_U3ASTA.clearURXDA; inline;
  20459. begin
  20460. pTDefRegMap(@Self)^.clr := $00000001;
  20461. end;
  20462. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20463. begin
  20464. if thebits = 0 then
  20465. pTDefRegMap(@Self)^.clr := $00000001
  20466. else
  20467. pTDefRegMap(@Self)^.&set := $00000001;
  20468. end;
  20469. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20470. begin
  20471. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20472. end;
  20473. procedure TUART2_U3ASTA.setOERR; inline;
  20474. begin
  20475. pTDefRegMap(@Self)^.&set := $00000002;
  20476. end;
  20477. procedure TUART2_U3ASTA.clearOERR; inline;
  20478. begin
  20479. pTDefRegMap(@Self)^.clr := $00000002;
  20480. end;
  20481. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20482. begin
  20483. if thebits = 0 then
  20484. pTDefRegMap(@Self)^.clr := $00000002
  20485. else
  20486. pTDefRegMap(@Self)^.&set := $00000002;
  20487. end;
  20488. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20489. begin
  20490. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20491. end;
  20492. procedure TUART2_U3ASTA.setFERR; inline;
  20493. begin
  20494. pTDefRegMap(@Self)^.&set := $00000004;
  20495. end;
  20496. procedure TUART2_U3ASTA.clearFERR; inline;
  20497. begin
  20498. pTDefRegMap(@Self)^.clr := $00000004;
  20499. end;
  20500. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20501. begin
  20502. if thebits = 0 then
  20503. pTDefRegMap(@Self)^.clr := $00000004
  20504. else
  20505. pTDefRegMap(@Self)^.&set := $00000004;
  20506. end;
  20507. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20508. begin
  20509. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20510. end;
  20511. procedure TUART2_U3ASTA.setPERR; inline;
  20512. begin
  20513. pTDefRegMap(@Self)^.&set := $00000008;
  20514. end;
  20515. procedure TUART2_U3ASTA.clearPERR; inline;
  20516. begin
  20517. pTDefRegMap(@Self)^.clr := $00000008;
  20518. end;
  20519. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  20520. begin
  20521. if thebits = 0 then
  20522. pTDefRegMap(@Self)^.clr := $00000008
  20523. else
  20524. pTDefRegMap(@Self)^.&set := $00000008;
  20525. end;
  20526. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  20527. begin
  20528. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20529. end;
  20530. procedure TUART2_U3ASTA.setRIDLE; inline;
  20531. begin
  20532. pTDefRegMap(@Self)^.&set := $00000010;
  20533. end;
  20534. procedure TUART2_U3ASTA.clearRIDLE; inline;
  20535. begin
  20536. pTDefRegMap(@Self)^.clr := $00000010;
  20537. end;
  20538. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  20539. begin
  20540. if thebits = 0 then
  20541. pTDefRegMap(@Self)^.clr := $00000010
  20542. else
  20543. pTDefRegMap(@Self)^.&set := $00000010;
  20544. end;
  20545. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  20546. begin
  20547. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20548. end;
  20549. procedure TUART2_U3ASTA.setADDEN; inline;
  20550. begin
  20551. pTDefRegMap(@Self)^.&set := $00000020;
  20552. end;
  20553. procedure TUART2_U3ASTA.clearADDEN; inline;
  20554. begin
  20555. pTDefRegMap(@Self)^.clr := $00000020;
  20556. end;
  20557. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  20558. begin
  20559. if thebits = 0 then
  20560. pTDefRegMap(@Self)^.clr := $00000020
  20561. else
  20562. pTDefRegMap(@Self)^.&set := $00000020;
  20563. end;
  20564. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  20565. begin
  20566. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20567. end;
  20568. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  20569. begin
  20570. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20571. end;
  20572. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  20573. begin
  20574. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20575. end;
  20576. procedure TUART2_U3ASTA.setTRMT; inline;
  20577. begin
  20578. pTDefRegMap(@Self)^.&set := $00000100;
  20579. end;
  20580. procedure TUART2_U3ASTA.clearTRMT; inline;
  20581. begin
  20582. pTDefRegMap(@Self)^.clr := $00000100;
  20583. end;
  20584. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  20585. begin
  20586. if thebits = 0 then
  20587. pTDefRegMap(@Self)^.clr := $00000100
  20588. else
  20589. pTDefRegMap(@Self)^.&set := $00000100;
  20590. end;
  20591. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  20592. begin
  20593. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20594. end;
  20595. procedure TUART2_U3ASTA.setUTXBF; inline;
  20596. begin
  20597. pTDefRegMap(@Self)^.&set := $00000200;
  20598. end;
  20599. procedure TUART2_U3ASTA.clearUTXBF; inline;
  20600. begin
  20601. pTDefRegMap(@Self)^.clr := $00000200;
  20602. end;
  20603. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  20604. begin
  20605. if thebits = 0 then
  20606. pTDefRegMap(@Self)^.clr := $00000200
  20607. else
  20608. pTDefRegMap(@Self)^.&set := $00000200;
  20609. end;
  20610. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  20611. begin
  20612. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20613. end;
  20614. procedure TUART2_U3ASTA.setUTXEN; inline;
  20615. begin
  20616. pTDefRegMap(@Self)^.&set := $00000400;
  20617. end;
  20618. procedure TUART2_U3ASTA.clearUTXEN; inline;
  20619. begin
  20620. pTDefRegMap(@Self)^.clr := $00000400;
  20621. end;
  20622. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  20623. begin
  20624. if thebits = 0 then
  20625. pTDefRegMap(@Self)^.clr := $00000400
  20626. else
  20627. pTDefRegMap(@Self)^.&set := $00000400;
  20628. end;
  20629. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  20630. begin
  20631. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20632. end;
  20633. procedure TUART2_U3ASTA.setUTXBRK; inline;
  20634. begin
  20635. pTDefRegMap(@Self)^.&set := $00000800;
  20636. end;
  20637. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  20638. begin
  20639. pTDefRegMap(@Self)^.clr := $00000800;
  20640. end;
  20641. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  20642. begin
  20643. if thebits = 0 then
  20644. pTDefRegMap(@Self)^.clr := $00000800
  20645. else
  20646. pTDefRegMap(@Self)^.&set := $00000800;
  20647. end;
  20648. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  20649. begin
  20650. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20651. end;
  20652. procedure TUART2_U3ASTA.setURXEN; inline;
  20653. begin
  20654. pTDefRegMap(@Self)^.&set := $00001000;
  20655. end;
  20656. procedure TUART2_U3ASTA.clearURXEN; inline;
  20657. begin
  20658. pTDefRegMap(@Self)^.clr := $00001000;
  20659. end;
  20660. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  20661. begin
  20662. if thebits = 0 then
  20663. pTDefRegMap(@Self)^.clr := $00001000
  20664. else
  20665. pTDefRegMap(@Self)^.&set := $00001000;
  20666. end;
  20667. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  20668. begin
  20669. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20670. end;
  20671. procedure TUART2_U3ASTA.setUTXINV; inline;
  20672. begin
  20673. pTDefRegMap(@Self)^.&set := $00002000;
  20674. end;
  20675. procedure TUART2_U3ASTA.clearUTXINV; inline;
  20676. begin
  20677. pTDefRegMap(@Self)^.clr := $00002000;
  20678. end;
  20679. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  20680. begin
  20681. if thebits = 0 then
  20682. pTDefRegMap(@Self)^.clr := $00002000
  20683. else
  20684. pTDefRegMap(@Self)^.&set := $00002000;
  20685. end;
  20686. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  20687. begin
  20688. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20689. end;
  20690. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  20691. begin
  20692. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20693. end;
  20694. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  20695. begin
  20696. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20697. end;
  20698. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  20699. begin
  20700. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20701. end;
  20702. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  20703. begin
  20704. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20705. end;
  20706. procedure TUART2_U3ASTA.setADM_EN; inline;
  20707. begin
  20708. pTDefRegMap(@Self)^.&set := $01000000;
  20709. end;
  20710. procedure TUART2_U3ASTA.clearADM_EN; inline;
  20711. begin
  20712. pTDefRegMap(@Self)^.clr := $01000000;
  20713. end;
  20714. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  20715. begin
  20716. if thebits = 0 then
  20717. pTDefRegMap(@Self)^.clr := $01000000
  20718. else
  20719. pTDefRegMap(@Self)^.&set := $01000000;
  20720. end;
  20721. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  20722. begin
  20723. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20724. end;
  20725. procedure TUART2_U3ASTA.setURXISEL0; inline;
  20726. begin
  20727. pTDefRegMap(@Self)^.&set := $00000040;
  20728. end;
  20729. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  20730. begin
  20731. pTDefRegMap(@Self)^.clr := $00000040;
  20732. end;
  20733. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  20734. begin
  20735. if thebits = 0 then
  20736. pTDefRegMap(@Self)^.clr := $00000040
  20737. else
  20738. pTDefRegMap(@Self)^.&set := $00000040;
  20739. end;
  20740. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  20741. begin
  20742. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20743. end;
  20744. procedure TUART2_U3ASTA.setURXISEL1; inline;
  20745. begin
  20746. pTDefRegMap(@Self)^.&set := $00000080;
  20747. end;
  20748. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  20749. begin
  20750. pTDefRegMap(@Self)^.clr := $00000080;
  20751. end;
  20752. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  20753. begin
  20754. if thebits = 0 then
  20755. pTDefRegMap(@Self)^.clr := $00000080
  20756. else
  20757. pTDefRegMap(@Self)^.&set := $00000080;
  20758. end;
  20759. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  20760. begin
  20761. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20762. end;
  20763. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  20764. begin
  20765. pTDefRegMap(@Self)^.&set := $00004000;
  20766. end;
  20767. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  20768. begin
  20769. pTDefRegMap(@Self)^.clr := $00004000;
  20770. end;
  20771. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  20772. begin
  20773. if thebits = 0 then
  20774. pTDefRegMap(@Self)^.clr := $00004000
  20775. else
  20776. pTDefRegMap(@Self)^.&set := $00004000;
  20777. end;
  20778. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  20779. begin
  20780. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20781. end;
  20782. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  20783. begin
  20784. pTDefRegMap(@Self)^.&set := $00008000;
  20785. end;
  20786. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  20787. begin
  20788. pTDefRegMap(@Self)^.clr := $00008000;
  20789. end;
  20790. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  20791. begin
  20792. if thebits = 0 then
  20793. pTDefRegMap(@Self)^.clr := $00008000
  20794. else
  20795. pTDefRegMap(@Self)^.&set := $00008000;
  20796. end;
  20797. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  20798. begin
  20799. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20800. end;
  20801. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  20802. begin
  20803. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20804. end;
  20805. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  20806. begin
  20807. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20808. end;
  20809. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  20810. begin
  20811. pTDefRegMap(@Self)^.val := thebits;
  20812. end;
  20813. function TUART2_U3ASTA.getw : TBits_32; inline;
  20814. begin
  20815. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20816. end;
  20817. procedure TPMP_PMCON.setRDSP; inline;
  20818. begin
  20819. pTDefRegMap(@Self)^.&set := $00000001;
  20820. end;
  20821. procedure TPMP_PMCON.clearRDSP; inline;
  20822. begin
  20823. pTDefRegMap(@Self)^.clr := $00000001;
  20824. end;
  20825. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  20826. begin
  20827. if thebits = 0 then
  20828. pTDefRegMap(@Self)^.clr := $00000001
  20829. else
  20830. pTDefRegMap(@Self)^.&set := $00000001;
  20831. end;
  20832. function TPMP_PMCON.getRDSP : TBits_1; inline;
  20833. begin
  20834. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20835. end;
  20836. procedure TPMP_PMCON.setWRSP; inline;
  20837. begin
  20838. pTDefRegMap(@Self)^.&set := $00000002;
  20839. end;
  20840. procedure TPMP_PMCON.clearWRSP; inline;
  20841. begin
  20842. pTDefRegMap(@Self)^.clr := $00000002;
  20843. end;
  20844. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  20845. begin
  20846. if thebits = 0 then
  20847. pTDefRegMap(@Self)^.clr := $00000002
  20848. else
  20849. pTDefRegMap(@Self)^.&set := $00000002;
  20850. end;
  20851. function TPMP_PMCON.getWRSP : TBits_1; inline;
  20852. begin
  20853. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20854. end;
  20855. procedure TPMP_PMCON.setCS1P; inline;
  20856. begin
  20857. pTDefRegMap(@Self)^.&set := $00000008;
  20858. end;
  20859. procedure TPMP_PMCON.clearCS1P; inline;
  20860. begin
  20861. pTDefRegMap(@Self)^.clr := $00000008;
  20862. end;
  20863. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  20864. begin
  20865. if thebits = 0 then
  20866. pTDefRegMap(@Self)^.clr := $00000008
  20867. else
  20868. pTDefRegMap(@Self)^.&set := $00000008;
  20869. end;
  20870. function TPMP_PMCON.getCS1P : TBits_1; inline;
  20871. begin
  20872. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20873. end;
  20874. procedure TPMP_PMCON.setALP; inline;
  20875. begin
  20876. pTDefRegMap(@Self)^.&set := $00000020;
  20877. end;
  20878. procedure TPMP_PMCON.clearALP; inline;
  20879. begin
  20880. pTDefRegMap(@Self)^.clr := $00000020;
  20881. end;
  20882. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  20883. begin
  20884. if thebits = 0 then
  20885. pTDefRegMap(@Self)^.clr := $00000020
  20886. else
  20887. pTDefRegMap(@Self)^.&set := $00000020;
  20888. end;
  20889. function TPMP_PMCON.getALP : TBits_1; inline;
  20890. begin
  20891. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20892. end;
  20893. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  20894. begin
  20895. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20896. end;
  20897. function TPMP_PMCON.getCSF : TBits_2; inline;
  20898. begin
  20899. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20900. end;
  20901. procedure TPMP_PMCON.setPTRDEN; inline;
  20902. begin
  20903. pTDefRegMap(@Self)^.&set := $00000100;
  20904. end;
  20905. procedure TPMP_PMCON.clearPTRDEN; inline;
  20906. begin
  20907. pTDefRegMap(@Self)^.clr := $00000100;
  20908. end;
  20909. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  20910. begin
  20911. if thebits = 0 then
  20912. pTDefRegMap(@Self)^.clr := $00000100
  20913. else
  20914. pTDefRegMap(@Self)^.&set := $00000100;
  20915. end;
  20916. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  20917. begin
  20918. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20919. end;
  20920. procedure TPMP_PMCON.setPTWREN; inline;
  20921. begin
  20922. pTDefRegMap(@Self)^.&set := $00000200;
  20923. end;
  20924. procedure TPMP_PMCON.clearPTWREN; inline;
  20925. begin
  20926. pTDefRegMap(@Self)^.clr := $00000200;
  20927. end;
  20928. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  20929. begin
  20930. if thebits = 0 then
  20931. pTDefRegMap(@Self)^.clr := $00000200
  20932. else
  20933. pTDefRegMap(@Self)^.&set := $00000200;
  20934. end;
  20935. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  20936. begin
  20937. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20938. end;
  20939. procedure TPMP_PMCON.setPMPTTL; inline;
  20940. begin
  20941. pTDefRegMap(@Self)^.&set := $00000400;
  20942. end;
  20943. procedure TPMP_PMCON.clearPMPTTL; inline;
  20944. begin
  20945. pTDefRegMap(@Self)^.clr := $00000400;
  20946. end;
  20947. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  20948. begin
  20949. if thebits = 0 then
  20950. pTDefRegMap(@Self)^.clr := $00000400
  20951. else
  20952. pTDefRegMap(@Self)^.&set := $00000400;
  20953. end;
  20954. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  20955. begin
  20956. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20957. end;
  20958. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  20959. begin
  20960. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20961. end;
  20962. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  20963. begin
  20964. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20965. end;
  20966. procedure TPMP_PMCON.setSIDL; inline;
  20967. begin
  20968. pTDefRegMap(@Self)^.&set := $00002000;
  20969. end;
  20970. procedure TPMP_PMCON.clearSIDL; inline;
  20971. begin
  20972. pTDefRegMap(@Self)^.clr := $00002000;
  20973. end;
  20974. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  20975. begin
  20976. if thebits = 0 then
  20977. pTDefRegMap(@Self)^.clr := $00002000
  20978. else
  20979. pTDefRegMap(@Self)^.&set := $00002000;
  20980. end;
  20981. function TPMP_PMCON.getSIDL : TBits_1; inline;
  20982. begin
  20983. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20984. end;
  20985. procedure TPMP_PMCON.setON; inline;
  20986. begin
  20987. pTDefRegMap(@Self)^.&set := $00008000;
  20988. end;
  20989. procedure TPMP_PMCON.clearON; inline;
  20990. begin
  20991. pTDefRegMap(@Self)^.clr := $00008000;
  20992. end;
  20993. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  20994. begin
  20995. if thebits = 0 then
  20996. pTDefRegMap(@Self)^.clr := $00008000
  20997. else
  20998. pTDefRegMap(@Self)^.&set := $00008000;
  20999. end;
  21000. function TPMP_PMCON.getON : TBits_1; inline;
  21001. begin
  21002. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21003. end;
  21004. procedure TPMP_PMCON.setCSF0; inline;
  21005. begin
  21006. pTDefRegMap(@Self)^.&set := $00000040;
  21007. end;
  21008. procedure TPMP_PMCON.clearCSF0; inline;
  21009. begin
  21010. pTDefRegMap(@Self)^.clr := $00000040;
  21011. end;
  21012. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  21013. begin
  21014. if thebits = 0 then
  21015. pTDefRegMap(@Self)^.clr := $00000040
  21016. else
  21017. pTDefRegMap(@Self)^.&set := $00000040;
  21018. end;
  21019. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  21020. begin
  21021. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21022. end;
  21023. procedure TPMP_PMCON.setCSF1; inline;
  21024. begin
  21025. pTDefRegMap(@Self)^.&set := $00000080;
  21026. end;
  21027. procedure TPMP_PMCON.clearCSF1; inline;
  21028. begin
  21029. pTDefRegMap(@Self)^.clr := $00000080;
  21030. end;
  21031. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  21032. begin
  21033. if thebits = 0 then
  21034. pTDefRegMap(@Self)^.clr := $00000080
  21035. else
  21036. pTDefRegMap(@Self)^.&set := $00000080;
  21037. end;
  21038. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  21039. begin
  21040. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21041. end;
  21042. procedure TPMP_PMCON.setADRMUX0; inline;
  21043. begin
  21044. pTDefRegMap(@Self)^.&set := $00000800;
  21045. end;
  21046. procedure TPMP_PMCON.clearADRMUX0; inline;
  21047. begin
  21048. pTDefRegMap(@Self)^.clr := $00000800;
  21049. end;
  21050. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  21051. begin
  21052. if thebits = 0 then
  21053. pTDefRegMap(@Self)^.clr := $00000800
  21054. else
  21055. pTDefRegMap(@Self)^.&set := $00000800;
  21056. end;
  21057. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  21058. begin
  21059. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21060. end;
  21061. procedure TPMP_PMCON.setADRMUX1; inline;
  21062. begin
  21063. pTDefRegMap(@Self)^.&set := $00001000;
  21064. end;
  21065. procedure TPMP_PMCON.clearADRMUX1; inline;
  21066. begin
  21067. pTDefRegMap(@Self)^.clr := $00001000;
  21068. end;
  21069. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  21070. begin
  21071. if thebits = 0 then
  21072. pTDefRegMap(@Self)^.clr := $00001000
  21073. else
  21074. pTDefRegMap(@Self)^.&set := $00001000;
  21075. end;
  21076. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  21077. begin
  21078. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21079. end;
  21080. procedure TPMP_PMCON.setPSIDL; inline;
  21081. begin
  21082. pTDefRegMap(@Self)^.&set := $00002000;
  21083. end;
  21084. procedure TPMP_PMCON.clearPSIDL; inline;
  21085. begin
  21086. pTDefRegMap(@Self)^.clr := $00002000;
  21087. end;
  21088. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  21089. begin
  21090. if thebits = 0 then
  21091. pTDefRegMap(@Self)^.clr := $00002000
  21092. else
  21093. pTDefRegMap(@Self)^.&set := $00002000;
  21094. end;
  21095. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  21096. begin
  21097. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21098. end;
  21099. procedure TPMP_PMCON.setPMPEN; inline;
  21100. begin
  21101. pTDefRegMap(@Self)^.&set := $00008000;
  21102. end;
  21103. procedure TPMP_PMCON.clearPMPEN; inline;
  21104. begin
  21105. pTDefRegMap(@Self)^.clr := $00008000;
  21106. end;
  21107. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  21108. begin
  21109. if thebits = 0 then
  21110. pTDefRegMap(@Self)^.clr := $00008000
  21111. else
  21112. pTDefRegMap(@Self)^.&set := $00008000;
  21113. end;
  21114. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  21115. begin
  21116. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21117. end;
  21118. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  21119. begin
  21120. pTDefRegMap(@Self)^.val := thebits;
  21121. end;
  21122. function TPMP_PMCON.getw : TBits_32; inline;
  21123. begin
  21124. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21125. end;
  21126. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  21127. begin
  21128. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21129. end;
  21130. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  21131. begin
  21132. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21133. end;
  21134. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  21135. begin
  21136. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  21137. end;
  21138. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  21139. begin
  21140. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  21141. end;
  21142. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  21143. begin
  21144. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21145. end;
  21146. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  21147. begin
  21148. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21149. end;
  21150. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  21151. begin
  21152. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21153. end;
  21154. function TPMP_PMMODE.getMODE : TBits_2; inline;
  21155. begin
  21156. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21157. end;
  21158. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  21159. begin
  21160. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21161. end;
  21162. function TPMP_PMMODE.getINCM : TBits_2; inline;
  21163. begin
  21164. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21165. end;
  21166. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  21167. begin
  21168. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  21169. end;
  21170. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  21171. begin
  21172. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  21173. end;
  21174. procedure TPMP_PMMODE.setBUSY; inline;
  21175. begin
  21176. pTDefRegMap(@Self)^.&set := $00008000;
  21177. end;
  21178. procedure TPMP_PMMODE.clearBUSY; inline;
  21179. begin
  21180. pTDefRegMap(@Self)^.clr := $00008000;
  21181. end;
  21182. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  21183. begin
  21184. if thebits = 0 then
  21185. pTDefRegMap(@Self)^.clr := $00008000
  21186. else
  21187. pTDefRegMap(@Self)^.&set := $00008000;
  21188. end;
  21189. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  21190. begin
  21191. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21192. end;
  21193. procedure TPMP_PMMODE.setWAITE0; inline;
  21194. begin
  21195. pTDefRegMap(@Self)^.&set := $00000001;
  21196. end;
  21197. procedure TPMP_PMMODE.clearWAITE0; inline;
  21198. begin
  21199. pTDefRegMap(@Self)^.clr := $00000001;
  21200. end;
  21201. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  21202. begin
  21203. if thebits = 0 then
  21204. pTDefRegMap(@Self)^.clr := $00000001
  21205. else
  21206. pTDefRegMap(@Self)^.&set := $00000001;
  21207. end;
  21208. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  21209. begin
  21210. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21211. end;
  21212. procedure TPMP_PMMODE.setWAITE1; inline;
  21213. begin
  21214. pTDefRegMap(@Self)^.&set := $00000002;
  21215. end;
  21216. procedure TPMP_PMMODE.clearWAITE1; inline;
  21217. begin
  21218. pTDefRegMap(@Self)^.clr := $00000002;
  21219. end;
  21220. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  21221. begin
  21222. if thebits = 0 then
  21223. pTDefRegMap(@Self)^.clr := $00000002
  21224. else
  21225. pTDefRegMap(@Self)^.&set := $00000002;
  21226. end;
  21227. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  21228. begin
  21229. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21230. end;
  21231. procedure TPMP_PMMODE.setWAITM0; inline;
  21232. begin
  21233. pTDefRegMap(@Self)^.&set := $00000004;
  21234. end;
  21235. procedure TPMP_PMMODE.clearWAITM0; inline;
  21236. begin
  21237. pTDefRegMap(@Self)^.clr := $00000004;
  21238. end;
  21239. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  21240. begin
  21241. if thebits = 0 then
  21242. pTDefRegMap(@Self)^.clr := $00000004
  21243. else
  21244. pTDefRegMap(@Self)^.&set := $00000004;
  21245. end;
  21246. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  21247. begin
  21248. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21249. end;
  21250. procedure TPMP_PMMODE.setWAITM1; inline;
  21251. begin
  21252. pTDefRegMap(@Self)^.&set := $00000008;
  21253. end;
  21254. procedure TPMP_PMMODE.clearWAITM1; inline;
  21255. begin
  21256. pTDefRegMap(@Self)^.clr := $00000008;
  21257. end;
  21258. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  21259. begin
  21260. if thebits = 0 then
  21261. pTDefRegMap(@Self)^.clr := $00000008
  21262. else
  21263. pTDefRegMap(@Self)^.&set := $00000008;
  21264. end;
  21265. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  21266. begin
  21267. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21268. end;
  21269. procedure TPMP_PMMODE.setWAITM2; inline;
  21270. begin
  21271. pTDefRegMap(@Self)^.&set := $00000010;
  21272. end;
  21273. procedure TPMP_PMMODE.clearWAITM2; inline;
  21274. begin
  21275. pTDefRegMap(@Self)^.clr := $00000010;
  21276. end;
  21277. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  21278. begin
  21279. if thebits = 0 then
  21280. pTDefRegMap(@Self)^.clr := $00000010
  21281. else
  21282. pTDefRegMap(@Self)^.&set := $00000010;
  21283. end;
  21284. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  21285. begin
  21286. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21287. end;
  21288. procedure TPMP_PMMODE.setWAITM3; inline;
  21289. begin
  21290. pTDefRegMap(@Self)^.&set := $00000020;
  21291. end;
  21292. procedure TPMP_PMMODE.clearWAITM3; inline;
  21293. begin
  21294. pTDefRegMap(@Self)^.clr := $00000020;
  21295. end;
  21296. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21297. begin
  21298. if thebits = 0 then
  21299. pTDefRegMap(@Self)^.clr := $00000020
  21300. else
  21301. pTDefRegMap(@Self)^.&set := $00000020;
  21302. end;
  21303. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21304. begin
  21305. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21306. end;
  21307. procedure TPMP_PMMODE.setWAITB0; inline;
  21308. begin
  21309. pTDefRegMap(@Self)^.&set := $00000040;
  21310. end;
  21311. procedure TPMP_PMMODE.clearWAITB0; inline;
  21312. begin
  21313. pTDefRegMap(@Self)^.clr := $00000040;
  21314. end;
  21315. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21316. begin
  21317. if thebits = 0 then
  21318. pTDefRegMap(@Self)^.clr := $00000040
  21319. else
  21320. pTDefRegMap(@Self)^.&set := $00000040;
  21321. end;
  21322. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21323. begin
  21324. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21325. end;
  21326. procedure TPMP_PMMODE.setWAITB1; inline;
  21327. begin
  21328. pTDefRegMap(@Self)^.&set := $00000080;
  21329. end;
  21330. procedure TPMP_PMMODE.clearWAITB1; inline;
  21331. begin
  21332. pTDefRegMap(@Self)^.clr := $00000080;
  21333. end;
  21334. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21335. begin
  21336. if thebits = 0 then
  21337. pTDefRegMap(@Self)^.clr := $00000080
  21338. else
  21339. pTDefRegMap(@Self)^.&set := $00000080;
  21340. end;
  21341. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21342. begin
  21343. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21344. end;
  21345. procedure TPMP_PMMODE.setMODE0; inline;
  21346. begin
  21347. pTDefRegMap(@Self)^.&set := $00000100;
  21348. end;
  21349. procedure TPMP_PMMODE.clearMODE0; inline;
  21350. begin
  21351. pTDefRegMap(@Self)^.clr := $00000100;
  21352. end;
  21353. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21354. begin
  21355. if thebits = 0 then
  21356. pTDefRegMap(@Self)^.clr := $00000100
  21357. else
  21358. pTDefRegMap(@Self)^.&set := $00000100;
  21359. end;
  21360. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21361. begin
  21362. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21363. end;
  21364. procedure TPMP_PMMODE.setMODE1; inline;
  21365. begin
  21366. pTDefRegMap(@Self)^.&set := $00000200;
  21367. end;
  21368. procedure TPMP_PMMODE.clearMODE1; inline;
  21369. begin
  21370. pTDefRegMap(@Self)^.clr := $00000200;
  21371. end;
  21372. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21373. begin
  21374. if thebits = 0 then
  21375. pTDefRegMap(@Self)^.clr := $00000200
  21376. else
  21377. pTDefRegMap(@Self)^.&set := $00000200;
  21378. end;
  21379. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21380. begin
  21381. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21382. end;
  21383. procedure TPMP_PMMODE.setINCM0; inline;
  21384. begin
  21385. pTDefRegMap(@Self)^.&set := $00000800;
  21386. end;
  21387. procedure TPMP_PMMODE.clearINCM0; inline;
  21388. begin
  21389. pTDefRegMap(@Self)^.clr := $00000800;
  21390. end;
  21391. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21392. begin
  21393. if thebits = 0 then
  21394. pTDefRegMap(@Self)^.clr := $00000800
  21395. else
  21396. pTDefRegMap(@Self)^.&set := $00000800;
  21397. end;
  21398. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21399. begin
  21400. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21401. end;
  21402. procedure TPMP_PMMODE.setINCM1; inline;
  21403. begin
  21404. pTDefRegMap(@Self)^.&set := $00001000;
  21405. end;
  21406. procedure TPMP_PMMODE.clearINCM1; inline;
  21407. begin
  21408. pTDefRegMap(@Self)^.clr := $00001000;
  21409. end;
  21410. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21411. begin
  21412. if thebits = 0 then
  21413. pTDefRegMap(@Self)^.clr := $00001000
  21414. else
  21415. pTDefRegMap(@Self)^.&set := $00001000;
  21416. end;
  21417. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21418. begin
  21419. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21420. end;
  21421. procedure TPMP_PMMODE.setIRQM0; inline;
  21422. begin
  21423. pTDefRegMap(@Self)^.&set := $00002000;
  21424. end;
  21425. procedure TPMP_PMMODE.clearIRQM0; inline;
  21426. begin
  21427. pTDefRegMap(@Self)^.clr := $00002000;
  21428. end;
  21429. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21430. begin
  21431. if thebits = 0 then
  21432. pTDefRegMap(@Self)^.clr := $00002000
  21433. else
  21434. pTDefRegMap(@Self)^.&set := $00002000;
  21435. end;
  21436. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21437. begin
  21438. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21439. end;
  21440. procedure TPMP_PMMODE.setIRQM1; inline;
  21441. begin
  21442. pTDefRegMap(@Self)^.&set := $00004000;
  21443. end;
  21444. procedure TPMP_PMMODE.clearIRQM1; inline;
  21445. begin
  21446. pTDefRegMap(@Self)^.clr := $00004000;
  21447. end;
  21448. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21449. begin
  21450. if thebits = 0 then
  21451. pTDefRegMap(@Self)^.clr := $00004000
  21452. else
  21453. pTDefRegMap(@Self)^.&set := $00004000;
  21454. end;
  21455. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21456. begin
  21457. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21458. end;
  21459. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21460. begin
  21461. pTDefRegMap(@Self)^.val := thebits;
  21462. end;
  21463. function TPMP_PMMODE.getw : TBits_32; inline;
  21464. begin
  21465. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21466. end;
  21467. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21468. begin
  21469. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21470. end;
  21471. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21472. begin
  21473. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21474. end;
  21475. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21476. begin
  21477. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21478. end;
  21479. function TPMP_PMADDR.getCS : TBits_2; inline;
  21480. begin
  21481. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21482. end;
  21483. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21484. begin
  21485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21486. end;
  21487. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21488. begin
  21489. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21490. end;
  21491. procedure TPMP_PMADDR.setCS1; inline;
  21492. begin
  21493. pTDefRegMap(@Self)^.&set := $00004000;
  21494. end;
  21495. procedure TPMP_PMADDR.clearCS1; inline;
  21496. begin
  21497. pTDefRegMap(@Self)^.clr := $00004000;
  21498. end;
  21499. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21500. begin
  21501. if thebits = 0 then
  21502. pTDefRegMap(@Self)^.clr := $00004000
  21503. else
  21504. pTDefRegMap(@Self)^.&set := $00004000;
  21505. end;
  21506. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21507. begin
  21508. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21509. end;
  21510. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21511. begin
  21512. pTDefRegMap(@Self)^.val := thebits;
  21513. end;
  21514. function TPMP_PMADDR.getw : TBits_32; inline;
  21515. begin
  21516. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21517. end;
  21518. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  21519. begin
  21520. pTDefRegMap(@Self)^.val := thebits;
  21521. end;
  21522. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  21523. begin
  21524. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21525. end;
  21526. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  21527. begin
  21528. pTDefRegMap(@Self)^.val := thebits;
  21529. end;
  21530. function TPMP_PMDOUT.getw : TBits_32; inline;
  21531. begin
  21532. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21533. end;
  21534. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  21535. begin
  21536. pTDefRegMap(@Self)^.val := thebits;
  21537. end;
  21538. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  21539. begin
  21540. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21541. end;
  21542. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  21543. begin
  21544. pTDefRegMap(@Self)^.val := thebits;
  21545. end;
  21546. function TPMP_PMDIN.getw : TBits_32; inline;
  21547. begin
  21548. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21549. end;
  21550. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  21551. begin
  21552. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  21553. end;
  21554. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  21555. begin
  21556. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  21557. end;
  21558. procedure TPMP_PMAEN.setPTEN0; inline;
  21559. begin
  21560. pTDefRegMap(@Self)^.&set := $00000001;
  21561. end;
  21562. procedure TPMP_PMAEN.clearPTEN0; inline;
  21563. begin
  21564. pTDefRegMap(@Self)^.clr := $00000001;
  21565. end;
  21566. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  21567. begin
  21568. if thebits = 0 then
  21569. pTDefRegMap(@Self)^.clr := $00000001
  21570. else
  21571. pTDefRegMap(@Self)^.&set := $00000001;
  21572. end;
  21573. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  21574. begin
  21575. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21576. end;
  21577. procedure TPMP_PMAEN.setPTEN1; inline;
  21578. begin
  21579. pTDefRegMap(@Self)^.&set := $00000002;
  21580. end;
  21581. procedure TPMP_PMAEN.clearPTEN1; inline;
  21582. begin
  21583. pTDefRegMap(@Self)^.clr := $00000002;
  21584. end;
  21585. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  21586. begin
  21587. if thebits = 0 then
  21588. pTDefRegMap(@Self)^.clr := $00000002
  21589. else
  21590. pTDefRegMap(@Self)^.&set := $00000002;
  21591. end;
  21592. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  21593. begin
  21594. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21595. end;
  21596. procedure TPMP_PMAEN.setPTEN2; inline;
  21597. begin
  21598. pTDefRegMap(@Self)^.&set := $00000004;
  21599. end;
  21600. procedure TPMP_PMAEN.clearPTEN2; inline;
  21601. begin
  21602. pTDefRegMap(@Self)^.clr := $00000004;
  21603. end;
  21604. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  21605. begin
  21606. if thebits = 0 then
  21607. pTDefRegMap(@Self)^.clr := $00000004
  21608. else
  21609. pTDefRegMap(@Self)^.&set := $00000004;
  21610. end;
  21611. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  21612. begin
  21613. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21614. end;
  21615. procedure TPMP_PMAEN.setPTEN3; inline;
  21616. begin
  21617. pTDefRegMap(@Self)^.&set := $00000008;
  21618. end;
  21619. procedure TPMP_PMAEN.clearPTEN3; inline;
  21620. begin
  21621. pTDefRegMap(@Self)^.clr := $00000008;
  21622. end;
  21623. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  21624. begin
  21625. if thebits = 0 then
  21626. pTDefRegMap(@Self)^.clr := $00000008
  21627. else
  21628. pTDefRegMap(@Self)^.&set := $00000008;
  21629. end;
  21630. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  21631. begin
  21632. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21633. end;
  21634. procedure TPMP_PMAEN.setPTEN4; inline;
  21635. begin
  21636. pTDefRegMap(@Self)^.&set := $00000010;
  21637. end;
  21638. procedure TPMP_PMAEN.clearPTEN4; inline;
  21639. begin
  21640. pTDefRegMap(@Self)^.clr := $00000010;
  21641. end;
  21642. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  21643. begin
  21644. if thebits = 0 then
  21645. pTDefRegMap(@Self)^.clr := $00000010
  21646. else
  21647. pTDefRegMap(@Self)^.&set := $00000010;
  21648. end;
  21649. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  21650. begin
  21651. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21652. end;
  21653. procedure TPMP_PMAEN.setPTEN5; inline;
  21654. begin
  21655. pTDefRegMap(@Self)^.&set := $00000020;
  21656. end;
  21657. procedure TPMP_PMAEN.clearPTEN5; inline;
  21658. begin
  21659. pTDefRegMap(@Self)^.clr := $00000020;
  21660. end;
  21661. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  21662. begin
  21663. if thebits = 0 then
  21664. pTDefRegMap(@Self)^.clr := $00000020
  21665. else
  21666. pTDefRegMap(@Self)^.&set := $00000020;
  21667. end;
  21668. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  21669. begin
  21670. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21671. end;
  21672. procedure TPMP_PMAEN.setPTEN6; inline;
  21673. begin
  21674. pTDefRegMap(@Self)^.&set := $00000040;
  21675. end;
  21676. procedure TPMP_PMAEN.clearPTEN6; inline;
  21677. begin
  21678. pTDefRegMap(@Self)^.clr := $00000040;
  21679. end;
  21680. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  21681. begin
  21682. if thebits = 0 then
  21683. pTDefRegMap(@Self)^.clr := $00000040
  21684. else
  21685. pTDefRegMap(@Self)^.&set := $00000040;
  21686. end;
  21687. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  21688. begin
  21689. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21690. end;
  21691. procedure TPMP_PMAEN.setPTEN7; inline;
  21692. begin
  21693. pTDefRegMap(@Self)^.&set := $00000080;
  21694. end;
  21695. procedure TPMP_PMAEN.clearPTEN7; inline;
  21696. begin
  21697. pTDefRegMap(@Self)^.clr := $00000080;
  21698. end;
  21699. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  21700. begin
  21701. if thebits = 0 then
  21702. pTDefRegMap(@Self)^.clr := $00000080
  21703. else
  21704. pTDefRegMap(@Self)^.&set := $00000080;
  21705. end;
  21706. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  21707. begin
  21708. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21709. end;
  21710. procedure TPMP_PMAEN.setPTEN8; inline;
  21711. begin
  21712. pTDefRegMap(@Self)^.&set := $00000100;
  21713. end;
  21714. procedure TPMP_PMAEN.clearPTEN8; inline;
  21715. begin
  21716. pTDefRegMap(@Self)^.clr := $00000100;
  21717. end;
  21718. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  21719. begin
  21720. if thebits = 0 then
  21721. pTDefRegMap(@Self)^.clr := $00000100
  21722. else
  21723. pTDefRegMap(@Self)^.&set := $00000100;
  21724. end;
  21725. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  21726. begin
  21727. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21728. end;
  21729. procedure TPMP_PMAEN.setPTEN9; inline;
  21730. begin
  21731. pTDefRegMap(@Self)^.&set := $00000200;
  21732. end;
  21733. procedure TPMP_PMAEN.clearPTEN9; inline;
  21734. begin
  21735. pTDefRegMap(@Self)^.clr := $00000200;
  21736. end;
  21737. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  21738. begin
  21739. if thebits = 0 then
  21740. pTDefRegMap(@Self)^.clr := $00000200
  21741. else
  21742. pTDefRegMap(@Self)^.&set := $00000200;
  21743. end;
  21744. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  21745. begin
  21746. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21747. end;
  21748. procedure TPMP_PMAEN.setPTEN10; inline;
  21749. begin
  21750. pTDefRegMap(@Self)^.&set := $00000400;
  21751. end;
  21752. procedure TPMP_PMAEN.clearPTEN10; inline;
  21753. begin
  21754. pTDefRegMap(@Self)^.clr := $00000400;
  21755. end;
  21756. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  21757. begin
  21758. if thebits = 0 then
  21759. pTDefRegMap(@Self)^.clr := $00000400
  21760. else
  21761. pTDefRegMap(@Self)^.&set := $00000400;
  21762. end;
  21763. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  21764. begin
  21765. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21766. end;
  21767. procedure TPMP_PMAEN.setPTEN11; inline;
  21768. begin
  21769. pTDefRegMap(@Self)^.&set := $00000800;
  21770. end;
  21771. procedure TPMP_PMAEN.clearPTEN11; inline;
  21772. begin
  21773. pTDefRegMap(@Self)^.clr := $00000800;
  21774. end;
  21775. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  21776. begin
  21777. if thebits = 0 then
  21778. pTDefRegMap(@Self)^.clr := $00000800
  21779. else
  21780. pTDefRegMap(@Self)^.&set := $00000800;
  21781. end;
  21782. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  21783. begin
  21784. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21785. end;
  21786. procedure TPMP_PMAEN.setPTEN12; inline;
  21787. begin
  21788. pTDefRegMap(@Self)^.&set := $00001000;
  21789. end;
  21790. procedure TPMP_PMAEN.clearPTEN12; inline;
  21791. begin
  21792. pTDefRegMap(@Self)^.clr := $00001000;
  21793. end;
  21794. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  21795. begin
  21796. if thebits = 0 then
  21797. pTDefRegMap(@Self)^.clr := $00001000
  21798. else
  21799. pTDefRegMap(@Self)^.&set := $00001000;
  21800. end;
  21801. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  21802. begin
  21803. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21804. end;
  21805. procedure TPMP_PMAEN.setPTEN13; inline;
  21806. begin
  21807. pTDefRegMap(@Self)^.&set := $00002000;
  21808. end;
  21809. procedure TPMP_PMAEN.clearPTEN13; inline;
  21810. begin
  21811. pTDefRegMap(@Self)^.clr := $00002000;
  21812. end;
  21813. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  21814. begin
  21815. if thebits = 0 then
  21816. pTDefRegMap(@Self)^.clr := $00002000
  21817. else
  21818. pTDefRegMap(@Self)^.&set := $00002000;
  21819. end;
  21820. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  21821. begin
  21822. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21823. end;
  21824. procedure TPMP_PMAEN.setPTEN14; inline;
  21825. begin
  21826. pTDefRegMap(@Self)^.&set := $00004000;
  21827. end;
  21828. procedure TPMP_PMAEN.clearPTEN14; inline;
  21829. begin
  21830. pTDefRegMap(@Self)^.clr := $00004000;
  21831. end;
  21832. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  21833. begin
  21834. if thebits = 0 then
  21835. pTDefRegMap(@Self)^.clr := $00004000
  21836. else
  21837. pTDefRegMap(@Self)^.&set := $00004000;
  21838. end;
  21839. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  21840. begin
  21841. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21842. end;
  21843. procedure TPMP_PMAEN.setPTEN15; inline;
  21844. begin
  21845. pTDefRegMap(@Self)^.&set := $00008000;
  21846. end;
  21847. procedure TPMP_PMAEN.clearPTEN15; inline;
  21848. begin
  21849. pTDefRegMap(@Self)^.clr := $00008000;
  21850. end;
  21851. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  21852. begin
  21853. if thebits = 0 then
  21854. pTDefRegMap(@Self)^.clr := $00008000
  21855. else
  21856. pTDefRegMap(@Self)^.&set := $00008000;
  21857. end;
  21858. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  21859. begin
  21860. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21861. end;
  21862. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  21863. begin
  21864. pTDefRegMap(@Self)^.val := thebits;
  21865. end;
  21866. function TPMP_PMAEN.getw : TBits_32; inline;
  21867. begin
  21868. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21869. end;
  21870. procedure TPMP_PMSTAT.setOB0E; inline;
  21871. begin
  21872. pTDefRegMap(@Self)^.&set := $00000001;
  21873. end;
  21874. procedure TPMP_PMSTAT.clearOB0E; inline;
  21875. begin
  21876. pTDefRegMap(@Self)^.clr := $00000001;
  21877. end;
  21878. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  21879. begin
  21880. if thebits = 0 then
  21881. pTDefRegMap(@Self)^.clr := $00000001
  21882. else
  21883. pTDefRegMap(@Self)^.&set := $00000001;
  21884. end;
  21885. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  21886. begin
  21887. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21888. end;
  21889. procedure TPMP_PMSTAT.setOB1E; inline;
  21890. begin
  21891. pTDefRegMap(@Self)^.&set := $00000002;
  21892. end;
  21893. procedure TPMP_PMSTAT.clearOB1E; inline;
  21894. begin
  21895. pTDefRegMap(@Self)^.clr := $00000002;
  21896. end;
  21897. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  21898. begin
  21899. if thebits = 0 then
  21900. pTDefRegMap(@Self)^.clr := $00000002
  21901. else
  21902. pTDefRegMap(@Self)^.&set := $00000002;
  21903. end;
  21904. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  21905. begin
  21906. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21907. end;
  21908. procedure TPMP_PMSTAT.setOB2E; inline;
  21909. begin
  21910. pTDefRegMap(@Self)^.&set := $00000004;
  21911. end;
  21912. procedure TPMP_PMSTAT.clearOB2E; inline;
  21913. begin
  21914. pTDefRegMap(@Self)^.clr := $00000004;
  21915. end;
  21916. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  21917. begin
  21918. if thebits = 0 then
  21919. pTDefRegMap(@Self)^.clr := $00000004
  21920. else
  21921. pTDefRegMap(@Self)^.&set := $00000004;
  21922. end;
  21923. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  21924. begin
  21925. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21926. end;
  21927. procedure TPMP_PMSTAT.setOB3E; inline;
  21928. begin
  21929. pTDefRegMap(@Self)^.&set := $00000008;
  21930. end;
  21931. procedure TPMP_PMSTAT.clearOB3E; inline;
  21932. begin
  21933. pTDefRegMap(@Self)^.clr := $00000008;
  21934. end;
  21935. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  21936. begin
  21937. if thebits = 0 then
  21938. pTDefRegMap(@Self)^.clr := $00000008
  21939. else
  21940. pTDefRegMap(@Self)^.&set := $00000008;
  21941. end;
  21942. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  21943. begin
  21944. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21945. end;
  21946. procedure TPMP_PMSTAT.setOBUF; inline;
  21947. begin
  21948. pTDefRegMap(@Self)^.&set := $00000040;
  21949. end;
  21950. procedure TPMP_PMSTAT.clearOBUF; inline;
  21951. begin
  21952. pTDefRegMap(@Self)^.clr := $00000040;
  21953. end;
  21954. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  21955. begin
  21956. if thebits = 0 then
  21957. pTDefRegMap(@Self)^.clr := $00000040
  21958. else
  21959. pTDefRegMap(@Self)^.&set := $00000040;
  21960. end;
  21961. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  21962. begin
  21963. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21964. end;
  21965. procedure TPMP_PMSTAT.setOBE; inline;
  21966. begin
  21967. pTDefRegMap(@Self)^.&set := $00000080;
  21968. end;
  21969. procedure TPMP_PMSTAT.clearOBE; inline;
  21970. begin
  21971. pTDefRegMap(@Self)^.clr := $00000080;
  21972. end;
  21973. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  21974. begin
  21975. if thebits = 0 then
  21976. pTDefRegMap(@Self)^.clr := $00000080
  21977. else
  21978. pTDefRegMap(@Self)^.&set := $00000080;
  21979. end;
  21980. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  21981. begin
  21982. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21983. end;
  21984. procedure TPMP_PMSTAT.setIB0F; inline;
  21985. begin
  21986. pTDefRegMap(@Self)^.&set := $00000100;
  21987. end;
  21988. procedure TPMP_PMSTAT.clearIB0F; inline;
  21989. begin
  21990. pTDefRegMap(@Self)^.clr := $00000100;
  21991. end;
  21992. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  21993. begin
  21994. if thebits = 0 then
  21995. pTDefRegMap(@Self)^.clr := $00000100
  21996. else
  21997. pTDefRegMap(@Self)^.&set := $00000100;
  21998. end;
  21999. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  22000. begin
  22001. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22002. end;
  22003. procedure TPMP_PMSTAT.setIB1F; inline;
  22004. begin
  22005. pTDefRegMap(@Self)^.&set := $00000200;
  22006. end;
  22007. procedure TPMP_PMSTAT.clearIB1F; inline;
  22008. begin
  22009. pTDefRegMap(@Self)^.clr := $00000200;
  22010. end;
  22011. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  22012. begin
  22013. if thebits = 0 then
  22014. pTDefRegMap(@Self)^.clr := $00000200
  22015. else
  22016. pTDefRegMap(@Self)^.&set := $00000200;
  22017. end;
  22018. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  22019. begin
  22020. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22021. end;
  22022. procedure TPMP_PMSTAT.setIB2F; inline;
  22023. begin
  22024. pTDefRegMap(@Self)^.&set := $00000400;
  22025. end;
  22026. procedure TPMP_PMSTAT.clearIB2F; inline;
  22027. begin
  22028. pTDefRegMap(@Self)^.clr := $00000400;
  22029. end;
  22030. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  22031. begin
  22032. if thebits = 0 then
  22033. pTDefRegMap(@Self)^.clr := $00000400
  22034. else
  22035. pTDefRegMap(@Self)^.&set := $00000400;
  22036. end;
  22037. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  22038. begin
  22039. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22040. end;
  22041. procedure TPMP_PMSTAT.setIB3F; inline;
  22042. begin
  22043. pTDefRegMap(@Self)^.&set := $00000800;
  22044. end;
  22045. procedure TPMP_PMSTAT.clearIB3F; inline;
  22046. begin
  22047. pTDefRegMap(@Self)^.clr := $00000800;
  22048. end;
  22049. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  22050. begin
  22051. if thebits = 0 then
  22052. pTDefRegMap(@Self)^.clr := $00000800
  22053. else
  22054. pTDefRegMap(@Self)^.&set := $00000800;
  22055. end;
  22056. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  22057. begin
  22058. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22059. end;
  22060. procedure TPMP_PMSTAT.setIBOV; inline;
  22061. begin
  22062. pTDefRegMap(@Self)^.&set := $00004000;
  22063. end;
  22064. procedure TPMP_PMSTAT.clearIBOV; inline;
  22065. begin
  22066. pTDefRegMap(@Self)^.clr := $00004000;
  22067. end;
  22068. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  22069. begin
  22070. if thebits = 0 then
  22071. pTDefRegMap(@Self)^.clr := $00004000
  22072. else
  22073. pTDefRegMap(@Self)^.&set := $00004000;
  22074. end;
  22075. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  22076. begin
  22077. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22078. end;
  22079. procedure TPMP_PMSTAT.setIBF; inline;
  22080. begin
  22081. pTDefRegMap(@Self)^.&set := $00008000;
  22082. end;
  22083. procedure TPMP_PMSTAT.clearIBF; inline;
  22084. begin
  22085. pTDefRegMap(@Self)^.clr := $00008000;
  22086. end;
  22087. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  22088. begin
  22089. if thebits = 0 then
  22090. pTDefRegMap(@Self)^.clr := $00008000
  22091. else
  22092. pTDefRegMap(@Self)^.&set := $00008000;
  22093. end;
  22094. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  22095. begin
  22096. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22097. end;
  22098. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  22099. begin
  22100. pTDefRegMap(@Self)^.val := thebits;
  22101. end;
  22102. function TPMP_PMSTAT.getw : TBits_32; inline;
  22103. begin
  22104. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22105. end;
  22106. procedure TADC10_AD1CON1.setDONE; inline;
  22107. begin
  22108. pTDefRegMap(@Self)^.&set := $00000001;
  22109. end;
  22110. procedure TADC10_AD1CON1.clearDONE; inline;
  22111. begin
  22112. pTDefRegMap(@Self)^.clr := $00000001;
  22113. end;
  22114. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  22115. begin
  22116. if thebits = 0 then
  22117. pTDefRegMap(@Self)^.clr := $00000001
  22118. else
  22119. pTDefRegMap(@Self)^.&set := $00000001;
  22120. end;
  22121. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  22122. begin
  22123. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22124. end;
  22125. procedure TADC10_AD1CON1.setSAMP; inline;
  22126. begin
  22127. pTDefRegMap(@Self)^.&set := $00000002;
  22128. end;
  22129. procedure TADC10_AD1CON1.clearSAMP; inline;
  22130. begin
  22131. pTDefRegMap(@Self)^.clr := $00000002;
  22132. end;
  22133. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  22134. begin
  22135. if thebits = 0 then
  22136. pTDefRegMap(@Self)^.clr := $00000002
  22137. else
  22138. pTDefRegMap(@Self)^.&set := $00000002;
  22139. end;
  22140. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  22141. begin
  22142. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22143. end;
  22144. procedure TADC10_AD1CON1.setASAM; inline;
  22145. begin
  22146. pTDefRegMap(@Self)^.&set := $00000004;
  22147. end;
  22148. procedure TADC10_AD1CON1.clearASAM; inline;
  22149. begin
  22150. pTDefRegMap(@Self)^.clr := $00000004;
  22151. end;
  22152. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  22153. begin
  22154. if thebits = 0 then
  22155. pTDefRegMap(@Self)^.clr := $00000004
  22156. else
  22157. pTDefRegMap(@Self)^.&set := $00000004;
  22158. end;
  22159. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  22160. begin
  22161. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22162. end;
  22163. procedure TADC10_AD1CON1.setCLRASAM; inline;
  22164. begin
  22165. pTDefRegMap(@Self)^.&set := $00000010;
  22166. end;
  22167. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  22168. begin
  22169. pTDefRegMap(@Self)^.clr := $00000010;
  22170. end;
  22171. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  22172. begin
  22173. if thebits = 0 then
  22174. pTDefRegMap(@Self)^.clr := $00000010
  22175. else
  22176. pTDefRegMap(@Self)^.&set := $00000010;
  22177. end;
  22178. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  22179. begin
  22180. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22181. end;
  22182. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  22183. begin
  22184. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  22185. end;
  22186. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  22187. begin
  22188. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  22189. end;
  22190. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  22191. begin
  22192. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  22193. end;
  22194. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  22195. begin
  22196. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  22197. end;
  22198. procedure TADC10_AD1CON1.setSIDL; inline;
  22199. begin
  22200. pTDefRegMap(@Self)^.&set := $00002000;
  22201. end;
  22202. procedure TADC10_AD1CON1.clearSIDL; inline;
  22203. begin
  22204. pTDefRegMap(@Self)^.clr := $00002000;
  22205. end;
  22206. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  22207. begin
  22208. if thebits = 0 then
  22209. pTDefRegMap(@Self)^.clr := $00002000
  22210. else
  22211. pTDefRegMap(@Self)^.&set := $00002000;
  22212. end;
  22213. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  22214. begin
  22215. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22216. end;
  22217. procedure TADC10_AD1CON1.setON; inline;
  22218. begin
  22219. pTDefRegMap(@Self)^.&set := $00008000;
  22220. end;
  22221. procedure TADC10_AD1CON1.clearON; inline;
  22222. begin
  22223. pTDefRegMap(@Self)^.clr := $00008000;
  22224. end;
  22225. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  22226. begin
  22227. if thebits = 0 then
  22228. pTDefRegMap(@Self)^.clr := $00008000
  22229. else
  22230. pTDefRegMap(@Self)^.&set := $00008000;
  22231. end;
  22232. function TADC10_AD1CON1.getON : TBits_1; inline;
  22233. begin
  22234. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22235. end;
  22236. procedure TADC10_AD1CON1.setSSRC0; inline;
  22237. begin
  22238. pTDefRegMap(@Self)^.&set := $00000020;
  22239. end;
  22240. procedure TADC10_AD1CON1.clearSSRC0; inline;
  22241. begin
  22242. pTDefRegMap(@Self)^.clr := $00000020;
  22243. end;
  22244. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  22245. begin
  22246. if thebits = 0 then
  22247. pTDefRegMap(@Self)^.clr := $00000020
  22248. else
  22249. pTDefRegMap(@Self)^.&set := $00000020;
  22250. end;
  22251. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  22252. begin
  22253. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22254. end;
  22255. procedure TADC10_AD1CON1.setSSRC1; inline;
  22256. begin
  22257. pTDefRegMap(@Self)^.&set := $00000040;
  22258. end;
  22259. procedure TADC10_AD1CON1.clearSSRC1; inline;
  22260. begin
  22261. pTDefRegMap(@Self)^.clr := $00000040;
  22262. end;
  22263. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  22264. begin
  22265. if thebits = 0 then
  22266. pTDefRegMap(@Self)^.clr := $00000040
  22267. else
  22268. pTDefRegMap(@Self)^.&set := $00000040;
  22269. end;
  22270. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  22271. begin
  22272. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22273. end;
  22274. procedure TADC10_AD1CON1.setSSRC2; inline;
  22275. begin
  22276. pTDefRegMap(@Self)^.&set := $00000080;
  22277. end;
  22278. procedure TADC10_AD1CON1.clearSSRC2; inline;
  22279. begin
  22280. pTDefRegMap(@Self)^.clr := $00000080;
  22281. end;
  22282. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  22283. begin
  22284. if thebits = 0 then
  22285. pTDefRegMap(@Self)^.clr := $00000080
  22286. else
  22287. pTDefRegMap(@Self)^.&set := $00000080;
  22288. end;
  22289. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  22290. begin
  22291. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22292. end;
  22293. procedure TADC10_AD1CON1.setFORM0; inline;
  22294. begin
  22295. pTDefRegMap(@Self)^.&set := $00000100;
  22296. end;
  22297. procedure TADC10_AD1CON1.clearFORM0; inline;
  22298. begin
  22299. pTDefRegMap(@Self)^.clr := $00000100;
  22300. end;
  22301. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22302. begin
  22303. if thebits = 0 then
  22304. pTDefRegMap(@Self)^.clr := $00000100
  22305. else
  22306. pTDefRegMap(@Self)^.&set := $00000100;
  22307. end;
  22308. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22309. begin
  22310. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22311. end;
  22312. procedure TADC10_AD1CON1.setFORM1; inline;
  22313. begin
  22314. pTDefRegMap(@Self)^.&set := $00000200;
  22315. end;
  22316. procedure TADC10_AD1CON1.clearFORM1; inline;
  22317. begin
  22318. pTDefRegMap(@Self)^.clr := $00000200;
  22319. end;
  22320. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22321. begin
  22322. if thebits = 0 then
  22323. pTDefRegMap(@Self)^.clr := $00000200
  22324. else
  22325. pTDefRegMap(@Self)^.&set := $00000200;
  22326. end;
  22327. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22328. begin
  22329. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22330. end;
  22331. procedure TADC10_AD1CON1.setFORM2; inline;
  22332. begin
  22333. pTDefRegMap(@Self)^.&set := $00000400;
  22334. end;
  22335. procedure TADC10_AD1CON1.clearFORM2; inline;
  22336. begin
  22337. pTDefRegMap(@Self)^.clr := $00000400;
  22338. end;
  22339. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22340. begin
  22341. if thebits = 0 then
  22342. pTDefRegMap(@Self)^.clr := $00000400
  22343. else
  22344. pTDefRegMap(@Self)^.&set := $00000400;
  22345. end;
  22346. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22347. begin
  22348. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22349. end;
  22350. procedure TADC10_AD1CON1.setADSIDL; inline;
  22351. begin
  22352. pTDefRegMap(@Self)^.&set := $00002000;
  22353. end;
  22354. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22355. begin
  22356. pTDefRegMap(@Self)^.clr := $00002000;
  22357. end;
  22358. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22359. begin
  22360. if thebits = 0 then
  22361. pTDefRegMap(@Self)^.clr := $00002000
  22362. else
  22363. pTDefRegMap(@Self)^.&set := $00002000;
  22364. end;
  22365. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22366. begin
  22367. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22368. end;
  22369. procedure TADC10_AD1CON1.setADON; inline;
  22370. begin
  22371. pTDefRegMap(@Self)^.&set := $00008000;
  22372. end;
  22373. procedure TADC10_AD1CON1.clearADON; inline;
  22374. begin
  22375. pTDefRegMap(@Self)^.clr := $00008000;
  22376. end;
  22377. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22378. begin
  22379. if thebits = 0 then
  22380. pTDefRegMap(@Self)^.clr := $00008000
  22381. else
  22382. pTDefRegMap(@Self)^.&set := $00008000;
  22383. end;
  22384. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22385. begin
  22386. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22387. end;
  22388. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22389. begin
  22390. pTDefRegMap(@Self)^.val := thebits;
  22391. end;
  22392. function TADC10_AD1CON1.getw : TBits_32; inline;
  22393. begin
  22394. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22395. end;
  22396. procedure TADC10_AD1CON2.setALTS; inline;
  22397. begin
  22398. pTDefRegMap(@Self)^.&set := $00000001;
  22399. end;
  22400. procedure TADC10_AD1CON2.clearALTS; inline;
  22401. begin
  22402. pTDefRegMap(@Self)^.clr := $00000001;
  22403. end;
  22404. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22405. begin
  22406. if thebits = 0 then
  22407. pTDefRegMap(@Self)^.clr := $00000001
  22408. else
  22409. pTDefRegMap(@Self)^.&set := $00000001;
  22410. end;
  22411. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22412. begin
  22413. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22414. end;
  22415. procedure TADC10_AD1CON2.setBUFM; inline;
  22416. begin
  22417. pTDefRegMap(@Self)^.&set := $00000002;
  22418. end;
  22419. procedure TADC10_AD1CON2.clearBUFM; inline;
  22420. begin
  22421. pTDefRegMap(@Self)^.clr := $00000002;
  22422. end;
  22423. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22424. begin
  22425. if thebits = 0 then
  22426. pTDefRegMap(@Self)^.clr := $00000002
  22427. else
  22428. pTDefRegMap(@Self)^.&set := $00000002;
  22429. end;
  22430. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22431. begin
  22432. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22433. end;
  22434. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22435. begin
  22436. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22437. end;
  22438. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22439. begin
  22440. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22441. end;
  22442. procedure TADC10_AD1CON2.setBUFS; inline;
  22443. begin
  22444. pTDefRegMap(@Self)^.&set := $00000080;
  22445. end;
  22446. procedure TADC10_AD1CON2.clearBUFS; inline;
  22447. begin
  22448. pTDefRegMap(@Self)^.clr := $00000080;
  22449. end;
  22450. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22451. begin
  22452. if thebits = 0 then
  22453. pTDefRegMap(@Self)^.clr := $00000080
  22454. else
  22455. pTDefRegMap(@Self)^.&set := $00000080;
  22456. end;
  22457. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22458. begin
  22459. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22460. end;
  22461. procedure TADC10_AD1CON2.setCSCNA; inline;
  22462. begin
  22463. pTDefRegMap(@Self)^.&set := $00000400;
  22464. end;
  22465. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22466. begin
  22467. pTDefRegMap(@Self)^.clr := $00000400;
  22468. end;
  22469. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22470. begin
  22471. if thebits = 0 then
  22472. pTDefRegMap(@Self)^.clr := $00000400
  22473. else
  22474. pTDefRegMap(@Self)^.&set := $00000400;
  22475. end;
  22476. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22477. begin
  22478. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22479. end;
  22480. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22481. begin
  22482. pTDefRegMap(@Self)^.&set := $00001000;
  22483. end;
  22484. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22485. begin
  22486. pTDefRegMap(@Self)^.clr := $00001000;
  22487. end;
  22488. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22489. begin
  22490. if thebits = 0 then
  22491. pTDefRegMap(@Self)^.clr := $00001000
  22492. else
  22493. pTDefRegMap(@Self)^.&set := $00001000;
  22494. end;
  22495. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22496. begin
  22497. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22498. end;
  22499. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22500. begin
  22501. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22502. end;
  22503. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22504. begin
  22505. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22506. end;
  22507. procedure TADC10_AD1CON2.setSMPI0; inline;
  22508. begin
  22509. pTDefRegMap(@Self)^.&set := $00000004;
  22510. end;
  22511. procedure TADC10_AD1CON2.clearSMPI0; inline;
  22512. begin
  22513. pTDefRegMap(@Self)^.clr := $00000004;
  22514. end;
  22515. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  22516. begin
  22517. if thebits = 0 then
  22518. pTDefRegMap(@Self)^.clr := $00000004
  22519. else
  22520. pTDefRegMap(@Self)^.&set := $00000004;
  22521. end;
  22522. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  22523. begin
  22524. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22525. end;
  22526. procedure TADC10_AD1CON2.setSMPI1; inline;
  22527. begin
  22528. pTDefRegMap(@Self)^.&set := $00000008;
  22529. end;
  22530. procedure TADC10_AD1CON2.clearSMPI1; inline;
  22531. begin
  22532. pTDefRegMap(@Self)^.clr := $00000008;
  22533. end;
  22534. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  22535. begin
  22536. if thebits = 0 then
  22537. pTDefRegMap(@Self)^.clr := $00000008
  22538. else
  22539. pTDefRegMap(@Self)^.&set := $00000008;
  22540. end;
  22541. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  22542. begin
  22543. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22544. end;
  22545. procedure TADC10_AD1CON2.setSMPI2; inline;
  22546. begin
  22547. pTDefRegMap(@Self)^.&set := $00000010;
  22548. end;
  22549. procedure TADC10_AD1CON2.clearSMPI2; inline;
  22550. begin
  22551. pTDefRegMap(@Self)^.clr := $00000010;
  22552. end;
  22553. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  22554. begin
  22555. if thebits = 0 then
  22556. pTDefRegMap(@Self)^.clr := $00000010
  22557. else
  22558. pTDefRegMap(@Self)^.&set := $00000010;
  22559. end;
  22560. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  22561. begin
  22562. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22563. end;
  22564. procedure TADC10_AD1CON2.setSMPI3; inline;
  22565. begin
  22566. pTDefRegMap(@Self)^.&set := $00000020;
  22567. end;
  22568. procedure TADC10_AD1CON2.clearSMPI3; inline;
  22569. begin
  22570. pTDefRegMap(@Self)^.clr := $00000020;
  22571. end;
  22572. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  22573. begin
  22574. if thebits = 0 then
  22575. pTDefRegMap(@Self)^.clr := $00000020
  22576. else
  22577. pTDefRegMap(@Self)^.&set := $00000020;
  22578. end;
  22579. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  22580. begin
  22581. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22582. end;
  22583. procedure TADC10_AD1CON2.setVCFG0; inline;
  22584. begin
  22585. pTDefRegMap(@Self)^.&set := $00002000;
  22586. end;
  22587. procedure TADC10_AD1CON2.clearVCFG0; inline;
  22588. begin
  22589. pTDefRegMap(@Self)^.clr := $00002000;
  22590. end;
  22591. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  22592. begin
  22593. if thebits = 0 then
  22594. pTDefRegMap(@Self)^.clr := $00002000
  22595. else
  22596. pTDefRegMap(@Self)^.&set := $00002000;
  22597. end;
  22598. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  22599. begin
  22600. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22601. end;
  22602. procedure TADC10_AD1CON2.setVCFG1; inline;
  22603. begin
  22604. pTDefRegMap(@Self)^.&set := $00004000;
  22605. end;
  22606. procedure TADC10_AD1CON2.clearVCFG1; inline;
  22607. begin
  22608. pTDefRegMap(@Self)^.clr := $00004000;
  22609. end;
  22610. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  22611. begin
  22612. if thebits = 0 then
  22613. pTDefRegMap(@Self)^.clr := $00004000
  22614. else
  22615. pTDefRegMap(@Self)^.&set := $00004000;
  22616. end;
  22617. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  22618. begin
  22619. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22620. end;
  22621. procedure TADC10_AD1CON2.setVCFG2; inline;
  22622. begin
  22623. pTDefRegMap(@Self)^.&set := $00008000;
  22624. end;
  22625. procedure TADC10_AD1CON2.clearVCFG2; inline;
  22626. begin
  22627. pTDefRegMap(@Self)^.clr := $00008000;
  22628. end;
  22629. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  22630. begin
  22631. if thebits = 0 then
  22632. pTDefRegMap(@Self)^.clr := $00008000
  22633. else
  22634. pTDefRegMap(@Self)^.&set := $00008000;
  22635. end;
  22636. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  22637. begin
  22638. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22639. end;
  22640. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  22641. begin
  22642. pTDefRegMap(@Self)^.val := thebits;
  22643. end;
  22644. function TADC10_AD1CON2.getw : TBits_32; inline;
  22645. begin
  22646. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22647. end;
  22648. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  22649. begin
  22650. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  22651. end;
  22652. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  22653. begin
  22654. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  22655. end;
  22656. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  22657. begin
  22658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  22659. end;
  22660. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  22661. begin
  22662. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  22663. end;
  22664. procedure TADC10_AD1CON3.setADRC; inline;
  22665. begin
  22666. pTDefRegMap(@Self)^.&set := $00008000;
  22667. end;
  22668. procedure TADC10_AD1CON3.clearADRC; inline;
  22669. begin
  22670. pTDefRegMap(@Self)^.clr := $00008000;
  22671. end;
  22672. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  22673. begin
  22674. if thebits = 0 then
  22675. pTDefRegMap(@Self)^.clr := $00008000
  22676. else
  22677. pTDefRegMap(@Self)^.&set := $00008000;
  22678. end;
  22679. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  22680. begin
  22681. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22682. end;
  22683. procedure TADC10_AD1CON3.setADCS0; inline;
  22684. begin
  22685. pTDefRegMap(@Self)^.&set := $00000001;
  22686. end;
  22687. procedure TADC10_AD1CON3.clearADCS0; inline;
  22688. begin
  22689. pTDefRegMap(@Self)^.clr := $00000001;
  22690. end;
  22691. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  22692. begin
  22693. if thebits = 0 then
  22694. pTDefRegMap(@Self)^.clr := $00000001
  22695. else
  22696. pTDefRegMap(@Self)^.&set := $00000001;
  22697. end;
  22698. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  22699. begin
  22700. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22701. end;
  22702. procedure TADC10_AD1CON3.setADCS1; inline;
  22703. begin
  22704. pTDefRegMap(@Self)^.&set := $00000002;
  22705. end;
  22706. procedure TADC10_AD1CON3.clearADCS1; inline;
  22707. begin
  22708. pTDefRegMap(@Self)^.clr := $00000002;
  22709. end;
  22710. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  22711. begin
  22712. if thebits = 0 then
  22713. pTDefRegMap(@Self)^.clr := $00000002
  22714. else
  22715. pTDefRegMap(@Self)^.&set := $00000002;
  22716. end;
  22717. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  22718. begin
  22719. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22720. end;
  22721. procedure TADC10_AD1CON3.setADCS2; inline;
  22722. begin
  22723. pTDefRegMap(@Self)^.&set := $00000004;
  22724. end;
  22725. procedure TADC10_AD1CON3.clearADCS2; inline;
  22726. begin
  22727. pTDefRegMap(@Self)^.clr := $00000004;
  22728. end;
  22729. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  22730. begin
  22731. if thebits = 0 then
  22732. pTDefRegMap(@Self)^.clr := $00000004
  22733. else
  22734. pTDefRegMap(@Self)^.&set := $00000004;
  22735. end;
  22736. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  22737. begin
  22738. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22739. end;
  22740. procedure TADC10_AD1CON3.setADCS3; inline;
  22741. begin
  22742. pTDefRegMap(@Self)^.&set := $00000008;
  22743. end;
  22744. procedure TADC10_AD1CON3.clearADCS3; inline;
  22745. begin
  22746. pTDefRegMap(@Self)^.clr := $00000008;
  22747. end;
  22748. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  22749. begin
  22750. if thebits = 0 then
  22751. pTDefRegMap(@Self)^.clr := $00000008
  22752. else
  22753. pTDefRegMap(@Self)^.&set := $00000008;
  22754. end;
  22755. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  22756. begin
  22757. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22758. end;
  22759. procedure TADC10_AD1CON3.setADCS4; inline;
  22760. begin
  22761. pTDefRegMap(@Self)^.&set := $00000010;
  22762. end;
  22763. procedure TADC10_AD1CON3.clearADCS4; inline;
  22764. begin
  22765. pTDefRegMap(@Self)^.clr := $00000010;
  22766. end;
  22767. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  22768. begin
  22769. if thebits = 0 then
  22770. pTDefRegMap(@Self)^.clr := $00000010
  22771. else
  22772. pTDefRegMap(@Self)^.&set := $00000010;
  22773. end;
  22774. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  22775. begin
  22776. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22777. end;
  22778. procedure TADC10_AD1CON3.setADCS5; inline;
  22779. begin
  22780. pTDefRegMap(@Self)^.&set := $00000020;
  22781. end;
  22782. procedure TADC10_AD1CON3.clearADCS5; inline;
  22783. begin
  22784. pTDefRegMap(@Self)^.clr := $00000020;
  22785. end;
  22786. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  22787. begin
  22788. if thebits = 0 then
  22789. pTDefRegMap(@Self)^.clr := $00000020
  22790. else
  22791. pTDefRegMap(@Self)^.&set := $00000020;
  22792. end;
  22793. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  22794. begin
  22795. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22796. end;
  22797. procedure TADC10_AD1CON3.setADCS6; inline;
  22798. begin
  22799. pTDefRegMap(@Self)^.&set := $00000040;
  22800. end;
  22801. procedure TADC10_AD1CON3.clearADCS6; inline;
  22802. begin
  22803. pTDefRegMap(@Self)^.clr := $00000040;
  22804. end;
  22805. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  22806. begin
  22807. if thebits = 0 then
  22808. pTDefRegMap(@Self)^.clr := $00000040
  22809. else
  22810. pTDefRegMap(@Self)^.&set := $00000040;
  22811. end;
  22812. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  22813. begin
  22814. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22815. end;
  22816. procedure TADC10_AD1CON3.setADCS7; inline;
  22817. begin
  22818. pTDefRegMap(@Self)^.&set := $00000080;
  22819. end;
  22820. procedure TADC10_AD1CON3.clearADCS7; inline;
  22821. begin
  22822. pTDefRegMap(@Self)^.clr := $00000080;
  22823. end;
  22824. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  22825. begin
  22826. if thebits = 0 then
  22827. pTDefRegMap(@Self)^.clr := $00000080
  22828. else
  22829. pTDefRegMap(@Self)^.&set := $00000080;
  22830. end;
  22831. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  22832. begin
  22833. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22834. end;
  22835. procedure TADC10_AD1CON3.setSAMC0; inline;
  22836. begin
  22837. pTDefRegMap(@Self)^.&set := $00000100;
  22838. end;
  22839. procedure TADC10_AD1CON3.clearSAMC0; inline;
  22840. begin
  22841. pTDefRegMap(@Self)^.clr := $00000100;
  22842. end;
  22843. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  22844. begin
  22845. if thebits = 0 then
  22846. pTDefRegMap(@Self)^.clr := $00000100
  22847. else
  22848. pTDefRegMap(@Self)^.&set := $00000100;
  22849. end;
  22850. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  22851. begin
  22852. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22853. end;
  22854. procedure TADC10_AD1CON3.setSAMC1; inline;
  22855. begin
  22856. pTDefRegMap(@Self)^.&set := $00000200;
  22857. end;
  22858. procedure TADC10_AD1CON3.clearSAMC1; inline;
  22859. begin
  22860. pTDefRegMap(@Self)^.clr := $00000200;
  22861. end;
  22862. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  22863. begin
  22864. if thebits = 0 then
  22865. pTDefRegMap(@Self)^.clr := $00000200
  22866. else
  22867. pTDefRegMap(@Self)^.&set := $00000200;
  22868. end;
  22869. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  22870. begin
  22871. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22872. end;
  22873. procedure TADC10_AD1CON3.setSAMC2; inline;
  22874. begin
  22875. pTDefRegMap(@Self)^.&set := $00000400;
  22876. end;
  22877. procedure TADC10_AD1CON3.clearSAMC2; inline;
  22878. begin
  22879. pTDefRegMap(@Self)^.clr := $00000400;
  22880. end;
  22881. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  22882. begin
  22883. if thebits = 0 then
  22884. pTDefRegMap(@Self)^.clr := $00000400
  22885. else
  22886. pTDefRegMap(@Self)^.&set := $00000400;
  22887. end;
  22888. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  22889. begin
  22890. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22891. end;
  22892. procedure TADC10_AD1CON3.setSAMC3; inline;
  22893. begin
  22894. pTDefRegMap(@Self)^.&set := $00000800;
  22895. end;
  22896. procedure TADC10_AD1CON3.clearSAMC3; inline;
  22897. begin
  22898. pTDefRegMap(@Self)^.clr := $00000800;
  22899. end;
  22900. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  22901. begin
  22902. if thebits = 0 then
  22903. pTDefRegMap(@Self)^.clr := $00000800
  22904. else
  22905. pTDefRegMap(@Self)^.&set := $00000800;
  22906. end;
  22907. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  22908. begin
  22909. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22910. end;
  22911. procedure TADC10_AD1CON3.setSAMC4; inline;
  22912. begin
  22913. pTDefRegMap(@Self)^.&set := $00001000;
  22914. end;
  22915. procedure TADC10_AD1CON3.clearSAMC4; inline;
  22916. begin
  22917. pTDefRegMap(@Self)^.clr := $00001000;
  22918. end;
  22919. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  22920. begin
  22921. if thebits = 0 then
  22922. pTDefRegMap(@Self)^.clr := $00001000
  22923. else
  22924. pTDefRegMap(@Self)^.&set := $00001000;
  22925. end;
  22926. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  22927. begin
  22928. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22929. end;
  22930. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  22931. begin
  22932. pTDefRegMap(@Self)^.val := thebits;
  22933. end;
  22934. function TADC10_AD1CON3.getw : TBits_32; inline;
  22935. begin
  22936. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22937. end;
  22938. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  22939. begin
  22940. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  22941. end;
  22942. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  22943. begin
  22944. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  22945. end;
  22946. procedure TADC10_AD1CHS.setCH0NA; inline;
  22947. begin
  22948. pTDefRegMap(@Self)^.&set := $00800000;
  22949. end;
  22950. procedure TADC10_AD1CHS.clearCH0NA; inline;
  22951. begin
  22952. pTDefRegMap(@Self)^.clr := $00800000;
  22953. end;
  22954. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  22955. begin
  22956. if thebits = 0 then
  22957. pTDefRegMap(@Self)^.clr := $00800000
  22958. else
  22959. pTDefRegMap(@Self)^.&set := $00800000;
  22960. end;
  22961. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  22962. begin
  22963. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22964. end;
  22965. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  22966. begin
  22967. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  22968. end;
  22969. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  22970. begin
  22971. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  22972. end;
  22973. procedure TADC10_AD1CHS.setCH0NB; inline;
  22974. begin
  22975. pTDefRegMap(@Self)^.&set := $80000000;
  22976. end;
  22977. procedure TADC10_AD1CHS.clearCH0NB; inline;
  22978. begin
  22979. pTDefRegMap(@Self)^.clr := $80000000;
  22980. end;
  22981. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  22982. begin
  22983. if thebits = 0 then
  22984. pTDefRegMap(@Self)^.clr := $80000000
  22985. else
  22986. pTDefRegMap(@Self)^.&set := $80000000;
  22987. end;
  22988. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  22989. begin
  22990. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22991. end;
  22992. procedure TADC10_AD1CHS.setCH0SA0; inline;
  22993. begin
  22994. pTDefRegMap(@Self)^.&set := $00010000;
  22995. end;
  22996. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  22997. begin
  22998. pTDefRegMap(@Self)^.clr := $00010000;
  22999. end;
  23000. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  23001. begin
  23002. if thebits = 0 then
  23003. pTDefRegMap(@Self)^.clr := $00010000
  23004. else
  23005. pTDefRegMap(@Self)^.&set := $00010000;
  23006. end;
  23007. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  23008. begin
  23009. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23010. end;
  23011. procedure TADC10_AD1CHS.setCH0SA1; inline;
  23012. begin
  23013. pTDefRegMap(@Self)^.&set := $00020000;
  23014. end;
  23015. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  23016. begin
  23017. pTDefRegMap(@Self)^.clr := $00020000;
  23018. end;
  23019. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  23020. begin
  23021. if thebits = 0 then
  23022. pTDefRegMap(@Self)^.clr := $00020000
  23023. else
  23024. pTDefRegMap(@Self)^.&set := $00020000;
  23025. end;
  23026. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  23027. begin
  23028. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23029. end;
  23030. procedure TADC10_AD1CHS.setCH0SA2; inline;
  23031. begin
  23032. pTDefRegMap(@Self)^.&set := $00040000;
  23033. end;
  23034. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  23035. begin
  23036. pTDefRegMap(@Self)^.clr := $00040000;
  23037. end;
  23038. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  23039. begin
  23040. if thebits = 0 then
  23041. pTDefRegMap(@Self)^.clr := $00040000
  23042. else
  23043. pTDefRegMap(@Self)^.&set := $00040000;
  23044. end;
  23045. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  23046. begin
  23047. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23048. end;
  23049. procedure TADC10_AD1CHS.setCH0SA3; inline;
  23050. begin
  23051. pTDefRegMap(@Self)^.&set := $00080000;
  23052. end;
  23053. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  23054. begin
  23055. pTDefRegMap(@Self)^.clr := $00080000;
  23056. end;
  23057. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  23058. begin
  23059. if thebits = 0 then
  23060. pTDefRegMap(@Self)^.clr := $00080000
  23061. else
  23062. pTDefRegMap(@Self)^.&set := $00080000;
  23063. end;
  23064. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  23065. begin
  23066. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  23067. end;
  23068. procedure TADC10_AD1CHS.setCH0SB0; inline;
  23069. begin
  23070. pTDefRegMap(@Self)^.&set := $01000000;
  23071. end;
  23072. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  23073. begin
  23074. pTDefRegMap(@Self)^.clr := $01000000;
  23075. end;
  23076. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  23077. begin
  23078. if thebits = 0 then
  23079. pTDefRegMap(@Self)^.clr := $01000000
  23080. else
  23081. pTDefRegMap(@Self)^.&set := $01000000;
  23082. end;
  23083. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  23084. begin
  23085. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23086. end;
  23087. procedure TADC10_AD1CHS.setCH0SB1; inline;
  23088. begin
  23089. pTDefRegMap(@Self)^.&set := $02000000;
  23090. end;
  23091. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  23092. begin
  23093. pTDefRegMap(@Self)^.clr := $02000000;
  23094. end;
  23095. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  23096. begin
  23097. if thebits = 0 then
  23098. pTDefRegMap(@Self)^.clr := $02000000
  23099. else
  23100. pTDefRegMap(@Self)^.&set := $02000000;
  23101. end;
  23102. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  23103. begin
  23104. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  23105. end;
  23106. procedure TADC10_AD1CHS.setCH0SB2; inline;
  23107. begin
  23108. pTDefRegMap(@Self)^.&set := $04000000;
  23109. end;
  23110. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  23111. begin
  23112. pTDefRegMap(@Self)^.clr := $04000000;
  23113. end;
  23114. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  23115. begin
  23116. if thebits = 0 then
  23117. pTDefRegMap(@Self)^.clr := $04000000
  23118. else
  23119. pTDefRegMap(@Self)^.&set := $04000000;
  23120. end;
  23121. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  23122. begin
  23123. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  23124. end;
  23125. procedure TADC10_AD1CHS.setCH0SB3; inline;
  23126. begin
  23127. pTDefRegMap(@Self)^.&set := $08000000;
  23128. end;
  23129. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  23130. begin
  23131. pTDefRegMap(@Self)^.clr := $08000000;
  23132. end;
  23133. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  23134. begin
  23135. if thebits = 0 then
  23136. pTDefRegMap(@Self)^.clr := $08000000
  23137. else
  23138. pTDefRegMap(@Self)^.&set := $08000000;
  23139. end;
  23140. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  23141. begin
  23142. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  23143. end;
  23144. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  23145. begin
  23146. pTDefRegMap(@Self)^.val := thebits;
  23147. end;
  23148. function TADC10_AD1CHS.getw : TBits_32; inline;
  23149. begin
  23150. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23151. end;
  23152. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  23153. begin
  23154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  23155. end;
  23156. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  23157. begin
  23158. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  23159. end;
  23160. procedure TADC10_AD1CSSL.setCSSL0; inline;
  23161. begin
  23162. pTDefRegMap(@Self)^.&set := $00000001;
  23163. end;
  23164. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  23165. begin
  23166. pTDefRegMap(@Self)^.clr := $00000001;
  23167. end;
  23168. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  23169. begin
  23170. if thebits = 0 then
  23171. pTDefRegMap(@Self)^.clr := $00000001
  23172. else
  23173. pTDefRegMap(@Self)^.&set := $00000001;
  23174. end;
  23175. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  23176. begin
  23177. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23178. end;
  23179. procedure TADC10_AD1CSSL.setCSSL1; inline;
  23180. begin
  23181. pTDefRegMap(@Self)^.&set := $00000002;
  23182. end;
  23183. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  23184. begin
  23185. pTDefRegMap(@Self)^.clr := $00000002;
  23186. end;
  23187. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  23188. begin
  23189. if thebits = 0 then
  23190. pTDefRegMap(@Self)^.clr := $00000002
  23191. else
  23192. pTDefRegMap(@Self)^.&set := $00000002;
  23193. end;
  23194. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  23195. begin
  23196. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23197. end;
  23198. procedure TADC10_AD1CSSL.setCSSL2; inline;
  23199. begin
  23200. pTDefRegMap(@Self)^.&set := $00000004;
  23201. end;
  23202. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  23203. begin
  23204. pTDefRegMap(@Self)^.clr := $00000004;
  23205. end;
  23206. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  23207. begin
  23208. if thebits = 0 then
  23209. pTDefRegMap(@Self)^.clr := $00000004
  23210. else
  23211. pTDefRegMap(@Self)^.&set := $00000004;
  23212. end;
  23213. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  23214. begin
  23215. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23216. end;
  23217. procedure TADC10_AD1CSSL.setCSSL3; inline;
  23218. begin
  23219. pTDefRegMap(@Self)^.&set := $00000008;
  23220. end;
  23221. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  23222. begin
  23223. pTDefRegMap(@Self)^.clr := $00000008;
  23224. end;
  23225. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  23226. begin
  23227. if thebits = 0 then
  23228. pTDefRegMap(@Self)^.clr := $00000008
  23229. else
  23230. pTDefRegMap(@Self)^.&set := $00000008;
  23231. end;
  23232. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  23233. begin
  23234. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23235. end;
  23236. procedure TADC10_AD1CSSL.setCSSL4; inline;
  23237. begin
  23238. pTDefRegMap(@Self)^.&set := $00000010;
  23239. end;
  23240. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  23241. begin
  23242. pTDefRegMap(@Self)^.clr := $00000010;
  23243. end;
  23244. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  23245. begin
  23246. if thebits = 0 then
  23247. pTDefRegMap(@Self)^.clr := $00000010
  23248. else
  23249. pTDefRegMap(@Self)^.&set := $00000010;
  23250. end;
  23251. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  23252. begin
  23253. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23254. end;
  23255. procedure TADC10_AD1CSSL.setCSSL5; inline;
  23256. begin
  23257. pTDefRegMap(@Self)^.&set := $00000020;
  23258. end;
  23259. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  23260. begin
  23261. pTDefRegMap(@Self)^.clr := $00000020;
  23262. end;
  23263. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  23264. begin
  23265. if thebits = 0 then
  23266. pTDefRegMap(@Self)^.clr := $00000020
  23267. else
  23268. pTDefRegMap(@Self)^.&set := $00000020;
  23269. end;
  23270. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  23271. begin
  23272. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23273. end;
  23274. procedure TADC10_AD1CSSL.setCSSL6; inline;
  23275. begin
  23276. pTDefRegMap(@Self)^.&set := $00000040;
  23277. end;
  23278. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  23279. begin
  23280. pTDefRegMap(@Self)^.clr := $00000040;
  23281. end;
  23282. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  23283. begin
  23284. if thebits = 0 then
  23285. pTDefRegMap(@Self)^.clr := $00000040
  23286. else
  23287. pTDefRegMap(@Self)^.&set := $00000040;
  23288. end;
  23289. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  23290. begin
  23291. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23292. end;
  23293. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23294. begin
  23295. pTDefRegMap(@Self)^.&set := $00000080;
  23296. end;
  23297. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23298. begin
  23299. pTDefRegMap(@Self)^.clr := $00000080;
  23300. end;
  23301. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23302. begin
  23303. if thebits = 0 then
  23304. pTDefRegMap(@Self)^.clr := $00000080
  23305. else
  23306. pTDefRegMap(@Self)^.&set := $00000080;
  23307. end;
  23308. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23309. begin
  23310. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23311. end;
  23312. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23313. begin
  23314. pTDefRegMap(@Self)^.&set := $00000100;
  23315. end;
  23316. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23317. begin
  23318. pTDefRegMap(@Self)^.clr := $00000100;
  23319. end;
  23320. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23321. begin
  23322. if thebits = 0 then
  23323. pTDefRegMap(@Self)^.clr := $00000100
  23324. else
  23325. pTDefRegMap(@Self)^.&set := $00000100;
  23326. end;
  23327. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23328. begin
  23329. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23330. end;
  23331. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23332. begin
  23333. pTDefRegMap(@Self)^.&set := $00000200;
  23334. end;
  23335. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23336. begin
  23337. pTDefRegMap(@Self)^.clr := $00000200;
  23338. end;
  23339. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23340. begin
  23341. if thebits = 0 then
  23342. pTDefRegMap(@Self)^.clr := $00000200
  23343. else
  23344. pTDefRegMap(@Self)^.&set := $00000200;
  23345. end;
  23346. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23347. begin
  23348. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23349. end;
  23350. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23351. begin
  23352. pTDefRegMap(@Self)^.&set := $00000400;
  23353. end;
  23354. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23355. begin
  23356. pTDefRegMap(@Self)^.clr := $00000400;
  23357. end;
  23358. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23359. begin
  23360. if thebits = 0 then
  23361. pTDefRegMap(@Self)^.clr := $00000400
  23362. else
  23363. pTDefRegMap(@Self)^.&set := $00000400;
  23364. end;
  23365. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23366. begin
  23367. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23368. end;
  23369. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23370. begin
  23371. pTDefRegMap(@Self)^.&set := $00000800;
  23372. end;
  23373. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23374. begin
  23375. pTDefRegMap(@Self)^.clr := $00000800;
  23376. end;
  23377. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23378. begin
  23379. if thebits = 0 then
  23380. pTDefRegMap(@Self)^.clr := $00000800
  23381. else
  23382. pTDefRegMap(@Self)^.&set := $00000800;
  23383. end;
  23384. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23385. begin
  23386. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23387. end;
  23388. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23389. begin
  23390. pTDefRegMap(@Self)^.&set := $00001000;
  23391. end;
  23392. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23393. begin
  23394. pTDefRegMap(@Self)^.clr := $00001000;
  23395. end;
  23396. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23397. begin
  23398. if thebits = 0 then
  23399. pTDefRegMap(@Self)^.clr := $00001000
  23400. else
  23401. pTDefRegMap(@Self)^.&set := $00001000;
  23402. end;
  23403. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23404. begin
  23405. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23406. end;
  23407. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23408. begin
  23409. pTDefRegMap(@Self)^.&set := $00002000;
  23410. end;
  23411. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23412. begin
  23413. pTDefRegMap(@Self)^.clr := $00002000;
  23414. end;
  23415. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23416. begin
  23417. if thebits = 0 then
  23418. pTDefRegMap(@Self)^.clr := $00002000
  23419. else
  23420. pTDefRegMap(@Self)^.&set := $00002000;
  23421. end;
  23422. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23423. begin
  23424. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23425. end;
  23426. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23427. begin
  23428. pTDefRegMap(@Self)^.&set := $00004000;
  23429. end;
  23430. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23431. begin
  23432. pTDefRegMap(@Self)^.clr := $00004000;
  23433. end;
  23434. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23435. begin
  23436. if thebits = 0 then
  23437. pTDefRegMap(@Self)^.clr := $00004000
  23438. else
  23439. pTDefRegMap(@Self)^.&set := $00004000;
  23440. end;
  23441. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23442. begin
  23443. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23444. end;
  23445. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23446. begin
  23447. pTDefRegMap(@Self)^.&set := $00008000;
  23448. end;
  23449. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23450. begin
  23451. pTDefRegMap(@Self)^.clr := $00008000;
  23452. end;
  23453. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23454. begin
  23455. if thebits = 0 then
  23456. pTDefRegMap(@Self)^.clr := $00008000
  23457. else
  23458. pTDefRegMap(@Self)^.&set := $00008000;
  23459. end;
  23460. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23461. begin
  23462. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23463. end;
  23464. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23465. begin
  23466. pTDefRegMap(@Self)^.val := thebits;
  23467. end;
  23468. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23469. begin
  23470. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23471. end;
  23472. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23473. begin
  23474. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23475. end;
  23476. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23477. begin
  23478. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23479. end;
  23480. procedure TCVR_CVRCON.setCVRSS; inline;
  23481. begin
  23482. pTDefRegMap(@Self)^.&set := $00000010;
  23483. end;
  23484. procedure TCVR_CVRCON.clearCVRSS; inline;
  23485. begin
  23486. pTDefRegMap(@Self)^.clr := $00000010;
  23487. end;
  23488. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23489. begin
  23490. if thebits = 0 then
  23491. pTDefRegMap(@Self)^.clr := $00000010
  23492. else
  23493. pTDefRegMap(@Self)^.&set := $00000010;
  23494. end;
  23495. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23496. begin
  23497. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23498. end;
  23499. procedure TCVR_CVRCON.setCVRR; inline;
  23500. begin
  23501. pTDefRegMap(@Self)^.&set := $00000020;
  23502. end;
  23503. procedure TCVR_CVRCON.clearCVRR; inline;
  23504. begin
  23505. pTDefRegMap(@Self)^.clr := $00000020;
  23506. end;
  23507. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23508. begin
  23509. if thebits = 0 then
  23510. pTDefRegMap(@Self)^.clr := $00000020
  23511. else
  23512. pTDefRegMap(@Self)^.&set := $00000020;
  23513. end;
  23514. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  23515. begin
  23516. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23517. end;
  23518. procedure TCVR_CVRCON.setCVROE; inline;
  23519. begin
  23520. pTDefRegMap(@Self)^.&set := $00000040;
  23521. end;
  23522. procedure TCVR_CVRCON.clearCVROE; inline;
  23523. begin
  23524. pTDefRegMap(@Self)^.clr := $00000040;
  23525. end;
  23526. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  23527. begin
  23528. if thebits = 0 then
  23529. pTDefRegMap(@Self)^.clr := $00000040
  23530. else
  23531. pTDefRegMap(@Self)^.&set := $00000040;
  23532. end;
  23533. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  23534. begin
  23535. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23536. end;
  23537. procedure TCVR_CVRCON.setON; inline;
  23538. begin
  23539. pTDefRegMap(@Self)^.&set := $00008000;
  23540. end;
  23541. procedure TCVR_CVRCON.clearON; inline;
  23542. begin
  23543. pTDefRegMap(@Self)^.clr := $00008000;
  23544. end;
  23545. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  23546. begin
  23547. if thebits = 0 then
  23548. pTDefRegMap(@Self)^.clr := $00008000
  23549. else
  23550. pTDefRegMap(@Self)^.&set := $00008000;
  23551. end;
  23552. function TCVR_CVRCON.getON : TBits_1; inline;
  23553. begin
  23554. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23555. end;
  23556. procedure TCVR_CVRCON.setCVR0; inline;
  23557. begin
  23558. pTDefRegMap(@Self)^.&set := $00000001;
  23559. end;
  23560. procedure TCVR_CVRCON.clearCVR0; inline;
  23561. begin
  23562. pTDefRegMap(@Self)^.clr := $00000001;
  23563. end;
  23564. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  23565. begin
  23566. if thebits = 0 then
  23567. pTDefRegMap(@Self)^.clr := $00000001
  23568. else
  23569. pTDefRegMap(@Self)^.&set := $00000001;
  23570. end;
  23571. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  23572. begin
  23573. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23574. end;
  23575. procedure TCVR_CVRCON.setCVR1; inline;
  23576. begin
  23577. pTDefRegMap(@Self)^.&set := $00000002;
  23578. end;
  23579. procedure TCVR_CVRCON.clearCVR1; inline;
  23580. begin
  23581. pTDefRegMap(@Self)^.clr := $00000002;
  23582. end;
  23583. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  23584. begin
  23585. if thebits = 0 then
  23586. pTDefRegMap(@Self)^.clr := $00000002
  23587. else
  23588. pTDefRegMap(@Self)^.&set := $00000002;
  23589. end;
  23590. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  23591. begin
  23592. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23593. end;
  23594. procedure TCVR_CVRCON.setCVR2; inline;
  23595. begin
  23596. pTDefRegMap(@Self)^.&set := $00000004;
  23597. end;
  23598. procedure TCVR_CVRCON.clearCVR2; inline;
  23599. begin
  23600. pTDefRegMap(@Self)^.clr := $00000004;
  23601. end;
  23602. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  23603. begin
  23604. if thebits = 0 then
  23605. pTDefRegMap(@Self)^.clr := $00000004
  23606. else
  23607. pTDefRegMap(@Self)^.&set := $00000004;
  23608. end;
  23609. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  23610. begin
  23611. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23612. end;
  23613. procedure TCVR_CVRCON.setCVR3; inline;
  23614. begin
  23615. pTDefRegMap(@Self)^.&set := $00000008;
  23616. end;
  23617. procedure TCVR_CVRCON.clearCVR3; inline;
  23618. begin
  23619. pTDefRegMap(@Self)^.clr := $00000008;
  23620. end;
  23621. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  23622. begin
  23623. if thebits = 0 then
  23624. pTDefRegMap(@Self)^.clr := $00000008
  23625. else
  23626. pTDefRegMap(@Self)^.&set := $00000008;
  23627. end;
  23628. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  23629. begin
  23630. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23631. end;
  23632. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  23633. begin
  23634. pTDefRegMap(@Self)^.val := thebits;
  23635. end;
  23636. function TCVR_CVRCON.getw : TBits_32; inline;
  23637. begin
  23638. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23639. end;
  23640. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  23641. begin
  23642. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23643. end;
  23644. function TCMP_CM1CON.getCCH : TBits_2; inline;
  23645. begin
  23646. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23647. end;
  23648. procedure TCMP_CM1CON.setCREF; inline;
  23649. begin
  23650. pTDefRegMap(@Self)^.&set := $00000010;
  23651. end;
  23652. procedure TCMP_CM1CON.clearCREF; inline;
  23653. begin
  23654. pTDefRegMap(@Self)^.clr := $00000010;
  23655. end;
  23656. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  23657. begin
  23658. if thebits = 0 then
  23659. pTDefRegMap(@Self)^.clr := $00000010
  23660. else
  23661. pTDefRegMap(@Self)^.&set := $00000010;
  23662. end;
  23663. function TCMP_CM1CON.getCREF : TBits_1; inline;
  23664. begin
  23665. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23666. end;
  23667. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  23668. begin
  23669. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23670. end;
  23671. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  23672. begin
  23673. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23674. end;
  23675. procedure TCMP_CM1CON.setCOUT; inline;
  23676. begin
  23677. pTDefRegMap(@Self)^.&set := $00000100;
  23678. end;
  23679. procedure TCMP_CM1CON.clearCOUT; inline;
  23680. begin
  23681. pTDefRegMap(@Self)^.clr := $00000100;
  23682. end;
  23683. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  23684. begin
  23685. if thebits = 0 then
  23686. pTDefRegMap(@Self)^.clr := $00000100
  23687. else
  23688. pTDefRegMap(@Self)^.&set := $00000100;
  23689. end;
  23690. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  23691. begin
  23692. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23693. end;
  23694. procedure TCMP_CM1CON.setCPOL; inline;
  23695. begin
  23696. pTDefRegMap(@Self)^.&set := $00002000;
  23697. end;
  23698. procedure TCMP_CM1CON.clearCPOL; inline;
  23699. begin
  23700. pTDefRegMap(@Self)^.clr := $00002000;
  23701. end;
  23702. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  23703. begin
  23704. if thebits = 0 then
  23705. pTDefRegMap(@Self)^.clr := $00002000
  23706. else
  23707. pTDefRegMap(@Self)^.&set := $00002000;
  23708. end;
  23709. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  23710. begin
  23711. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23712. end;
  23713. procedure TCMP_CM1CON.setCOE; inline;
  23714. begin
  23715. pTDefRegMap(@Self)^.&set := $00004000;
  23716. end;
  23717. procedure TCMP_CM1CON.clearCOE; inline;
  23718. begin
  23719. pTDefRegMap(@Self)^.clr := $00004000;
  23720. end;
  23721. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  23722. begin
  23723. if thebits = 0 then
  23724. pTDefRegMap(@Self)^.clr := $00004000
  23725. else
  23726. pTDefRegMap(@Self)^.&set := $00004000;
  23727. end;
  23728. function TCMP_CM1CON.getCOE : TBits_1; inline;
  23729. begin
  23730. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23731. end;
  23732. procedure TCMP_CM1CON.setON; inline;
  23733. begin
  23734. pTDefRegMap(@Self)^.&set := $00008000;
  23735. end;
  23736. procedure TCMP_CM1CON.clearON; inline;
  23737. begin
  23738. pTDefRegMap(@Self)^.clr := $00008000;
  23739. end;
  23740. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  23741. begin
  23742. if thebits = 0 then
  23743. pTDefRegMap(@Self)^.clr := $00008000
  23744. else
  23745. pTDefRegMap(@Self)^.&set := $00008000;
  23746. end;
  23747. function TCMP_CM1CON.getON : TBits_1; inline;
  23748. begin
  23749. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23750. end;
  23751. procedure TCMP_CM1CON.setCCH0; inline;
  23752. begin
  23753. pTDefRegMap(@Self)^.&set := $00000001;
  23754. end;
  23755. procedure TCMP_CM1CON.clearCCH0; inline;
  23756. begin
  23757. pTDefRegMap(@Self)^.clr := $00000001;
  23758. end;
  23759. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  23760. begin
  23761. if thebits = 0 then
  23762. pTDefRegMap(@Self)^.clr := $00000001
  23763. else
  23764. pTDefRegMap(@Self)^.&set := $00000001;
  23765. end;
  23766. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  23767. begin
  23768. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23769. end;
  23770. procedure TCMP_CM1CON.setCCH1; inline;
  23771. begin
  23772. pTDefRegMap(@Self)^.&set := $00000002;
  23773. end;
  23774. procedure TCMP_CM1CON.clearCCH1; inline;
  23775. begin
  23776. pTDefRegMap(@Self)^.clr := $00000002;
  23777. end;
  23778. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  23779. begin
  23780. if thebits = 0 then
  23781. pTDefRegMap(@Self)^.clr := $00000002
  23782. else
  23783. pTDefRegMap(@Self)^.&set := $00000002;
  23784. end;
  23785. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  23786. begin
  23787. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23788. end;
  23789. procedure TCMP_CM1CON.setEVPOL0; inline;
  23790. begin
  23791. pTDefRegMap(@Self)^.&set := $00000040;
  23792. end;
  23793. procedure TCMP_CM1CON.clearEVPOL0; inline;
  23794. begin
  23795. pTDefRegMap(@Self)^.clr := $00000040;
  23796. end;
  23797. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  23798. begin
  23799. if thebits = 0 then
  23800. pTDefRegMap(@Self)^.clr := $00000040
  23801. else
  23802. pTDefRegMap(@Self)^.&set := $00000040;
  23803. end;
  23804. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  23805. begin
  23806. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23807. end;
  23808. procedure TCMP_CM1CON.setEVPOL1; inline;
  23809. begin
  23810. pTDefRegMap(@Self)^.&set := $00000080;
  23811. end;
  23812. procedure TCMP_CM1CON.clearEVPOL1; inline;
  23813. begin
  23814. pTDefRegMap(@Self)^.clr := $00000080;
  23815. end;
  23816. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  23817. begin
  23818. if thebits = 0 then
  23819. pTDefRegMap(@Self)^.clr := $00000080
  23820. else
  23821. pTDefRegMap(@Self)^.&set := $00000080;
  23822. end;
  23823. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  23824. begin
  23825. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23826. end;
  23827. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  23828. begin
  23829. pTDefRegMap(@Self)^.val := thebits;
  23830. end;
  23831. function TCMP_CM1CON.getw : TBits_32; inline;
  23832. begin
  23833. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23834. end;
  23835. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  23836. begin
  23837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23838. end;
  23839. function TCMP_CM2CON.getCCH : TBits_2; inline;
  23840. begin
  23841. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23842. end;
  23843. procedure TCMP_CM2CON.setCREF; inline;
  23844. begin
  23845. pTDefRegMap(@Self)^.&set := $00000010;
  23846. end;
  23847. procedure TCMP_CM2CON.clearCREF; inline;
  23848. begin
  23849. pTDefRegMap(@Self)^.clr := $00000010;
  23850. end;
  23851. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  23852. begin
  23853. if thebits = 0 then
  23854. pTDefRegMap(@Self)^.clr := $00000010
  23855. else
  23856. pTDefRegMap(@Self)^.&set := $00000010;
  23857. end;
  23858. function TCMP_CM2CON.getCREF : TBits_1; inline;
  23859. begin
  23860. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23861. end;
  23862. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  23863. begin
  23864. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23865. end;
  23866. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  23867. begin
  23868. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23869. end;
  23870. procedure TCMP_CM2CON.setCOUT; inline;
  23871. begin
  23872. pTDefRegMap(@Self)^.&set := $00000100;
  23873. end;
  23874. procedure TCMP_CM2CON.clearCOUT; inline;
  23875. begin
  23876. pTDefRegMap(@Self)^.clr := $00000100;
  23877. end;
  23878. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  23879. begin
  23880. if thebits = 0 then
  23881. pTDefRegMap(@Self)^.clr := $00000100
  23882. else
  23883. pTDefRegMap(@Self)^.&set := $00000100;
  23884. end;
  23885. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  23886. begin
  23887. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23888. end;
  23889. procedure TCMP_CM2CON.setCPOL; inline;
  23890. begin
  23891. pTDefRegMap(@Self)^.&set := $00002000;
  23892. end;
  23893. procedure TCMP_CM2CON.clearCPOL; inline;
  23894. begin
  23895. pTDefRegMap(@Self)^.clr := $00002000;
  23896. end;
  23897. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  23898. begin
  23899. if thebits = 0 then
  23900. pTDefRegMap(@Self)^.clr := $00002000
  23901. else
  23902. pTDefRegMap(@Self)^.&set := $00002000;
  23903. end;
  23904. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  23905. begin
  23906. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23907. end;
  23908. procedure TCMP_CM2CON.setCOE; inline;
  23909. begin
  23910. pTDefRegMap(@Self)^.&set := $00004000;
  23911. end;
  23912. procedure TCMP_CM2CON.clearCOE; inline;
  23913. begin
  23914. pTDefRegMap(@Self)^.clr := $00004000;
  23915. end;
  23916. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  23917. begin
  23918. if thebits = 0 then
  23919. pTDefRegMap(@Self)^.clr := $00004000
  23920. else
  23921. pTDefRegMap(@Self)^.&set := $00004000;
  23922. end;
  23923. function TCMP_CM2CON.getCOE : TBits_1; inline;
  23924. begin
  23925. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23926. end;
  23927. procedure TCMP_CM2CON.setON; inline;
  23928. begin
  23929. pTDefRegMap(@Self)^.&set := $00008000;
  23930. end;
  23931. procedure TCMP_CM2CON.clearON; inline;
  23932. begin
  23933. pTDefRegMap(@Self)^.clr := $00008000;
  23934. end;
  23935. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  23936. begin
  23937. if thebits = 0 then
  23938. pTDefRegMap(@Self)^.clr := $00008000
  23939. else
  23940. pTDefRegMap(@Self)^.&set := $00008000;
  23941. end;
  23942. function TCMP_CM2CON.getON : TBits_1; inline;
  23943. begin
  23944. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23945. end;
  23946. procedure TCMP_CM2CON.setCCH0; inline;
  23947. begin
  23948. pTDefRegMap(@Self)^.&set := $00000001;
  23949. end;
  23950. procedure TCMP_CM2CON.clearCCH0; inline;
  23951. begin
  23952. pTDefRegMap(@Self)^.clr := $00000001;
  23953. end;
  23954. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  23955. begin
  23956. if thebits = 0 then
  23957. pTDefRegMap(@Self)^.clr := $00000001
  23958. else
  23959. pTDefRegMap(@Self)^.&set := $00000001;
  23960. end;
  23961. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  23962. begin
  23963. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23964. end;
  23965. procedure TCMP_CM2CON.setCCH1; inline;
  23966. begin
  23967. pTDefRegMap(@Self)^.&set := $00000002;
  23968. end;
  23969. procedure TCMP_CM2CON.clearCCH1; inline;
  23970. begin
  23971. pTDefRegMap(@Self)^.clr := $00000002;
  23972. end;
  23973. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  23974. begin
  23975. if thebits = 0 then
  23976. pTDefRegMap(@Self)^.clr := $00000002
  23977. else
  23978. pTDefRegMap(@Self)^.&set := $00000002;
  23979. end;
  23980. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  23981. begin
  23982. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23983. end;
  23984. procedure TCMP_CM2CON.setEVPOL0; inline;
  23985. begin
  23986. pTDefRegMap(@Self)^.&set := $00000040;
  23987. end;
  23988. procedure TCMP_CM2CON.clearEVPOL0; inline;
  23989. begin
  23990. pTDefRegMap(@Self)^.clr := $00000040;
  23991. end;
  23992. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  23993. begin
  23994. if thebits = 0 then
  23995. pTDefRegMap(@Self)^.clr := $00000040
  23996. else
  23997. pTDefRegMap(@Self)^.&set := $00000040;
  23998. end;
  23999. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  24000. begin
  24001. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24002. end;
  24003. procedure TCMP_CM2CON.setEVPOL1; inline;
  24004. begin
  24005. pTDefRegMap(@Self)^.&set := $00000080;
  24006. end;
  24007. procedure TCMP_CM2CON.clearEVPOL1; inline;
  24008. begin
  24009. pTDefRegMap(@Self)^.clr := $00000080;
  24010. end;
  24011. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  24012. begin
  24013. if thebits = 0 then
  24014. pTDefRegMap(@Self)^.clr := $00000080
  24015. else
  24016. pTDefRegMap(@Self)^.&set := $00000080;
  24017. end;
  24018. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  24019. begin
  24020. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24021. end;
  24022. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  24023. begin
  24024. pTDefRegMap(@Self)^.val := thebits;
  24025. end;
  24026. function TCMP_CM2CON.getw : TBits_32; inline;
  24027. begin
  24028. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24029. end;
  24030. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  24031. begin
  24032. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24033. end;
  24034. function TCMP_CM3CON.getCCH : TBits_2; inline;
  24035. begin
  24036. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24037. end;
  24038. procedure TCMP_CM3CON.setCREF; inline;
  24039. begin
  24040. pTDefRegMap(@Self)^.&set := $00000010;
  24041. end;
  24042. procedure TCMP_CM3CON.clearCREF; inline;
  24043. begin
  24044. pTDefRegMap(@Self)^.clr := $00000010;
  24045. end;
  24046. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  24047. begin
  24048. if thebits = 0 then
  24049. pTDefRegMap(@Self)^.clr := $00000010
  24050. else
  24051. pTDefRegMap(@Self)^.&set := $00000010;
  24052. end;
  24053. function TCMP_CM3CON.getCREF : TBits_1; inline;
  24054. begin
  24055. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24056. end;
  24057. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  24058. begin
  24059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24060. end;
  24061. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  24062. begin
  24063. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24064. end;
  24065. procedure TCMP_CM3CON.setCOUT; inline;
  24066. begin
  24067. pTDefRegMap(@Self)^.&set := $00000100;
  24068. end;
  24069. procedure TCMP_CM3CON.clearCOUT; inline;
  24070. begin
  24071. pTDefRegMap(@Self)^.clr := $00000100;
  24072. end;
  24073. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  24074. begin
  24075. if thebits = 0 then
  24076. pTDefRegMap(@Self)^.clr := $00000100
  24077. else
  24078. pTDefRegMap(@Self)^.&set := $00000100;
  24079. end;
  24080. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  24081. begin
  24082. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24083. end;
  24084. procedure TCMP_CM3CON.setCPOL; inline;
  24085. begin
  24086. pTDefRegMap(@Self)^.&set := $00002000;
  24087. end;
  24088. procedure TCMP_CM3CON.clearCPOL; inline;
  24089. begin
  24090. pTDefRegMap(@Self)^.clr := $00002000;
  24091. end;
  24092. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  24093. begin
  24094. if thebits = 0 then
  24095. pTDefRegMap(@Self)^.clr := $00002000
  24096. else
  24097. pTDefRegMap(@Self)^.&set := $00002000;
  24098. end;
  24099. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  24100. begin
  24101. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24102. end;
  24103. procedure TCMP_CM3CON.setCOE; inline;
  24104. begin
  24105. pTDefRegMap(@Self)^.&set := $00004000;
  24106. end;
  24107. procedure TCMP_CM3CON.clearCOE; inline;
  24108. begin
  24109. pTDefRegMap(@Self)^.clr := $00004000;
  24110. end;
  24111. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  24112. begin
  24113. if thebits = 0 then
  24114. pTDefRegMap(@Self)^.clr := $00004000
  24115. else
  24116. pTDefRegMap(@Self)^.&set := $00004000;
  24117. end;
  24118. function TCMP_CM3CON.getCOE : TBits_1; inline;
  24119. begin
  24120. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24121. end;
  24122. procedure TCMP_CM3CON.setON; inline;
  24123. begin
  24124. pTDefRegMap(@Self)^.&set := $00008000;
  24125. end;
  24126. procedure TCMP_CM3CON.clearON; inline;
  24127. begin
  24128. pTDefRegMap(@Self)^.clr := $00008000;
  24129. end;
  24130. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  24131. begin
  24132. if thebits = 0 then
  24133. pTDefRegMap(@Self)^.clr := $00008000
  24134. else
  24135. pTDefRegMap(@Self)^.&set := $00008000;
  24136. end;
  24137. function TCMP_CM3CON.getON : TBits_1; inline;
  24138. begin
  24139. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24140. end;
  24141. procedure TCMP_CM3CON.setCCH0; inline;
  24142. begin
  24143. pTDefRegMap(@Self)^.&set := $00000001;
  24144. end;
  24145. procedure TCMP_CM3CON.clearCCH0; inline;
  24146. begin
  24147. pTDefRegMap(@Self)^.clr := $00000001;
  24148. end;
  24149. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  24150. begin
  24151. if thebits = 0 then
  24152. pTDefRegMap(@Self)^.clr := $00000001
  24153. else
  24154. pTDefRegMap(@Self)^.&set := $00000001;
  24155. end;
  24156. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  24157. begin
  24158. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24159. end;
  24160. procedure TCMP_CM3CON.setCCH1; inline;
  24161. begin
  24162. pTDefRegMap(@Self)^.&set := $00000002;
  24163. end;
  24164. procedure TCMP_CM3CON.clearCCH1; inline;
  24165. begin
  24166. pTDefRegMap(@Self)^.clr := $00000002;
  24167. end;
  24168. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  24169. begin
  24170. if thebits = 0 then
  24171. pTDefRegMap(@Self)^.clr := $00000002
  24172. else
  24173. pTDefRegMap(@Self)^.&set := $00000002;
  24174. end;
  24175. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  24176. begin
  24177. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24178. end;
  24179. procedure TCMP_CM3CON.setEVPOL0; inline;
  24180. begin
  24181. pTDefRegMap(@Self)^.&set := $00000040;
  24182. end;
  24183. procedure TCMP_CM3CON.clearEVPOL0; inline;
  24184. begin
  24185. pTDefRegMap(@Self)^.clr := $00000040;
  24186. end;
  24187. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  24188. begin
  24189. if thebits = 0 then
  24190. pTDefRegMap(@Self)^.clr := $00000040
  24191. else
  24192. pTDefRegMap(@Self)^.&set := $00000040;
  24193. end;
  24194. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  24195. begin
  24196. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24197. end;
  24198. procedure TCMP_CM3CON.setEVPOL1; inline;
  24199. begin
  24200. pTDefRegMap(@Self)^.&set := $00000080;
  24201. end;
  24202. procedure TCMP_CM3CON.clearEVPOL1; inline;
  24203. begin
  24204. pTDefRegMap(@Self)^.clr := $00000080;
  24205. end;
  24206. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  24207. begin
  24208. if thebits = 0 then
  24209. pTDefRegMap(@Self)^.clr := $00000080
  24210. else
  24211. pTDefRegMap(@Self)^.&set := $00000080;
  24212. end;
  24213. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  24214. begin
  24215. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24216. end;
  24217. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  24218. begin
  24219. pTDefRegMap(@Self)^.val := thebits;
  24220. end;
  24221. function TCMP_CM3CON.getw : TBits_32; inline;
  24222. begin
  24223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24224. end;
  24225. procedure TCMP_CMSTAT.setC1OUT; inline;
  24226. begin
  24227. pTDefRegMap(@Self)^.&set := $00000001;
  24228. end;
  24229. procedure TCMP_CMSTAT.clearC1OUT; inline;
  24230. begin
  24231. pTDefRegMap(@Self)^.clr := $00000001;
  24232. end;
  24233. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  24234. begin
  24235. if thebits = 0 then
  24236. pTDefRegMap(@Self)^.clr := $00000001
  24237. else
  24238. pTDefRegMap(@Self)^.&set := $00000001;
  24239. end;
  24240. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  24241. begin
  24242. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24243. end;
  24244. procedure TCMP_CMSTAT.setC2OUT; inline;
  24245. begin
  24246. pTDefRegMap(@Self)^.&set := $00000002;
  24247. end;
  24248. procedure TCMP_CMSTAT.clearC2OUT; inline;
  24249. begin
  24250. pTDefRegMap(@Self)^.clr := $00000002;
  24251. end;
  24252. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  24253. begin
  24254. if thebits = 0 then
  24255. pTDefRegMap(@Self)^.clr := $00000002
  24256. else
  24257. pTDefRegMap(@Self)^.&set := $00000002;
  24258. end;
  24259. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  24260. begin
  24261. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24262. end;
  24263. procedure TCMP_CMSTAT.setC3OUT; inline;
  24264. begin
  24265. pTDefRegMap(@Self)^.&set := $00000004;
  24266. end;
  24267. procedure TCMP_CMSTAT.clearC3OUT; inline;
  24268. begin
  24269. pTDefRegMap(@Self)^.clr := $00000004;
  24270. end;
  24271. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  24272. begin
  24273. if thebits = 0 then
  24274. pTDefRegMap(@Self)^.clr := $00000004
  24275. else
  24276. pTDefRegMap(@Self)^.&set := $00000004;
  24277. end;
  24278. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  24279. begin
  24280. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24281. end;
  24282. procedure TCMP_CMSTAT.setSIDL; inline;
  24283. begin
  24284. pTDefRegMap(@Self)^.&set := $00002000;
  24285. end;
  24286. procedure TCMP_CMSTAT.clearSIDL; inline;
  24287. begin
  24288. pTDefRegMap(@Self)^.clr := $00002000;
  24289. end;
  24290. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  24291. begin
  24292. if thebits = 0 then
  24293. pTDefRegMap(@Self)^.clr := $00002000
  24294. else
  24295. pTDefRegMap(@Self)^.&set := $00002000;
  24296. end;
  24297. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24298. begin
  24299. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24300. end;
  24301. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24302. begin
  24303. pTDefRegMap(@Self)^.val := thebits;
  24304. end;
  24305. function TCMP_CMSTAT.getw : TBits_32; inline;
  24306. begin
  24307. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24308. end;
  24309. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24310. begin
  24311. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24312. end;
  24313. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24314. begin
  24315. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24316. end;
  24317. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24318. begin
  24319. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24320. end;
  24321. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24322. begin
  24323. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24324. end;
  24325. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24326. begin
  24327. pTDefRegMap(@Self)^.&set := $00000100;
  24328. end;
  24329. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24330. begin
  24331. pTDefRegMap(@Self)^.clr := $00000100;
  24332. end;
  24333. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24334. begin
  24335. if thebits = 0 then
  24336. pTDefRegMap(@Self)^.clr := $00000100
  24337. else
  24338. pTDefRegMap(@Self)^.&set := $00000100;
  24339. end;
  24340. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24341. begin
  24342. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24343. end;
  24344. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24345. begin
  24346. pTDefRegMap(@Self)^.&set := $00000200;
  24347. end;
  24348. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24349. begin
  24350. pTDefRegMap(@Self)^.clr := $00000200;
  24351. end;
  24352. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24353. begin
  24354. if thebits = 0 then
  24355. pTDefRegMap(@Self)^.clr := $00000200
  24356. else
  24357. pTDefRegMap(@Self)^.&set := $00000200;
  24358. end;
  24359. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24360. begin
  24361. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24362. end;
  24363. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24364. begin
  24365. pTDefRegMap(@Self)^.&set := $00000400;
  24366. end;
  24367. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24368. begin
  24369. pTDefRegMap(@Self)^.clr := $00000400;
  24370. end;
  24371. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24372. begin
  24373. if thebits = 0 then
  24374. pTDefRegMap(@Self)^.clr := $00000400
  24375. else
  24376. pTDefRegMap(@Self)^.&set := $00000400;
  24377. end;
  24378. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24379. begin
  24380. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24381. end;
  24382. procedure TCMP_CTMUCON.setEDGEN; inline;
  24383. begin
  24384. pTDefRegMap(@Self)^.&set := $00000800;
  24385. end;
  24386. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24387. begin
  24388. pTDefRegMap(@Self)^.clr := $00000800;
  24389. end;
  24390. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24391. begin
  24392. if thebits = 0 then
  24393. pTDefRegMap(@Self)^.clr := $00000800
  24394. else
  24395. pTDefRegMap(@Self)^.&set := $00000800;
  24396. end;
  24397. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24398. begin
  24399. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24400. end;
  24401. procedure TCMP_CTMUCON.setTGEN; inline;
  24402. begin
  24403. pTDefRegMap(@Self)^.&set := $00001000;
  24404. end;
  24405. procedure TCMP_CTMUCON.clearTGEN; inline;
  24406. begin
  24407. pTDefRegMap(@Self)^.clr := $00001000;
  24408. end;
  24409. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24410. begin
  24411. if thebits = 0 then
  24412. pTDefRegMap(@Self)^.clr := $00001000
  24413. else
  24414. pTDefRegMap(@Self)^.&set := $00001000;
  24415. end;
  24416. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24417. begin
  24418. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24419. end;
  24420. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24421. begin
  24422. pTDefRegMap(@Self)^.&set := $00002000;
  24423. end;
  24424. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24425. begin
  24426. pTDefRegMap(@Self)^.clr := $00002000;
  24427. end;
  24428. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24429. begin
  24430. if thebits = 0 then
  24431. pTDefRegMap(@Self)^.clr := $00002000
  24432. else
  24433. pTDefRegMap(@Self)^.&set := $00002000;
  24434. end;
  24435. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24436. begin
  24437. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24438. end;
  24439. procedure TCMP_CTMUCON.setON; inline;
  24440. begin
  24441. pTDefRegMap(@Self)^.&set := $00008000;
  24442. end;
  24443. procedure TCMP_CTMUCON.clearON; inline;
  24444. begin
  24445. pTDefRegMap(@Self)^.clr := $00008000;
  24446. end;
  24447. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24448. begin
  24449. if thebits = 0 then
  24450. pTDefRegMap(@Self)^.clr := $00008000
  24451. else
  24452. pTDefRegMap(@Self)^.&set := $00008000;
  24453. end;
  24454. function TCMP_CTMUCON.getON : TBits_1; inline;
  24455. begin
  24456. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24457. end;
  24458. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24459. begin
  24460. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24461. end;
  24462. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24463. begin
  24464. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24465. end;
  24466. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24467. begin
  24468. pTDefRegMap(@Self)^.&set := $00400000;
  24469. end;
  24470. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24471. begin
  24472. pTDefRegMap(@Self)^.clr := $00400000;
  24473. end;
  24474. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24475. begin
  24476. if thebits = 0 then
  24477. pTDefRegMap(@Self)^.clr := $00400000
  24478. else
  24479. pTDefRegMap(@Self)^.&set := $00400000;
  24480. end;
  24481. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24482. begin
  24483. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24484. end;
  24485. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24486. begin
  24487. pTDefRegMap(@Self)^.&set := $00800000;
  24488. end;
  24489. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24490. begin
  24491. pTDefRegMap(@Self)^.clr := $00800000;
  24492. end;
  24493. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24494. begin
  24495. if thebits = 0 then
  24496. pTDefRegMap(@Self)^.clr := $00800000
  24497. else
  24498. pTDefRegMap(@Self)^.&set := $00800000;
  24499. end;
  24500. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24501. begin
  24502. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24503. end;
  24504. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24505. begin
  24506. pTDefRegMap(@Self)^.&set := $01000000;
  24507. end;
  24508. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24509. begin
  24510. pTDefRegMap(@Self)^.clr := $01000000;
  24511. end;
  24512. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  24513. begin
  24514. if thebits = 0 then
  24515. pTDefRegMap(@Self)^.clr := $01000000
  24516. else
  24517. pTDefRegMap(@Self)^.&set := $01000000;
  24518. end;
  24519. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  24520. begin
  24521. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24522. end;
  24523. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  24524. begin
  24525. pTDefRegMap(@Self)^.&set := $02000000;
  24526. end;
  24527. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  24528. begin
  24529. pTDefRegMap(@Self)^.clr := $02000000;
  24530. end;
  24531. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  24532. begin
  24533. if thebits = 0 then
  24534. pTDefRegMap(@Self)^.clr := $02000000
  24535. else
  24536. pTDefRegMap(@Self)^.&set := $02000000;
  24537. end;
  24538. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  24539. begin
  24540. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24541. end;
  24542. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  24543. begin
  24544. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  24545. end;
  24546. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  24547. begin
  24548. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  24549. end;
  24550. procedure TCMP_CTMUCON.setEDG1POL; inline;
  24551. begin
  24552. pTDefRegMap(@Self)^.&set := $40000000;
  24553. end;
  24554. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  24555. begin
  24556. pTDefRegMap(@Self)^.clr := $40000000;
  24557. end;
  24558. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  24559. begin
  24560. if thebits = 0 then
  24561. pTDefRegMap(@Self)^.clr := $40000000
  24562. else
  24563. pTDefRegMap(@Self)^.&set := $40000000;
  24564. end;
  24565. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  24566. begin
  24567. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24568. end;
  24569. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  24570. begin
  24571. pTDefRegMap(@Self)^.&set := $80000000;
  24572. end;
  24573. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  24574. begin
  24575. pTDefRegMap(@Self)^.clr := $80000000;
  24576. end;
  24577. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  24578. begin
  24579. if thebits = 0 then
  24580. pTDefRegMap(@Self)^.clr := $80000000
  24581. else
  24582. pTDefRegMap(@Self)^.&set := $80000000;
  24583. end;
  24584. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  24585. begin
  24586. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24587. end;
  24588. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  24589. begin
  24590. pTDefRegMap(@Self)^.val := thebits;
  24591. end;
  24592. function TCMP_CTMUCON.getw : TBits_32; inline;
  24593. begin
  24594. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24595. end;
  24596. procedure TOSC_OSCCON.setOSWEN; inline;
  24597. begin
  24598. pTDefRegMap(@Self)^.&set := $00000001;
  24599. end;
  24600. procedure TOSC_OSCCON.clearOSWEN; inline;
  24601. begin
  24602. pTDefRegMap(@Self)^.clr := $00000001;
  24603. end;
  24604. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  24605. begin
  24606. if thebits = 0 then
  24607. pTDefRegMap(@Self)^.clr := $00000001
  24608. else
  24609. pTDefRegMap(@Self)^.&set := $00000001;
  24610. end;
  24611. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  24612. begin
  24613. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24614. end;
  24615. procedure TOSC_OSCCON.setSOSCEN; inline;
  24616. begin
  24617. pTDefRegMap(@Self)^.&set := $00000002;
  24618. end;
  24619. procedure TOSC_OSCCON.clearSOSCEN; inline;
  24620. begin
  24621. pTDefRegMap(@Self)^.clr := $00000002;
  24622. end;
  24623. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  24624. begin
  24625. if thebits = 0 then
  24626. pTDefRegMap(@Self)^.clr := $00000002
  24627. else
  24628. pTDefRegMap(@Self)^.&set := $00000002;
  24629. end;
  24630. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  24631. begin
  24632. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24633. end;
  24634. procedure TOSC_OSCCON.setUFRCEN; inline;
  24635. begin
  24636. pTDefRegMap(@Self)^.&set := $00000004;
  24637. end;
  24638. procedure TOSC_OSCCON.clearUFRCEN; inline;
  24639. begin
  24640. pTDefRegMap(@Self)^.clr := $00000004;
  24641. end;
  24642. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  24643. begin
  24644. if thebits = 0 then
  24645. pTDefRegMap(@Self)^.clr := $00000004
  24646. else
  24647. pTDefRegMap(@Self)^.&set := $00000004;
  24648. end;
  24649. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  24650. begin
  24651. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24652. end;
  24653. procedure TOSC_OSCCON.setCF; inline;
  24654. begin
  24655. pTDefRegMap(@Self)^.&set := $00000008;
  24656. end;
  24657. procedure TOSC_OSCCON.clearCF; inline;
  24658. begin
  24659. pTDefRegMap(@Self)^.clr := $00000008;
  24660. end;
  24661. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  24662. begin
  24663. if thebits = 0 then
  24664. pTDefRegMap(@Self)^.clr := $00000008
  24665. else
  24666. pTDefRegMap(@Self)^.&set := $00000008;
  24667. end;
  24668. function TOSC_OSCCON.getCF : TBits_1; inline;
  24669. begin
  24670. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24671. end;
  24672. procedure TOSC_OSCCON.setSLPEN; inline;
  24673. begin
  24674. pTDefRegMap(@Self)^.&set := $00000010;
  24675. end;
  24676. procedure TOSC_OSCCON.clearSLPEN; inline;
  24677. begin
  24678. pTDefRegMap(@Self)^.clr := $00000010;
  24679. end;
  24680. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  24681. begin
  24682. if thebits = 0 then
  24683. pTDefRegMap(@Self)^.clr := $00000010
  24684. else
  24685. pTDefRegMap(@Self)^.&set := $00000010;
  24686. end;
  24687. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  24688. begin
  24689. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24690. end;
  24691. procedure TOSC_OSCCON.setSLOCK; inline;
  24692. begin
  24693. pTDefRegMap(@Self)^.&set := $00000020;
  24694. end;
  24695. procedure TOSC_OSCCON.clearSLOCK; inline;
  24696. begin
  24697. pTDefRegMap(@Self)^.clr := $00000020;
  24698. end;
  24699. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  24700. begin
  24701. if thebits = 0 then
  24702. pTDefRegMap(@Self)^.clr := $00000020
  24703. else
  24704. pTDefRegMap(@Self)^.&set := $00000020;
  24705. end;
  24706. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  24707. begin
  24708. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24709. end;
  24710. procedure TOSC_OSCCON.setULOCK; inline;
  24711. begin
  24712. pTDefRegMap(@Self)^.&set := $00000040;
  24713. end;
  24714. procedure TOSC_OSCCON.clearULOCK; inline;
  24715. begin
  24716. pTDefRegMap(@Self)^.clr := $00000040;
  24717. end;
  24718. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  24719. begin
  24720. if thebits = 0 then
  24721. pTDefRegMap(@Self)^.clr := $00000040
  24722. else
  24723. pTDefRegMap(@Self)^.&set := $00000040;
  24724. end;
  24725. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  24726. begin
  24727. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24728. end;
  24729. procedure TOSC_OSCCON.setCLKLOCK; inline;
  24730. begin
  24731. pTDefRegMap(@Self)^.&set := $00000080;
  24732. end;
  24733. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  24734. begin
  24735. pTDefRegMap(@Self)^.clr := $00000080;
  24736. end;
  24737. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  24738. begin
  24739. if thebits = 0 then
  24740. pTDefRegMap(@Self)^.clr := $00000080
  24741. else
  24742. pTDefRegMap(@Self)^.&set := $00000080;
  24743. end;
  24744. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  24745. begin
  24746. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24747. end;
  24748. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  24749. begin
  24750. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  24751. end;
  24752. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  24753. begin
  24754. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  24755. end;
  24756. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  24757. begin
  24758. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  24759. end;
  24760. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  24761. begin
  24762. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  24763. end;
  24764. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  24765. begin
  24766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  24767. end;
  24768. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  24769. begin
  24770. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  24771. end;
  24772. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  24773. begin
  24774. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  24775. end;
  24776. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  24777. begin
  24778. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  24779. end;
  24780. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  24781. begin
  24782. pTDefRegMap(@Self)^.&set := $00200000;
  24783. end;
  24784. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  24785. begin
  24786. pTDefRegMap(@Self)^.clr := $00200000;
  24787. end;
  24788. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  24789. begin
  24790. if thebits = 0 then
  24791. pTDefRegMap(@Self)^.clr := $00200000
  24792. else
  24793. pTDefRegMap(@Self)^.&set := $00200000;
  24794. end;
  24795. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  24796. begin
  24797. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  24798. end;
  24799. procedure TOSC_OSCCON.setSOSCRDY; inline;
  24800. begin
  24801. pTDefRegMap(@Self)^.&set := $00400000;
  24802. end;
  24803. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  24804. begin
  24805. pTDefRegMap(@Self)^.clr := $00400000;
  24806. end;
  24807. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  24808. begin
  24809. if thebits = 0 then
  24810. pTDefRegMap(@Self)^.clr := $00400000
  24811. else
  24812. pTDefRegMap(@Self)^.&set := $00400000;
  24813. end;
  24814. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  24815. begin
  24816. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24817. end;
  24818. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  24819. begin
  24820. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24821. end;
  24822. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  24823. begin
  24824. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24825. end;
  24826. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  24827. begin
  24828. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  24829. end;
  24830. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  24831. begin
  24832. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  24833. end;
  24834. procedure TOSC_OSCCON.setNOSC0; inline;
  24835. begin
  24836. pTDefRegMap(@Self)^.&set := $00000100;
  24837. end;
  24838. procedure TOSC_OSCCON.clearNOSC0; inline;
  24839. begin
  24840. pTDefRegMap(@Self)^.clr := $00000100;
  24841. end;
  24842. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  24843. begin
  24844. if thebits = 0 then
  24845. pTDefRegMap(@Self)^.clr := $00000100
  24846. else
  24847. pTDefRegMap(@Self)^.&set := $00000100;
  24848. end;
  24849. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  24850. begin
  24851. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24852. end;
  24853. procedure TOSC_OSCCON.setNOSC1; inline;
  24854. begin
  24855. pTDefRegMap(@Self)^.&set := $00000200;
  24856. end;
  24857. procedure TOSC_OSCCON.clearNOSC1; inline;
  24858. begin
  24859. pTDefRegMap(@Self)^.clr := $00000200;
  24860. end;
  24861. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  24862. begin
  24863. if thebits = 0 then
  24864. pTDefRegMap(@Self)^.clr := $00000200
  24865. else
  24866. pTDefRegMap(@Self)^.&set := $00000200;
  24867. end;
  24868. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  24869. begin
  24870. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24871. end;
  24872. procedure TOSC_OSCCON.setNOSC2; inline;
  24873. begin
  24874. pTDefRegMap(@Self)^.&set := $00000400;
  24875. end;
  24876. procedure TOSC_OSCCON.clearNOSC2; inline;
  24877. begin
  24878. pTDefRegMap(@Self)^.clr := $00000400;
  24879. end;
  24880. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  24881. begin
  24882. if thebits = 0 then
  24883. pTDefRegMap(@Self)^.clr := $00000400
  24884. else
  24885. pTDefRegMap(@Self)^.&set := $00000400;
  24886. end;
  24887. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  24888. begin
  24889. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24890. end;
  24891. procedure TOSC_OSCCON.setCOSC0; inline;
  24892. begin
  24893. pTDefRegMap(@Self)^.&set := $00001000;
  24894. end;
  24895. procedure TOSC_OSCCON.clearCOSC0; inline;
  24896. begin
  24897. pTDefRegMap(@Self)^.clr := $00001000;
  24898. end;
  24899. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  24900. begin
  24901. if thebits = 0 then
  24902. pTDefRegMap(@Self)^.clr := $00001000
  24903. else
  24904. pTDefRegMap(@Self)^.&set := $00001000;
  24905. end;
  24906. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  24907. begin
  24908. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24909. end;
  24910. procedure TOSC_OSCCON.setCOSC1; inline;
  24911. begin
  24912. pTDefRegMap(@Self)^.&set := $00002000;
  24913. end;
  24914. procedure TOSC_OSCCON.clearCOSC1; inline;
  24915. begin
  24916. pTDefRegMap(@Self)^.clr := $00002000;
  24917. end;
  24918. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  24919. begin
  24920. if thebits = 0 then
  24921. pTDefRegMap(@Self)^.clr := $00002000
  24922. else
  24923. pTDefRegMap(@Self)^.&set := $00002000;
  24924. end;
  24925. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  24926. begin
  24927. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24928. end;
  24929. procedure TOSC_OSCCON.setCOSC2; inline;
  24930. begin
  24931. pTDefRegMap(@Self)^.&set := $00004000;
  24932. end;
  24933. procedure TOSC_OSCCON.clearCOSC2; inline;
  24934. begin
  24935. pTDefRegMap(@Self)^.clr := $00004000;
  24936. end;
  24937. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  24938. begin
  24939. if thebits = 0 then
  24940. pTDefRegMap(@Self)^.clr := $00004000
  24941. else
  24942. pTDefRegMap(@Self)^.&set := $00004000;
  24943. end;
  24944. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  24945. begin
  24946. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24947. end;
  24948. procedure TOSC_OSCCON.setPLLMULT0; inline;
  24949. begin
  24950. pTDefRegMap(@Self)^.&set := $00010000;
  24951. end;
  24952. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  24953. begin
  24954. pTDefRegMap(@Self)^.clr := $00010000;
  24955. end;
  24956. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  24957. begin
  24958. if thebits = 0 then
  24959. pTDefRegMap(@Self)^.clr := $00010000
  24960. else
  24961. pTDefRegMap(@Self)^.&set := $00010000;
  24962. end;
  24963. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  24964. begin
  24965. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24966. end;
  24967. procedure TOSC_OSCCON.setPLLMULT1; inline;
  24968. begin
  24969. pTDefRegMap(@Self)^.&set := $00020000;
  24970. end;
  24971. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  24972. begin
  24973. pTDefRegMap(@Self)^.clr := $00020000;
  24974. end;
  24975. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  24976. begin
  24977. if thebits = 0 then
  24978. pTDefRegMap(@Self)^.clr := $00020000
  24979. else
  24980. pTDefRegMap(@Self)^.&set := $00020000;
  24981. end;
  24982. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  24983. begin
  24984. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24985. end;
  24986. procedure TOSC_OSCCON.setPLLMULT2; inline;
  24987. begin
  24988. pTDefRegMap(@Self)^.&set := $00040000;
  24989. end;
  24990. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  24991. begin
  24992. pTDefRegMap(@Self)^.clr := $00040000;
  24993. end;
  24994. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  24995. begin
  24996. if thebits = 0 then
  24997. pTDefRegMap(@Self)^.clr := $00040000
  24998. else
  24999. pTDefRegMap(@Self)^.&set := $00040000;
  25000. end;
  25001. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  25002. begin
  25003. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  25004. end;
  25005. procedure TOSC_OSCCON.setPBDIV0; inline;
  25006. begin
  25007. pTDefRegMap(@Self)^.&set := $00080000;
  25008. end;
  25009. procedure TOSC_OSCCON.clearPBDIV0; inline;
  25010. begin
  25011. pTDefRegMap(@Self)^.clr := $00080000;
  25012. end;
  25013. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  25014. begin
  25015. if thebits = 0 then
  25016. pTDefRegMap(@Self)^.clr := $00080000
  25017. else
  25018. pTDefRegMap(@Self)^.&set := $00080000;
  25019. end;
  25020. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  25021. begin
  25022. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  25023. end;
  25024. procedure TOSC_OSCCON.setPBDIV1; inline;
  25025. begin
  25026. pTDefRegMap(@Self)^.&set := $00100000;
  25027. end;
  25028. procedure TOSC_OSCCON.clearPBDIV1; inline;
  25029. begin
  25030. pTDefRegMap(@Self)^.clr := $00100000;
  25031. end;
  25032. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  25033. begin
  25034. if thebits = 0 then
  25035. pTDefRegMap(@Self)^.clr := $00100000
  25036. else
  25037. pTDefRegMap(@Self)^.&set := $00100000;
  25038. end;
  25039. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  25040. begin
  25041. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  25042. end;
  25043. procedure TOSC_OSCCON.setFRCDIV0; inline;
  25044. begin
  25045. pTDefRegMap(@Self)^.&set := $01000000;
  25046. end;
  25047. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  25048. begin
  25049. pTDefRegMap(@Self)^.clr := $01000000;
  25050. end;
  25051. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  25052. begin
  25053. if thebits = 0 then
  25054. pTDefRegMap(@Self)^.clr := $01000000
  25055. else
  25056. pTDefRegMap(@Self)^.&set := $01000000;
  25057. end;
  25058. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  25059. begin
  25060. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25061. end;
  25062. procedure TOSC_OSCCON.setFRCDIV1; inline;
  25063. begin
  25064. pTDefRegMap(@Self)^.&set := $02000000;
  25065. end;
  25066. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  25067. begin
  25068. pTDefRegMap(@Self)^.clr := $02000000;
  25069. end;
  25070. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  25071. begin
  25072. if thebits = 0 then
  25073. pTDefRegMap(@Self)^.clr := $02000000
  25074. else
  25075. pTDefRegMap(@Self)^.&set := $02000000;
  25076. end;
  25077. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  25078. begin
  25079. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  25080. end;
  25081. procedure TOSC_OSCCON.setFRCDIV2; inline;
  25082. begin
  25083. pTDefRegMap(@Self)^.&set := $04000000;
  25084. end;
  25085. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  25086. begin
  25087. pTDefRegMap(@Self)^.clr := $04000000;
  25088. end;
  25089. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  25090. begin
  25091. if thebits = 0 then
  25092. pTDefRegMap(@Self)^.clr := $04000000
  25093. else
  25094. pTDefRegMap(@Self)^.&set := $04000000;
  25095. end;
  25096. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  25097. begin
  25098. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  25099. end;
  25100. procedure TOSC_OSCCON.setPLLODIV0; inline;
  25101. begin
  25102. pTDefRegMap(@Self)^.&set := $08000000;
  25103. end;
  25104. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  25105. begin
  25106. pTDefRegMap(@Self)^.clr := $08000000;
  25107. end;
  25108. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  25109. begin
  25110. if thebits = 0 then
  25111. pTDefRegMap(@Self)^.clr := $08000000
  25112. else
  25113. pTDefRegMap(@Self)^.&set := $08000000;
  25114. end;
  25115. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  25116. begin
  25117. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25118. end;
  25119. procedure TOSC_OSCCON.setPLLODIV1; inline;
  25120. begin
  25121. pTDefRegMap(@Self)^.&set := $10000000;
  25122. end;
  25123. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  25124. begin
  25125. pTDefRegMap(@Self)^.clr := $10000000;
  25126. end;
  25127. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  25128. begin
  25129. if thebits = 0 then
  25130. pTDefRegMap(@Self)^.clr := $10000000
  25131. else
  25132. pTDefRegMap(@Self)^.&set := $10000000;
  25133. end;
  25134. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  25135. begin
  25136. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25137. end;
  25138. procedure TOSC_OSCCON.setPLLODIV2; inline;
  25139. begin
  25140. pTDefRegMap(@Self)^.&set := $20000000;
  25141. end;
  25142. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  25143. begin
  25144. pTDefRegMap(@Self)^.clr := $20000000;
  25145. end;
  25146. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  25147. begin
  25148. if thebits = 0 then
  25149. pTDefRegMap(@Self)^.clr := $20000000
  25150. else
  25151. pTDefRegMap(@Self)^.&set := $20000000;
  25152. end;
  25153. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  25154. begin
  25155. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25156. end;
  25157. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  25158. begin
  25159. pTDefRegMap(@Self)^.val := thebits;
  25160. end;
  25161. function TOSC_OSCCON.getw : TBits_32; inline;
  25162. begin
  25163. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25164. end;
  25165. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  25166. begin
  25167. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  25168. end;
  25169. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  25170. begin
  25171. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  25172. end;
  25173. procedure TOSC_OSCTUN.setTUN0; inline;
  25174. begin
  25175. pTDefRegMap(@Self)^.&set := $00000001;
  25176. end;
  25177. procedure TOSC_OSCTUN.clearTUN0; inline;
  25178. begin
  25179. pTDefRegMap(@Self)^.clr := $00000001;
  25180. end;
  25181. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  25182. begin
  25183. if thebits = 0 then
  25184. pTDefRegMap(@Self)^.clr := $00000001
  25185. else
  25186. pTDefRegMap(@Self)^.&set := $00000001;
  25187. end;
  25188. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  25189. begin
  25190. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25191. end;
  25192. procedure TOSC_OSCTUN.setTUN1; inline;
  25193. begin
  25194. pTDefRegMap(@Self)^.&set := $00000002;
  25195. end;
  25196. procedure TOSC_OSCTUN.clearTUN1; inline;
  25197. begin
  25198. pTDefRegMap(@Self)^.clr := $00000002;
  25199. end;
  25200. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  25201. begin
  25202. if thebits = 0 then
  25203. pTDefRegMap(@Self)^.clr := $00000002
  25204. else
  25205. pTDefRegMap(@Self)^.&set := $00000002;
  25206. end;
  25207. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  25208. begin
  25209. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25210. end;
  25211. procedure TOSC_OSCTUN.setTUN2; inline;
  25212. begin
  25213. pTDefRegMap(@Self)^.&set := $00000004;
  25214. end;
  25215. procedure TOSC_OSCTUN.clearTUN2; inline;
  25216. begin
  25217. pTDefRegMap(@Self)^.clr := $00000004;
  25218. end;
  25219. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  25220. begin
  25221. if thebits = 0 then
  25222. pTDefRegMap(@Self)^.clr := $00000004
  25223. else
  25224. pTDefRegMap(@Self)^.&set := $00000004;
  25225. end;
  25226. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  25227. begin
  25228. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25229. end;
  25230. procedure TOSC_OSCTUN.setTUN3; inline;
  25231. begin
  25232. pTDefRegMap(@Self)^.&set := $00000008;
  25233. end;
  25234. procedure TOSC_OSCTUN.clearTUN3; inline;
  25235. begin
  25236. pTDefRegMap(@Self)^.clr := $00000008;
  25237. end;
  25238. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  25239. begin
  25240. if thebits = 0 then
  25241. pTDefRegMap(@Self)^.clr := $00000008
  25242. else
  25243. pTDefRegMap(@Self)^.&set := $00000008;
  25244. end;
  25245. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  25246. begin
  25247. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25248. end;
  25249. procedure TOSC_OSCTUN.setTUN4; inline;
  25250. begin
  25251. pTDefRegMap(@Self)^.&set := $00000010;
  25252. end;
  25253. procedure TOSC_OSCTUN.clearTUN4; inline;
  25254. begin
  25255. pTDefRegMap(@Self)^.clr := $00000010;
  25256. end;
  25257. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  25258. begin
  25259. if thebits = 0 then
  25260. pTDefRegMap(@Self)^.clr := $00000010
  25261. else
  25262. pTDefRegMap(@Self)^.&set := $00000010;
  25263. end;
  25264. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  25265. begin
  25266. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25267. end;
  25268. procedure TOSC_OSCTUN.setTUN5; inline;
  25269. begin
  25270. pTDefRegMap(@Self)^.&set := $00000020;
  25271. end;
  25272. procedure TOSC_OSCTUN.clearTUN5; inline;
  25273. begin
  25274. pTDefRegMap(@Self)^.clr := $00000020;
  25275. end;
  25276. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  25277. begin
  25278. if thebits = 0 then
  25279. pTDefRegMap(@Self)^.clr := $00000020
  25280. else
  25281. pTDefRegMap(@Self)^.&set := $00000020;
  25282. end;
  25283. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  25284. begin
  25285. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25286. end;
  25287. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  25288. begin
  25289. pTDefRegMap(@Self)^.val := thebits;
  25290. end;
  25291. function TOSC_OSCTUN.getw : TBits_32; inline;
  25292. begin
  25293. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25294. end;
  25295. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25296. begin
  25297. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25298. end;
  25299. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25300. begin
  25301. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25302. end;
  25303. procedure TOSC_REFOCON.setACTIVE; inline;
  25304. begin
  25305. pTDefRegMap(@Self)^.&set := $00000100;
  25306. end;
  25307. procedure TOSC_REFOCON.clearACTIVE; inline;
  25308. begin
  25309. pTDefRegMap(@Self)^.clr := $00000100;
  25310. end;
  25311. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25312. begin
  25313. if thebits = 0 then
  25314. pTDefRegMap(@Self)^.clr := $00000100
  25315. else
  25316. pTDefRegMap(@Self)^.&set := $00000100;
  25317. end;
  25318. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25319. begin
  25320. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25321. end;
  25322. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25323. begin
  25324. pTDefRegMap(@Self)^.&set := $00000200;
  25325. end;
  25326. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25327. begin
  25328. pTDefRegMap(@Self)^.clr := $00000200;
  25329. end;
  25330. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25331. begin
  25332. if thebits = 0 then
  25333. pTDefRegMap(@Self)^.clr := $00000200
  25334. else
  25335. pTDefRegMap(@Self)^.&set := $00000200;
  25336. end;
  25337. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25338. begin
  25339. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25340. end;
  25341. procedure TOSC_REFOCON.setRSLP; inline;
  25342. begin
  25343. pTDefRegMap(@Self)^.&set := $00000800;
  25344. end;
  25345. procedure TOSC_REFOCON.clearRSLP; inline;
  25346. begin
  25347. pTDefRegMap(@Self)^.clr := $00000800;
  25348. end;
  25349. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25350. begin
  25351. if thebits = 0 then
  25352. pTDefRegMap(@Self)^.clr := $00000800
  25353. else
  25354. pTDefRegMap(@Self)^.&set := $00000800;
  25355. end;
  25356. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25357. begin
  25358. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25359. end;
  25360. procedure TOSC_REFOCON.setOE; inline;
  25361. begin
  25362. pTDefRegMap(@Self)^.&set := $00001000;
  25363. end;
  25364. procedure TOSC_REFOCON.clearOE; inline;
  25365. begin
  25366. pTDefRegMap(@Self)^.clr := $00001000;
  25367. end;
  25368. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25369. begin
  25370. if thebits = 0 then
  25371. pTDefRegMap(@Self)^.clr := $00001000
  25372. else
  25373. pTDefRegMap(@Self)^.&set := $00001000;
  25374. end;
  25375. function TOSC_REFOCON.getOE : TBits_1; inline;
  25376. begin
  25377. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25378. end;
  25379. procedure TOSC_REFOCON.setSIDL; inline;
  25380. begin
  25381. pTDefRegMap(@Self)^.&set := $00002000;
  25382. end;
  25383. procedure TOSC_REFOCON.clearSIDL; inline;
  25384. begin
  25385. pTDefRegMap(@Self)^.clr := $00002000;
  25386. end;
  25387. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25388. begin
  25389. if thebits = 0 then
  25390. pTDefRegMap(@Self)^.clr := $00002000
  25391. else
  25392. pTDefRegMap(@Self)^.&set := $00002000;
  25393. end;
  25394. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25395. begin
  25396. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25397. end;
  25398. procedure TOSC_REFOCON.setON; inline;
  25399. begin
  25400. pTDefRegMap(@Self)^.&set := $00008000;
  25401. end;
  25402. procedure TOSC_REFOCON.clearON; inline;
  25403. begin
  25404. pTDefRegMap(@Self)^.clr := $00008000;
  25405. end;
  25406. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25407. begin
  25408. if thebits = 0 then
  25409. pTDefRegMap(@Self)^.clr := $00008000
  25410. else
  25411. pTDefRegMap(@Self)^.&set := $00008000;
  25412. end;
  25413. function TOSC_REFOCON.getON : TBits_1; inline;
  25414. begin
  25415. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25416. end;
  25417. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25418. begin
  25419. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25420. end;
  25421. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25422. begin
  25423. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25424. end;
  25425. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25426. begin
  25427. pTDefRegMap(@Self)^.val := thebits;
  25428. end;
  25429. function TOSC_REFOCON.getw : TBits_32; inline;
  25430. begin
  25431. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25432. end;
  25433. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25434. begin
  25435. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25436. end;
  25437. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25438. begin
  25439. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25440. end;
  25441. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25442. begin
  25443. pTDefRegMap(@Self)^.val := thebits;
  25444. end;
  25445. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25446. begin
  25447. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25448. end;
  25449. procedure TCFG_PMD5.setU1MD; inline;
  25450. begin
  25451. pTDefRegMap(@Self)^.&set := $00000001;
  25452. end;
  25453. procedure TCFG_PMD5.clearU1MD; inline;
  25454. begin
  25455. pTDefRegMap(@Self)^.clr := $00000001;
  25456. end;
  25457. procedure TCFG_PMD5.setU1MD(thebits : TBits_1); inline;
  25458. begin
  25459. if thebits = 0 then
  25460. pTDefRegMap(@Self)^.clr := $00000001
  25461. else
  25462. pTDefRegMap(@Self)^.&set := $00000001;
  25463. end;
  25464. function TCFG_PMD5.getU1MD : TBits_1; inline;
  25465. begin
  25466. getU1MD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25467. end;
  25468. procedure TCFG_PMD5.setU2MD; inline;
  25469. begin
  25470. pTDefRegMap(@Self)^.&set := $00000002;
  25471. end;
  25472. procedure TCFG_PMD5.clearU2MD; inline;
  25473. begin
  25474. pTDefRegMap(@Self)^.clr := $00000002;
  25475. end;
  25476. procedure TCFG_PMD5.setU2MD(thebits : TBits_1); inline;
  25477. begin
  25478. if thebits = 0 then
  25479. pTDefRegMap(@Self)^.clr := $00000002
  25480. else
  25481. pTDefRegMap(@Self)^.&set := $00000002;
  25482. end;
  25483. function TCFG_PMD5.getU2MD : TBits_1; inline;
  25484. begin
  25485. getU2MD := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25486. end;
  25487. procedure TCFG_PMD5.setSPI1MD; inline;
  25488. begin
  25489. pTDefRegMap(@Self)^.&set := $00000100;
  25490. end;
  25491. procedure TCFG_PMD5.clearSPI1MD; inline;
  25492. begin
  25493. pTDefRegMap(@Self)^.clr := $00000100;
  25494. end;
  25495. procedure TCFG_PMD5.setSPI1MD(thebits : TBits_1); inline;
  25496. begin
  25497. if thebits = 0 then
  25498. pTDefRegMap(@Self)^.clr := $00000100
  25499. else
  25500. pTDefRegMap(@Self)^.&set := $00000100;
  25501. end;
  25502. function TCFG_PMD5.getSPI1MD : TBits_1; inline;
  25503. begin
  25504. getSPI1MD := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25505. end;
  25506. procedure TCFG_PMD5.setSPI2MD; inline;
  25507. begin
  25508. pTDefRegMap(@Self)^.&set := $00000200;
  25509. end;
  25510. procedure TCFG_PMD5.clearSPI2MD; inline;
  25511. begin
  25512. pTDefRegMap(@Self)^.clr := $00000200;
  25513. end;
  25514. procedure TCFG_PMD5.setSPI2MD(thebits : TBits_1); inline;
  25515. begin
  25516. if thebits = 0 then
  25517. pTDefRegMap(@Self)^.clr := $00000200
  25518. else
  25519. pTDefRegMap(@Self)^.&set := $00000200;
  25520. end;
  25521. function TCFG_PMD5.getSPI2MD : TBits_1; inline;
  25522. begin
  25523. getSPI2MD := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25524. end;
  25525. procedure TCFG_PMD5.setI2C1MD; inline;
  25526. begin
  25527. pTDefRegMap(@Self)^.&set := $00010000;
  25528. end;
  25529. procedure TCFG_PMD5.clearI2C1MD; inline;
  25530. begin
  25531. pTDefRegMap(@Self)^.clr := $00010000;
  25532. end;
  25533. procedure TCFG_PMD5.setI2C1MD(thebits : TBits_1); inline;
  25534. begin
  25535. if thebits = 0 then
  25536. pTDefRegMap(@Self)^.clr := $00010000
  25537. else
  25538. pTDefRegMap(@Self)^.&set := $00010000;
  25539. end;
  25540. function TCFG_PMD5.getI2C1MD : TBits_1; inline;
  25541. begin
  25542. getI2C1MD := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25543. end;
  25544. procedure TCFG_PMD5.setI2C2MD; inline;
  25545. begin
  25546. pTDefRegMap(@Self)^.&set := $00020000;
  25547. end;
  25548. procedure TCFG_PMD5.clearI2C2MD; inline;
  25549. begin
  25550. pTDefRegMap(@Self)^.clr := $00020000;
  25551. end;
  25552. procedure TCFG_PMD5.setI2C2MD(thebits : TBits_1); inline;
  25553. begin
  25554. if thebits = 0 then
  25555. pTDefRegMap(@Self)^.clr := $00020000
  25556. else
  25557. pTDefRegMap(@Self)^.&set := $00020000;
  25558. end;
  25559. function TCFG_PMD5.getI2C2MD : TBits_1; inline;
  25560. begin
  25561. getI2C2MD := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25562. end;
  25563. procedure TCFG_PMD5.setUSB1MD; inline;
  25564. begin
  25565. pTDefRegMap(@Self)^.&set := $01000000;
  25566. end;
  25567. procedure TCFG_PMD5.clearUSB1MD; inline;
  25568. begin
  25569. pTDefRegMap(@Self)^.clr := $01000000;
  25570. end;
  25571. procedure TCFG_PMD5.setUSB1MD(thebits : TBits_1); inline;
  25572. begin
  25573. if thebits = 0 then
  25574. pTDefRegMap(@Self)^.clr := $01000000
  25575. else
  25576. pTDefRegMap(@Self)^.&set := $01000000;
  25577. end;
  25578. function TCFG_PMD5.getUSB1MD : TBits_1; inline;
  25579. begin
  25580. getUSB1MD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25581. end;
  25582. procedure TCFG_PMD5.setUSBMD; inline;
  25583. begin
  25584. pTDefRegMap(@Self)^.&set := $01000000;
  25585. end;
  25586. procedure TCFG_PMD5.clearUSBMD; inline;
  25587. begin
  25588. pTDefRegMap(@Self)^.clr := $01000000;
  25589. end;
  25590. procedure TCFG_PMD5.setUSBMD(thebits : TBits_1); inline;
  25591. begin
  25592. if thebits = 0 then
  25593. pTDefRegMap(@Self)^.clr := $01000000
  25594. else
  25595. pTDefRegMap(@Self)^.&set := $01000000;
  25596. end;
  25597. function TCFG_PMD5.getUSBMD : TBits_1; inline;
  25598. begin
  25599. getUSBMD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25600. end;
  25601. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  25602. begin
  25603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25604. end;
  25605. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  25606. begin
  25607. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25608. end;
  25609. procedure TNVM_NVMCON.setLVDSTAT; inline;
  25610. begin
  25611. pTDefRegMap(@Self)^.&set := $00000800;
  25612. end;
  25613. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  25614. begin
  25615. pTDefRegMap(@Self)^.clr := $00000800;
  25616. end;
  25617. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  25618. begin
  25619. if thebits = 0 then
  25620. pTDefRegMap(@Self)^.clr := $00000800
  25621. else
  25622. pTDefRegMap(@Self)^.&set := $00000800;
  25623. end;
  25624. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  25625. begin
  25626. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25627. end;
  25628. procedure TNVM_NVMCON.setLVDERR; inline;
  25629. begin
  25630. pTDefRegMap(@Self)^.&set := $00001000;
  25631. end;
  25632. procedure TNVM_NVMCON.clearLVDERR; inline;
  25633. begin
  25634. pTDefRegMap(@Self)^.clr := $00001000;
  25635. end;
  25636. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  25637. begin
  25638. if thebits = 0 then
  25639. pTDefRegMap(@Self)^.clr := $00001000
  25640. else
  25641. pTDefRegMap(@Self)^.&set := $00001000;
  25642. end;
  25643. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  25644. begin
  25645. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25646. end;
  25647. procedure TNVM_NVMCON.setWRERR; inline;
  25648. begin
  25649. pTDefRegMap(@Self)^.&set := $00002000;
  25650. end;
  25651. procedure TNVM_NVMCON.clearWRERR; inline;
  25652. begin
  25653. pTDefRegMap(@Self)^.clr := $00002000;
  25654. end;
  25655. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  25656. begin
  25657. if thebits = 0 then
  25658. pTDefRegMap(@Self)^.clr := $00002000
  25659. else
  25660. pTDefRegMap(@Self)^.&set := $00002000;
  25661. end;
  25662. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  25663. begin
  25664. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25665. end;
  25666. procedure TNVM_NVMCON.setWREN; inline;
  25667. begin
  25668. pTDefRegMap(@Self)^.&set := $00004000;
  25669. end;
  25670. procedure TNVM_NVMCON.clearWREN; inline;
  25671. begin
  25672. pTDefRegMap(@Self)^.clr := $00004000;
  25673. end;
  25674. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  25675. begin
  25676. if thebits = 0 then
  25677. pTDefRegMap(@Self)^.clr := $00004000
  25678. else
  25679. pTDefRegMap(@Self)^.&set := $00004000;
  25680. end;
  25681. function TNVM_NVMCON.getWREN : TBits_1; inline;
  25682. begin
  25683. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25684. end;
  25685. procedure TNVM_NVMCON.setWR; inline;
  25686. begin
  25687. pTDefRegMap(@Self)^.&set := $00008000;
  25688. end;
  25689. procedure TNVM_NVMCON.clearWR; inline;
  25690. begin
  25691. pTDefRegMap(@Self)^.clr := $00008000;
  25692. end;
  25693. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  25694. begin
  25695. if thebits = 0 then
  25696. pTDefRegMap(@Self)^.clr := $00008000
  25697. else
  25698. pTDefRegMap(@Self)^.&set := $00008000;
  25699. end;
  25700. function TNVM_NVMCON.getWR : TBits_1; inline;
  25701. begin
  25702. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25703. end;
  25704. procedure TNVM_NVMCON.setNVMOP0; inline;
  25705. begin
  25706. pTDefRegMap(@Self)^.&set := $00000001;
  25707. end;
  25708. procedure TNVM_NVMCON.clearNVMOP0; inline;
  25709. begin
  25710. pTDefRegMap(@Self)^.clr := $00000001;
  25711. end;
  25712. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  25713. begin
  25714. if thebits = 0 then
  25715. pTDefRegMap(@Self)^.clr := $00000001
  25716. else
  25717. pTDefRegMap(@Self)^.&set := $00000001;
  25718. end;
  25719. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  25720. begin
  25721. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25722. end;
  25723. procedure TNVM_NVMCON.setNVMOP1; inline;
  25724. begin
  25725. pTDefRegMap(@Self)^.&set := $00000002;
  25726. end;
  25727. procedure TNVM_NVMCON.clearNVMOP1; inline;
  25728. begin
  25729. pTDefRegMap(@Self)^.clr := $00000002;
  25730. end;
  25731. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  25732. begin
  25733. if thebits = 0 then
  25734. pTDefRegMap(@Self)^.clr := $00000002
  25735. else
  25736. pTDefRegMap(@Self)^.&set := $00000002;
  25737. end;
  25738. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  25739. begin
  25740. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25741. end;
  25742. procedure TNVM_NVMCON.setNVMOP2; inline;
  25743. begin
  25744. pTDefRegMap(@Self)^.&set := $00000004;
  25745. end;
  25746. procedure TNVM_NVMCON.clearNVMOP2; inline;
  25747. begin
  25748. pTDefRegMap(@Self)^.clr := $00000004;
  25749. end;
  25750. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  25751. begin
  25752. if thebits = 0 then
  25753. pTDefRegMap(@Self)^.clr := $00000004
  25754. else
  25755. pTDefRegMap(@Self)^.&set := $00000004;
  25756. end;
  25757. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  25758. begin
  25759. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25760. end;
  25761. procedure TNVM_NVMCON.setNVMOP3; inline;
  25762. begin
  25763. pTDefRegMap(@Self)^.&set := $00000008;
  25764. end;
  25765. procedure TNVM_NVMCON.clearNVMOP3; inline;
  25766. begin
  25767. pTDefRegMap(@Self)^.clr := $00000008;
  25768. end;
  25769. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  25770. begin
  25771. if thebits = 0 then
  25772. pTDefRegMap(@Self)^.clr := $00000008
  25773. else
  25774. pTDefRegMap(@Self)^.&set := $00000008;
  25775. end;
  25776. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  25777. begin
  25778. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25779. end;
  25780. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  25781. begin
  25782. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25783. end;
  25784. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  25785. begin
  25786. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25787. end;
  25788. procedure TNVM_NVMCON.setPROGOP0; inline;
  25789. begin
  25790. pTDefRegMap(@Self)^.&set := $00000001;
  25791. end;
  25792. procedure TNVM_NVMCON.clearPROGOP0; inline;
  25793. begin
  25794. pTDefRegMap(@Self)^.clr := $00000001;
  25795. end;
  25796. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  25797. begin
  25798. if thebits = 0 then
  25799. pTDefRegMap(@Self)^.clr := $00000001
  25800. else
  25801. pTDefRegMap(@Self)^.&set := $00000001;
  25802. end;
  25803. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  25804. begin
  25805. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25806. end;
  25807. procedure TNVM_NVMCON.setPROGOP1; inline;
  25808. begin
  25809. pTDefRegMap(@Self)^.&set := $00000002;
  25810. end;
  25811. procedure TNVM_NVMCON.clearPROGOP1; inline;
  25812. begin
  25813. pTDefRegMap(@Self)^.clr := $00000002;
  25814. end;
  25815. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  25816. begin
  25817. if thebits = 0 then
  25818. pTDefRegMap(@Self)^.clr := $00000002
  25819. else
  25820. pTDefRegMap(@Self)^.&set := $00000002;
  25821. end;
  25822. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  25823. begin
  25824. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25825. end;
  25826. procedure TNVM_NVMCON.setPROGOP2; inline;
  25827. begin
  25828. pTDefRegMap(@Self)^.&set := $00000004;
  25829. end;
  25830. procedure TNVM_NVMCON.clearPROGOP2; inline;
  25831. begin
  25832. pTDefRegMap(@Self)^.clr := $00000004;
  25833. end;
  25834. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  25835. begin
  25836. if thebits = 0 then
  25837. pTDefRegMap(@Self)^.clr := $00000004
  25838. else
  25839. pTDefRegMap(@Self)^.&set := $00000004;
  25840. end;
  25841. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  25842. begin
  25843. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25844. end;
  25845. procedure TNVM_NVMCON.setPROGOP3; inline;
  25846. begin
  25847. pTDefRegMap(@Self)^.&set := $00000008;
  25848. end;
  25849. procedure TNVM_NVMCON.clearPROGOP3; inline;
  25850. begin
  25851. pTDefRegMap(@Self)^.clr := $00000008;
  25852. end;
  25853. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  25854. begin
  25855. if thebits = 0 then
  25856. pTDefRegMap(@Self)^.clr := $00000008
  25857. else
  25858. pTDefRegMap(@Self)^.&set := $00000008;
  25859. end;
  25860. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  25861. begin
  25862. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25863. end;
  25864. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  25865. begin
  25866. pTDefRegMap(@Self)^.val := thebits;
  25867. end;
  25868. function TNVM_NVMCON.getw : TBits_32; inline;
  25869. begin
  25870. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25871. end;
  25872. procedure TRCON_RCON.setPOR; inline;
  25873. begin
  25874. pTDefRegMap(@Self)^.&set := $00000001;
  25875. end;
  25876. procedure TRCON_RCON.clearPOR; inline;
  25877. begin
  25878. pTDefRegMap(@Self)^.clr := $00000001;
  25879. end;
  25880. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  25881. begin
  25882. if thebits = 0 then
  25883. pTDefRegMap(@Self)^.clr := $00000001
  25884. else
  25885. pTDefRegMap(@Self)^.&set := $00000001;
  25886. end;
  25887. function TRCON_RCON.getPOR : TBits_1; inline;
  25888. begin
  25889. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25890. end;
  25891. procedure TRCON_RCON.setBOR; inline;
  25892. begin
  25893. pTDefRegMap(@Self)^.&set := $00000002;
  25894. end;
  25895. procedure TRCON_RCON.clearBOR; inline;
  25896. begin
  25897. pTDefRegMap(@Self)^.clr := $00000002;
  25898. end;
  25899. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  25900. begin
  25901. if thebits = 0 then
  25902. pTDefRegMap(@Self)^.clr := $00000002
  25903. else
  25904. pTDefRegMap(@Self)^.&set := $00000002;
  25905. end;
  25906. function TRCON_RCON.getBOR : TBits_1; inline;
  25907. begin
  25908. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25909. end;
  25910. procedure TRCON_RCON.setIDLE; inline;
  25911. begin
  25912. pTDefRegMap(@Self)^.&set := $00000004;
  25913. end;
  25914. procedure TRCON_RCON.clearIDLE; inline;
  25915. begin
  25916. pTDefRegMap(@Self)^.clr := $00000004;
  25917. end;
  25918. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  25919. begin
  25920. if thebits = 0 then
  25921. pTDefRegMap(@Self)^.clr := $00000004
  25922. else
  25923. pTDefRegMap(@Self)^.&set := $00000004;
  25924. end;
  25925. function TRCON_RCON.getIDLE : TBits_1; inline;
  25926. begin
  25927. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25928. end;
  25929. procedure TRCON_RCON.setSLEEP; inline;
  25930. begin
  25931. pTDefRegMap(@Self)^.&set := $00000008;
  25932. end;
  25933. procedure TRCON_RCON.clearSLEEP; inline;
  25934. begin
  25935. pTDefRegMap(@Self)^.clr := $00000008;
  25936. end;
  25937. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  25938. begin
  25939. if thebits = 0 then
  25940. pTDefRegMap(@Self)^.clr := $00000008
  25941. else
  25942. pTDefRegMap(@Self)^.&set := $00000008;
  25943. end;
  25944. function TRCON_RCON.getSLEEP : TBits_1; inline;
  25945. begin
  25946. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25947. end;
  25948. procedure TRCON_RCON.setWDTO; inline;
  25949. begin
  25950. pTDefRegMap(@Self)^.&set := $00000010;
  25951. end;
  25952. procedure TRCON_RCON.clearWDTO; inline;
  25953. begin
  25954. pTDefRegMap(@Self)^.clr := $00000010;
  25955. end;
  25956. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  25957. begin
  25958. if thebits = 0 then
  25959. pTDefRegMap(@Self)^.clr := $00000010
  25960. else
  25961. pTDefRegMap(@Self)^.&set := $00000010;
  25962. end;
  25963. function TRCON_RCON.getWDTO : TBits_1; inline;
  25964. begin
  25965. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25966. end;
  25967. procedure TRCON_RCON.setSWR; inline;
  25968. begin
  25969. pTDefRegMap(@Self)^.&set := $00000040;
  25970. end;
  25971. procedure TRCON_RCON.clearSWR; inline;
  25972. begin
  25973. pTDefRegMap(@Self)^.clr := $00000040;
  25974. end;
  25975. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  25976. begin
  25977. if thebits = 0 then
  25978. pTDefRegMap(@Self)^.clr := $00000040
  25979. else
  25980. pTDefRegMap(@Self)^.&set := $00000040;
  25981. end;
  25982. function TRCON_RCON.getSWR : TBits_1; inline;
  25983. begin
  25984. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25985. end;
  25986. procedure TRCON_RCON.setEXTR; inline;
  25987. begin
  25988. pTDefRegMap(@Self)^.&set := $00000080;
  25989. end;
  25990. procedure TRCON_RCON.clearEXTR; inline;
  25991. begin
  25992. pTDefRegMap(@Self)^.clr := $00000080;
  25993. end;
  25994. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  25995. begin
  25996. if thebits = 0 then
  25997. pTDefRegMap(@Self)^.clr := $00000080
  25998. else
  25999. pTDefRegMap(@Self)^.&set := $00000080;
  26000. end;
  26001. function TRCON_RCON.getEXTR : TBits_1; inline;
  26002. begin
  26003. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26004. end;
  26005. procedure TRCON_RCON.setVREGS; inline;
  26006. begin
  26007. pTDefRegMap(@Self)^.&set := $00000100;
  26008. end;
  26009. procedure TRCON_RCON.clearVREGS; inline;
  26010. begin
  26011. pTDefRegMap(@Self)^.clr := $00000100;
  26012. end;
  26013. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  26014. begin
  26015. if thebits = 0 then
  26016. pTDefRegMap(@Self)^.clr := $00000100
  26017. else
  26018. pTDefRegMap(@Self)^.&set := $00000100;
  26019. end;
  26020. function TRCON_RCON.getVREGS : TBits_1; inline;
  26021. begin
  26022. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26023. end;
  26024. procedure TRCON_RCON.setCMR; inline;
  26025. begin
  26026. pTDefRegMap(@Self)^.&set := $00000200;
  26027. end;
  26028. procedure TRCON_RCON.clearCMR; inline;
  26029. begin
  26030. pTDefRegMap(@Self)^.clr := $00000200;
  26031. end;
  26032. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  26033. begin
  26034. if thebits = 0 then
  26035. pTDefRegMap(@Self)^.clr := $00000200
  26036. else
  26037. pTDefRegMap(@Self)^.&set := $00000200;
  26038. end;
  26039. function TRCON_RCON.getCMR : TBits_1; inline;
  26040. begin
  26041. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26042. end;
  26043. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  26044. begin
  26045. pTDefRegMap(@Self)^.val := thebits;
  26046. end;
  26047. function TRCON_RCON.getw : TBits_32; inline;
  26048. begin
  26049. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26050. end;
  26051. procedure TRCON_RSWRST.setSWRST; inline;
  26052. begin
  26053. pTDefRegMap(@Self)^.&set := $00000001;
  26054. end;
  26055. procedure TRCON_RSWRST.clearSWRST; inline;
  26056. begin
  26057. pTDefRegMap(@Self)^.clr := $00000001;
  26058. end;
  26059. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  26060. begin
  26061. if thebits = 0 then
  26062. pTDefRegMap(@Self)^.clr := $00000001
  26063. else
  26064. pTDefRegMap(@Self)^.&set := $00000001;
  26065. end;
  26066. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  26067. begin
  26068. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26069. end;
  26070. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  26071. begin
  26072. pTDefRegMap(@Self)^.val := thebits;
  26073. end;
  26074. function TRCON_RSWRST.getw : TBits_32; inline;
  26075. begin
  26076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26077. end;
  26078. procedure TINT_INTCON.setINT0EP; inline;
  26079. begin
  26080. pTDefRegMap(@Self)^.&set := $00000001;
  26081. end;
  26082. procedure TINT_INTCON.clearINT0EP; inline;
  26083. begin
  26084. pTDefRegMap(@Self)^.clr := $00000001;
  26085. end;
  26086. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  26087. begin
  26088. if thebits = 0 then
  26089. pTDefRegMap(@Self)^.clr := $00000001
  26090. else
  26091. pTDefRegMap(@Self)^.&set := $00000001;
  26092. end;
  26093. function TINT_INTCON.getINT0EP : TBits_1; inline;
  26094. begin
  26095. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26096. end;
  26097. procedure TINT_INTCON.setINT1EP; inline;
  26098. begin
  26099. pTDefRegMap(@Self)^.&set := $00000002;
  26100. end;
  26101. procedure TINT_INTCON.clearINT1EP; inline;
  26102. begin
  26103. pTDefRegMap(@Self)^.clr := $00000002;
  26104. end;
  26105. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  26106. begin
  26107. if thebits = 0 then
  26108. pTDefRegMap(@Self)^.clr := $00000002
  26109. else
  26110. pTDefRegMap(@Self)^.&set := $00000002;
  26111. end;
  26112. function TINT_INTCON.getINT1EP : TBits_1; inline;
  26113. begin
  26114. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26115. end;
  26116. procedure TINT_INTCON.setINT2EP; inline;
  26117. begin
  26118. pTDefRegMap(@Self)^.&set := $00000004;
  26119. end;
  26120. procedure TINT_INTCON.clearINT2EP; inline;
  26121. begin
  26122. pTDefRegMap(@Self)^.clr := $00000004;
  26123. end;
  26124. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  26125. begin
  26126. if thebits = 0 then
  26127. pTDefRegMap(@Self)^.clr := $00000004
  26128. else
  26129. pTDefRegMap(@Self)^.&set := $00000004;
  26130. end;
  26131. function TINT_INTCON.getINT2EP : TBits_1; inline;
  26132. begin
  26133. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26134. end;
  26135. procedure TINT_INTCON.setINT3EP; inline;
  26136. begin
  26137. pTDefRegMap(@Self)^.&set := $00000008;
  26138. end;
  26139. procedure TINT_INTCON.clearINT3EP; inline;
  26140. begin
  26141. pTDefRegMap(@Self)^.clr := $00000008;
  26142. end;
  26143. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  26144. begin
  26145. if thebits = 0 then
  26146. pTDefRegMap(@Self)^.clr := $00000008
  26147. else
  26148. pTDefRegMap(@Self)^.&set := $00000008;
  26149. end;
  26150. function TINT_INTCON.getINT3EP : TBits_1; inline;
  26151. begin
  26152. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26153. end;
  26154. procedure TINT_INTCON.setINT4EP; inline;
  26155. begin
  26156. pTDefRegMap(@Self)^.&set := $00000010;
  26157. end;
  26158. procedure TINT_INTCON.clearINT4EP; inline;
  26159. begin
  26160. pTDefRegMap(@Self)^.clr := $00000010;
  26161. end;
  26162. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  26163. begin
  26164. if thebits = 0 then
  26165. pTDefRegMap(@Self)^.clr := $00000010
  26166. else
  26167. pTDefRegMap(@Self)^.&set := $00000010;
  26168. end;
  26169. function TINT_INTCON.getINT4EP : TBits_1; inline;
  26170. begin
  26171. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26172. end;
  26173. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  26174. begin
  26175. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  26176. end;
  26177. function TINT_INTCON.getTPC : TBits_3; inline;
  26178. begin
  26179. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  26180. end;
  26181. procedure TINT_INTCON.setMVEC; inline;
  26182. begin
  26183. pTDefRegMap(@Self)^.&set := $00001000;
  26184. end;
  26185. procedure TINT_INTCON.clearMVEC; inline;
  26186. begin
  26187. pTDefRegMap(@Self)^.clr := $00001000;
  26188. end;
  26189. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  26190. begin
  26191. if thebits = 0 then
  26192. pTDefRegMap(@Self)^.clr := $00001000
  26193. else
  26194. pTDefRegMap(@Self)^.&set := $00001000;
  26195. end;
  26196. function TINT_INTCON.getMVEC : TBits_1; inline;
  26197. begin
  26198. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26199. end;
  26200. procedure TINT_INTCON.setSS0; inline;
  26201. begin
  26202. pTDefRegMap(@Self)^.&set := $00010000;
  26203. end;
  26204. procedure TINT_INTCON.clearSS0; inline;
  26205. begin
  26206. pTDefRegMap(@Self)^.clr := $00010000;
  26207. end;
  26208. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  26209. begin
  26210. if thebits = 0 then
  26211. pTDefRegMap(@Self)^.clr := $00010000
  26212. else
  26213. pTDefRegMap(@Self)^.&set := $00010000;
  26214. end;
  26215. function TINT_INTCON.getSS0 : TBits_1; inline;
  26216. begin
  26217. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26218. end;
  26219. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  26220. begin
  26221. pTDefRegMap(@Self)^.val := thebits;
  26222. end;
  26223. function TINT_INTCON.getw : TBits_32; inline;
  26224. begin
  26225. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26226. end;
  26227. procedure TINT_IFS0.setCTIF; inline;
  26228. begin
  26229. pTDefRegMap(@Self)^.&set := $00000001;
  26230. end;
  26231. procedure TINT_IFS0.clearCTIF; inline;
  26232. begin
  26233. pTDefRegMap(@Self)^.clr := $00000001;
  26234. end;
  26235. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  26236. begin
  26237. if thebits = 0 then
  26238. pTDefRegMap(@Self)^.clr := $00000001
  26239. else
  26240. pTDefRegMap(@Self)^.&set := $00000001;
  26241. end;
  26242. function TINT_IFS0.getCTIF : TBits_1; inline;
  26243. begin
  26244. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26245. end;
  26246. procedure TINT_IFS0.setCS0IF; inline;
  26247. begin
  26248. pTDefRegMap(@Self)^.&set := $00000002;
  26249. end;
  26250. procedure TINT_IFS0.clearCS0IF; inline;
  26251. begin
  26252. pTDefRegMap(@Self)^.clr := $00000002;
  26253. end;
  26254. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  26255. begin
  26256. if thebits = 0 then
  26257. pTDefRegMap(@Self)^.clr := $00000002
  26258. else
  26259. pTDefRegMap(@Self)^.&set := $00000002;
  26260. end;
  26261. function TINT_IFS0.getCS0IF : TBits_1; inline;
  26262. begin
  26263. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26264. end;
  26265. procedure TINT_IFS0.setCS1IF; inline;
  26266. begin
  26267. pTDefRegMap(@Self)^.&set := $00000004;
  26268. end;
  26269. procedure TINT_IFS0.clearCS1IF; inline;
  26270. begin
  26271. pTDefRegMap(@Self)^.clr := $00000004;
  26272. end;
  26273. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  26274. begin
  26275. if thebits = 0 then
  26276. pTDefRegMap(@Self)^.clr := $00000004
  26277. else
  26278. pTDefRegMap(@Self)^.&set := $00000004;
  26279. end;
  26280. function TINT_IFS0.getCS1IF : TBits_1; inline;
  26281. begin
  26282. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26283. end;
  26284. procedure TINT_IFS0.setINT0IF; inline;
  26285. begin
  26286. pTDefRegMap(@Self)^.&set := $00000008;
  26287. end;
  26288. procedure TINT_IFS0.clearINT0IF; inline;
  26289. begin
  26290. pTDefRegMap(@Self)^.clr := $00000008;
  26291. end;
  26292. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  26293. begin
  26294. if thebits = 0 then
  26295. pTDefRegMap(@Self)^.clr := $00000008
  26296. else
  26297. pTDefRegMap(@Self)^.&set := $00000008;
  26298. end;
  26299. function TINT_IFS0.getINT0IF : TBits_1; inline;
  26300. begin
  26301. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26302. end;
  26303. procedure TINT_IFS0.setT1IF; inline;
  26304. begin
  26305. pTDefRegMap(@Self)^.&set := $00000010;
  26306. end;
  26307. procedure TINT_IFS0.clearT1IF; inline;
  26308. begin
  26309. pTDefRegMap(@Self)^.clr := $00000010;
  26310. end;
  26311. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  26312. begin
  26313. if thebits = 0 then
  26314. pTDefRegMap(@Self)^.clr := $00000010
  26315. else
  26316. pTDefRegMap(@Self)^.&set := $00000010;
  26317. end;
  26318. function TINT_IFS0.getT1IF : TBits_1; inline;
  26319. begin
  26320. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26321. end;
  26322. procedure TINT_IFS0.setIC1EIF; inline;
  26323. begin
  26324. pTDefRegMap(@Self)^.&set := $00000020;
  26325. end;
  26326. procedure TINT_IFS0.clearIC1EIF; inline;
  26327. begin
  26328. pTDefRegMap(@Self)^.clr := $00000020;
  26329. end;
  26330. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  26331. begin
  26332. if thebits = 0 then
  26333. pTDefRegMap(@Self)^.clr := $00000020
  26334. else
  26335. pTDefRegMap(@Self)^.&set := $00000020;
  26336. end;
  26337. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  26338. begin
  26339. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26340. end;
  26341. procedure TINT_IFS0.setIC1IF; inline;
  26342. begin
  26343. pTDefRegMap(@Self)^.&set := $00000040;
  26344. end;
  26345. procedure TINT_IFS0.clearIC1IF; inline;
  26346. begin
  26347. pTDefRegMap(@Self)^.clr := $00000040;
  26348. end;
  26349. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  26350. begin
  26351. if thebits = 0 then
  26352. pTDefRegMap(@Self)^.clr := $00000040
  26353. else
  26354. pTDefRegMap(@Self)^.&set := $00000040;
  26355. end;
  26356. function TINT_IFS0.getIC1IF : TBits_1; inline;
  26357. begin
  26358. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26359. end;
  26360. procedure TINT_IFS0.setOC1IF; inline;
  26361. begin
  26362. pTDefRegMap(@Self)^.&set := $00000080;
  26363. end;
  26364. procedure TINT_IFS0.clearOC1IF; inline;
  26365. begin
  26366. pTDefRegMap(@Self)^.clr := $00000080;
  26367. end;
  26368. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  26369. begin
  26370. if thebits = 0 then
  26371. pTDefRegMap(@Self)^.clr := $00000080
  26372. else
  26373. pTDefRegMap(@Self)^.&set := $00000080;
  26374. end;
  26375. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26376. begin
  26377. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26378. end;
  26379. procedure TINT_IFS0.setINT1IF; inline;
  26380. begin
  26381. pTDefRegMap(@Self)^.&set := $00000100;
  26382. end;
  26383. procedure TINT_IFS0.clearINT1IF; inline;
  26384. begin
  26385. pTDefRegMap(@Self)^.clr := $00000100;
  26386. end;
  26387. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26388. begin
  26389. if thebits = 0 then
  26390. pTDefRegMap(@Self)^.clr := $00000100
  26391. else
  26392. pTDefRegMap(@Self)^.&set := $00000100;
  26393. end;
  26394. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26395. begin
  26396. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26397. end;
  26398. procedure TINT_IFS0.setT2IF; inline;
  26399. begin
  26400. pTDefRegMap(@Self)^.&set := $00000200;
  26401. end;
  26402. procedure TINT_IFS0.clearT2IF; inline;
  26403. begin
  26404. pTDefRegMap(@Self)^.clr := $00000200;
  26405. end;
  26406. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26407. begin
  26408. if thebits = 0 then
  26409. pTDefRegMap(@Self)^.clr := $00000200
  26410. else
  26411. pTDefRegMap(@Self)^.&set := $00000200;
  26412. end;
  26413. function TINT_IFS0.getT2IF : TBits_1; inline;
  26414. begin
  26415. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26416. end;
  26417. procedure TINT_IFS0.setIC2EIF; inline;
  26418. begin
  26419. pTDefRegMap(@Self)^.&set := $00000400;
  26420. end;
  26421. procedure TINT_IFS0.clearIC2EIF; inline;
  26422. begin
  26423. pTDefRegMap(@Self)^.clr := $00000400;
  26424. end;
  26425. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26426. begin
  26427. if thebits = 0 then
  26428. pTDefRegMap(@Self)^.clr := $00000400
  26429. else
  26430. pTDefRegMap(@Self)^.&set := $00000400;
  26431. end;
  26432. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26433. begin
  26434. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26435. end;
  26436. procedure TINT_IFS0.setIC2IF; inline;
  26437. begin
  26438. pTDefRegMap(@Self)^.&set := $00000800;
  26439. end;
  26440. procedure TINT_IFS0.clearIC2IF; inline;
  26441. begin
  26442. pTDefRegMap(@Self)^.clr := $00000800;
  26443. end;
  26444. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26445. begin
  26446. if thebits = 0 then
  26447. pTDefRegMap(@Self)^.clr := $00000800
  26448. else
  26449. pTDefRegMap(@Self)^.&set := $00000800;
  26450. end;
  26451. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26452. begin
  26453. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26454. end;
  26455. procedure TINT_IFS0.setOC2IF; inline;
  26456. begin
  26457. pTDefRegMap(@Self)^.&set := $00001000;
  26458. end;
  26459. procedure TINT_IFS0.clearOC2IF; inline;
  26460. begin
  26461. pTDefRegMap(@Self)^.clr := $00001000;
  26462. end;
  26463. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26464. begin
  26465. if thebits = 0 then
  26466. pTDefRegMap(@Self)^.clr := $00001000
  26467. else
  26468. pTDefRegMap(@Self)^.&set := $00001000;
  26469. end;
  26470. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26471. begin
  26472. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26473. end;
  26474. procedure TINT_IFS0.setINT2IF; inline;
  26475. begin
  26476. pTDefRegMap(@Self)^.&set := $00002000;
  26477. end;
  26478. procedure TINT_IFS0.clearINT2IF; inline;
  26479. begin
  26480. pTDefRegMap(@Self)^.clr := $00002000;
  26481. end;
  26482. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26483. begin
  26484. if thebits = 0 then
  26485. pTDefRegMap(@Self)^.clr := $00002000
  26486. else
  26487. pTDefRegMap(@Self)^.&set := $00002000;
  26488. end;
  26489. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26490. begin
  26491. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26492. end;
  26493. procedure TINT_IFS0.setT3IF; inline;
  26494. begin
  26495. pTDefRegMap(@Self)^.&set := $00004000;
  26496. end;
  26497. procedure TINT_IFS0.clearT3IF; inline;
  26498. begin
  26499. pTDefRegMap(@Self)^.clr := $00004000;
  26500. end;
  26501. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26502. begin
  26503. if thebits = 0 then
  26504. pTDefRegMap(@Self)^.clr := $00004000
  26505. else
  26506. pTDefRegMap(@Self)^.&set := $00004000;
  26507. end;
  26508. function TINT_IFS0.getT3IF : TBits_1; inline;
  26509. begin
  26510. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26511. end;
  26512. procedure TINT_IFS0.setIC3EIF; inline;
  26513. begin
  26514. pTDefRegMap(@Self)^.&set := $00008000;
  26515. end;
  26516. procedure TINT_IFS0.clearIC3EIF; inline;
  26517. begin
  26518. pTDefRegMap(@Self)^.clr := $00008000;
  26519. end;
  26520. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26521. begin
  26522. if thebits = 0 then
  26523. pTDefRegMap(@Self)^.clr := $00008000
  26524. else
  26525. pTDefRegMap(@Self)^.&set := $00008000;
  26526. end;
  26527. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26528. begin
  26529. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26530. end;
  26531. procedure TINT_IFS0.setIC3IF; inline;
  26532. begin
  26533. pTDefRegMap(@Self)^.&set := $00010000;
  26534. end;
  26535. procedure TINT_IFS0.clearIC3IF; inline;
  26536. begin
  26537. pTDefRegMap(@Self)^.clr := $00010000;
  26538. end;
  26539. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26540. begin
  26541. if thebits = 0 then
  26542. pTDefRegMap(@Self)^.clr := $00010000
  26543. else
  26544. pTDefRegMap(@Self)^.&set := $00010000;
  26545. end;
  26546. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26547. begin
  26548. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26549. end;
  26550. procedure TINT_IFS0.setOC3IF; inline;
  26551. begin
  26552. pTDefRegMap(@Self)^.&set := $00020000;
  26553. end;
  26554. procedure TINT_IFS0.clearOC3IF; inline;
  26555. begin
  26556. pTDefRegMap(@Self)^.clr := $00020000;
  26557. end;
  26558. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26559. begin
  26560. if thebits = 0 then
  26561. pTDefRegMap(@Self)^.clr := $00020000
  26562. else
  26563. pTDefRegMap(@Self)^.&set := $00020000;
  26564. end;
  26565. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26566. begin
  26567. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26568. end;
  26569. procedure TINT_IFS0.setINT3IF; inline;
  26570. begin
  26571. pTDefRegMap(@Self)^.&set := $00040000;
  26572. end;
  26573. procedure TINT_IFS0.clearINT3IF; inline;
  26574. begin
  26575. pTDefRegMap(@Self)^.clr := $00040000;
  26576. end;
  26577. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26578. begin
  26579. if thebits = 0 then
  26580. pTDefRegMap(@Self)^.clr := $00040000
  26581. else
  26582. pTDefRegMap(@Self)^.&set := $00040000;
  26583. end;
  26584. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26585. begin
  26586. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26587. end;
  26588. procedure TINT_IFS0.setT4IF; inline;
  26589. begin
  26590. pTDefRegMap(@Self)^.&set := $00080000;
  26591. end;
  26592. procedure TINT_IFS0.clearT4IF; inline;
  26593. begin
  26594. pTDefRegMap(@Self)^.clr := $00080000;
  26595. end;
  26596. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  26597. begin
  26598. if thebits = 0 then
  26599. pTDefRegMap(@Self)^.clr := $00080000
  26600. else
  26601. pTDefRegMap(@Self)^.&set := $00080000;
  26602. end;
  26603. function TINT_IFS0.getT4IF : TBits_1; inline;
  26604. begin
  26605. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26606. end;
  26607. procedure TINT_IFS0.setIC4EIF; inline;
  26608. begin
  26609. pTDefRegMap(@Self)^.&set := $00100000;
  26610. end;
  26611. procedure TINT_IFS0.clearIC4EIF; inline;
  26612. begin
  26613. pTDefRegMap(@Self)^.clr := $00100000;
  26614. end;
  26615. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  26616. begin
  26617. if thebits = 0 then
  26618. pTDefRegMap(@Self)^.clr := $00100000
  26619. else
  26620. pTDefRegMap(@Self)^.&set := $00100000;
  26621. end;
  26622. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  26623. begin
  26624. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26625. end;
  26626. procedure TINT_IFS0.setIC4IF; inline;
  26627. begin
  26628. pTDefRegMap(@Self)^.&set := $00200000;
  26629. end;
  26630. procedure TINT_IFS0.clearIC4IF; inline;
  26631. begin
  26632. pTDefRegMap(@Self)^.clr := $00200000;
  26633. end;
  26634. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  26635. begin
  26636. if thebits = 0 then
  26637. pTDefRegMap(@Self)^.clr := $00200000
  26638. else
  26639. pTDefRegMap(@Self)^.&set := $00200000;
  26640. end;
  26641. function TINT_IFS0.getIC4IF : TBits_1; inline;
  26642. begin
  26643. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26644. end;
  26645. procedure TINT_IFS0.setOC4IF; inline;
  26646. begin
  26647. pTDefRegMap(@Self)^.&set := $00400000;
  26648. end;
  26649. procedure TINT_IFS0.clearOC4IF; inline;
  26650. begin
  26651. pTDefRegMap(@Self)^.clr := $00400000;
  26652. end;
  26653. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  26654. begin
  26655. if thebits = 0 then
  26656. pTDefRegMap(@Self)^.clr := $00400000
  26657. else
  26658. pTDefRegMap(@Self)^.&set := $00400000;
  26659. end;
  26660. function TINT_IFS0.getOC4IF : TBits_1; inline;
  26661. begin
  26662. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26663. end;
  26664. procedure TINT_IFS0.setINT4IF; inline;
  26665. begin
  26666. pTDefRegMap(@Self)^.&set := $00800000;
  26667. end;
  26668. procedure TINT_IFS0.clearINT4IF; inline;
  26669. begin
  26670. pTDefRegMap(@Self)^.clr := $00800000;
  26671. end;
  26672. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  26673. begin
  26674. if thebits = 0 then
  26675. pTDefRegMap(@Self)^.clr := $00800000
  26676. else
  26677. pTDefRegMap(@Self)^.&set := $00800000;
  26678. end;
  26679. function TINT_IFS0.getINT4IF : TBits_1; inline;
  26680. begin
  26681. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26682. end;
  26683. procedure TINT_IFS0.setT5IF; inline;
  26684. begin
  26685. pTDefRegMap(@Self)^.&set := $01000000;
  26686. end;
  26687. procedure TINT_IFS0.clearT5IF; inline;
  26688. begin
  26689. pTDefRegMap(@Self)^.clr := $01000000;
  26690. end;
  26691. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  26692. begin
  26693. if thebits = 0 then
  26694. pTDefRegMap(@Self)^.clr := $01000000
  26695. else
  26696. pTDefRegMap(@Self)^.&set := $01000000;
  26697. end;
  26698. function TINT_IFS0.getT5IF : TBits_1; inline;
  26699. begin
  26700. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26701. end;
  26702. procedure TINT_IFS0.setIC5EIF; inline;
  26703. begin
  26704. pTDefRegMap(@Self)^.&set := $02000000;
  26705. end;
  26706. procedure TINT_IFS0.clearIC5EIF; inline;
  26707. begin
  26708. pTDefRegMap(@Self)^.clr := $02000000;
  26709. end;
  26710. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  26711. begin
  26712. if thebits = 0 then
  26713. pTDefRegMap(@Self)^.clr := $02000000
  26714. else
  26715. pTDefRegMap(@Self)^.&set := $02000000;
  26716. end;
  26717. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  26718. begin
  26719. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26720. end;
  26721. procedure TINT_IFS0.setIC5IF; inline;
  26722. begin
  26723. pTDefRegMap(@Self)^.&set := $04000000;
  26724. end;
  26725. procedure TINT_IFS0.clearIC5IF; inline;
  26726. begin
  26727. pTDefRegMap(@Self)^.clr := $04000000;
  26728. end;
  26729. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  26730. begin
  26731. if thebits = 0 then
  26732. pTDefRegMap(@Self)^.clr := $04000000
  26733. else
  26734. pTDefRegMap(@Self)^.&set := $04000000;
  26735. end;
  26736. function TINT_IFS0.getIC5IF : TBits_1; inline;
  26737. begin
  26738. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  26739. end;
  26740. procedure TINT_IFS0.setOC5IF; inline;
  26741. begin
  26742. pTDefRegMap(@Self)^.&set := $08000000;
  26743. end;
  26744. procedure TINT_IFS0.clearOC5IF; inline;
  26745. begin
  26746. pTDefRegMap(@Self)^.clr := $08000000;
  26747. end;
  26748. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  26749. begin
  26750. if thebits = 0 then
  26751. pTDefRegMap(@Self)^.clr := $08000000
  26752. else
  26753. pTDefRegMap(@Self)^.&set := $08000000;
  26754. end;
  26755. function TINT_IFS0.getOC5IF : TBits_1; inline;
  26756. begin
  26757. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26758. end;
  26759. procedure TINT_IFS0.setAD1IF; inline;
  26760. begin
  26761. pTDefRegMap(@Self)^.&set := $10000000;
  26762. end;
  26763. procedure TINT_IFS0.clearAD1IF; inline;
  26764. begin
  26765. pTDefRegMap(@Self)^.clr := $10000000;
  26766. end;
  26767. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  26768. begin
  26769. if thebits = 0 then
  26770. pTDefRegMap(@Self)^.clr := $10000000
  26771. else
  26772. pTDefRegMap(@Self)^.&set := $10000000;
  26773. end;
  26774. function TINT_IFS0.getAD1IF : TBits_1; inline;
  26775. begin
  26776. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26777. end;
  26778. procedure TINT_IFS0.setFSCMIF; inline;
  26779. begin
  26780. pTDefRegMap(@Self)^.&set := $20000000;
  26781. end;
  26782. procedure TINT_IFS0.clearFSCMIF; inline;
  26783. begin
  26784. pTDefRegMap(@Self)^.clr := $20000000;
  26785. end;
  26786. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  26787. begin
  26788. if thebits = 0 then
  26789. pTDefRegMap(@Self)^.clr := $20000000
  26790. else
  26791. pTDefRegMap(@Self)^.&set := $20000000;
  26792. end;
  26793. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  26794. begin
  26795. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26796. end;
  26797. procedure TINT_IFS0.setRTCCIF; inline;
  26798. begin
  26799. pTDefRegMap(@Self)^.&set := $40000000;
  26800. end;
  26801. procedure TINT_IFS0.clearRTCCIF; inline;
  26802. begin
  26803. pTDefRegMap(@Self)^.clr := $40000000;
  26804. end;
  26805. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  26806. begin
  26807. if thebits = 0 then
  26808. pTDefRegMap(@Self)^.clr := $40000000
  26809. else
  26810. pTDefRegMap(@Self)^.&set := $40000000;
  26811. end;
  26812. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  26813. begin
  26814. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26815. end;
  26816. procedure TINT_IFS0.setFCEIF; inline;
  26817. begin
  26818. pTDefRegMap(@Self)^.&set := $80000000;
  26819. end;
  26820. procedure TINT_IFS0.clearFCEIF; inline;
  26821. begin
  26822. pTDefRegMap(@Self)^.clr := $80000000;
  26823. end;
  26824. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  26825. begin
  26826. if thebits = 0 then
  26827. pTDefRegMap(@Self)^.clr := $80000000
  26828. else
  26829. pTDefRegMap(@Self)^.&set := $80000000;
  26830. end;
  26831. function TINT_IFS0.getFCEIF : TBits_1; inline;
  26832. begin
  26833. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26834. end;
  26835. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  26836. begin
  26837. pTDefRegMap(@Self)^.val := thebits;
  26838. end;
  26839. function TINT_IFS0.getw : TBits_32; inline;
  26840. begin
  26841. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26842. end;
  26843. procedure TINT_IFS1.setCMP1IF; inline;
  26844. begin
  26845. pTDefRegMap(@Self)^.&set := $00000001;
  26846. end;
  26847. procedure TINT_IFS1.clearCMP1IF; inline;
  26848. begin
  26849. pTDefRegMap(@Self)^.clr := $00000001;
  26850. end;
  26851. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  26852. begin
  26853. if thebits = 0 then
  26854. pTDefRegMap(@Self)^.clr := $00000001
  26855. else
  26856. pTDefRegMap(@Self)^.&set := $00000001;
  26857. end;
  26858. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  26859. begin
  26860. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26861. end;
  26862. procedure TINT_IFS1.setCMP2IF; inline;
  26863. begin
  26864. pTDefRegMap(@Self)^.&set := $00000002;
  26865. end;
  26866. procedure TINT_IFS1.clearCMP2IF; inline;
  26867. begin
  26868. pTDefRegMap(@Self)^.clr := $00000002;
  26869. end;
  26870. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  26871. begin
  26872. if thebits = 0 then
  26873. pTDefRegMap(@Self)^.clr := $00000002
  26874. else
  26875. pTDefRegMap(@Self)^.&set := $00000002;
  26876. end;
  26877. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  26878. begin
  26879. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26880. end;
  26881. procedure TINT_IFS1.setCMP3IF; inline;
  26882. begin
  26883. pTDefRegMap(@Self)^.&set := $00000004;
  26884. end;
  26885. procedure TINT_IFS1.clearCMP3IF; inline;
  26886. begin
  26887. pTDefRegMap(@Self)^.clr := $00000004;
  26888. end;
  26889. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  26890. begin
  26891. if thebits = 0 then
  26892. pTDefRegMap(@Self)^.clr := $00000004
  26893. else
  26894. pTDefRegMap(@Self)^.&set := $00000004;
  26895. end;
  26896. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  26897. begin
  26898. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26899. end;
  26900. procedure TINT_IFS1.setUSBIF; inline;
  26901. begin
  26902. pTDefRegMap(@Self)^.&set := $00000008;
  26903. end;
  26904. procedure TINT_IFS1.clearUSBIF; inline;
  26905. begin
  26906. pTDefRegMap(@Self)^.clr := $00000008;
  26907. end;
  26908. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  26909. begin
  26910. if thebits = 0 then
  26911. pTDefRegMap(@Self)^.clr := $00000008
  26912. else
  26913. pTDefRegMap(@Self)^.&set := $00000008;
  26914. end;
  26915. function TINT_IFS1.getUSBIF : TBits_1; inline;
  26916. begin
  26917. getUSBIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26918. end;
  26919. procedure TINT_IFS1.setSPI1EIF; inline;
  26920. begin
  26921. pTDefRegMap(@Self)^.&set := $00000010;
  26922. end;
  26923. procedure TINT_IFS1.clearSPI1EIF; inline;
  26924. begin
  26925. pTDefRegMap(@Self)^.clr := $00000010;
  26926. end;
  26927. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  26928. begin
  26929. if thebits = 0 then
  26930. pTDefRegMap(@Self)^.clr := $00000010
  26931. else
  26932. pTDefRegMap(@Self)^.&set := $00000010;
  26933. end;
  26934. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  26935. begin
  26936. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26937. end;
  26938. procedure TINT_IFS1.setSPI1RXIF; inline;
  26939. begin
  26940. pTDefRegMap(@Self)^.&set := $00000020;
  26941. end;
  26942. procedure TINT_IFS1.clearSPI1RXIF; inline;
  26943. begin
  26944. pTDefRegMap(@Self)^.clr := $00000020;
  26945. end;
  26946. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  26947. begin
  26948. if thebits = 0 then
  26949. pTDefRegMap(@Self)^.clr := $00000020
  26950. else
  26951. pTDefRegMap(@Self)^.&set := $00000020;
  26952. end;
  26953. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  26954. begin
  26955. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26956. end;
  26957. procedure TINT_IFS1.setSPI1TXIF; inline;
  26958. begin
  26959. pTDefRegMap(@Self)^.&set := $00000040;
  26960. end;
  26961. procedure TINT_IFS1.clearSPI1TXIF; inline;
  26962. begin
  26963. pTDefRegMap(@Self)^.clr := $00000040;
  26964. end;
  26965. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  26966. begin
  26967. if thebits = 0 then
  26968. pTDefRegMap(@Self)^.clr := $00000040
  26969. else
  26970. pTDefRegMap(@Self)^.&set := $00000040;
  26971. end;
  26972. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  26973. begin
  26974. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26975. end;
  26976. procedure TINT_IFS1.setU1EIF; inline;
  26977. begin
  26978. pTDefRegMap(@Self)^.&set := $00000080;
  26979. end;
  26980. procedure TINT_IFS1.clearU1EIF; inline;
  26981. begin
  26982. pTDefRegMap(@Self)^.clr := $00000080;
  26983. end;
  26984. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  26985. begin
  26986. if thebits = 0 then
  26987. pTDefRegMap(@Self)^.clr := $00000080
  26988. else
  26989. pTDefRegMap(@Self)^.&set := $00000080;
  26990. end;
  26991. function TINT_IFS1.getU1EIF : TBits_1; inline;
  26992. begin
  26993. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26994. end;
  26995. procedure TINT_IFS1.setU1RXIF; inline;
  26996. begin
  26997. pTDefRegMap(@Self)^.&set := $00000100;
  26998. end;
  26999. procedure TINT_IFS1.clearU1RXIF; inline;
  27000. begin
  27001. pTDefRegMap(@Self)^.clr := $00000100;
  27002. end;
  27003. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  27004. begin
  27005. if thebits = 0 then
  27006. pTDefRegMap(@Self)^.clr := $00000100
  27007. else
  27008. pTDefRegMap(@Self)^.&set := $00000100;
  27009. end;
  27010. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  27011. begin
  27012. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27013. end;
  27014. procedure TINT_IFS1.setU1TXIF; inline;
  27015. begin
  27016. pTDefRegMap(@Self)^.&set := $00000200;
  27017. end;
  27018. procedure TINT_IFS1.clearU1TXIF; inline;
  27019. begin
  27020. pTDefRegMap(@Self)^.clr := $00000200;
  27021. end;
  27022. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  27023. begin
  27024. if thebits = 0 then
  27025. pTDefRegMap(@Self)^.clr := $00000200
  27026. else
  27027. pTDefRegMap(@Self)^.&set := $00000200;
  27028. end;
  27029. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  27030. begin
  27031. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27032. end;
  27033. procedure TINT_IFS1.setI2C1BIF; inline;
  27034. begin
  27035. pTDefRegMap(@Self)^.&set := $00000400;
  27036. end;
  27037. procedure TINT_IFS1.clearI2C1BIF; inline;
  27038. begin
  27039. pTDefRegMap(@Self)^.clr := $00000400;
  27040. end;
  27041. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  27042. begin
  27043. if thebits = 0 then
  27044. pTDefRegMap(@Self)^.clr := $00000400
  27045. else
  27046. pTDefRegMap(@Self)^.&set := $00000400;
  27047. end;
  27048. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  27049. begin
  27050. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27051. end;
  27052. procedure TINT_IFS1.setI2C1SIF; inline;
  27053. begin
  27054. pTDefRegMap(@Self)^.&set := $00000800;
  27055. end;
  27056. procedure TINT_IFS1.clearI2C1SIF; inline;
  27057. begin
  27058. pTDefRegMap(@Self)^.clr := $00000800;
  27059. end;
  27060. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  27061. begin
  27062. if thebits = 0 then
  27063. pTDefRegMap(@Self)^.clr := $00000800
  27064. else
  27065. pTDefRegMap(@Self)^.&set := $00000800;
  27066. end;
  27067. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  27068. begin
  27069. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27070. end;
  27071. procedure TINT_IFS1.setI2C1MIF; inline;
  27072. begin
  27073. pTDefRegMap(@Self)^.&set := $00001000;
  27074. end;
  27075. procedure TINT_IFS1.clearI2C1MIF; inline;
  27076. begin
  27077. pTDefRegMap(@Self)^.clr := $00001000;
  27078. end;
  27079. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  27080. begin
  27081. if thebits = 0 then
  27082. pTDefRegMap(@Self)^.clr := $00001000
  27083. else
  27084. pTDefRegMap(@Self)^.&set := $00001000;
  27085. end;
  27086. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  27087. begin
  27088. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27089. end;
  27090. procedure TINT_IFS1.setCNAIF; inline;
  27091. begin
  27092. pTDefRegMap(@Self)^.&set := $00002000;
  27093. end;
  27094. procedure TINT_IFS1.clearCNAIF; inline;
  27095. begin
  27096. pTDefRegMap(@Self)^.clr := $00002000;
  27097. end;
  27098. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  27099. begin
  27100. if thebits = 0 then
  27101. pTDefRegMap(@Self)^.clr := $00002000
  27102. else
  27103. pTDefRegMap(@Self)^.&set := $00002000;
  27104. end;
  27105. function TINT_IFS1.getCNAIF : TBits_1; inline;
  27106. begin
  27107. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27108. end;
  27109. procedure TINT_IFS1.setCNBIF; inline;
  27110. begin
  27111. pTDefRegMap(@Self)^.&set := $00004000;
  27112. end;
  27113. procedure TINT_IFS1.clearCNBIF; inline;
  27114. begin
  27115. pTDefRegMap(@Self)^.clr := $00004000;
  27116. end;
  27117. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  27118. begin
  27119. if thebits = 0 then
  27120. pTDefRegMap(@Self)^.clr := $00004000
  27121. else
  27122. pTDefRegMap(@Self)^.&set := $00004000;
  27123. end;
  27124. function TINT_IFS1.getCNBIF : TBits_1; inline;
  27125. begin
  27126. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27127. end;
  27128. procedure TINT_IFS1.setCNCIF; inline;
  27129. begin
  27130. pTDefRegMap(@Self)^.&set := $00008000;
  27131. end;
  27132. procedure TINT_IFS1.clearCNCIF; inline;
  27133. begin
  27134. pTDefRegMap(@Self)^.clr := $00008000;
  27135. end;
  27136. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  27137. begin
  27138. if thebits = 0 then
  27139. pTDefRegMap(@Self)^.clr := $00008000
  27140. else
  27141. pTDefRegMap(@Self)^.&set := $00008000;
  27142. end;
  27143. function TINT_IFS1.getCNCIF : TBits_1; inline;
  27144. begin
  27145. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27146. end;
  27147. procedure TINT_IFS1.setPMPIF; inline;
  27148. begin
  27149. pTDefRegMap(@Self)^.&set := $00010000;
  27150. end;
  27151. procedure TINT_IFS1.clearPMPIF; inline;
  27152. begin
  27153. pTDefRegMap(@Self)^.clr := $00010000;
  27154. end;
  27155. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  27156. begin
  27157. if thebits = 0 then
  27158. pTDefRegMap(@Self)^.clr := $00010000
  27159. else
  27160. pTDefRegMap(@Self)^.&set := $00010000;
  27161. end;
  27162. function TINT_IFS1.getPMPIF : TBits_1; inline;
  27163. begin
  27164. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27165. end;
  27166. procedure TINT_IFS1.setPMPEIF; inline;
  27167. begin
  27168. pTDefRegMap(@Self)^.&set := $00020000;
  27169. end;
  27170. procedure TINT_IFS1.clearPMPEIF; inline;
  27171. begin
  27172. pTDefRegMap(@Self)^.clr := $00020000;
  27173. end;
  27174. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  27175. begin
  27176. if thebits = 0 then
  27177. pTDefRegMap(@Self)^.clr := $00020000
  27178. else
  27179. pTDefRegMap(@Self)^.&set := $00020000;
  27180. end;
  27181. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  27182. begin
  27183. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27184. end;
  27185. procedure TINT_IFS1.setSPI2EIF; inline;
  27186. begin
  27187. pTDefRegMap(@Self)^.&set := $00040000;
  27188. end;
  27189. procedure TINT_IFS1.clearSPI2EIF; inline;
  27190. begin
  27191. pTDefRegMap(@Self)^.clr := $00040000;
  27192. end;
  27193. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  27194. begin
  27195. if thebits = 0 then
  27196. pTDefRegMap(@Self)^.clr := $00040000
  27197. else
  27198. pTDefRegMap(@Self)^.&set := $00040000;
  27199. end;
  27200. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  27201. begin
  27202. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27203. end;
  27204. procedure TINT_IFS1.setSPI2RXIF; inline;
  27205. begin
  27206. pTDefRegMap(@Self)^.&set := $00080000;
  27207. end;
  27208. procedure TINT_IFS1.clearSPI2RXIF; inline;
  27209. begin
  27210. pTDefRegMap(@Self)^.clr := $00080000;
  27211. end;
  27212. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  27213. begin
  27214. if thebits = 0 then
  27215. pTDefRegMap(@Self)^.clr := $00080000
  27216. else
  27217. pTDefRegMap(@Self)^.&set := $00080000;
  27218. end;
  27219. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  27220. begin
  27221. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27222. end;
  27223. procedure TINT_IFS1.setSPI2TXIF; inline;
  27224. begin
  27225. pTDefRegMap(@Self)^.&set := $00100000;
  27226. end;
  27227. procedure TINT_IFS1.clearSPI2TXIF; inline;
  27228. begin
  27229. pTDefRegMap(@Self)^.clr := $00100000;
  27230. end;
  27231. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  27232. begin
  27233. if thebits = 0 then
  27234. pTDefRegMap(@Self)^.clr := $00100000
  27235. else
  27236. pTDefRegMap(@Self)^.&set := $00100000;
  27237. end;
  27238. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  27239. begin
  27240. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27241. end;
  27242. procedure TINT_IFS1.setU2EIF; inline;
  27243. begin
  27244. pTDefRegMap(@Self)^.&set := $00200000;
  27245. end;
  27246. procedure TINT_IFS1.clearU2EIF; inline;
  27247. begin
  27248. pTDefRegMap(@Self)^.clr := $00200000;
  27249. end;
  27250. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  27251. begin
  27252. if thebits = 0 then
  27253. pTDefRegMap(@Self)^.clr := $00200000
  27254. else
  27255. pTDefRegMap(@Self)^.&set := $00200000;
  27256. end;
  27257. function TINT_IFS1.getU2EIF : TBits_1; inline;
  27258. begin
  27259. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27260. end;
  27261. procedure TINT_IFS1.setU2RXIF; inline;
  27262. begin
  27263. pTDefRegMap(@Self)^.&set := $00400000;
  27264. end;
  27265. procedure TINT_IFS1.clearU2RXIF; inline;
  27266. begin
  27267. pTDefRegMap(@Self)^.clr := $00400000;
  27268. end;
  27269. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  27270. begin
  27271. if thebits = 0 then
  27272. pTDefRegMap(@Self)^.clr := $00400000
  27273. else
  27274. pTDefRegMap(@Self)^.&set := $00400000;
  27275. end;
  27276. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  27277. begin
  27278. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27279. end;
  27280. procedure TINT_IFS1.setU2TXIF; inline;
  27281. begin
  27282. pTDefRegMap(@Self)^.&set := $00800000;
  27283. end;
  27284. procedure TINT_IFS1.clearU2TXIF; inline;
  27285. begin
  27286. pTDefRegMap(@Self)^.clr := $00800000;
  27287. end;
  27288. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  27289. begin
  27290. if thebits = 0 then
  27291. pTDefRegMap(@Self)^.clr := $00800000
  27292. else
  27293. pTDefRegMap(@Self)^.&set := $00800000;
  27294. end;
  27295. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  27296. begin
  27297. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27298. end;
  27299. procedure TINT_IFS1.setI2C2BIF; inline;
  27300. begin
  27301. pTDefRegMap(@Self)^.&set := $01000000;
  27302. end;
  27303. procedure TINT_IFS1.clearI2C2BIF; inline;
  27304. begin
  27305. pTDefRegMap(@Self)^.clr := $01000000;
  27306. end;
  27307. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  27308. begin
  27309. if thebits = 0 then
  27310. pTDefRegMap(@Self)^.clr := $01000000
  27311. else
  27312. pTDefRegMap(@Self)^.&set := $01000000;
  27313. end;
  27314. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  27315. begin
  27316. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27317. end;
  27318. procedure TINT_IFS1.setI2C2SIF; inline;
  27319. begin
  27320. pTDefRegMap(@Self)^.&set := $02000000;
  27321. end;
  27322. procedure TINT_IFS1.clearI2C2SIF; inline;
  27323. begin
  27324. pTDefRegMap(@Self)^.clr := $02000000;
  27325. end;
  27326. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  27327. begin
  27328. if thebits = 0 then
  27329. pTDefRegMap(@Self)^.clr := $02000000
  27330. else
  27331. pTDefRegMap(@Self)^.&set := $02000000;
  27332. end;
  27333. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  27334. begin
  27335. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27336. end;
  27337. procedure TINT_IFS1.setI2C2MIF; inline;
  27338. begin
  27339. pTDefRegMap(@Self)^.&set := $04000000;
  27340. end;
  27341. procedure TINT_IFS1.clearI2C2MIF; inline;
  27342. begin
  27343. pTDefRegMap(@Self)^.clr := $04000000;
  27344. end;
  27345. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  27346. begin
  27347. if thebits = 0 then
  27348. pTDefRegMap(@Self)^.clr := $04000000
  27349. else
  27350. pTDefRegMap(@Self)^.&set := $04000000;
  27351. end;
  27352. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  27353. begin
  27354. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27355. end;
  27356. procedure TINT_IFS1.setCTMUIF; inline;
  27357. begin
  27358. pTDefRegMap(@Self)^.&set := $08000000;
  27359. end;
  27360. procedure TINT_IFS1.clearCTMUIF; inline;
  27361. begin
  27362. pTDefRegMap(@Self)^.clr := $08000000;
  27363. end;
  27364. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  27365. begin
  27366. if thebits = 0 then
  27367. pTDefRegMap(@Self)^.clr := $08000000
  27368. else
  27369. pTDefRegMap(@Self)^.&set := $08000000;
  27370. end;
  27371. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  27372. begin
  27373. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27374. end;
  27375. procedure TINT_IFS1.setDMA0IF; inline;
  27376. begin
  27377. pTDefRegMap(@Self)^.&set := $10000000;
  27378. end;
  27379. procedure TINT_IFS1.clearDMA0IF; inline;
  27380. begin
  27381. pTDefRegMap(@Self)^.clr := $10000000;
  27382. end;
  27383. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  27384. begin
  27385. if thebits = 0 then
  27386. pTDefRegMap(@Self)^.clr := $10000000
  27387. else
  27388. pTDefRegMap(@Self)^.&set := $10000000;
  27389. end;
  27390. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27391. begin
  27392. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27393. end;
  27394. procedure TINT_IFS1.setDMA1IF; inline;
  27395. begin
  27396. pTDefRegMap(@Self)^.&set := $20000000;
  27397. end;
  27398. procedure TINT_IFS1.clearDMA1IF; inline;
  27399. begin
  27400. pTDefRegMap(@Self)^.clr := $20000000;
  27401. end;
  27402. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27403. begin
  27404. if thebits = 0 then
  27405. pTDefRegMap(@Self)^.clr := $20000000
  27406. else
  27407. pTDefRegMap(@Self)^.&set := $20000000;
  27408. end;
  27409. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27410. begin
  27411. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27412. end;
  27413. procedure TINT_IFS1.setDMA2IF; inline;
  27414. begin
  27415. pTDefRegMap(@Self)^.&set := $40000000;
  27416. end;
  27417. procedure TINT_IFS1.clearDMA2IF; inline;
  27418. begin
  27419. pTDefRegMap(@Self)^.clr := $40000000;
  27420. end;
  27421. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27422. begin
  27423. if thebits = 0 then
  27424. pTDefRegMap(@Self)^.clr := $40000000
  27425. else
  27426. pTDefRegMap(@Self)^.&set := $40000000;
  27427. end;
  27428. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27429. begin
  27430. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27431. end;
  27432. procedure TINT_IFS1.setDMA3IF; inline;
  27433. begin
  27434. pTDefRegMap(@Self)^.&set := $80000000;
  27435. end;
  27436. procedure TINT_IFS1.clearDMA3IF; inline;
  27437. begin
  27438. pTDefRegMap(@Self)^.clr := $80000000;
  27439. end;
  27440. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27441. begin
  27442. if thebits = 0 then
  27443. pTDefRegMap(@Self)^.clr := $80000000
  27444. else
  27445. pTDefRegMap(@Self)^.&set := $80000000;
  27446. end;
  27447. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27448. begin
  27449. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27450. end;
  27451. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27452. begin
  27453. pTDefRegMap(@Self)^.val := thebits;
  27454. end;
  27455. function TINT_IFS1.getw : TBits_32; inline;
  27456. begin
  27457. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27458. end;
  27459. procedure TINT_IEC0.setCTIE; inline;
  27460. begin
  27461. pTDefRegMap(@Self)^.&set := $00000001;
  27462. end;
  27463. procedure TINT_IEC0.clearCTIE; inline;
  27464. begin
  27465. pTDefRegMap(@Self)^.clr := $00000001;
  27466. end;
  27467. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27468. begin
  27469. if thebits = 0 then
  27470. pTDefRegMap(@Self)^.clr := $00000001
  27471. else
  27472. pTDefRegMap(@Self)^.&set := $00000001;
  27473. end;
  27474. function TINT_IEC0.getCTIE : TBits_1; inline;
  27475. begin
  27476. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27477. end;
  27478. procedure TINT_IEC0.setCS0IE; inline;
  27479. begin
  27480. pTDefRegMap(@Self)^.&set := $00000002;
  27481. end;
  27482. procedure TINT_IEC0.clearCS0IE; inline;
  27483. begin
  27484. pTDefRegMap(@Self)^.clr := $00000002;
  27485. end;
  27486. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27487. begin
  27488. if thebits = 0 then
  27489. pTDefRegMap(@Self)^.clr := $00000002
  27490. else
  27491. pTDefRegMap(@Self)^.&set := $00000002;
  27492. end;
  27493. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27494. begin
  27495. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27496. end;
  27497. procedure TINT_IEC0.setCS1IE; inline;
  27498. begin
  27499. pTDefRegMap(@Self)^.&set := $00000004;
  27500. end;
  27501. procedure TINT_IEC0.clearCS1IE; inline;
  27502. begin
  27503. pTDefRegMap(@Self)^.clr := $00000004;
  27504. end;
  27505. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27506. begin
  27507. if thebits = 0 then
  27508. pTDefRegMap(@Self)^.clr := $00000004
  27509. else
  27510. pTDefRegMap(@Self)^.&set := $00000004;
  27511. end;
  27512. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27513. begin
  27514. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27515. end;
  27516. procedure TINT_IEC0.setINT0IE; inline;
  27517. begin
  27518. pTDefRegMap(@Self)^.&set := $00000008;
  27519. end;
  27520. procedure TINT_IEC0.clearINT0IE; inline;
  27521. begin
  27522. pTDefRegMap(@Self)^.clr := $00000008;
  27523. end;
  27524. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27525. begin
  27526. if thebits = 0 then
  27527. pTDefRegMap(@Self)^.clr := $00000008
  27528. else
  27529. pTDefRegMap(@Self)^.&set := $00000008;
  27530. end;
  27531. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27532. begin
  27533. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27534. end;
  27535. procedure TINT_IEC0.setT1IE; inline;
  27536. begin
  27537. pTDefRegMap(@Self)^.&set := $00000010;
  27538. end;
  27539. procedure TINT_IEC0.clearT1IE; inline;
  27540. begin
  27541. pTDefRegMap(@Self)^.clr := $00000010;
  27542. end;
  27543. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27544. begin
  27545. if thebits = 0 then
  27546. pTDefRegMap(@Self)^.clr := $00000010
  27547. else
  27548. pTDefRegMap(@Self)^.&set := $00000010;
  27549. end;
  27550. function TINT_IEC0.getT1IE : TBits_1; inline;
  27551. begin
  27552. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27553. end;
  27554. procedure TINT_IEC0.setIC1EIE; inline;
  27555. begin
  27556. pTDefRegMap(@Self)^.&set := $00000020;
  27557. end;
  27558. procedure TINT_IEC0.clearIC1EIE; inline;
  27559. begin
  27560. pTDefRegMap(@Self)^.clr := $00000020;
  27561. end;
  27562. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27563. begin
  27564. if thebits = 0 then
  27565. pTDefRegMap(@Self)^.clr := $00000020
  27566. else
  27567. pTDefRegMap(@Self)^.&set := $00000020;
  27568. end;
  27569. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27570. begin
  27571. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27572. end;
  27573. procedure TINT_IEC0.setIC1IE; inline;
  27574. begin
  27575. pTDefRegMap(@Self)^.&set := $00000040;
  27576. end;
  27577. procedure TINT_IEC0.clearIC1IE; inline;
  27578. begin
  27579. pTDefRegMap(@Self)^.clr := $00000040;
  27580. end;
  27581. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27582. begin
  27583. if thebits = 0 then
  27584. pTDefRegMap(@Self)^.clr := $00000040
  27585. else
  27586. pTDefRegMap(@Self)^.&set := $00000040;
  27587. end;
  27588. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27589. begin
  27590. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27591. end;
  27592. procedure TINT_IEC0.setOC1IE; inline;
  27593. begin
  27594. pTDefRegMap(@Self)^.&set := $00000080;
  27595. end;
  27596. procedure TINT_IEC0.clearOC1IE; inline;
  27597. begin
  27598. pTDefRegMap(@Self)^.clr := $00000080;
  27599. end;
  27600. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  27601. begin
  27602. if thebits = 0 then
  27603. pTDefRegMap(@Self)^.clr := $00000080
  27604. else
  27605. pTDefRegMap(@Self)^.&set := $00000080;
  27606. end;
  27607. function TINT_IEC0.getOC1IE : TBits_1; inline;
  27608. begin
  27609. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27610. end;
  27611. procedure TINT_IEC0.setINT1IE; inline;
  27612. begin
  27613. pTDefRegMap(@Self)^.&set := $00000100;
  27614. end;
  27615. procedure TINT_IEC0.clearINT1IE; inline;
  27616. begin
  27617. pTDefRegMap(@Self)^.clr := $00000100;
  27618. end;
  27619. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  27620. begin
  27621. if thebits = 0 then
  27622. pTDefRegMap(@Self)^.clr := $00000100
  27623. else
  27624. pTDefRegMap(@Self)^.&set := $00000100;
  27625. end;
  27626. function TINT_IEC0.getINT1IE : TBits_1; inline;
  27627. begin
  27628. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27629. end;
  27630. procedure TINT_IEC0.setT2IE; inline;
  27631. begin
  27632. pTDefRegMap(@Self)^.&set := $00000200;
  27633. end;
  27634. procedure TINT_IEC0.clearT2IE; inline;
  27635. begin
  27636. pTDefRegMap(@Self)^.clr := $00000200;
  27637. end;
  27638. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  27639. begin
  27640. if thebits = 0 then
  27641. pTDefRegMap(@Self)^.clr := $00000200
  27642. else
  27643. pTDefRegMap(@Self)^.&set := $00000200;
  27644. end;
  27645. function TINT_IEC0.getT2IE : TBits_1; inline;
  27646. begin
  27647. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27648. end;
  27649. procedure TINT_IEC0.setIC2EIE; inline;
  27650. begin
  27651. pTDefRegMap(@Self)^.&set := $00000400;
  27652. end;
  27653. procedure TINT_IEC0.clearIC2EIE; inline;
  27654. begin
  27655. pTDefRegMap(@Self)^.clr := $00000400;
  27656. end;
  27657. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  27658. begin
  27659. if thebits = 0 then
  27660. pTDefRegMap(@Self)^.clr := $00000400
  27661. else
  27662. pTDefRegMap(@Self)^.&set := $00000400;
  27663. end;
  27664. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  27665. begin
  27666. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27667. end;
  27668. procedure TINT_IEC0.setIC2IE; inline;
  27669. begin
  27670. pTDefRegMap(@Self)^.&set := $00000800;
  27671. end;
  27672. procedure TINT_IEC0.clearIC2IE; inline;
  27673. begin
  27674. pTDefRegMap(@Self)^.clr := $00000800;
  27675. end;
  27676. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  27677. begin
  27678. if thebits = 0 then
  27679. pTDefRegMap(@Self)^.clr := $00000800
  27680. else
  27681. pTDefRegMap(@Self)^.&set := $00000800;
  27682. end;
  27683. function TINT_IEC0.getIC2IE : TBits_1; inline;
  27684. begin
  27685. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27686. end;
  27687. procedure TINT_IEC0.setOC2IE; inline;
  27688. begin
  27689. pTDefRegMap(@Self)^.&set := $00001000;
  27690. end;
  27691. procedure TINT_IEC0.clearOC2IE; inline;
  27692. begin
  27693. pTDefRegMap(@Self)^.clr := $00001000;
  27694. end;
  27695. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  27696. begin
  27697. if thebits = 0 then
  27698. pTDefRegMap(@Self)^.clr := $00001000
  27699. else
  27700. pTDefRegMap(@Self)^.&set := $00001000;
  27701. end;
  27702. function TINT_IEC0.getOC2IE : TBits_1; inline;
  27703. begin
  27704. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27705. end;
  27706. procedure TINT_IEC0.setINT2IE; inline;
  27707. begin
  27708. pTDefRegMap(@Self)^.&set := $00002000;
  27709. end;
  27710. procedure TINT_IEC0.clearINT2IE; inline;
  27711. begin
  27712. pTDefRegMap(@Self)^.clr := $00002000;
  27713. end;
  27714. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  27715. begin
  27716. if thebits = 0 then
  27717. pTDefRegMap(@Self)^.clr := $00002000
  27718. else
  27719. pTDefRegMap(@Self)^.&set := $00002000;
  27720. end;
  27721. function TINT_IEC0.getINT2IE : TBits_1; inline;
  27722. begin
  27723. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27724. end;
  27725. procedure TINT_IEC0.setT3IE; inline;
  27726. begin
  27727. pTDefRegMap(@Self)^.&set := $00004000;
  27728. end;
  27729. procedure TINT_IEC0.clearT3IE; inline;
  27730. begin
  27731. pTDefRegMap(@Self)^.clr := $00004000;
  27732. end;
  27733. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  27734. begin
  27735. if thebits = 0 then
  27736. pTDefRegMap(@Self)^.clr := $00004000
  27737. else
  27738. pTDefRegMap(@Self)^.&set := $00004000;
  27739. end;
  27740. function TINT_IEC0.getT3IE : TBits_1; inline;
  27741. begin
  27742. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27743. end;
  27744. procedure TINT_IEC0.setIC3EIE; inline;
  27745. begin
  27746. pTDefRegMap(@Self)^.&set := $00008000;
  27747. end;
  27748. procedure TINT_IEC0.clearIC3EIE; inline;
  27749. begin
  27750. pTDefRegMap(@Self)^.clr := $00008000;
  27751. end;
  27752. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  27753. begin
  27754. if thebits = 0 then
  27755. pTDefRegMap(@Self)^.clr := $00008000
  27756. else
  27757. pTDefRegMap(@Self)^.&set := $00008000;
  27758. end;
  27759. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  27760. begin
  27761. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27762. end;
  27763. procedure TINT_IEC0.setIC3IE; inline;
  27764. begin
  27765. pTDefRegMap(@Self)^.&set := $00010000;
  27766. end;
  27767. procedure TINT_IEC0.clearIC3IE; inline;
  27768. begin
  27769. pTDefRegMap(@Self)^.clr := $00010000;
  27770. end;
  27771. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  27772. begin
  27773. if thebits = 0 then
  27774. pTDefRegMap(@Self)^.clr := $00010000
  27775. else
  27776. pTDefRegMap(@Self)^.&set := $00010000;
  27777. end;
  27778. function TINT_IEC0.getIC3IE : TBits_1; inline;
  27779. begin
  27780. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27781. end;
  27782. procedure TINT_IEC0.setOC3IE; inline;
  27783. begin
  27784. pTDefRegMap(@Self)^.&set := $00020000;
  27785. end;
  27786. procedure TINT_IEC0.clearOC3IE; inline;
  27787. begin
  27788. pTDefRegMap(@Self)^.clr := $00020000;
  27789. end;
  27790. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  27791. begin
  27792. if thebits = 0 then
  27793. pTDefRegMap(@Self)^.clr := $00020000
  27794. else
  27795. pTDefRegMap(@Self)^.&set := $00020000;
  27796. end;
  27797. function TINT_IEC0.getOC3IE : TBits_1; inline;
  27798. begin
  27799. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27800. end;
  27801. procedure TINT_IEC0.setINT3IE; inline;
  27802. begin
  27803. pTDefRegMap(@Self)^.&set := $00040000;
  27804. end;
  27805. procedure TINT_IEC0.clearINT3IE; inline;
  27806. begin
  27807. pTDefRegMap(@Self)^.clr := $00040000;
  27808. end;
  27809. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  27810. begin
  27811. if thebits = 0 then
  27812. pTDefRegMap(@Self)^.clr := $00040000
  27813. else
  27814. pTDefRegMap(@Self)^.&set := $00040000;
  27815. end;
  27816. function TINT_IEC0.getINT3IE : TBits_1; inline;
  27817. begin
  27818. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27819. end;
  27820. procedure TINT_IEC0.setT4IE; inline;
  27821. begin
  27822. pTDefRegMap(@Self)^.&set := $00080000;
  27823. end;
  27824. procedure TINT_IEC0.clearT4IE; inline;
  27825. begin
  27826. pTDefRegMap(@Self)^.clr := $00080000;
  27827. end;
  27828. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  27829. begin
  27830. if thebits = 0 then
  27831. pTDefRegMap(@Self)^.clr := $00080000
  27832. else
  27833. pTDefRegMap(@Self)^.&set := $00080000;
  27834. end;
  27835. function TINT_IEC0.getT4IE : TBits_1; inline;
  27836. begin
  27837. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27838. end;
  27839. procedure TINT_IEC0.setIC4EIE; inline;
  27840. begin
  27841. pTDefRegMap(@Self)^.&set := $00100000;
  27842. end;
  27843. procedure TINT_IEC0.clearIC4EIE; inline;
  27844. begin
  27845. pTDefRegMap(@Self)^.clr := $00100000;
  27846. end;
  27847. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  27848. begin
  27849. if thebits = 0 then
  27850. pTDefRegMap(@Self)^.clr := $00100000
  27851. else
  27852. pTDefRegMap(@Self)^.&set := $00100000;
  27853. end;
  27854. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  27855. begin
  27856. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27857. end;
  27858. procedure TINT_IEC0.setIC4IE; inline;
  27859. begin
  27860. pTDefRegMap(@Self)^.&set := $00200000;
  27861. end;
  27862. procedure TINT_IEC0.clearIC4IE; inline;
  27863. begin
  27864. pTDefRegMap(@Self)^.clr := $00200000;
  27865. end;
  27866. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  27867. begin
  27868. if thebits = 0 then
  27869. pTDefRegMap(@Self)^.clr := $00200000
  27870. else
  27871. pTDefRegMap(@Self)^.&set := $00200000;
  27872. end;
  27873. function TINT_IEC0.getIC4IE : TBits_1; inline;
  27874. begin
  27875. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27876. end;
  27877. procedure TINT_IEC0.setOC4IE; inline;
  27878. begin
  27879. pTDefRegMap(@Self)^.&set := $00400000;
  27880. end;
  27881. procedure TINT_IEC0.clearOC4IE; inline;
  27882. begin
  27883. pTDefRegMap(@Self)^.clr := $00400000;
  27884. end;
  27885. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  27886. begin
  27887. if thebits = 0 then
  27888. pTDefRegMap(@Self)^.clr := $00400000
  27889. else
  27890. pTDefRegMap(@Self)^.&set := $00400000;
  27891. end;
  27892. function TINT_IEC0.getOC4IE : TBits_1; inline;
  27893. begin
  27894. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27895. end;
  27896. procedure TINT_IEC0.setINT4IE; inline;
  27897. begin
  27898. pTDefRegMap(@Self)^.&set := $00800000;
  27899. end;
  27900. procedure TINT_IEC0.clearINT4IE; inline;
  27901. begin
  27902. pTDefRegMap(@Self)^.clr := $00800000;
  27903. end;
  27904. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  27905. begin
  27906. if thebits = 0 then
  27907. pTDefRegMap(@Self)^.clr := $00800000
  27908. else
  27909. pTDefRegMap(@Self)^.&set := $00800000;
  27910. end;
  27911. function TINT_IEC0.getINT4IE : TBits_1; inline;
  27912. begin
  27913. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27914. end;
  27915. procedure TINT_IEC0.setT5IE; inline;
  27916. begin
  27917. pTDefRegMap(@Self)^.&set := $01000000;
  27918. end;
  27919. procedure TINT_IEC0.clearT5IE; inline;
  27920. begin
  27921. pTDefRegMap(@Self)^.clr := $01000000;
  27922. end;
  27923. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  27924. begin
  27925. if thebits = 0 then
  27926. pTDefRegMap(@Self)^.clr := $01000000
  27927. else
  27928. pTDefRegMap(@Self)^.&set := $01000000;
  27929. end;
  27930. function TINT_IEC0.getT5IE : TBits_1; inline;
  27931. begin
  27932. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27933. end;
  27934. procedure TINT_IEC0.setIC5EIE; inline;
  27935. begin
  27936. pTDefRegMap(@Self)^.&set := $02000000;
  27937. end;
  27938. procedure TINT_IEC0.clearIC5EIE; inline;
  27939. begin
  27940. pTDefRegMap(@Self)^.clr := $02000000;
  27941. end;
  27942. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  27943. begin
  27944. if thebits = 0 then
  27945. pTDefRegMap(@Self)^.clr := $02000000
  27946. else
  27947. pTDefRegMap(@Self)^.&set := $02000000;
  27948. end;
  27949. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  27950. begin
  27951. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27952. end;
  27953. procedure TINT_IEC0.setIC5IE; inline;
  27954. begin
  27955. pTDefRegMap(@Self)^.&set := $04000000;
  27956. end;
  27957. procedure TINT_IEC0.clearIC5IE; inline;
  27958. begin
  27959. pTDefRegMap(@Self)^.clr := $04000000;
  27960. end;
  27961. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  27962. begin
  27963. if thebits = 0 then
  27964. pTDefRegMap(@Self)^.clr := $04000000
  27965. else
  27966. pTDefRegMap(@Self)^.&set := $04000000;
  27967. end;
  27968. function TINT_IEC0.getIC5IE : TBits_1; inline;
  27969. begin
  27970. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27971. end;
  27972. procedure TINT_IEC0.setOC5IE; inline;
  27973. begin
  27974. pTDefRegMap(@Self)^.&set := $08000000;
  27975. end;
  27976. procedure TINT_IEC0.clearOC5IE; inline;
  27977. begin
  27978. pTDefRegMap(@Self)^.clr := $08000000;
  27979. end;
  27980. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  27981. begin
  27982. if thebits = 0 then
  27983. pTDefRegMap(@Self)^.clr := $08000000
  27984. else
  27985. pTDefRegMap(@Self)^.&set := $08000000;
  27986. end;
  27987. function TINT_IEC0.getOC5IE : TBits_1; inline;
  27988. begin
  27989. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27990. end;
  27991. procedure TINT_IEC0.setAD1IE; inline;
  27992. begin
  27993. pTDefRegMap(@Self)^.&set := $10000000;
  27994. end;
  27995. procedure TINT_IEC0.clearAD1IE; inline;
  27996. begin
  27997. pTDefRegMap(@Self)^.clr := $10000000;
  27998. end;
  27999. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  28000. begin
  28001. if thebits = 0 then
  28002. pTDefRegMap(@Self)^.clr := $10000000
  28003. else
  28004. pTDefRegMap(@Self)^.&set := $10000000;
  28005. end;
  28006. function TINT_IEC0.getAD1IE : TBits_1; inline;
  28007. begin
  28008. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28009. end;
  28010. procedure TINT_IEC0.setFSCMIE; inline;
  28011. begin
  28012. pTDefRegMap(@Self)^.&set := $20000000;
  28013. end;
  28014. procedure TINT_IEC0.clearFSCMIE; inline;
  28015. begin
  28016. pTDefRegMap(@Self)^.clr := $20000000;
  28017. end;
  28018. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  28019. begin
  28020. if thebits = 0 then
  28021. pTDefRegMap(@Self)^.clr := $20000000
  28022. else
  28023. pTDefRegMap(@Self)^.&set := $20000000;
  28024. end;
  28025. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  28026. begin
  28027. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28028. end;
  28029. procedure TINT_IEC0.setRTCCIE; inline;
  28030. begin
  28031. pTDefRegMap(@Self)^.&set := $40000000;
  28032. end;
  28033. procedure TINT_IEC0.clearRTCCIE; inline;
  28034. begin
  28035. pTDefRegMap(@Self)^.clr := $40000000;
  28036. end;
  28037. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  28038. begin
  28039. if thebits = 0 then
  28040. pTDefRegMap(@Self)^.clr := $40000000
  28041. else
  28042. pTDefRegMap(@Self)^.&set := $40000000;
  28043. end;
  28044. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  28045. begin
  28046. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28047. end;
  28048. procedure TINT_IEC0.setFCEIE; inline;
  28049. begin
  28050. pTDefRegMap(@Self)^.&set := $80000000;
  28051. end;
  28052. procedure TINT_IEC0.clearFCEIE; inline;
  28053. begin
  28054. pTDefRegMap(@Self)^.clr := $80000000;
  28055. end;
  28056. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  28057. begin
  28058. if thebits = 0 then
  28059. pTDefRegMap(@Self)^.clr := $80000000
  28060. else
  28061. pTDefRegMap(@Self)^.&set := $80000000;
  28062. end;
  28063. function TINT_IEC0.getFCEIE : TBits_1; inline;
  28064. begin
  28065. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28066. end;
  28067. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  28068. begin
  28069. pTDefRegMap(@Self)^.val := thebits;
  28070. end;
  28071. function TINT_IEC0.getw : TBits_32; inline;
  28072. begin
  28073. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28074. end;
  28075. procedure TINT_IEC1.setCMP1IE; inline;
  28076. begin
  28077. pTDefRegMap(@Self)^.&set := $00000001;
  28078. end;
  28079. procedure TINT_IEC1.clearCMP1IE; inline;
  28080. begin
  28081. pTDefRegMap(@Self)^.clr := $00000001;
  28082. end;
  28083. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  28084. begin
  28085. if thebits = 0 then
  28086. pTDefRegMap(@Self)^.clr := $00000001
  28087. else
  28088. pTDefRegMap(@Self)^.&set := $00000001;
  28089. end;
  28090. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  28091. begin
  28092. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28093. end;
  28094. procedure TINT_IEC1.setCMP2IE; inline;
  28095. begin
  28096. pTDefRegMap(@Self)^.&set := $00000002;
  28097. end;
  28098. procedure TINT_IEC1.clearCMP2IE; inline;
  28099. begin
  28100. pTDefRegMap(@Self)^.clr := $00000002;
  28101. end;
  28102. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  28103. begin
  28104. if thebits = 0 then
  28105. pTDefRegMap(@Self)^.clr := $00000002
  28106. else
  28107. pTDefRegMap(@Self)^.&set := $00000002;
  28108. end;
  28109. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  28110. begin
  28111. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28112. end;
  28113. procedure TINT_IEC1.setCMP3IE; inline;
  28114. begin
  28115. pTDefRegMap(@Self)^.&set := $00000004;
  28116. end;
  28117. procedure TINT_IEC1.clearCMP3IE; inline;
  28118. begin
  28119. pTDefRegMap(@Self)^.clr := $00000004;
  28120. end;
  28121. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  28122. begin
  28123. if thebits = 0 then
  28124. pTDefRegMap(@Self)^.clr := $00000004
  28125. else
  28126. pTDefRegMap(@Self)^.&set := $00000004;
  28127. end;
  28128. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  28129. begin
  28130. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28131. end;
  28132. procedure TINT_IEC1.setUSBIE; inline;
  28133. begin
  28134. pTDefRegMap(@Self)^.&set := $00000008;
  28135. end;
  28136. procedure TINT_IEC1.clearUSBIE; inline;
  28137. begin
  28138. pTDefRegMap(@Self)^.clr := $00000008;
  28139. end;
  28140. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  28141. begin
  28142. if thebits = 0 then
  28143. pTDefRegMap(@Self)^.clr := $00000008
  28144. else
  28145. pTDefRegMap(@Self)^.&set := $00000008;
  28146. end;
  28147. function TINT_IEC1.getUSBIE : TBits_1; inline;
  28148. begin
  28149. getUSBIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28150. end;
  28151. procedure TINT_IEC1.setSPI1EIE; inline;
  28152. begin
  28153. pTDefRegMap(@Self)^.&set := $00000010;
  28154. end;
  28155. procedure TINT_IEC1.clearSPI1EIE; inline;
  28156. begin
  28157. pTDefRegMap(@Self)^.clr := $00000010;
  28158. end;
  28159. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  28160. begin
  28161. if thebits = 0 then
  28162. pTDefRegMap(@Self)^.clr := $00000010
  28163. else
  28164. pTDefRegMap(@Self)^.&set := $00000010;
  28165. end;
  28166. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  28167. begin
  28168. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28169. end;
  28170. procedure TINT_IEC1.setSPI1RXIE; inline;
  28171. begin
  28172. pTDefRegMap(@Self)^.&set := $00000020;
  28173. end;
  28174. procedure TINT_IEC1.clearSPI1RXIE; inline;
  28175. begin
  28176. pTDefRegMap(@Self)^.clr := $00000020;
  28177. end;
  28178. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  28179. begin
  28180. if thebits = 0 then
  28181. pTDefRegMap(@Self)^.clr := $00000020
  28182. else
  28183. pTDefRegMap(@Self)^.&set := $00000020;
  28184. end;
  28185. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  28186. begin
  28187. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28188. end;
  28189. procedure TINT_IEC1.setSPI1TXIE; inline;
  28190. begin
  28191. pTDefRegMap(@Self)^.&set := $00000040;
  28192. end;
  28193. procedure TINT_IEC1.clearSPI1TXIE; inline;
  28194. begin
  28195. pTDefRegMap(@Self)^.clr := $00000040;
  28196. end;
  28197. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  28198. begin
  28199. if thebits = 0 then
  28200. pTDefRegMap(@Self)^.clr := $00000040
  28201. else
  28202. pTDefRegMap(@Self)^.&set := $00000040;
  28203. end;
  28204. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  28205. begin
  28206. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28207. end;
  28208. procedure TINT_IEC1.setU1EIE; inline;
  28209. begin
  28210. pTDefRegMap(@Self)^.&set := $00000080;
  28211. end;
  28212. procedure TINT_IEC1.clearU1EIE; inline;
  28213. begin
  28214. pTDefRegMap(@Self)^.clr := $00000080;
  28215. end;
  28216. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  28217. begin
  28218. if thebits = 0 then
  28219. pTDefRegMap(@Self)^.clr := $00000080
  28220. else
  28221. pTDefRegMap(@Self)^.&set := $00000080;
  28222. end;
  28223. function TINT_IEC1.getU1EIE : TBits_1; inline;
  28224. begin
  28225. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28226. end;
  28227. procedure TINT_IEC1.setU1RXIE; inline;
  28228. begin
  28229. pTDefRegMap(@Self)^.&set := $00000100;
  28230. end;
  28231. procedure TINT_IEC1.clearU1RXIE; inline;
  28232. begin
  28233. pTDefRegMap(@Self)^.clr := $00000100;
  28234. end;
  28235. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  28236. begin
  28237. if thebits = 0 then
  28238. pTDefRegMap(@Self)^.clr := $00000100
  28239. else
  28240. pTDefRegMap(@Self)^.&set := $00000100;
  28241. end;
  28242. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  28243. begin
  28244. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28245. end;
  28246. procedure TINT_IEC1.setU1TXIE; inline;
  28247. begin
  28248. pTDefRegMap(@Self)^.&set := $00000200;
  28249. end;
  28250. procedure TINT_IEC1.clearU1TXIE; inline;
  28251. begin
  28252. pTDefRegMap(@Self)^.clr := $00000200;
  28253. end;
  28254. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  28255. begin
  28256. if thebits = 0 then
  28257. pTDefRegMap(@Self)^.clr := $00000200
  28258. else
  28259. pTDefRegMap(@Self)^.&set := $00000200;
  28260. end;
  28261. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  28262. begin
  28263. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28264. end;
  28265. procedure TINT_IEC1.setI2C1BIE; inline;
  28266. begin
  28267. pTDefRegMap(@Self)^.&set := $00000400;
  28268. end;
  28269. procedure TINT_IEC1.clearI2C1BIE; inline;
  28270. begin
  28271. pTDefRegMap(@Self)^.clr := $00000400;
  28272. end;
  28273. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  28274. begin
  28275. if thebits = 0 then
  28276. pTDefRegMap(@Self)^.clr := $00000400
  28277. else
  28278. pTDefRegMap(@Self)^.&set := $00000400;
  28279. end;
  28280. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  28281. begin
  28282. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28283. end;
  28284. procedure TINT_IEC1.setI2C1SIE; inline;
  28285. begin
  28286. pTDefRegMap(@Self)^.&set := $00000800;
  28287. end;
  28288. procedure TINT_IEC1.clearI2C1SIE; inline;
  28289. begin
  28290. pTDefRegMap(@Self)^.clr := $00000800;
  28291. end;
  28292. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  28293. begin
  28294. if thebits = 0 then
  28295. pTDefRegMap(@Self)^.clr := $00000800
  28296. else
  28297. pTDefRegMap(@Self)^.&set := $00000800;
  28298. end;
  28299. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  28300. begin
  28301. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28302. end;
  28303. procedure TINT_IEC1.setI2C1MIE; inline;
  28304. begin
  28305. pTDefRegMap(@Self)^.&set := $00001000;
  28306. end;
  28307. procedure TINT_IEC1.clearI2C1MIE; inline;
  28308. begin
  28309. pTDefRegMap(@Self)^.clr := $00001000;
  28310. end;
  28311. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  28312. begin
  28313. if thebits = 0 then
  28314. pTDefRegMap(@Self)^.clr := $00001000
  28315. else
  28316. pTDefRegMap(@Self)^.&set := $00001000;
  28317. end;
  28318. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  28319. begin
  28320. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28321. end;
  28322. procedure TINT_IEC1.setCNAIE; inline;
  28323. begin
  28324. pTDefRegMap(@Self)^.&set := $00002000;
  28325. end;
  28326. procedure TINT_IEC1.clearCNAIE; inline;
  28327. begin
  28328. pTDefRegMap(@Self)^.clr := $00002000;
  28329. end;
  28330. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  28331. begin
  28332. if thebits = 0 then
  28333. pTDefRegMap(@Self)^.clr := $00002000
  28334. else
  28335. pTDefRegMap(@Self)^.&set := $00002000;
  28336. end;
  28337. function TINT_IEC1.getCNAIE : TBits_1; inline;
  28338. begin
  28339. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28340. end;
  28341. procedure TINT_IEC1.setCNBIE; inline;
  28342. begin
  28343. pTDefRegMap(@Self)^.&set := $00004000;
  28344. end;
  28345. procedure TINT_IEC1.clearCNBIE; inline;
  28346. begin
  28347. pTDefRegMap(@Self)^.clr := $00004000;
  28348. end;
  28349. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  28350. begin
  28351. if thebits = 0 then
  28352. pTDefRegMap(@Self)^.clr := $00004000
  28353. else
  28354. pTDefRegMap(@Self)^.&set := $00004000;
  28355. end;
  28356. function TINT_IEC1.getCNBIE : TBits_1; inline;
  28357. begin
  28358. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28359. end;
  28360. procedure TINT_IEC1.setCNCIE; inline;
  28361. begin
  28362. pTDefRegMap(@Self)^.&set := $00008000;
  28363. end;
  28364. procedure TINT_IEC1.clearCNCIE; inline;
  28365. begin
  28366. pTDefRegMap(@Self)^.clr := $00008000;
  28367. end;
  28368. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  28369. begin
  28370. if thebits = 0 then
  28371. pTDefRegMap(@Self)^.clr := $00008000
  28372. else
  28373. pTDefRegMap(@Self)^.&set := $00008000;
  28374. end;
  28375. function TINT_IEC1.getCNCIE : TBits_1; inline;
  28376. begin
  28377. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28378. end;
  28379. procedure TINT_IEC1.setPMPIE; inline;
  28380. begin
  28381. pTDefRegMap(@Self)^.&set := $00010000;
  28382. end;
  28383. procedure TINT_IEC1.clearPMPIE; inline;
  28384. begin
  28385. pTDefRegMap(@Self)^.clr := $00010000;
  28386. end;
  28387. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  28388. begin
  28389. if thebits = 0 then
  28390. pTDefRegMap(@Self)^.clr := $00010000
  28391. else
  28392. pTDefRegMap(@Self)^.&set := $00010000;
  28393. end;
  28394. function TINT_IEC1.getPMPIE : TBits_1; inline;
  28395. begin
  28396. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28397. end;
  28398. procedure TINT_IEC1.setPMPEIE; inline;
  28399. begin
  28400. pTDefRegMap(@Self)^.&set := $00020000;
  28401. end;
  28402. procedure TINT_IEC1.clearPMPEIE; inline;
  28403. begin
  28404. pTDefRegMap(@Self)^.clr := $00020000;
  28405. end;
  28406. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  28407. begin
  28408. if thebits = 0 then
  28409. pTDefRegMap(@Self)^.clr := $00020000
  28410. else
  28411. pTDefRegMap(@Self)^.&set := $00020000;
  28412. end;
  28413. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28414. begin
  28415. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28416. end;
  28417. procedure TINT_IEC1.setSPI2EIE; inline;
  28418. begin
  28419. pTDefRegMap(@Self)^.&set := $00040000;
  28420. end;
  28421. procedure TINT_IEC1.clearSPI2EIE; inline;
  28422. begin
  28423. pTDefRegMap(@Self)^.clr := $00040000;
  28424. end;
  28425. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28426. begin
  28427. if thebits = 0 then
  28428. pTDefRegMap(@Self)^.clr := $00040000
  28429. else
  28430. pTDefRegMap(@Self)^.&set := $00040000;
  28431. end;
  28432. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28433. begin
  28434. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28435. end;
  28436. procedure TINT_IEC1.setSPI2RXIE; inline;
  28437. begin
  28438. pTDefRegMap(@Self)^.&set := $00080000;
  28439. end;
  28440. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28441. begin
  28442. pTDefRegMap(@Self)^.clr := $00080000;
  28443. end;
  28444. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28445. begin
  28446. if thebits = 0 then
  28447. pTDefRegMap(@Self)^.clr := $00080000
  28448. else
  28449. pTDefRegMap(@Self)^.&set := $00080000;
  28450. end;
  28451. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28452. begin
  28453. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28454. end;
  28455. procedure TINT_IEC1.setSPI2TXIE; inline;
  28456. begin
  28457. pTDefRegMap(@Self)^.&set := $00100000;
  28458. end;
  28459. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28460. begin
  28461. pTDefRegMap(@Self)^.clr := $00100000;
  28462. end;
  28463. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28464. begin
  28465. if thebits = 0 then
  28466. pTDefRegMap(@Self)^.clr := $00100000
  28467. else
  28468. pTDefRegMap(@Self)^.&set := $00100000;
  28469. end;
  28470. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28471. begin
  28472. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28473. end;
  28474. procedure TINT_IEC1.setU2EIE; inline;
  28475. begin
  28476. pTDefRegMap(@Self)^.&set := $00200000;
  28477. end;
  28478. procedure TINT_IEC1.clearU2EIE; inline;
  28479. begin
  28480. pTDefRegMap(@Self)^.clr := $00200000;
  28481. end;
  28482. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28483. begin
  28484. if thebits = 0 then
  28485. pTDefRegMap(@Self)^.clr := $00200000
  28486. else
  28487. pTDefRegMap(@Self)^.&set := $00200000;
  28488. end;
  28489. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28490. begin
  28491. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28492. end;
  28493. procedure TINT_IEC1.setU2RXIE; inline;
  28494. begin
  28495. pTDefRegMap(@Self)^.&set := $00400000;
  28496. end;
  28497. procedure TINT_IEC1.clearU2RXIE; inline;
  28498. begin
  28499. pTDefRegMap(@Self)^.clr := $00400000;
  28500. end;
  28501. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28502. begin
  28503. if thebits = 0 then
  28504. pTDefRegMap(@Self)^.clr := $00400000
  28505. else
  28506. pTDefRegMap(@Self)^.&set := $00400000;
  28507. end;
  28508. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28509. begin
  28510. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28511. end;
  28512. procedure TINT_IEC1.setU2TXIE; inline;
  28513. begin
  28514. pTDefRegMap(@Self)^.&set := $00800000;
  28515. end;
  28516. procedure TINT_IEC1.clearU2TXIE; inline;
  28517. begin
  28518. pTDefRegMap(@Self)^.clr := $00800000;
  28519. end;
  28520. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28521. begin
  28522. if thebits = 0 then
  28523. pTDefRegMap(@Self)^.clr := $00800000
  28524. else
  28525. pTDefRegMap(@Self)^.&set := $00800000;
  28526. end;
  28527. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28528. begin
  28529. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28530. end;
  28531. procedure TINT_IEC1.setI2C2BIE; inline;
  28532. begin
  28533. pTDefRegMap(@Self)^.&set := $01000000;
  28534. end;
  28535. procedure TINT_IEC1.clearI2C2BIE; inline;
  28536. begin
  28537. pTDefRegMap(@Self)^.clr := $01000000;
  28538. end;
  28539. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28540. begin
  28541. if thebits = 0 then
  28542. pTDefRegMap(@Self)^.clr := $01000000
  28543. else
  28544. pTDefRegMap(@Self)^.&set := $01000000;
  28545. end;
  28546. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28547. begin
  28548. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28549. end;
  28550. procedure TINT_IEC1.setI2C2SIE; inline;
  28551. begin
  28552. pTDefRegMap(@Self)^.&set := $02000000;
  28553. end;
  28554. procedure TINT_IEC1.clearI2C2SIE; inline;
  28555. begin
  28556. pTDefRegMap(@Self)^.clr := $02000000;
  28557. end;
  28558. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28559. begin
  28560. if thebits = 0 then
  28561. pTDefRegMap(@Self)^.clr := $02000000
  28562. else
  28563. pTDefRegMap(@Self)^.&set := $02000000;
  28564. end;
  28565. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28566. begin
  28567. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28568. end;
  28569. procedure TINT_IEC1.setI2C2MIE; inline;
  28570. begin
  28571. pTDefRegMap(@Self)^.&set := $04000000;
  28572. end;
  28573. procedure TINT_IEC1.clearI2C2MIE; inline;
  28574. begin
  28575. pTDefRegMap(@Self)^.clr := $04000000;
  28576. end;
  28577. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28578. begin
  28579. if thebits = 0 then
  28580. pTDefRegMap(@Self)^.clr := $04000000
  28581. else
  28582. pTDefRegMap(@Self)^.&set := $04000000;
  28583. end;
  28584. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28585. begin
  28586. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28587. end;
  28588. procedure TINT_IEC1.setCTMUIE; inline;
  28589. begin
  28590. pTDefRegMap(@Self)^.&set := $08000000;
  28591. end;
  28592. procedure TINT_IEC1.clearCTMUIE; inline;
  28593. begin
  28594. pTDefRegMap(@Self)^.clr := $08000000;
  28595. end;
  28596. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  28597. begin
  28598. if thebits = 0 then
  28599. pTDefRegMap(@Self)^.clr := $08000000
  28600. else
  28601. pTDefRegMap(@Self)^.&set := $08000000;
  28602. end;
  28603. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  28604. begin
  28605. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28606. end;
  28607. procedure TINT_IEC1.setDMA0IE; inline;
  28608. begin
  28609. pTDefRegMap(@Self)^.&set := $10000000;
  28610. end;
  28611. procedure TINT_IEC1.clearDMA0IE; inline;
  28612. begin
  28613. pTDefRegMap(@Self)^.clr := $10000000;
  28614. end;
  28615. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  28616. begin
  28617. if thebits = 0 then
  28618. pTDefRegMap(@Self)^.clr := $10000000
  28619. else
  28620. pTDefRegMap(@Self)^.&set := $10000000;
  28621. end;
  28622. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  28623. begin
  28624. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28625. end;
  28626. procedure TINT_IEC1.setDMA1IE; inline;
  28627. begin
  28628. pTDefRegMap(@Self)^.&set := $20000000;
  28629. end;
  28630. procedure TINT_IEC1.clearDMA1IE; inline;
  28631. begin
  28632. pTDefRegMap(@Self)^.clr := $20000000;
  28633. end;
  28634. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  28635. begin
  28636. if thebits = 0 then
  28637. pTDefRegMap(@Self)^.clr := $20000000
  28638. else
  28639. pTDefRegMap(@Self)^.&set := $20000000;
  28640. end;
  28641. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  28642. begin
  28643. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28644. end;
  28645. procedure TINT_IEC1.setDMA2IE; inline;
  28646. begin
  28647. pTDefRegMap(@Self)^.&set := $40000000;
  28648. end;
  28649. procedure TINT_IEC1.clearDMA2IE; inline;
  28650. begin
  28651. pTDefRegMap(@Self)^.clr := $40000000;
  28652. end;
  28653. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  28654. begin
  28655. if thebits = 0 then
  28656. pTDefRegMap(@Self)^.clr := $40000000
  28657. else
  28658. pTDefRegMap(@Self)^.&set := $40000000;
  28659. end;
  28660. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  28661. begin
  28662. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28663. end;
  28664. procedure TINT_IEC1.setDMA3IE; inline;
  28665. begin
  28666. pTDefRegMap(@Self)^.&set := $80000000;
  28667. end;
  28668. procedure TINT_IEC1.clearDMA3IE; inline;
  28669. begin
  28670. pTDefRegMap(@Self)^.clr := $80000000;
  28671. end;
  28672. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  28673. begin
  28674. if thebits = 0 then
  28675. pTDefRegMap(@Self)^.clr := $80000000
  28676. else
  28677. pTDefRegMap(@Self)^.&set := $80000000;
  28678. end;
  28679. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  28680. begin
  28681. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28682. end;
  28683. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  28684. begin
  28685. pTDefRegMap(@Self)^.val := thebits;
  28686. end;
  28687. function TINT_IEC1.getw : TBits_32; inline;
  28688. begin
  28689. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28690. end;
  28691. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  28692. begin
  28693. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28694. end;
  28695. function TINT_IPC0.getCTIS : TBits_2; inline;
  28696. begin
  28697. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28698. end;
  28699. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  28700. begin
  28701. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28702. end;
  28703. function TINT_IPC0.getCTIP : TBits_3; inline;
  28704. begin
  28705. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28706. end;
  28707. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  28708. begin
  28709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28710. end;
  28711. function TINT_IPC0.getCS0IS : TBits_2; inline;
  28712. begin
  28713. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28714. end;
  28715. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  28716. begin
  28717. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28718. end;
  28719. function TINT_IPC0.getCS0IP : TBits_3; inline;
  28720. begin
  28721. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28722. end;
  28723. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  28724. begin
  28725. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28726. end;
  28727. function TINT_IPC0.getCS1IS : TBits_2; inline;
  28728. begin
  28729. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28730. end;
  28731. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  28732. begin
  28733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28734. end;
  28735. function TINT_IPC0.getCS1IP : TBits_3; inline;
  28736. begin
  28737. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28738. end;
  28739. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  28740. begin
  28741. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28742. end;
  28743. function TINT_IPC0.getINT0IS : TBits_2; inline;
  28744. begin
  28745. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28746. end;
  28747. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  28748. begin
  28749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28750. end;
  28751. function TINT_IPC0.getINT0IP : TBits_3; inline;
  28752. begin
  28753. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28754. end;
  28755. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  28756. begin
  28757. pTDefRegMap(@Self)^.val := thebits;
  28758. end;
  28759. function TINT_IPC0.getw : TBits_32; inline;
  28760. begin
  28761. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28762. end;
  28763. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  28764. begin
  28765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28766. end;
  28767. function TINT_IPC1.getT1IS : TBits_2; inline;
  28768. begin
  28769. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28770. end;
  28771. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  28772. begin
  28773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28774. end;
  28775. function TINT_IPC1.getT1IP : TBits_3; inline;
  28776. begin
  28777. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28778. end;
  28779. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  28780. begin
  28781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28782. end;
  28783. function TINT_IPC1.getIC1IS : TBits_2; inline;
  28784. begin
  28785. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28786. end;
  28787. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  28788. begin
  28789. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28790. end;
  28791. function TINT_IPC1.getIC1IP : TBits_3; inline;
  28792. begin
  28793. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28794. end;
  28795. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  28796. begin
  28797. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28798. end;
  28799. function TINT_IPC1.getOC1IS : TBits_2; inline;
  28800. begin
  28801. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28802. end;
  28803. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  28804. begin
  28805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28806. end;
  28807. function TINT_IPC1.getOC1IP : TBits_3; inline;
  28808. begin
  28809. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28810. end;
  28811. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  28812. begin
  28813. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28814. end;
  28815. function TINT_IPC1.getINT1IS : TBits_2; inline;
  28816. begin
  28817. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28818. end;
  28819. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  28820. begin
  28821. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28822. end;
  28823. function TINT_IPC1.getINT1IP : TBits_3; inline;
  28824. begin
  28825. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28826. end;
  28827. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  28828. begin
  28829. pTDefRegMap(@Self)^.val := thebits;
  28830. end;
  28831. function TINT_IPC1.getw : TBits_32; inline;
  28832. begin
  28833. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28834. end;
  28835. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  28836. begin
  28837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28838. end;
  28839. function TINT_IPC2.getT2IS : TBits_2; inline;
  28840. begin
  28841. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28842. end;
  28843. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  28844. begin
  28845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28846. end;
  28847. function TINT_IPC2.getT2IP : TBits_3; inline;
  28848. begin
  28849. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28850. end;
  28851. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  28852. begin
  28853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28854. end;
  28855. function TINT_IPC2.getIC2IS : TBits_2; inline;
  28856. begin
  28857. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28858. end;
  28859. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  28860. begin
  28861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28862. end;
  28863. function TINT_IPC2.getIC2IP : TBits_3; inline;
  28864. begin
  28865. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28866. end;
  28867. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  28868. begin
  28869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28870. end;
  28871. function TINT_IPC2.getOC2IS : TBits_2; inline;
  28872. begin
  28873. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28874. end;
  28875. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  28876. begin
  28877. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28878. end;
  28879. function TINT_IPC2.getOC2IP : TBits_3; inline;
  28880. begin
  28881. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28882. end;
  28883. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  28884. begin
  28885. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28886. end;
  28887. function TINT_IPC2.getINT2IS : TBits_2; inline;
  28888. begin
  28889. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28890. end;
  28891. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  28892. begin
  28893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28894. end;
  28895. function TINT_IPC2.getINT2IP : TBits_3; inline;
  28896. begin
  28897. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28898. end;
  28899. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  28900. begin
  28901. pTDefRegMap(@Self)^.val := thebits;
  28902. end;
  28903. function TINT_IPC2.getw : TBits_32; inline;
  28904. begin
  28905. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28906. end;
  28907. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  28908. begin
  28909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28910. end;
  28911. function TINT_IPC3.getT3IS : TBits_2; inline;
  28912. begin
  28913. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28914. end;
  28915. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  28916. begin
  28917. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28918. end;
  28919. function TINT_IPC3.getT3IP : TBits_3; inline;
  28920. begin
  28921. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28922. end;
  28923. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  28924. begin
  28925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28926. end;
  28927. function TINT_IPC3.getIC3IS : TBits_2; inline;
  28928. begin
  28929. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28930. end;
  28931. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  28932. begin
  28933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28934. end;
  28935. function TINT_IPC3.getIC3IP : TBits_3; inline;
  28936. begin
  28937. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28938. end;
  28939. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  28940. begin
  28941. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28942. end;
  28943. function TINT_IPC3.getOC3IS : TBits_2; inline;
  28944. begin
  28945. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28946. end;
  28947. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  28948. begin
  28949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28950. end;
  28951. function TINT_IPC3.getOC3IP : TBits_3; inline;
  28952. begin
  28953. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28954. end;
  28955. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  28956. begin
  28957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28958. end;
  28959. function TINT_IPC3.getINT3IS : TBits_2; inline;
  28960. begin
  28961. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28962. end;
  28963. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  28964. begin
  28965. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28966. end;
  28967. function TINT_IPC3.getINT3IP : TBits_3; inline;
  28968. begin
  28969. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28970. end;
  28971. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  28972. begin
  28973. pTDefRegMap(@Self)^.val := thebits;
  28974. end;
  28975. function TINT_IPC3.getw : TBits_32; inline;
  28976. begin
  28977. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28978. end;
  28979. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  28980. begin
  28981. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28982. end;
  28983. function TINT_IPC4.getT4IS : TBits_2; inline;
  28984. begin
  28985. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28986. end;
  28987. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  28988. begin
  28989. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28990. end;
  28991. function TINT_IPC4.getT4IP : TBits_3; inline;
  28992. begin
  28993. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28994. end;
  28995. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  28996. begin
  28997. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28998. end;
  28999. function TINT_IPC4.getIC4IS : TBits_2; inline;
  29000. begin
  29001. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29002. end;
  29003. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  29004. begin
  29005. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29006. end;
  29007. function TINT_IPC4.getIC4IP : TBits_3; inline;
  29008. begin
  29009. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29010. end;
  29011. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  29012. begin
  29013. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29014. end;
  29015. function TINT_IPC4.getOC4IS : TBits_2; inline;
  29016. begin
  29017. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29018. end;
  29019. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  29020. begin
  29021. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29022. end;
  29023. function TINT_IPC4.getOC4IP : TBits_3; inline;
  29024. begin
  29025. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29026. end;
  29027. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  29028. begin
  29029. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29030. end;
  29031. function TINT_IPC4.getINT4IS : TBits_2; inline;
  29032. begin
  29033. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29034. end;
  29035. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  29036. begin
  29037. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29038. end;
  29039. function TINT_IPC4.getINT4IP : TBits_3; inline;
  29040. begin
  29041. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29042. end;
  29043. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  29044. begin
  29045. pTDefRegMap(@Self)^.val := thebits;
  29046. end;
  29047. function TINT_IPC4.getw : TBits_32; inline;
  29048. begin
  29049. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29050. end;
  29051. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  29052. begin
  29053. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29054. end;
  29055. function TINT_IPC5.getT5IS : TBits_2; inline;
  29056. begin
  29057. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29058. end;
  29059. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  29060. begin
  29061. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29062. end;
  29063. function TINT_IPC5.getT5IP : TBits_3; inline;
  29064. begin
  29065. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29066. end;
  29067. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  29068. begin
  29069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29070. end;
  29071. function TINT_IPC5.getIC5IS : TBits_2; inline;
  29072. begin
  29073. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29074. end;
  29075. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  29076. begin
  29077. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29078. end;
  29079. function TINT_IPC5.getIC5IP : TBits_3; inline;
  29080. begin
  29081. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29082. end;
  29083. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  29084. begin
  29085. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29086. end;
  29087. function TINT_IPC5.getOC5IS : TBits_2; inline;
  29088. begin
  29089. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29090. end;
  29091. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  29092. begin
  29093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29094. end;
  29095. function TINT_IPC5.getOC5IP : TBits_3; inline;
  29096. begin
  29097. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29098. end;
  29099. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29102. end;
  29103. function TINT_IPC5.getAD1IS : TBits_2; inline;
  29104. begin
  29105. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29106. end;
  29107. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  29108. begin
  29109. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29110. end;
  29111. function TINT_IPC5.getAD1IP : TBits_3; inline;
  29112. begin
  29113. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29114. end;
  29115. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  29116. begin
  29117. pTDefRegMap(@Self)^.val := thebits;
  29118. end;
  29119. function TINT_IPC5.getw : TBits_32; inline;
  29120. begin
  29121. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29122. end;
  29123. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  29124. begin
  29125. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29126. end;
  29127. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  29128. begin
  29129. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29130. end;
  29131. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  29132. begin
  29133. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29134. end;
  29135. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  29136. begin
  29137. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29138. end;
  29139. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  29140. begin
  29141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29142. end;
  29143. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  29144. begin
  29145. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29146. end;
  29147. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  29148. begin
  29149. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29150. end;
  29151. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  29152. begin
  29153. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29154. end;
  29155. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  29156. begin
  29157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29158. end;
  29159. function TINT_IPC6.getFCEIS : TBits_2; inline;
  29160. begin
  29161. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29162. end;
  29163. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  29164. begin
  29165. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29166. end;
  29167. function TINT_IPC6.getFCEIP : TBits_3; inline;
  29168. begin
  29169. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29170. end;
  29171. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  29172. begin
  29173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29174. end;
  29175. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  29176. begin
  29177. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29178. end;
  29179. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  29180. begin
  29181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29182. end;
  29183. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  29184. begin
  29185. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29186. end;
  29187. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  29188. begin
  29189. pTDefRegMap(@Self)^.val := thebits;
  29190. end;
  29191. function TINT_IPC6.getw : TBits_32; inline;
  29192. begin
  29193. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29194. end;
  29195. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29198. end;
  29199. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  29200. begin
  29201. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29202. end;
  29203. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  29204. begin
  29205. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29206. end;
  29207. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  29208. begin
  29209. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29210. end;
  29211. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  29212. begin
  29213. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29214. end;
  29215. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  29216. begin
  29217. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29218. end;
  29219. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  29220. begin
  29221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29222. end;
  29223. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  29224. begin
  29225. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29226. end;
  29227. procedure TINT_IPC7.setUSBIS(thebits : TBits_2); inline;
  29228. begin
  29229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29230. end;
  29231. function TINT_IPC7.getUSBIS : TBits_2; inline;
  29232. begin
  29233. getUSBIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29234. end;
  29235. procedure TINT_IPC7.setUSBIP(thebits : TBits_3); inline;
  29236. begin
  29237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29238. end;
  29239. function TINT_IPC7.getUSBIP : TBits_3; inline;
  29240. begin
  29241. getUSBIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29242. end;
  29243. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  29244. begin
  29245. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29246. end;
  29247. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  29248. begin
  29249. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29250. end;
  29251. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  29252. begin
  29253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29254. end;
  29255. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  29256. begin
  29257. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29258. end;
  29259. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  29260. begin
  29261. pTDefRegMap(@Self)^.val := thebits;
  29262. end;
  29263. function TINT_IPC7.getw : TBits_32; inline;
  29264. begin
  29265. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29266. end;
  29267. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  29268. begin
  29269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29270. end;
  29271. function TINT_IPC8.getU1IS : TBits_2; inline;
  29272. begin
  29273. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29274. end;
  29275. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29278. end;
  29279. function TINT_IPC8.getU1IP : TBits_3; inline;
  29280. begin
  29281. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29282. end;
  29283. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  29284. begin
  29285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29286. end;
  29287. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  29288. begin
  29289. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29290. end;
  29291. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  29292. begin
  29293. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29294. end;
  29295. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  29296. begin
  29297. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29298. end;
  29299. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  29300. begin
  29301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29302. end;
  29303. function TINT_IPC8.getCNIS : TBits_2; inline;
  29304. begin
  29305. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29306. end;
  29307. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  29308. begin
  29309. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29310. end;
  29311. function TINT_IPC8.getCNIP : TBits_3; inline;
  29312. begin
  29313. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29314. end;
  29315. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  29316. begin
  29317. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29318. end;
  29319. function TINT_IPC8.getPMPIS : TBits_2; inline;
  29320. begin
  29321. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29322. end;
  29323. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  29324. begin
  29325. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29326. end;
  29327. function TINT_IPC8.getPMPIP : TBits_3; inline;
  29328. begin
  29329. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29330. end;
  29331. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  29332. begin
  29333. pTDefRegMap(@Self)^.val := thebits;
  29334. end;
  29335. function TINT_IPC8.getw : TBits_32; inline;
  29336. begin
  29337. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29338. end;
  29339. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  29340. begin
  29341. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29342. end;
  29343. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  29344. begin
  29345. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29346. end;
  29347. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  29348. begin
  29349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29350. end;
  29351. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  29352. begin
  29353. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29354. end;
  29355. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29358. end;
  29359. function TINT_IPC9.getU2IS : TBits_2; inline;
  29360. begin
  29361. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29362. end;
  29363. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  29364. begin
  29365. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29366. end;
  29367. function TINT_IPC9.getU2IP : TBits_3; inline;
  29368. begin
  29369. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29370. end;
  29371. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  29372. begin
  29373. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29374. end;
  29375. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  29376. begin
  29377. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29378. end;
  29379. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  29380. begin
  29381. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29382. end;
  29383. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  29384. begin
  29385. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29386. end;
  29387. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  29388. begin
  29389. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29390. end;
  29391. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  29392. begin
  29393. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29394. end;
  29395. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  29396. begin
  29397. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29398. end;
  29399. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  29400. begin
  29401. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29402. end;
  29403. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  29404. begin
  29405. pTDefRegMap(@Self)^.val := thebits;
  29406. end;
  29407. function TINT_IPC9.getw : TBits_32; inline;
  29408. begin
  29409. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29410. end;
  29411. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  29412. begin
  29413. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29414. end;
  29415. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  29416. begin
  29417. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29418. end;
  29419. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  29420. begin
  29421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29422. end;
  29423. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  29424. begin
  29425. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29426. end;
  29427. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29428. begin
  29429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29430. end;
  29431. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29432. begin
  29433. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29434. end;
  29435. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29436. begin
  29437. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29438. end;
  29439. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29440. begin
  29441. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29442. end;
  29443. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29444. begin
  29445. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29446. end;
  29447. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29448. begin
  29449. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29450. end;
  29451. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29452. begin
  29453. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29454. end;
  29455. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29456. begin
  29457. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29458. end;
  29459. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29460. begin
  29461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29462. end;
  29463. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29464. begin
  29465. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29466. end;
  29467. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29468. begin
  29469. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29470. end;
  29471. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29472. begin
  29473. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29474. end;
  29475. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29476. begin
  29477. pTDefRegMap(@Self)^.val := thebits;
  29478. end;
  29479. function TINT_IPC10.getw : TBits_32; inline;
  29480. begin
  29481. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29482. end;
  29483. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29484. begin
  29485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29486. end;
  29487. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29488. begin
  29489. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29490. end;
  29491. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29492. begin
  29493. pTDefRegMap(@Self)^.&set := $00000040;
  29494. end;
  29495. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29496. begin
  29497. pTDefRegMap(@Self)^.clr := $00000040;
  29498. end;
  29499. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29500. begin
  29501. if thebits = 0 then
  29502. pTDefRegMap(@Self)^.clr := $00000040
  29503. else
  29504. pTDefRegMap(@Self)^.&set := $00000040;
  29505. end;
  29506. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29507. begin
  29508. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29509. end;
  29510. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29511. begin
  29512. pTDefRegMap(@Self)^.&set := $00010000;
  29513. end;
  29514. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29515. begin
  29516. pTDefRegMap(@Self)^.clr := $00010000;
  29517. end;
  29518. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29519. begin
  29520. if thebits = 0 then
  29521. pTDefRegMap(@Self)^.clr := $00010000
  29522. else
  29523. pTDefRegMap(@Self)^.&set := $00010000;
  29524. end;
  29525. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29526. begin
  29527. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29528. end;
  29529. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29530. begin
  29531. pTDefRegMap(@Self)^.&set := $00020000;
  29532. end;
  29533. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29534. begin
  29535. pTDefRegMap(@Self)^.clr := $00020000;
  29536. end;
  29537. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29538. begin
  29539. if thebits = 0 then
  29540. pTDefRegMap(@Self)^.clr := $00020000
  29541. else
  29542. pTDefRegMap(@Self)^.&set := $00020000;
  29543. end;
  29544. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29545. begin
  29546. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29547. end;
  29548. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29549. begin
  29550. pTDefRegMap(@Self)^.&set := $00040000;
  29551. end;
  29552. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29553. begin
  29554. pTDefRegMap(@Self)^.clr := $00040000;
  29555. end;
  29556. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29557. begin
  29558. if thebits = 0 then
  29559. pTDefRegMap(@Self)^.clr := $00040000
  29560. else
  29561. pTDefRegMap(@Self)^.&set := $00040000;
  29562. end;
  29563. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29564. begin
  29565. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29566. end;
  29567. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29568. begin
  29569. pTDefRegMap(@Self)^.&set := $00080000;
  29570. end;
  29571. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29572. begin
  29573. pTDefRegMap(@Self)^.clr := $00080000;
  29574. end;
  29575. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29576. begin
  29577. if thebits = 0 then
  29578. pTDefRegMap(@Self)^.clr := $00080000
  29579. else
  29580. pTDefRegMap(@Self)^.&set := $00080000;
  29581. end;
  29582. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29583. begin
  29584. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29585. end;
  29586. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29587. begin
  29588. pTDefRegMap(@Self)^.&set := $00100000;
  29589. end;
  29590. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29591. begin
  29592. pTDefRegMap(@Self)^.clr := $00100000;
  29593. end;
  29594. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  29595. begin
  29596. if thebits = 0 then
  29597. pTDefRegMap(@Self)^.clr := $00100000
  29598. else
  29599. pTDefRegMap(@Self)^.&set := $00100000;
  29600. end;
  29601. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  29602. begin
  29603. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29604. end;
  29605. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  29606. begin
  29607. pTDefRegMap(@Self)^.&set := $04000000;
  29608. end;
  29609. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  29610. begin
  29611. pTDefRegMap(@Self)^.clr := $04000000;
  29612. end;
  29613. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  29614. begin
  29615. if thebits = 0 then
  29616. pTDefRegMap(@Self)^.clr := $04000000
  29617. else
  29618. pTDefRegMap(@Self)^.&set := $04000000;
  29619. end;
  29620. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  29621. begin
  29622. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29623. end;
  29624. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  29625. begin
  29626. pTDefRegMap(@Self)^.val := thebits;
  29627. end;
  29628. function TBMX_BMXCON.getw : TBits_32; inline;
  29629. begin
  29630. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29631. end;
  29632. procedure TDMAC_DMACON.setDMABUSY; inline;
  29633. begin
  29634. pTDefRegMap(@Self)^.&set := $00000800;
  29635. end;
  29636. procedure TDMAC_DMACON.clearDMABUSY; inline;
  29637. begin
  29638. pTDefRegMap(@Self)^.clr := $00000800;
  29639. end;
  29640. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  29641. begin
  29642. if thebits = 0 then
  29643. pTDefRegMap(@Self)^.clr := $00000800
  29644. else
  29645. pTDefRegMap(@Self)^.&set := $00000800;
  29646. end;
  29647. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  29648. begin
  29649. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29650. end;
  29651. procedure TDMAC_DMACON.setSUSPEND; inline;
  29652. begin
  29653. pTDefRegMap(@Self)^.&set := $00001000;
  29654. end;
  29655. procedure TDMAC_DMACON.clearSUSPEND; inline;
  29656. begin
  29657. pTDefRegMap(@Self)^.clr := $00001000;
  29658. end;
  29659. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  29660. begin
  29661. if thebits = 0 then
  29662. pTDefRegMap(@Self)^.clr := $00001000
  29663. else
  29664. pTDefRegMap(@Self)^.&set := $00001000;
  29665. end;
  29666. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  29667. begin
  29668. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29669. end;
  29670. procedure TDMAC_DMACON.setON; inline;
  29671. begin
  29672. pTDefRegMap(@Self)^.&set := $00008000;
  29673. end;
  29674. procedure TDMAC_DMACON.clearON; inline;
  29675. begin
  29676. pTDefRegMap(@Self)^.clr := $00008000;
  29677. end;
  29678. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  29679. begin
  29680. if thebits = 0 then
  29681. pTDefRegMap(@Self)^.clr := $00008000
  29682. else
  29683. pTDefRegMap(@Self)^.&set := $00008000;
  29684. end;
  29685. function TDMAC_DMACON.getON : TBits_1; inline;
  29686. begin
  29687. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29688. end;
  29689. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  29690. begin
  29691. pTDefRegMap(@Self)^.val := thebits;
  29692. end;
  29693. function TDMAC_DMACON.getw : TBits_32; inline;
  29694. begin
  29695. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29696. end;
  29697. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  29698. begin
  29699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29700. end;
  29701. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  29702. begin
  29703. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29704. end;
  29705. procedure TDMAC_DMASTAT.setRDWR; inline;
  29706. begin
  29707. pTDefRegMap(@Self)^.&set := $00000008;
  29708. end;
  29709. procedure TDMAC_DMASTAT.clearRDWR; inline;
  29710. begin
  29711. pTDefRegMap(@Self)^.clr := $00000008;
  29712. end;
  29713. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  29714. begin
  29715. if thebits = 0 then
  29716. pTDefRegMap(@Self)^.clr := $00000008
  29717. else
  29718. pTDefRegMap(@Self)^.&set := $00000008;
  29719. end;
  29720. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  29721. begin
  29722. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29723. end;
  29724. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  29725. begin
  29726. pTDefRegMap(@Self)^.val := thebits;
  29727. end;
  29728. function TDMAC_DMASTAT.getw : TBits_32; inline;
  29729. begin
  29730. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29731. end;
  29732. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  29733. begin
  29734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29735. end;
  29736. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  29737. begin
  29738. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29739. end;
  29740. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  29741. begin
  29742. pTDefRegMap(@Self)^.&set := $00000020;
  29743. end;
  29744. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  29745. begin
  29746. pTDefRegMap(@Self)^.clr := $00000020;
  29747. end;
  29748. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  29749. begin
  29750. if thebits = 0 then
  29751. pTDefRegMap(@Self)^.clr := $00000020
  29752. else
  29753. pTDefRegMap(@Self)^.&set := $00000020;
  29754. end;
  29755. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  29756. begin
  29757. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29758. end;
  29759. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  29760. begin
  29761. pTDefRegMap(@Self)^.&set := $00000040;
  29762. end;
  29763. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  29764. begin
  29765. pTDefRegMap(@Self)^.clr := $00000040;
  29766. end;
  29767. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  29768. begin
  29769. if thebits = 0 then
  29770. pTDefRegMap(@Self)^.clr := $00000040
  29771. else
  29772. pTDefRegMap(@Self)^.&set := $00000040;
  29773. end;
  29774. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  29775. begin
  29776. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29777. end;
  29778. procedure TDMAC_DCRCCON.setCRCEN; inline;
  29779. begin
  29780. pTDefRegMap(@Self)^.&set := $00000080;
  29781. end;
  29782. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  29783. begin
  29784. pTDefRegMap(@Self)^.clr := $00000080;
  29785. end;
  29786. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  29787. begin
  29788. if thebits = 0 then
  29789. pTDefRegMap(@Self)^.clr := $00000080
  29790. else
  29791. pTDefRegMap(@Self)^.&set := $00000080;
  29792. end;
  29793. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  29794. begin
  29795. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29796. end;
  29797. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  29798. begin
  29799. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  29800. end;
  29801. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  29802. begin
  29803. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  29804. end;
  29805. procedure TDMAC_DCRCCON.setBITO; inline;
  29806. begin
  29807. pTDefRegMap(@Self)^.&set := $01000000;
  29808. end;
  29809. procedure TDMAC_DCRCCON.clearBITO; inline;
  29810. begin
  29811. pTDefRegMap(@Self)^.clr := $01000000;
  29812. end;
  29813. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  29814. begin
  29815. if thebits = 0 then
  29816. pTDefRegMap(@Self)^.clr := $01000000
  29817. else
  29818. pTDefRegMap(@Self)^.&set := $01000000;
  29819. end;
  29820. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  29821. begin
  29822. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29823. end;
  29824. procedure TDMAC_DCRCCON.setWBO; inline;
  29825. begin
  29826. pTDefRegMap(@Self)^.&set := $08000000;
  29827. end;
  29828. procedure TDMAC_DCRCCON.clearWBO; inline;
  29829. begin
  29830. pTDefRegMap(@Self)^.clr := $08000000;
  29831. end;
  29832. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  29833. begin
  29834. if thebits = 0 then
  29835. pTDefRegMap(@Self)^.clr := $08000000
  29836. else
  29837. pTDefRegMap(@Self)^.&set := $08000000;
  29838. end;
  29839. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  29840. begin
  29841. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29842. end;
  29843. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  29844. begin
  29845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  29846. end;
  29847. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  29848. begin
  29849. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  29850. end;
  29851. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  29852. begin
  29853. pTDefRegMap(@Self)^.val := thebits;
  29854. end;
  29855. function TDMAC_DCRCCON.getw : TBits_32; inline;
  29856. begin
  29857. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29858. end;
  29859. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  29860. begin
  29861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29862. end;
  29863. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  29864. begin
  29865. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29866. end;
  29867. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  29868. begin
  29869. pTDefRegMap(@Self)^.&set := $00000004;
  29870. end;
  29871. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  29872. begin
  29873. pTDefRegMap(@Self)^.clr := $00000004;
  29874. end;
  29875. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  29876. begin
  29877. if thebits = 0 then
  29878. pTDefRegMap(@Self)^.clr := $00000004
  29879. else
  29880. pTDefRegMap(@Self)^.&set := $00000004;
  29881. end;
  29882. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  29883. begin
  29884. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29885. end;
  29886. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  29887. begin
  29888. pTDefRegMap(@Self)^.&set := $00000010;
  29889. end;
  29890. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  29891. begin
  29892. pTDefRegMap(@Self)^.clr := $00000010;
  29893. end;
  29894. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  29895. begin
  29896. if thebits = 0 then
  29897. pTDefRegMap(@Self)^.clr := $00000010
  29898. else
  29899. pTDefRegMap(@Self)^.&set := $00000010;
  29900. end;
  29901. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  29902. begin
  29903. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29904. end;
  29905. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  29906. begin
  29907. pTDefRegMap(@Self)^.&set := $00000020;
  29908. end;
  29909. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  29910. begin
  29911. pTDefRegMap(@Self)^.clr := $00000020;
  29912. end;
  29913. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  29914. begin
  29915. if thebits = 0 then
  29916. pTDefRegMap(@Self)^.clr := $00000020
  29917. else
  29918. pTDefRegMap(@Self)^.&set := $00000020;
  29919. end;
  29920. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  29921. begin
  29922. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29923. end;
  29924. procedure TDMAC0_DCH0CON.setCHAED; inline;
  29925. begin
  29926. pTDefRegMap(@Self)^.&set := $00000040;
  29927. end;
  29928. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  29929. begin
  29930. pTDefRegMap(@Self)^.clr := $00000040;
  29931. end;
  29932. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  29933. begin
  29934. if thebits = 0 then
  29935. pTDefRegMap(@Self)^.clr := $00000040
  29936. else
  29937. pTDefRegMap(@Self)^.&set := $00000040;
  29938. end;
  29939. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  29940. begin
  29941. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29942. end;
  29943. procedure TDMAC0_DCH0CON.setCHEN; inline;
  29944. begin
  29945. pTDefRegMap(@Self)^.&set := $00000080;
  29946. end;
  29947. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  29948. begin
  29949. pTDefRegMap(@Self)^.clr := $00000080;
  29950. end;
  29951. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  29952. begin
  29953. if thebits = 0 then
  29954. pTDefRegMap(@Self)^.clr := $00000080
  29955. else
  29956. pTDefRegMap(@Self)^.&set := $00000080;
  29957. end;
  29958. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  29959. begin
  29960. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29961. end;
  29962. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  29963. begin
  29964. pTDefRegMap(@Self)^.&set := $00000100;
  29965. end;
  29966. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  29967. begin
  29968. pTDefRegMap(@Self)^.clr := $00000100;
  29969. end;
  29970. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  29971. begin
  29972. if thebits = 0 then
  29973. pTDefRegMap(@Self)^.clr := $00000100
  29974. else
  29975. pTDefRegMap(@Self)^.&set := $00000100;
  29976. end;
  29977. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  29978. begin
  29979. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29980. end;
  29981. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  29982. begin
  29983. pTDefRegMap(@Self)^.&set := $00008000;
  29984. end;
  29985. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  29986. begin
  29987. pTDefRegMap(@Self)^.clr := $00008000;
  29988. end;
  29989. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  29990. begin
  29991. if thebits = 0 then
  29992. pTDefRegMap(@Self)^.clr := $00008000
  29993. else
  29994. pTDefRegMap(@Self)^.&set := $00008000;
  29995. end;
  29996. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  29997. begin
  29998. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29999. end;
  30000. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  30001. begin
  30002. pTDefRegMap(@Self)^.val := thebits;
  30003. end;
  30004. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  30005. begin
  30006. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30007. end;
  30008. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  30009. begin
  30010. pTDefRegMap(@Self)^.&set := $00000008;
  30011. end;
  30012. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  30013. begin
  30014. pTDefRegMap(@Self)^.clr := $00000008;
  30015. end;
  30016. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  30017. begin
  30018. if thebits = 0 then
  30019. pTDefRegMap(@Self)^.clr := $00000008
  30020. else
  30021. pTDefRegMap(@Self)^.&set := $00000008;
  30022. end;
  30023. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  30024. begin
  30025. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30026. end;
  30027. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  30028. begin
  30029. pTDefRegMap(@Self)^.&set := $00000010;
  30030. end;
  30031. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  30032. begin
  30033. pTDefRegMap(@Self)^.clr := $00000010;
  30034. end;
  30035. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  30036. begin
  30037. if thebits = 0 then
  30038. pTDefRegMap(@Self)^.clr := $00000010
  30039. else
  30040. pTDefRegMap(@Self)^.&set := $00000010;
  30041. end;
  30042. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  30043. begin
  30044. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30045. end;
  30046. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  30047. begin
  30048. pTDefRegMap(@Self)^.&set := $00000020;
  30049. end;
  30050. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  30051. begin
  30052. pTDefRegMap(@Self)^.clr := $00000020;
  30053. end;
  30054. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  30055. begin
  30056. if thebits = 0 then
  30057. pTDefRegMap(@Self)^.clr := $00000020
  30058. else
  30059. pTDefRegMap(@Self)^.&set := $00000020;
  30060. end;
  30061. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  30062. begin
  30063. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30064. end;
  30065. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  30066. begin
  30067. pTDefRegMap(@Self)^.&set := $00000040;
  30068. end;
  30069. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  30070. begin
  30071. pTDefRegMap(@Self)^.clr := $00000040;
  30072. end;
  30073. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  30074. begin
  30075. if thebits = 0 then
  30076. pTDefRegMap(@Self)^.clr := $00000040
  30077. else
  30078. pTDefRegMap(@Self)^.&set := $00000040;
  30079. end;
  30080. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  30081. begin
  30082. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30083. end;
  30084. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  30085. begin
  30086. pTDefRegMap(@Self)^.&set := $00000080;
  30087. end;
  30088. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  30089. begin
  30090. pTDefRegMap(@Self)^.clr := $00000080;
  30091. end;
  30092. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  30093. begin
  30094. if thebits = 0 then
  30095. pTDefRegMap(@Self)^.clr := $00000080
  30096. else
  30097. pTDefRegMap(@Self)^.&set := $00000080;
  30098. end;
  30099. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  30100. begin
  30101. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30102. end;
  30103. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  30104. begin
  30105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30106. end;
  30107. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  30108. begin
  30109. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30110. end;
  30111. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  30112. begin
  30113. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30114. end;
  30115. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  30116. begin
  30117. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30118. end;
  30119. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  30120. begin
  30121. pTDefRegMap(@Self)^.val := thebits;
  30122. end;
  30123. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  30124. begin
  30125. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30126. end;
  30127. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  30128. begin
  30129. pTDefRegMap(@Self)^.&set := $00000001;
  30130. end;
  30131. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  30132. begin
  30133. pTDefRegMap(@Self)^.clr := $00000001;
  30134. end;
  30135. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  30136. begin
  30137. if thebits = 0 then
  30138. pTDefRegMap(@Self)^.clr := $00000001
  30139. else
  30140. pTDefRegMap(@Self)^.&set := $00000001;
  30141. end;
  30142. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  30143. begin
  30144. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30145. end;
  30146. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  30147. begin
  30148. pTDefRegMap(@Self)^.&set := $00000002;
  30149. end;
  30150. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  30151. begin
  30152. pTDefRegMap(@Self)^.clr := $00000002;
  30153. end;
  30154. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  30155. begin
  30156. if thebits = 0 then
  30157. pTDefRegMap(@Self)^.clr := $00000002
  30158. else
  30159. pTDefRegMap(@Self)^.&set := $00000002;
  30160. end;
  30161. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  30162. begin
  30163. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30164. end;
  30165. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  30166. begin
  30167. pTDefRegMap(@Self)^.&set := $00000004;
  30168. end;
  30169. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  30170. begin
  30171. pTDefRegMap(@Self)^.clr := $00000004;
  30172. end;
  30173. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  30174. begin
  30175. if thebits = 0 then
  30176. pTDefRegMap(@Self)^.clr := $00000004
  30177. else
  30178. pTDefRegMap(@Self)^.&set := $00000004;
  30179. end;
  30180. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  30181. begin
  30182. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30183. end;
  30184. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  30185. begin
  30186. pTDefRegMap(@Self)^.&set := $00000008;
  30187. end;
  30188. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  30189. begin
  30190. pTDefRegMap(@Self)^.clr := $00000008;
  30191. end;
  30192. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  30193. begin
  30194. if thebits = 0 then
  30195. pTDefRegMap(@Self)^.clr := $00000008
  30196. else
  30197. pTDefRegMap(@Self)^.&set := $00000008;
  30198. end;
  30199. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  30200. begin
  30201. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30202. end;
  30203. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  30204. begin
  30205. pTDefRegMap(@Self)^.&set := $00000010;
  30206. end;
  30207. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  30208. begin
  30209. pTDefRegMap(@Self)^.clr := $00000010;
  30210. end;
  30211. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  30212. begin
  30213. if thebits = 0 then
  30214. pTDefRegMap(@Self)^.clr := $00000010
  30215. else
  30216. pTDefRegMap(@Self)^.&set := $00000010;
  30217. end;
  30218. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  30219. begin
  30220. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30221. end;
  30222. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  30223. begin
  30224. pTDefRegMap(@Self)^.&set := $00000020;
  30225. end;
  30226. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  30227. begin
  30228. pTDefRegMap(@Self)^.clr := $00000020;
  30229. end;
  30230. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  30231. begin
  30232. if thebits = 0 then
  30233. pTDefRegMap(@Self)^.clr := $00000020
  30234. else
  30235. pTDefRegMap(@Self)^.&set := $00000020;
  30236. end;
  30237. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  30238. begin
  30239. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30240. end;
  30241. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  30242. begin
  30243. pTDefRegMap(@Self)^.&set := $00000040;
  30244. end;
  30245. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  30246. begin
  30247. pTDefRegMap(@Self)^.clr := $00000040;
  30248. end;
  30249. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  30250. begin
  30251. if thebits = 0 then
  30252. pTDefRegMap(@Self)^.clr := $00000040
  30253. else
  30254. pTDefRegMap(@Self)^.&set := $00000040;
  30255. end;
  30256. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  30257. begin
  30258. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30259. end;
  30260. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  30261. begin
  30262. pTDefRegMap(@Self)^.&set := $00000080;
  30263. end;
  30264. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  30265. begin
  30266. pTDefRegMap(@Self)^.clr := $00000080;
  30267. end;
  30268. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  30269. begin
  30270. if thebits = 0 then
  30271. pTDefRegMap(@Self)^.clr := $00000080
  30272. else
  30273. pTDefRegMap(@Self)^.&set := $00000080;
  30274. end;
  30275. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  30276. begin
  30277. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30278. end;
  30279. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  30280. begin
  30281. pTDefRegMap(@Self)^.&set := $00010000;
  30282. end;
  30283. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  30284. begin
  30285. pTDefRegMap(@Self)^.clr := $00010000;
  30286. end;
  30287. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  30288. begin
  30289. if thebits = 0 then
  30290. pTDefRegMap(@Self)^.clr := $00010000
  30291. else
  30292. pTDefRegMap(@Self)^.&set := $00010000;
  30293. end;
  30294. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  30295. begin
  30296. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30297. end;
  30298. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  30299. begin
  30300. pTDefRegMap(@Self)^.&set := $00020000;
  30301. end;
  30302. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  30303. begin
  30304. pTDefRegMap(@Self)^.clr := $00020000;
  30305. end;
  30306. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  30307. begin
  30308. if thebits = 0 then
  30309. pTDefRegMap(@Self)^.clr := $00020000
  30310. else
  30311. pTDefRegMap(@Self)^.&set := $00020000;
  30312. end;
  30313. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  30314. begin
  30315. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30316. end;
  30317. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  30318. begin
  30319. pTDefRegMap(@Self)^.&set := $00040000;
  30320. end;
  30321. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  30322. begin
  30323. pTDefRegMap(@Self)^.clr := $00040000;
  30324. end;
  30325. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  30326. begin
  30327. if thebits = 0 then
  30328. pTDefRegMap(@Self)^.clr := $00040000
  30329. else
  30330. pTDefRegMap(@Self)^.&set := $00040000;
  30331. end;
  30332. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  30333. begin
  30334. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30335. end;
  30336. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  30337. begin
  30338. pTDefRegMap(@Self)^.&set := $00080000;
  30339. end;
  30340. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  30341. begin
  30342. pTDefRegMap(@Self)^.clr := $00080000;
  30343. end;
  30344. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  30345. begin
  30346. if thebits = 0 then
  30347. pTDefRegMap(@Self)^.clr := $00080000
  30348. else
  30349. pTDefRegMap(@Self)^.&set := $00080000;
  30350. end;
  30351. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  30352. begin
  30353. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30354. end;
  30355. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  30356. begin
  30357. pTDefRegMap(@Self)^.&set := $00100000;
  30358. end;
  30359. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  30360. begin
  30361. pTDefRegMap(@Self)^.clr := $00100000;
  30362. end;
  30363. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  30364. begin
  30365. if thebits = 0 then
  30366. pTDefRegMap(@Self)^.clr := $00100000
  30367. else
  30368. pTDefRegMap(@Self)^.&set := $00100000;
  30369. end;
  30370. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  30371. begin
  30372. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30373. end;
  30374. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  30375. begin
  30376. pTDefRegMap(@Self)^.&set := $00200000;
  30377. end;
  30378. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  30379. begin
  30380. pTDefRegMap(@Self)^.clr := $00200000;
  30381. end;
  30382. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  30383. begin
  30384. if thebits = 0 then
  30385. pTDefRegMap(@Self)^.clr := $00200000
  30386. else
  30387. pTDefRegMap(@Self)^.&set := $00200000;
  30388. end;
  30389. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  30390. begin
  30391. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30392. end;
  30393. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  30394. begin
  30395. pTDefRegMap(@Self)^.&set := $00400000;
  30396. end;
  30397. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  30398. begin
  30399. pTDefRegMap(@Self)^.clr := $00400000;
  30400. end;
  30401. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  30402. begin
  30403. if thebits = 0 then
  30404. pTDefRegMap(@Self)^.clr := $00400000
  30405. else
  30406. pTDefRegMap(@Self)^.&set := $00400000;
  30407. end;
  30408. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  30409. begin
  30410. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30411. end;
  30412. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  30413. begin
  30414. pTDefRegMap(@Self)^.&set := $00800000;
  30415. end;
  30416. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  30417. begin
  30418. pTDefRegMap(@Self)^.clr := $00800000;
  30419. end;
  30420. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  30421. begin
  30422. if thebits = 0 then
  30423. pTDefRegMap(@Self)^.clr := $00800000
  30424. else
  30425. pTDefRegMap(@Self)^.&set := $00800000;
  30426. end;
  30427. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30428. begin
  30429. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30430. end;
  30431. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30432. begin
  30433. pTDefRegMap(@Self)^.val := thebits;
  30434. end;
  30435. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30436. begin
  30437. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30438. end;
  30439. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30440. begin
  30441. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30442. end;
  30443. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30444. begin
  30445. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30446. end;
  30447. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30448. begin
  30449. pTDefRegMap(@Self)^.&set := $00000004;
  30450. end;
  30451. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30452. begin
  30453. pTDefRegMap(@Self)^.clr := $00000004;
  30454. end;
  30455. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30456. begin
  30457. if thebits = 0 then
  30458. pTDefRegMap(@Self)^.clr := $00000004
  30459. else
  30460. pTDefRegMap(@Self)^.&set := $00000004;
  30461. end;
  30462. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30463. begin
  30464. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30465. end;
  30466. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30467. begin
  30468. pTDefRegMap(@Self)^.&set := $00000010;
  30469. end;
  30470. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30471. begin
  30472. pTDefRegMap(@Self)^.clr := $00000010;
  30473. end;
  30474. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30475. begin
  30476. if thebits = 0 then
  30477. pTDefRegMap(@Self)^.clr := $00000010
  30478. else
  30479. pTDefRegMap(@Self)^.&set := $00000010;
  30480. end;
  30481. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30482. begin
  30483. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30484. end;
  30485. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30486. begin
  30487. pTDefRegMap(@Self)^.&set := $00000020;
  30488. end;
  30489. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30490. begin
  30491. pTDefRegMap(@Self)^.clr := $00000020;
  30492. end;
  30493. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30494. begin
  30495. if thebits = 0 then
  30496. pTDefRegMap(@Self)^.clr := $00000020
  30497. else
  30498. pTDefRegMap(@Self)^.&set := $00000020;
  30499. end;
  30500. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30501. begin
  30502. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30503. end;
  30504. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30505. begin
  30506. pTDefRegMap(@Self)^.&set := $00000040;
  30507. end;
  30508. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30509. begin
  30510. pTDefRegMap(@Self)^.clr := $00000040;
  30511. end;
  30512. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30513. begin
  30514. if thebits = 0 then
  30515. pTDefRegMap(@Self)^.clr := $00000040
  30516. else
  30517. pTDefRegMap(@Self)^.&set := $00000040;
  30518. end;
  30519. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30520. begin
  30521. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30522. end;
  30523. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30524. begin
  30525. pTDefRegMap(@Self)^.&set := $00000080;
  30526. end;
  30527. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30528. begin
  30529. pTDefRegMap(@Self)^.clr := $00000080;
  30530. end;
  30531. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30532. begin
  30533. if thebits = 0 then
  30534. pTDefRegMap(@Self)^.clr := $00000080
  30535. else
  30536. pTDefRegMap(@Self)^.&set := $00000080;
  30537. end;
  30538. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30539. begin
  30540. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30541. end;
  30542. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30543. begin
  30544. pTDefRegMap(@Self)^.&set := $00000100;
  30545. end;
  30546. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30547. begin
  30548. pTDefRegMap(@Self)^.clr := $00000100;
  30549. end;
  30550. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30551. begin
  30552. if thebits = 0 then
  30553. pTDefRegMap(@Self)^.clr := $00000100
  30554. else
  30555. pTDefRegMap(@Self)^.&set := $00000100;
  30556. end;
  30557. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30558. begin
  30559. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30560. end;
  30561. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30562. begin
  30563. pTDefRegMap(@Self)^.&set := $00008000;
  30564. end;
  30565. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30566. begin
  30567. pTDefRegMap(@Self)^.clr := $00008000;
  30568. end;
  30569. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30570. begin
  30571. if thebits = 0 then
  30572. pTDefRegMap(@Self)^.clr := $00008000
  30573. else
  30574. pTDefRegMap(@Self)^.&set := $00008000;
  30575. end;
  30576. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30577. begin
  30578. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30579. end;
  30580. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30581. begin
  30582. pTDefRegMap(@Self)^.val := thebits;
  30583. end;
  30584. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30585. begin
  30586. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30587. end;
  30588. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30589. begin
  30590. pTDefRegMap(@Self)^.&set := $00000008;
  30591. end;
  30592. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  30593. begin
  30594. pTDefRegMap(@Self)^.clr := $00000008;
  30595. end;
  30596. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  30597. begin
  30598. if thebits = 0 then
  30599. pTDefRegMap(@Self)^.clr := $00000008
  30600. else
  30601. pTDefRegMap(@Self)^.&set := $00000008;
  30602. end;
  30603. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  30604. begin
  30605. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30606. end;
  30607. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  30608. begin
  30609. pTDefRegMap(@Self)^.&set := $00000010;
  30610. end;
  30611. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  30612. begin
  30613. pTDefRegMap(@Self)^.clr := $00000010;
  30614. end;
  30615. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  30616. begin
  30617. if thebits = 0 then
  30618. pTDefRegMap(@Self)^.clr := $00000010
  30619. else
  30620. pTDefRegMap(@Self)^.&set := $00000010;
  30621. end;
  30622. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  30623. begin
  30624. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30625. end;
  30626. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  30627. begin
  30628. pTDefRegMap(@Self)^.&set := $00000020;
  30629. end;
  30630. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  30631. begin
  30632. pTDefRegMap(@Self)^.clr := $00000020;
  30633. end;
  30634. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  30635. begin
  30636. if thebits = 0 then
  30637. pTDefRegMap(@Self)^.clr := $00000020
  30638. else
  30639. pTDefRegMap(@Self)^.&set := $00000020;
  30640. end;
  30641. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  30642. begin
  30643. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30644. end;
  30645. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  30646. begin
  30647. pTDefRegMap(@Self)^.&set := $00000040;
  30648. end;
  30649. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  30650. begin
  30651. pTDefRegMap(@Self)^.clr := $00000040;
  30652. end;
  30653. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  30654. begin
  30655. if thebits = 0 then
  30656. pTDefRegMap(@Self)^.clr := $00000040
  30657. else
  30658. pTDefRegMap(@Self)^.&set := $00000040;
  30659. end;
  30660. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  30661. begin
  30662. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30663. end;
  30664. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  30665. begin
  30666. pTDefRegMap(@Self)^.&set := $00000080;
  30667. end;
  30668. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  30669. begin
  30670. pTDefRegMap(@Self)^.clr := $00000080;
  30671. end;
  30672. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  30673. begin
  30674. if thebits = 0 then
  30675. pTDefRegMap(@Self)^.clr := $00000080
  30676. else
  30677. pTDefRegMap(@Self)^.&set := $00000080;
  30678. end;
  30679. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  30680. begin
  30681. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30682. end;
  30683. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  30684. begin
  30685. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30686. end;
  30687. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  30688. begin
  30689. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30690. end;
  30691. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  30692. begin
  30693. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30694. end;
  30695. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  30696. begin
  30697. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30698. end;
  30699. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  30700. begin
  30701. pTDefRegMap(@Self)^.val := thebits;
  30702. end;
  30703. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  30704. begin
  30705. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30706. end;
  30707. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  30708. begin
  30709. pTDefRegMap(@Self)^.&set := $00000001;
  30710. end;
  30711. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  30712. begin
  30713. pTDefRegMap(@Self)^.clr := $00000001;
  30714. end;
  30715. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  30716. begin
  30717. if thebits = 0 then
  30718. pTDefRegMap(@Self)^.clr := $00000001
  30719. else
  30720. pTDefRegMap(@Self)^.&set := $00000001;
  30721. end;
  30722. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  30723. begin
  30724. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30725. end;
  30726. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  30727. begin
  30728. pTDefRegMap(@Self)^.&set := $00000002;
  30729. end;
  30730. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  30731. begin
  30732. pTDefRegMap(@Self)^.clr := $00000002;
  30733. end;
  30734. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  30735. begin
  30736. if thebits = 0 then
  30737. pTDefRegMap(@Self)^.clr := $00000002
  30738. else
  30739. pTDefRegMap(@Self)^.&set := $00000002;
  30740. end;
  30741. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  30742. begin
  30743. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30744. end;
  30745. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  30746. begin
  30747. pTDefRegMap(@Self)^.&set := $00000004;
  30748. end;
  30749. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  30750. begin
  30751. pTDefRegMap(@Self)^.clr := $00000004;
  30752. end;
  30753. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  30754. begin
  30755. if thebits = 0 then
  30756. pTDefRegMap(@Self)^.clr := $00000004
  30757. else
  30758. pTDefRegMap(@Self)^.&set := $00000004;
  30759. end;
  30760. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  30761. begin
  30762. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30763. end;
  30764. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  30765. begin
  30766. pTDefRegMap(@Self)^.&set := $00000008;
  30767. end;
  30768. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  30769. begin
  30770. pTDefRegMap(@Self)^.clr := $00000008;
  30771. end;
  30772. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  30773. begin
  30774. if thebits = 0 then
  30775. pTDefRegMap(@Self)^.clr := $00000008
  30776. else
  30777. pTDefRegMap(@Self)^.&set := $00000008;
  30778. end;
  30779. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  30780. begin
  30781. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30782. end;
  30783. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  30784. begin
  30785. pTDefRegMap(@Self)^.&set := $00000010;
  30786. end;
  30787. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  30788. begin
  30789. pTDefRegMap(@Self)^.clr := $00000010;
  30790. end;
  30791. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  30792. begin
  30793. if thebits = 0 then
  30794. pTDefRegMap(@Self)^.clr := $00000010
  30795. else
  30796. pTDefRegMap(@Self)^.&set := $00000010;
  30797. end;
  30798. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  30799. begin
  30800. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30801. end;
  30802. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  30803. begin
  30804. pTDefRegMap(@Self)^.&set := $00000020;
  30805. end;
  30806. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  30807. begin
  30808. pTDefRegMap(@Self)^.clr := $00000020;
  30809. end;
  30810. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  30811. begin
  30812. if thebits = 0 then
  30813. pTDefRegMap(@Self)^.clr := $00000020
  30814. else
  30815. pTDefRegMap(@Self)^.&set := $00000020;
  30816. end;
  30817. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  30818. begin
  30819. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30820. end;
  30821. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  30822. begin
  30823. pTDefRegMap(@Self)^.&set := $00000040;
  30824. end;
  30825. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  30826. begin
  30827. pTDefRegMap(@Self)^.clr := $00000040;
  30828. end;
  30829. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  30830. begin
  30831. if thebits = 0 then
  30832. pTDefRegMap(@Self)^.clr := $00000040
  30833. else
  30834. pTDefRegMap(@Self)^.&set := $00000040;
  30835. end;
  30836. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  30837. begin
  30838. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30839. end;
  30840. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  30841. begin
  30842. pTDefRegMap(@Self)^.&set := $00000080;
  30843. end;
  30844. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  30845. begin
  30846. pTDefRegMap(@Self)^.clr := $00000080;
  30847. end;
  30848. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  30849. begin
  30850. if thebits = 0 then
  30851. pTDefRegMap(@Self)^.clr := $00000080
  30852. else
  30853. pTDefRegMap(@Self)^.&set := $00000080;
  30854. end;
  30855. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  30856. begin
  30857. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30858. end;
  30859. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  30860. begin
  30861. pTDefRegMap(@Self)^.&set := $00010000;
  30862. end;
  30863. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  30864. begin
  30865. pTDefRegMap(@Self)^.clr := $00010000;
  30866. end;
  30867. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  30868. begin
  30869. if thebits = 0 then
  30870. pTDefRegMap(@Self)^.clr := $00010000
  30871. else
  30872. pTDefRegMap(@Self)^.&set := $00010000;
  30873. end;
  30874. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  30875. begin
  30876. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30877. end;
  30878. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  30879. begin
  30880. pTDefRegMap(@Self)^.&set := $00020000;
  30881. end;
  30882. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  30883. begin
  30884. pTDefRegMap(@Self)^.clr := $00020000;
  30885. end;
  30886. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  30887. begin
  30888. if thebits = 0 then
  30889. pTDefRegMap(@Self)^.clr := $00020000
  30890. else
  30891. pTDefRegMap(@Self)^.&set := $00020000;
  30892. end;
  30893. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  30894. begin
  30895. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30896. end;
  30897. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  30898. begin
  30899. pTDefRegMap(@Self)^.&set := $00040000;
  30900. end;
  30901. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  30902. begin
  30903. pTDefRegMap(@Self)^.clr := $00040000;
  30904. end;
  30905. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  30906. begin
  30907. if thebits = 0 then
  30908. pTDefRegMap(@Self)^.clr := $00040000
  30909. else
  30910. pTDefRegMap(@Self)^.&set := $00040000;
  30911. end;
  30912. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  30913. begin
  30914. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30915. end;
  30916. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  30917. begin
  30918. pTDefRegMap(@Self)^.&set := $00080000;
  30919. end;
  30920. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  30921. begin
  30922. pTDefRegMap(@Self)^.clr := $00080000;
  30923. end;
  30924. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  30925. begin
  30926. if thebits = 0 then
  30927. pTDefRegMap(@Self)^.clr := $00080000
  30928. else
  30929. pTDefRegMap(@Self)^.&set := $00080000;
  30930. end;
  30931. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  30932. begin
  30933. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30934. end;
  30935. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  30936. begin
  30937. pTDefRegMap(@Self)^.&set := $00100000;
  30938. end;
  30939. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  30940. begin
  30941. pTDefRegMap(@Self)^.clr := $00100000;
  30942. end;
  30943. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  30944. begin
  30945. if thebits = 0 then
  30946. pTDefRegMap(@Self)^.clr := $00100000
  30947. else
  30948. pTDefRegMap(@Self)^.&set := $00100000;
  30949. end;
  30950. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  30951. begin
  30952. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30953. end;
  30954. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  30955. begin
  30956. pTDefRegMap(@Self)^.&set := $00200000;
  30957. end;
  30958. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  30959. begin
  30960. pTDefRegMap(@Self)^.clr := $00200000;
  30961. end;
  30962. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  30963. begin
  30964. if thebits = 0 then
  30965. pTDefRegMap(@Self)^.clr := $00200000
  30966. else
  30967. pTDefRegMap(@Self)^.&set := $00200000;
  30968. end;
  30969. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  30970. begin
  30971. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30972. end;
  30973. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  30974. begin
  30975. pTDefRegMap(@Self)^.&set := $00400000;
  30976. end;
  30977. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  30978. begin
  30979. pTDefRegMap(@Self)^.clr := $00400000;
  30980. end;
  30981. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  30982. begin
  30983. if thebits = 0 then
  30984. pTDefRegMap(@Self)^.clr := $00400000
  30985. else
  30986. pTDefRegMap(@Self)^.&set := $00400000;
  30987. end;
  30988. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  30989. begin
  30990. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30991. end;
  30992. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  30993. begin
  30994. pTDefRegMap(@Self)^.&set := $00800000;
  30995. end;
  30996. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  30997. begin
  30998. pTDefRegMap(@Self)^.clr := $00800000;
  30999. end;
  31000. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  31001. begin
  31002. if thebits = 0 then
  31003. pTDefRegMap(@Self)^.clr := $00800000
  31004. else
  31005. pTDefRegMap(@Self)^.&set := $00800000;
  31006. end;
  31007. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  31008. begin
  31009. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31010. end;
  31011. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  31012. begin
  31013. pTDefRegMap(@Self)^.val := thebits;
  31014. end;
  31015. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  31016. begin
  31017. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31018. end;
  31019. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  31020. begin
  31021. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31022. end;
  31023. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  31024. begin
  31025. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31026. end;
  31027. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  31028. begin
  31029. pTDefRegMap(@Self)^.&set := $00000004;
  31030. end;
  31031. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  31032. begin
  31033. pTDefRegMap(@Self)^.clr := $00000004;
  31034. end;
  31035. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  31036. begin
  31037. if thebits = 0 then
  31038. pTDefRegMap(@Self)^.clr := $00000004
  31039. else
  31040. pTDefRegMap(@Self)^.&set := $00000004;
  31041. end;
  31042. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  31043. begin
  31044. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31045. end;
  31046. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  31047. begin
  31048. pTDefRegMap(@Self)^.&set := $00000010;
  31049. end;
  31050. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  31051. begin
  31052. pTDefRegMap(@Self)^.clr := $00000010;
  31053. end;
  31054. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  31055. begin
  31056. if thebits = 0 then
  31057. pTDefRegMap(@Self)^.clr := $00000010
  31058. else
  31059. pTDefRegMap(@Self)^.&set := $00000010;
  31060. end;
  31061. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  31062. begin
  31063. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31064. end;
  31065. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  31066. begin
  31067. pTDefRegMap(@Self)^.&set := $00000020;
  31068. end;
  31069. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  31070. begin
  31071. pTDefRegMap(@Self)^.clr := $00000020;
  31072. end;
  31073. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  31074. begin
  31075. if thebits = 0 then
  31076. pTDefRegMap(@Self)^.clr := $00000020
  31077. else
  31078. pTDefRegMap(@Self)^.&set := $00000020;
  31079. end;
  31080. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  31081. begin
  31082. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31083. end;
  31084. procedure TDMAC2_DCH2CON.setCHAED; inline;
  31085. begin
  31086. pTDefRegMap(@Self)^.&set := $00000040;
  31087. end;
  31088. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  31089. begin
  31090. pTDefRegMap(@Self)^.clr := $00000040;
  31091. end;
  31092. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  31093. begin
  31094. if thebits = 0 then
  31095. pTDefRegMap(@Self)^.clr := $00000040
  31096. else
  31097. pTDefRegMap(@Self)^.&set := $00000040;
  31098. end;
  31099. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  31100. begin
  31101. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31102. end;
  31103. procedure TDMAC2_DCH2CON.setCHEN; inline;
  31104. begin
  31105. pTDefRegMap(@Self)^.&set := $00000080;
  31106. end;
  31107. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  31108. begin
  31109. pTDefRegMap(@Self)^.clr := $00000080;
  31110. end;
  31111. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  31112. begin
  31113. if thebits = 0 then
  31114. pTDefRegMap(@Self)^.clr := $00000080
  31115. else
  31116. pTDefRegMap(@Self)^.&set := $00000080;
  31117. end;
  31118. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  31119. begin
  31120. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31121. end;
  31122. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  31123. begin
  31124. pTDefRegMap(@Self)^.&set := $00000100;
  31125. end;
  31126. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  31127. begin
  31128. pTDefRegMap(@Self)^.clr := $00000100;
  31129. end;
  31130. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  31131. begin
  31132. if thebits = 0 then
  31133. pTDefRegMap(@Self)^.clr := $00000100
  31134. else
  31135. pTDefRegMap(@Self)^.&set := $00000100;
  31136. end;
  31137. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  31138. begin
  31139. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31140. end;
  31141. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  31142. begin
  31143. pTDefRegMap(@Self)^.&set := $00008000;
  31144. end;
  31145. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  31146. begin
  31147. pTDefRegMap(@Self)^.clr := $00008000;
  31148. end;
  31149. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  31150. begin
  31151. if thebits = 0 then
  31152. pTDefRegMap(@Self)^.clr := $00008000
  31153. else
  31154. pTDefRegMap(@Self)^.&set := $00008000;
  31155. end;
  31156. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  31157. begin
  31158. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31159. end;
  31160. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  31161. begin
  31162. pTDefRegMap(@Self)^.val := thebits;
  31163. end;
  31164. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  31165. begin
  31166. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31167. end;
  31168. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  31169. begin
  31170. pTDefRegMap(@Self)^.&set := $00000008;
  31171. end;
  31172. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  31173. begin
  31174. pTDefRegMap(@Self)^.clr := $00000008;
  31175. end;
  31176. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  31177. begin
  31178. if thebits = 0 then
  31179. pTDefRegMap(@Self)^.clr := $00000008
  31180. else
  31181. pTDefRegMap(@Self)^.&set := $00000008;
  31182. end;
  31183. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  31184. begin
  31185. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31186. end;
  31187. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  31188. begin
  31189. pTDefRegMap(@Self)^.&set := $00000010;
  31190. end;
  31191. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  31192. begin
  31193. pTDefRegMap(@Self)^.clr := $00000010;
  31194. end;
  31195. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  31196. begin
  31197. if thebits = 0 then
  31198. pTDefRegMap(@Self)^.clr := $00000010
  31199. else
  31200. pTDefRegMap(@Self)^.&set := $00000010;
  31201. end;
  31202. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  31203. begin
  31204. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31205. end;
  31206. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  31207. begin
  31208. pTDefRegMap(@Self)^.&set := $00000020;
  31209. end;
  31210. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  31211. begin
  31212. pTDefRegMap(@Self)^.clr := $00000020;
  31213. end;
  31214. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  31215. begin
  31216. if thebits = 0 then
  31217. pTDefRegMap(@Self)^.clr := $00000020
  31218. else
  31219. pTDefRegMap(@Self)^.&set := $00000020;
  31220. end;
  31221. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  31222. begin
  31223. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31224. end;
  31225. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  31226. begin
  31227. pTDefRegMap(@Self)^.&set := $00000040;
  31228. end;
  31229. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  31230. begin
  31231. pTDefRegMap(@Self)^.clr := $00000040;
  31232. end;
  31233. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  31234. begin
  31235. if thebits = 0 then
  31236. pTDefRegMap(@Self)^.clr := $00000040
  31237. else
  31238. pTDefRegMap(@Self)^.&set := $00000040;
  31239. end;
  31240. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  31241. begin
  31242. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31243. end;
  31244. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  31245. begin
  31246. pTDefRegMap(@Self)^.&set := $00000080;
  31247. end;
  31248. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  31249. begin
  31250. pTDefRegMap(@Self)^.clr := $00000080;
  31251. end;
  31252. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  31253. begin
  31254. if thebits = 0 then
  31255. pTDefRegMap(@Self)^.clr := $00000080
  31256. else
  31257. pTDefRegMap(@Self)^.&set := $00000080;
  31258. end;
  31259. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  31260. begin
  31261. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31262. end;
  31263. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  31264. begin
  31265. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31266. end;
  31267. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  31268. begin
  31269. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31270. end;
  31271. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  31272. begin
  31273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31274. end;
  31275. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  31276. begin
  31277. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31278. end;
  31279. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  31280. begin
  31281. pTDefRegMap(@Self)^.val := thebits;
  31282. end;
  31283. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  31284. begin
  31285. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31286. end;
  31287. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  31288. begin
  31289. pTDefRegMap(@Self)^.&set := $00000001;
  31290. end;
  31291. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  31292. begin
  31293. pTDefRegMap(@Self)^.clr := $00000001;
  31294. end;
  31295. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  31296. begin
  31297. if thebits = 0 then
  31298. pTDefRegMap(@Self)^.clr := $00000001
  31299. else
  31300. pTDefRegMap(@Self)^.&set := $00000001;
  31301. end;
  31302. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  31303. begin
  31304. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31305. end;
  31306. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  31307. begin
  31308. pTDefRegMap(@Self)^.&set := $00000002;
  31309. end;
  31310. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  31311. begin
  31312. pTDefRegMap(@Self)^.clr := $00000002;
  31313. end;
  31314. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  31315. begin
  31316. if thebits = 0 then
  31317. pTDefRegMap(@Self)^.clr := $00000002
  31318. else
  31319. pTDefRegMap(@Self)^.&set := $00000002;
  31320. end;
  31321. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  31322. begin
  31323. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31324. end;
  31325. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  31326. begin
  31327. pTDefRegMap(@Self)^.&set := $00000004;
  31328. end;
  31329. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  31330. begin
  31331. pTDefRegMap(@Self)^.clr := $00000004;
  31332. end;
  31333. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  31334. begin
  31335. if thebits = 0 then
  31336. pTDefRegMap(@Self)^.clr := $00000004
  31337. else
  31338. pTDefRegMap(@Self)^.&set := $00000004;
  31339. end;
  31340. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  31341. begin
  31342. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31343. end;
  31344. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  31345. begin
  31346. pTDefRegMap(@Self)^.&set := $00000008;
  31347. end;
  31348. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  31349. begin
  31350. pTDefRegMap(@Self)^.clr := $00000008;
  31351. end;
  31352. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  31353. begin
  31354. if thebits = 0 then
  31355. pTDefRegMap(@Self)^.clr := $00000008
  31356. else
  31357. pTDefRegMap(@Self)^.&set := $00000008;
  31358. end;
  31359. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  31360. begin
  31361. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31362. end;
  31363. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  31364. begin
  31365. pTDefRegMap(@Self)^.&set := $00000010;
  31366. end;
  31367. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  31368. begin
  31369. pTDefRegMap(@Self)^.clr := $00000010;
  31370. end;
  31371. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  31372. begin
  31373. if thebits = 0 then
  31374. pTDefRegMap(@Self)^.clr := $00000010
  31375. else
  31376. pTDefRegMap(@Self)^.&set := $00000010;
  31377. end;
  31378. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  31379. begin
  31380. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31381. end;
  31382. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  31383. begin
  31384. pTDefRegMap(@Self)^.&set := $00000020;
  31385. end;
  31386. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  31387. begin
  31388. pTDefRegMap(@Self)^.clr := $00000020;
  31389. end;
  31390. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  31391. begin
  31392. if thebits = 0 then
  31393. pTDefRegMap(@Self)^.clr := $00000020
  31394. else
  31395. pTDefRegMap(@Self)^.&set := $00000020;
  31396. end;
  31397. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  31398. begin
  31399. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31400. end;
  31401. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  31402. begin
  31403. pTDefRegMap(@Self)^.&set := $00000040;
  31404. end;
  31405. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  31406. begin
  31407. pTDefRegMap(@Self)^.clr := $00000040;
  31408. end;
  31409. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  31410. begin
  31411. if thebits = 0 then
  31412. pTDefRegMap(@Self)^.clr := $00000040
  31413. else
  31414. pTDefRegMap(@Self)^.&set := $00000040;
  31415. end;
  31416. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  31417. begin
  31418. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31419. end;
  31420. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  31421. begin
  31422. pTDefRegMap(@Self)^.&set := $00000080;
  31423. end;
  31424. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  31425. begin
  31426. pTDefRegMap(@Self)^.clr := $00000080;
  31427. end;
  31428. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31429. begin
  31430. if thebits = 0 then
  31431. pTDefRegMap(@Self)^.clr := $00000080
  31432. else
  31433. pTDefRegMap(@Self)^.&set := $00000080;
  31434. end;
  31435. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31436. begin
  31437. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31438. end;
  31439. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31440. begin
  31441. pTDefRegMap(@Self)^.&set := $00010000;
  31442. end;
  31443. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31444. begin
  31445. pTDefRegMap(@Self)^.clr := $00010000;
  31446. end;
  31447. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  31448. begin
  31449. if thebits = 0 then
  31450. pTDefRegMap(@Self)^.clr := $00010000
  31451. else
  31452. pTDefRegMap(@Self)^.&set := $00010000;
  31453. end;
  31454. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31455. begin
  31456. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31457. end;
  31458. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31459. begin
  31460. pTDefRegMap(@Self)^.&set := $00020000;
  31461. end;
  31462. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31463. begin
  31464. pTDefRegMap(@Self)^.clr := $00020000;
  31465. end;
  31466. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31467. begin
  31468. if thebits = 0 then
  31469. pTDefRegMap(@Self)^.clr := $00020000
  31470. else
  31471. pTDefRegMap(@Self)^.&set := $00020000;
  31472. end;
  31473. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31474. begin
  31475. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31476. end;
  31477. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31478. begin
  31479. pTDefRegMap(@Self)^.&set := $00040000;
  31480. end;
  31481. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31482. begin
  31483. pTDefRegMap(@Self)^.clr := $00040000;
  31484. end;
  31485. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31486. begin
  31487. if thebits = 0 then
  31488. pTDefRegMap(@Self)^.clr := $00040000
  31489. else
  31490. pTDefRegMap(@Self)^.&set := $00040000;
  31491. end;
  31492. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31493. begin
  31494. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31495. end;
  31496. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31497. begin
  31498. pTDefRegMap(@Self)^.&set := $00080000;
  31499. end;
  31500. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31501. begin
  31502. pTDefRegMap(@Self)^.clr := $00080000;
  31503. end;
  31504. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31505. begin
  31506. if thebits = 0 then
  31507. pTDefRegMap(@Self)^.clr := $00080000
  31508. else
  31509. pTDefRegMap(@Self)^.&set := $00080000;
  31510. end;
  31511. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31512. begin
  31513. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31514. end;
  31515. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31516. begin
  31517. pTDefRegMap(@Self)^.&set := $00100000;
  31518. end;
  31519. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31520. begin
  31521. pTDefRegMap(@Self)^.clr := $00100000;
  31522. end;
  31523. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31524. begin
  31525. if thebits = 0 then
  31526. pTDefRegMap(@Self)^.clr := $00100000
  31527. else
  31528. pTDefRegMap(@Self)^.&set := $00100000;
  31529. end;
  31530. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31531. begin
  31532. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31533. end;
  31534. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31535. begin
  31536. pTDefRegMap(@Self)^.&set := $00200000;
  31537. end;
  31538. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31539. begin
  31540. pTDefRegMap(@Self)^.clr := $00200000;
  31541. end;
  31542. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31543. begin
  31544. if thebits = 0 then
  31545. pTDefRegMap(@Self)^.clr := $00200000
  31546. else
  31547. pTDefRegMap(@Self)^.&set := $00200000;
  31548. end;
  31549. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31550. begin
  31551. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31552. end;
  31553. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31554. begin
  31555. pTDefRegMap(@Self)^.&set := $00400000;
  31556. end;
  31557. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31558. begin
  31559. pTDefRegMap(@Self)^.clr := $00400000;
  31560. end;
  31561. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31562. begin
  31563. if thebits = 0 then
  31564. pTDefRegMap(@Self)^.clr := $00400000
  31565. else
  31566. pTDefRegMap(@Self)^.&set := $00400000;
  31567. end;
  31568. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31569. begin
  31570. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31571. end;
  31572. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31573. begin
  31574. pTDefRegMap(@Self)^.&set := $00800000;
  31575. end;
  31576. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31577. begin
  31578. pTDefRegMap(@Self)^.clr := $00800000;
  31579. end;
  31580. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31581. begin
  31582. if thebits = 0 then
  31583. pTDefRegMap(@Self)^.clr := $00800000
  31584. else
  31585. pTDefRegMap(@Self)^.&set := $00800000;
  31586. end;
  31587. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31588. begin
  31589. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31590. end;
  31591. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  31592. begin
  31593. pTDefRegMap(@Self)^.val := thebits;
  31594. end;
  31595. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  31596. begin
  31597. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31598. end;
  31599. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  31600. begin
  31601. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31602. end;
  31603. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  31604. begin
  31605. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31606. end;
  31607. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  31608. begin
  31609. pTDefRegMap(@Self)^.&set := $00000004;
  31610. end;
  31611. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  31612. begin
  31613. pTDefRegMap(@Self)^.clr := $00000004;
  31614. end;
  31615. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  31616. begin
  31617. if thebits = 0 then
  31618. pTDefRegMap(@Self)^.clr := $00000004
  31619. else
  31620. pTDefRegMap(@Self)^.&set := $00000004;
  31621. end;
  31622. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  31623. begin
  31624. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31625. end;
  31626. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  31627. begin
  31628. pTDefRegMap(@Self)^.&set := $00000010;
  31629. end;
  31630. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  31631. begin
  31632. pTDefRegMap(@Self)^.clr := $00000010;
  31633. end;
  31634. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  31635. begin
  31636. if thebits = 0 then
  31637. pTDefRegMap(@Self)^.clr := $00000010
  31638. else
  31639. pTDefRegMap(@Self)^.&set := $00000010;
  31640. end;
  31641. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  31642. begin
  31643. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31644. end;
  31645. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  31646. begin
  31647. pTDefRegMap(@Self)^.&set := $00000020;
  31648. end;
  31649. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  31650. begin
  31651. pTDefRegMap(@Self)^.clr := $00000020;
  31652. end;
  31653. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  31654. begin
  31655. if thebits = 0 then
  31656. pTDefRegMap(@Self)^.clr := $00000020
  31657. else
  31658. pTDefRegMap(@Self)^.&set := $00000020;
  31659. end;
  31660. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  31661. begin
  31662. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31663. end;
  31664. procedure TDMAC3_DCH3CON.setCHAED; inline;
  31665. begin
  31666. pTDefRegMap(@Self)^.&set := $00000040;
  31667. end;
  31668. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  31669. begin
  31670. pTDefRegMap(@Self)^.clr := $00000040;
  31671. end;
  31672. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  31673. begin
  31674. if thebits = 0 then
  31675. pTDefRegMap(@Self)^.clr := $00000040
  31676. else
  31677. pTDefRegMap(@Self)^.&set := $00000040;
  31678. end;
  31679. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  31680. begin
  31681. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31682. end;
  31683. procedure TDMAC3_DCH3CON.setCHEN; inline;
  31684. begin
  31685. pTDefRegMap(@Self)^.&set := $00000080;
  31686. end;
  31687. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  31688. begin
  31689. pTDefRegMap(@Self)^.clr := $00000080;
  31690. end;
  31691. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  31692. begin
  31693. if thebits = 0 then
  31694. pTDefRegMap(@Self)^.clr := $00000080
  31695. else
  31696. pTDefRegMap(@Self)^.&set := $00000080;
  31697. end;
  31698. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  31699. begin
  31700. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31701. end;
  31702. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  31703. begin
  31704. pTDefRegMap(@Self)^.&set := $00000100;
  31705. end;
  31706. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  31707. begin
  31708. pTDefRegMap(@Self)^.clr := $00000100;
  31709. end;
  31710. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  31711. begin
  31712. if thebits = 0 then
  31713. pTDefRegMap(@Self)^.clr := $00000100
  31714. else
  31715. pTDefRegMap(@Self)^.&set := $00000100;
  31716. end;
  31717. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  31718. begin
  31719. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31720. end;
  31721. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  31722. begin
  31723. pTDefRegMap(@Self)^.&set := $00008000;
  31724. end;
  31725. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  31726. begin
  31727. pTDefRegMap(@Self)^.clr := $00008000;
  31728. end;
  31729. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  31730. begin
  31731. if thebits = 0 then
  31732. pTDefRegMap(@Self)^.clr := $00008000
  31733. else
  31734. pTDefRegMap(@Self)^.&set := $00008000;
  31735. end;
  31736. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  31737. begin
  31738. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31739. end;
  31740. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  31741. begin
  31742. pTDefRegMap(@Self)^.val := thebits;
  31743. end;
  31744. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  31745. begin
  31746. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31747. end;
  31748. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  31749. begin
  31750. pTDefRegMap(@Self)^.&set := $00000008;
  31751. end;
  31752. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  31753. begin
  31754. pTDefRegMap(@Self)^.clr := $00000008;
  31755. end;
  31756. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  31757. begin
  31758. if thebits = 0 then
  31759. pTDefRegMap(@Self)^.clr := $00000008
  31760. else
  31761. pTDefRegMap(@Self)^.&set := $00000008;
  31762. end;
  31763. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  31764. begin
  31765. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31766. end;
  31767. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  31768. begin
  31769. pTDefRegMap(@Self)^.&set := $00000010;
  31770. end;
  31771. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  31772. begin
  31773. pTDefRegMap(@Self)^.clr := $00000010;
  31774. end;
  31775. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  31776. begin
  31777. if thebits = 0 then
  31778. pTDefRegMap(@Self)^.clr := $00000010
  31779. else
  31780. pTDefRegMap(@Self)^.&set := $00000010;
  31781. end;
  31782. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  31783. begin
  31784. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31785. end;
  31786. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  31787. begin
  31788. pTDefRegMap(@Self)^.&set := $00000020;
  31789. end;
  31790. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  31791. begin
  31792. pTDefRegMap(@Self)^.clr := $00000020;
  31793. end;
  31794. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  31795. begin
  31796. if thebits = 0 then
  31797. pTDefRegMap(@Self)^.clr := $00000020
  31798. else
  31799. pTDefRegMap(@Self)^.&set := $00000020;
  31800. end;
  31801. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  31802. begin
  31803. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31804. end;
  31805. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  31806. begin
  31807. pTDefRegMap(@Self)^.&set := $00000040;
  31808. end;
  31809. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  31810. begin
  31811. pTDefRegMap(@Self)^.clr := $00000040;
  31812. end;
  31813. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  31814. begin
  31815. if thebits = 0 then
  31816. pTDefRegMap(@Self)^.clr := $00000040
  31817. else
  31818. pTDefRegMap(@Self)^.&set := $00000040;
  31819. end;
  31820. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  31821. begin
  31822. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31823. end;
  31824. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  31825. begin
  31826. pTDefRegMap(@Self)^.&set := $00000080;
  31827. end;
  31828. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  31829. begin
  31830. pTDefRegMap(@Self)^.clr := $00000080;
  31831. end;
  31832. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  31833. begin
  31834. if thebits = 0 then
  31835. pTDefRegMap(@Self)^.clr := $00000080
  31836. else
  31837. pTDefRegMap(@Self)^.&set := $00000080;
  31838. end;
  31839. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  31840. begin
  31841. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31842. end;
  31843. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  31844. begin
  31845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31846. end;
  31847. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  31848. begin
  31849. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31850. end;
  31851. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  31852. begin
  31853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31854. end;
  31855. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  31856. begin
  31857. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31858. end;
  31859. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  31860. begin
  31861. pTDefRegMap(@Self)^.val := thebits;
  31862. end;
  31863. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  31864. begin
  31865. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31866. end;
  31867. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  31868. begin
  31869. pTDefRegMap(@Self)^.&set := $00000001;
  31870. end;
  31871. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  31872. begin
  31873. pTDefRegMap(@Self)^.clr := $00000001;
  31874. end;
  31875. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  31876. begin
  31877. if thebits = 0 then
  31878. pTDefRegMap(@Self)^.clr := $00000001
  31879. else
  31880. pTDefRegMap(@Self)^.&set := $00000001;
  31881. end;
  31882. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  31883. begin
  31884. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31885. end;
  31886. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  31887. begin
  31888. pTDefRegMap(@Self)^.&set := $00000002;
  31889. end;
  31890. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  31891. begin
  31892. pTDefRegMap(@Self)^.clr := $00000002;
  31893. end;
  31894. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  31895. begin
  31896. if thebits = 0 then
  31897. pTDefRegMap(@Self)^.clr := $00000002
  31898. else
  31899. pTDefRegMap(@Self)^.&set := $00000002;
  31900. end;
  31901. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  31902. begin
  31903. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31904. end;
  31905. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  31906. begin
  31907. pTDefRegMap(@Self)^.&set := $00000004;
  31908. end;
  31909. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  31910. begin
  31911. pTDefRegMap(@Self)^.clr := $00000004;
  31912. end;
  31913. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  31914. begin
  31915. if thebits = 0 then
  31916. pTDefRegMap(@Self)^.clr := $00000004
  31917. else
  31918. pTDefRegMap(@Self)^.&set := $00000004;
  31919. end;
  31920. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  31921. begin
  31922. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31923. end;
  31924. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  31925. begin
  31926. pTDefRegMap(@Self)^.&set := $00000008;
  31927. end;
  31928. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  31929. begin
  31930. pTDefRegMap(@Self)^.clr := $00000008;
  31931. end;
  31932. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  31933. begin
  31934. if thebits = 0 then
  31935. pTDefRegMap(@Self)^.clr := $00000008
  31936. else
  31937. pTDefRegMap(@Self)^.&set := $00000008;
  31938. end;
  31939. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  31940. begin
  31941. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31942. end;
  31943. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  31944. begin
  31945. pTDefRegMap(@Self)^.&set := $00000010;
  31946. end;
  31947. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  31948. begin
  31949. pTDefRegMap(@Self)^.clr := $00000010;
  31950. end;
  31951. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  31952. begin
  31953. if thebits = 0 then
  31954. pTDefRegMap(@Self)^.clr := $00000010
  31955. else
  31956. pTDefRegMap(@Self)^.&set := $00000010;
  31957. end;
  31958. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  31959. begin
  31960. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31961. end;
  31962. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  31963. begin
  31964. pTDefRegMap(@Self)^.&set := $00000020;
  31965. end;
  31966. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  31967. begin
  31968. pTDefRegMap(@Self)^.clr := $00000020;
  31969. end;
  31970. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  31971. begin
  31972. if thebits = 0 then
  31973. pTDefRegMap(@Self)^.clr := $00000020
  31974. else
  31975. pTDefRegMap(@Self)^.&set := $00000020;
  31976. end;
  31977. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  31978. begin
  31979. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31980. end;
  31981. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  31982. begin
  31983. pTDefRegMap(@Self)^.&set := $00000040;
  31984. end;
  31985. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  31986. begin
  31987. pTDefRegMap(@Self)^.clr := $00000040;
  31988. end;
  31989. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  31990. begin
  31991. if thebits = 0 then
  31992. pTDefRegMap(@Self)^.clr := $00000040
  31993. else
  31994. pTDefRegMap(@Self)^.&set := $00000040;
  31995. end;
  31996. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  31997. begin
  31998. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31999. end;
  32000. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  32001. begin
  32002. pTDefRegMap(@Self)^.&set := $00000080;
  32003. end;
  32004. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  32005. begin
  32006. pTDefRegMap(@Self)^.clr := $00000080;
  32007. end;
  32008. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  32009. begin
  32010. if thebits = 0 then
  32011. pTDefRegMap(@Self)^.clr := $00000080
  32012. else
  32013. pTDefRegMap(@Self)^.&set := $00000080;
  32014. end;
  32015. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  32016. begin
  32017. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32018. end;
  32019. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  32020. begin
  32021. pTDefRegMap(@Self)^.&set := $00010000;
  32022. end;
  32023. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  32024. begin
  32025. pTDefRegMap(@Self)^.clr := $00010000;
  32026. end;
  32027. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  32028. begin
  32029. if thebits = 0 then
  32030. pTDefRegMap(@Self)^.clr := $00010000
  32031. else
  32032. pTDefRegMap(@Self)^.&set := $00010000;
  32033. end;
  32034. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  32035. begin
  32036. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32037. end;
  32038. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  32039. begin
  32040. pTDefRegMap(@Self)^.&set := $00020000;
  32041. end;
  32042. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  32043. begin
  32044. pTDefRegMap(@Self)^.clr := $00020000;
  32045. end;
  32046. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  32047. begin
  32048. if thebits = 0 then
  32049. pTDefRegMap(@Self)^.clr := $00020000
  32050. else
  32051. pTDefRegMap(@Self)^.&set := $00020000;
  32052. end;
  32053. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  32054. begin
  32055. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32056. end;
  32057. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  32058. begin
  32059. pTDefRegMap(@Self)^.&set := $00040000;
  32060. end;
  32061. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  32062. begin
  32063. pTDefRegMap(@Self)^.clr := $00040000;
  32064. end;
  32065. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  32066. begin
  32067. if thebits = 0 then
  32068. pTDefRegMap(@Self)^.clr := $00040000
  32069. else
  32070. pTDefRegMap(@Self)^.&set := $00040000;
  32071. end;
  32072. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  32073. begin
  32074. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32075. end;
  32076. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  32077. begin
  32078. pTDefRegMap(@Self)^.&set := $00080000;
  32079. end;
  32080. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  32081. begin
  32082. pTDefRegMap(@Self)^.clr := $00080000;
  32083. end;
  32084. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  32085. begin
  32086. if thebits = 0 then
  32087. pTDefRegMap(@Self)^.clr := $00080000
  32088. else
  32089. pTDefRegMap(@Self)^.&set := $00080000;
  32090. end;
  32091. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  32092. begin
  32093. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32094. end;
  32095. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  32096. begin
  32097. pTDefRegMap(@Self)^.&set := $00100000;
  32098. end;
  32099. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  32100. begin
  32101. pTDefRegMap(@Self)^.clr := $00100000;
  32102. end;
  32103. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  32104. begin
  32105. if thebits = 0 then
  32106. pTDefRegMap(@Self)^.clr := $00100000
  32107. else
  32108. pTDefRegMap(@Self)^.&set := $00100000;
  32109. end;
  32110. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  32111. begin
  32112. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32113. end;
  32114. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  32115. begin
  32116. pTDefRegMap(@Self)^.&set := $00200000;
  32117. end;
  32118. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  32119. begin
  32120. pTDefRegMap(@Self)^.clr := $00200000;
  32121. end;
  32122. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  32123. begin
  32124. if thebits = 0 then
  32125. pTDefRegMap(@Self)^.clr := $00200000
  32126. else
  32127. pTDefRegMap(@Self)^.&set := $00200000;
  32128. end;
  32129. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  32130. begin
  32131. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32132. end;
  32133. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  32134. begin
  32135. pTDefRegMap(@Self)^.&set := $00400000;
  32136. end;
  32137. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  32138. begin
  32139. pTDefRegMap(@Self)^.clr := $00400000;
  32140. end;
  32141. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  32142. begin
  32143. if thebits = 0 then
  32144. pTDefRegMap(@Self)^.clr := $00400000
  32145. else
  32146. pTDefRegMap(@Self)^.&set := $00400000;
  32147. end;
  32148. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  32149. begin
  32150. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32151. end;
  32152. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  32153. begin
  32154. pTDefRegMap(@Self)^.&set := $00800000;
  32155. end;
  32156. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  32157. begin
  32158. pTDefRegMap(@Self)^.clr := $00800000;
  32159. end;
  32160. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  32161. begin
  32162. if thebits = 0 then
  32163. pTDefRegMap(@Self)^.clr := $00800000
  32164. else
  32165. pTDefRegMap(@Self)^.&set := $00800000;
  32166. end;
  32167. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  32168. begin
  32169. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32170. end;
  32171. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  32172. begin
  32173. pTDefRegMap(@Self)^.val := thebits;
  32174. end;
  32175. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  32176. begin
  32177. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32178. end;
  32179. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  32180. begin
  32181. pTDefRegMap(@Self)^.&set := $00000001;
  32182. end;
  32183. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  32184. begin
  32185. pTDefRegMap(@Self)^.clr := $00000001;
  32186. end;
  32187. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  32188. begin
  32189. if thebits = 0 then
  32190. pTDefRegMap(@Self)^.clr := $00000001
  32191. else
  32192. pTDefRegMap(@Self)^.&set := $00000001;
  32193. end;
  32194. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  32195. begin
  32196. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32197. end;
  32198. procedure TUSB_U1IR.setUERRIF; inline;
  32199. begin
  32200. pTDefRegMap(@Self)^.&set := $00000002;
  32201. end;
  32202. procedure TUSB_U1IR.clearUERRIF; inline;
  32203. begin
  32204. pTDefRegMap(@Self)^.clr := $00000002;
  32205. end;
  32206. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  32207. begin
  32208. if thebits = 0 then
  32209. pTDefRegMap(@Self)^.clr := $00000002
  32210. else
  32211. pTDefRegMap(@Self)^.&set := $00000002;
  32212. end;
  32213. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  32214. begin
  32215. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32216. end;
  32217. procedure TUSB_U1IR.setSOFIF; inline;
  32218. begin
  32219. pTDefRegMap(@Self)^.&set := $00000004;
  32220. end;
  32221. procedure TUSB_U1IR.clearSOFIF; inline;
  32222. begin
  32223. pTDefRegMap(@Self)^.clr := $00000004;
  32224. end;
  32225. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  32226. begin
  32227. if thebits = 0 then
  32228. pTDefRegMap(@Self)^.clr := $00000004
  32229. else
  32230. pTDefRegMap(@Self)^.&set := $00000004;
  32231. end;
  32232. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  32233. begin
  32234. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32235. end;
  32236. procedure TUSB_U1IR.setTRNIF; inline;
  32237. begin
  32238. pTDefRegMap(@Self)^.&set := $00000008;
  32239. end;
  32240. procedure TUSB_U1IR.clearTRNIF; inline;
  32241. begin
  32242. pTDefRegMap(@Self)^.clr := $00000008;
  32243. end;
  32244. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  32245. begin
  32246. if thebits = 0 then
  32247. pTDefRegMap(@Self)^.clr := $00000008
  32248. else
  32249. pTDefRegMap(@Self)^.&set := $00000008;
  32250. end;
  32251. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  32252. begin
  32253. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32254. end;
  32255. procedure TUSB_U1IR.setIDLEIF; inline;
  32256. begin
  32257. pTDefRegMap(@Self)^.&set := $00000010;
  32258. end;
  32259. procedure TUSB_U1IR.clearIDLEIF; inline;
  32260. begin
  32261. pTDefRegMap(@Self)^.clr := $00000010;
  32262. end;
  32263. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  32264. begin
  32265. if thebits = 0 then
  32266. pTDefRegMap(@Self)^.clr := $00000010
  32267. else
  32268. pTDefRegMap(@Self)^.&set := $00000010;
  32269. end;
  32270. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  32271. begin
  32272. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32273. end;
  32274. procedure TUSB_U1IR.setRESUMEIF; inline;
  32275. begin
  32276. pTDefRegMap(@Self)^.&set := $00000020;
  32277. end;
  32278. procedure TUSB_U1IR.clearRESUMEIF; inline;
  32279. begin
  32280. pTDefRegMap(@Self)^.clr := $00000020;
  32281. end;
  32282. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  32283. begin
  32284. if thebits = 0 then
  32285. pTDefRegMap(@Self)^.clr := $00000020
  32286. else
  32287. pTDefRegMap(@Self)^.&set := $00000020;
  32288. end;
  32289. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  32290. begin
  32291. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32292. end;
  32293. procedure TUSB_U1IR.setATTACHIF; inline;
  32294. begin
  32295. pTDefRegMap(@Self)^.&set := $00000040;
  32296. end;
  32297. procedure TUSB_U1IR.clearATTACHIF; inline;
  32298. begin
  32299. pTDefRegMap(@Self)^.clr := $00000040;
  32300. end;
  32301. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  32302. begin
  32303. if thebits = 0 then
  32304. pTDefRegMap(@Self)^.clr := $00000040
  32305. else
  32306. pTDefRegMap(@Self)^.&set := $00000040;
  32307. end;
  32308. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  32309. begin
  32310. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32311. end;
  32312. procedure TUSB_U1IR.setSTALLIF; inline;
  32313. begin
  32314. pTDefRegMap(@Self)^.&set := $00000080;
  32315. end;
  32316. procedure TUSB_U1IR.clearSTALLIF; inline;
  32317. begin
  32318. pTDefRegMap(@Self)^.clr := $00000080;
  32319. end;
  32320. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  32321. begin
  32322. if thebits = 0 then
  32323. pTDefRegMap(@Self)^.clr := $00000080
  32324. else
  32325. pTDefRegMap(@Self)^.&set := $00000080;
  32326. end;
  32327. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  32328. begin
  32329. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32330. end;
  32331. procedure TUSB_U1IR.setDETACHIF; inline;
  32332. begin
  32333. pTDefRegMap(@Self)^.&set := $00000001;
  32334. end;
  32335. procedure TUSB_U1IR.clearDETACHIF; inline;
  32336. begin
  32337. pTDefRegMap(@Self)^.clr := $00000001;
  32338. end;
  32339. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  32340. begin
  32341. if thebits = 0 then
  32342. pTDefRegMap(@Self)^.clr := $00000001
  32343. else
  32344. pTDefRegMap(@Self)^.&set := $00000001;
  32345. end;
  32346. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  32347. begin
  32348. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32349. end;
  32350. procedure TUSB_U1IR.setURSTIF; inline;
  32351. begin
  32352. pTDefRegMap(@Self)^.&set := $00000001;
  32353. end;
  32354. procedure TUSB_U1IR.clearURSTIF; inline;
  32355. begin
  32356. pTDefRegMap(@Self)^.clr := $00000001;
  32357. end;
  32358. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  32359. begin
  32360. if thebits = 0 then
  32361. pTDefRegMap(@Self)^.clr := $00000001
  32362. else
  32363. pTDefRegMap(@Self)^.&set := $00000001;
  32364. end;
  32365. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  32366. begin
  32367. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32368. end;
  32369. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  32370. begin
  32371. pTDefRegMap(@Self)^.&set := $00000001;
  32372. end;
  32373. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  32374. begin
  32375. pTDefRegMap(@Self)^.clr := $00000001;
  32376. end;
  32377. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  32378. begin
  32379. if thebits = 0 then
  32380. pTDefRegMap(@Self)^.clr := $00000001
  32381. else
  32382. pTDefRegMap(@Self)^.&set := $00000001;
  32383. end;
  32384. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  32385. begin
  32386. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32387. end;
  32388. procedure TUSB_U1IE.setUERRIE; inline;
  32389. begin
  32390. pTDefRegMap(@Self)^.&set := $00000002;
  32391. end;
  32392. procedure TUSB_U1IE.clearUERRIE; inline;
  32393. begin
  32394. pTDefRegMap(@Self)^.clr := $00000002;
  32395. end;
  32396. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  32397. begin
  32398. if thebits = 0 then
  32399. pTDefRegMap(@Self)^.clr := $00000002
  32400. else
  32401. pTDefRegMap(@Self)^.&set := $00000002;
  32402. end;
  32403. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  32404. begin
  32405. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32406. end;
  32407. procedure TUSB_U1IE.setSOFIE; inline;
  32408. begin
  32409. pTDefRegMap(@Self)^.&set := $00000004;
  32410. end;
  32411. procedure TUSB_U1IE.clearSOFIE; inline;
  32412. begin
  32413. pTDefRegMap(@Self)^.clr := $00000004;
  32414. end;
  32415. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  32416. begin
  32417. if thebits = 0 then
  32418. pTDefRegMap(@Self)^.clr := $00000004
  32419. else
  32420. pTDefRegMap(@Self)^.&set := $00000004;
  32421. end;
  32422. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  32423. begin
  32424. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32425. end;
  32426. procedure TUSB_U1IE.setTRNIE; inline;
  32427. begin
  32428. pTDefRegMap(@Self)^.&set := $00000008;
  32429. end;
  32430. procedure TUSB_U1IE.clearTRNIE; inline;
  32431. begin
  32432. pTDefRegMap(@Self)^.clr := $00000008;
  32433. end;
  32434. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  32435. begin
  32436. if thebits = 0 then
  32437. pTDefRegMap(@Self)^.clr := $00000008
  32438. else
  32439. pTDefRegMap(@Self)^.&set := $00000008;
  32440. end;
  32441. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  32442. begin
  32443. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32444. end;
  32445. procedure TUSB_U1IE.setIDLEIE; inline;
  32446. begin
  32447. pTDefRegMap(@Self)^.&set := $00000010;
  32448. end;
  32449. procedure TUSB_U1IE.clearIDLEIE; inline;
  32450. begin
  32451. pTDefRegMap(@Self)^.clr := $00000010;
  32452. end;
  32453. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32454. begin
  32455. if thebits = 0 then
  32456. pTDefRegMap(@Self)^.clr := $00000010
  32457. else
  32458. pTDefRegMap(@Self)^.&set := $00000010;
  32459. end;
  32460. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  32461. begin
  32462. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32463. end;
  32464. procedure TUSB_U1IE.setRESUMEIE; inline;
  32465. begin
  32466. pTDefRegMap(@Self)^.&set := $00000020;
  32467. end;
  32468. procedure TUSB_U1IE.clearRESUMEIE; inline;
  32469. begin
  32470. pTDefRegMap(@Self)^.clr := $00000020;
  32471. end;
  32472. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32473. begin
  32474. if thebits = 0 then
  32475. pTDefRegMap(@Self)^.clr := $00000020
  32476. else
  32477. pTDefRegMap(@Self)^.&set := $00000020;
  32478. end;
  32479. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  32480. begin
  32481. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32482. end;
  32483. procedure TUSB_U1IE.setATTACHIE; inline;
  32484. begin
  32485. pTDefRegMap(@Self)^.&set := $00000040;
  32486. end;
  32487. procedure TUSB_U1IE.clearATTACHIE; inline;
  32488. begin
  32489. pTDefRegMap(@Self)^.clr := $00000040;
  32490. end;
  32491. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32492. begin
  32493. if thebits = 0 then
  32494. pTDefRegMap(@Self)^.clr := $00000040
  32495. else
  32496. pTDefRegMap(@Self)^.&set := $00000040;
  32497. end;
  32498. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  32499. begin
  32500. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32501. end;
  32502. procedure TUSB_U1IE.setSTALLIE; inline;
  32503. begin
  32504. pTDefRegMap(@Self)^.&set := $00000080;
  32505. end;
  32506. procedure TUSB_U1IE.clearSTALLIE; inline;
  32507. begin
  32508. pTDefRegMap(@Self)^.clr := $00000080;
  32509. end;
  32510. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32511. begin
  32512. if thebits = 0 then
  32513. pTDefRegMap(@Self)^.clr := $00000080
  32514. else
  32515. pTDefRegMap(@Self)^.&set := $00000080;
  32516. end;
  32517. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  32518. begin
  32519. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32520. end;
  32521. procedure TUSB_U1IE.setDETACHIE; inline;
  32522. begin
  32523. pTDefRegMap(@Self)^.&set := $00000001;
  32524. end;
  32525. procedure TUSB_U1IE.clearDETACHIE; inline;
  32526. begin
  32527. pTDefRegMap(@Self)^.clr := $00000001;
  32528. end;
  32529. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32530. begin
  32531. if thebits = 0 then
  32532. pTDefRegMap(@Self)^.clr := $00000001
  32533. else
  32534. pTDefRegMap(@Self)^.&set := $00000001;
  32535. end;
  32536. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  32537. begin
  32538. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32539. end;
  32540. procedure TUSB_U1IE.setURSTIE; inline;
  32541. begin
  32542. pTDefRegMap(@Self)^.&set := $00000001;
  32543. end;
  32544. procedure TUSB_U1IE.clearURSTIE; inline;
  32545. begin
  32546. pTDefRegMap(@Self)^.clr := $00000001;
  32547. end;
  32548. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  32549. begin
  32550. if thebits = 0 then
  32551. pTDefRegMap(@Self)^.clr := $00000001
  32552. else
  32553. pTDefRegMap(@Self)^.&set := $00000001;
  32554. end;
  32555. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  32556. begin
  32557. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32558. end;
  32559. procedure TUSB_U1EIR.setPIDEF; inline;
  32560. begin
  32561. pTDefRegMap(@Self)^.&set := $00000001;
  32562. end;
  32563. procedure TUSB_U1EIR.clearPIDEF; inline;
  32564. begin
  32565. pTDefRegMap(@Self)^.clr := $00000001;
  32566. end;
  32567. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32568. begin
  32569. if thebits = 0 then
  32570. pTDefRegMap(@Self)^.clr := $00000001
  32571. else
  32572. pTDefRegMap(@Self)^.&set := $00000001;
  32573. end;
  32574. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  32575. begin
  32576. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32577. end;
  32578. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  32579. begin
  32580. pTDefRegMap(@Self)^.&set := $00000002;
  32581. end;
  32582. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  32583. begin
  32584. pTDefRegMap(@Self)^.clr := $00000002;
  32585. end;
  32586. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32587. begin
  32588. if thebits = 0 then
  32589. pTDefRegMap(@Self)^.clr := $00000002
  32590. else
  32591. pTDefRegMap(@Self)^.&set := $00000002;
  32592. end;
  32593. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  32594. begin
  32595. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32596. end;
  32597. procedure TUSB_U1EIR.setCRC16EF; inline;
  32598. begin
  32599. pTDefRegMap(@Self)^.&set := $00000004;
  32600. end;
  32601. procedure TUSB_U1EIR.clearCRC16EF; inline;
  32602. begin
  32603. pTDefRegMap(@Self)^.clr := $00000004;
  32604. end;
  32605. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  32606. begin
  32607. if thebits = 0 then
  32608. pTDefRegMap(@Self)^.clr := $00000004
  32609. else
  32610. pTDefRegMap(@Self)^.&set := $00000004;
  32611. end;
  32612. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  32613. begin
  32614. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32615. end;
  32616. procedure TUSB_U1EIR.setDFN8EF; inline;
  32617. begin
  32618. pTDefRegMap(@Self)^.&set := $00000008;
  32619. end;
  32620. procedure TUSB_U1EIR.clearDFN8EF; inline;
  32621. begin
  32622. pTDefRegMap(@Self)^.clr := $00000008;
  32623. end;
  32624. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  32625. begin
  32626. if thebits = 0 then
  32627. pTDefRegMap(@Self)^.clr := $00000008
  32628. else
  32629. pTDefRegMap(@Self)^.&set := $00000008;
  32630. end;
  32631. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  32632. begin
  32633. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32634. end;
  32635. procedure TUSB_U1EIR.setBTOEF; inline;
  32636. begin
  32637. pTDefRegMap(@Self)^.&set := $00000010;
  32638. end;
  32639. procedure TUSB_U1EIR.clearBTOEF; inline;
  32640. begin
  32641. pTDefRegMap(@Self)^.clr := $00000010;
  32642. end;
  32643. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  32644. begin
  32645. if thebits = 0 then
  32646. pTDefRegMap(@Self)^.clr := $00000010
  32647. else
  32648. pTDefRegMap(@Self)^.&set := $00000010;
  32649. end;
  32650. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  32651. begin
  32652. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32653. end;
  32654. procedure TUSB_U1EIR.setDMAEF; inline;
  32655. begin
  32656. pTDefRegMap(@Self)^.&set := $00000020;
  32657. end;
  32658. procedure TUSB_U1EIR.clearDMAEF; inline;
  32659. begin
  32660. pTDefRegMap(@Self)^.clr := $00000020;
  32661. end;
  32662. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  32663. begin
  32664. if thebits = 0 then
  32665. pTDefRegMap(@Self)^.clr := $00000020
  32666. else
  32667. pTDefRegMap(@Self)^.&set := $00000020;
  32668. end;
  32669. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  32670. begin
  32671. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32672. end;
  32673. procedure TUSB_U1EIR.setBMXEF; inline;
  32674. begin
  32675. pTDefRegMap(@Self)^.&set := $00000040;
  32676. end;
  32677. procedure TUSB_U1EIR.clearBMXEF; inline;
  32678. begin
  32679. pTDefRegMap(@Self)^.clr := $00000040;
  32680. end;
  32681. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  32682. begin
  32683. if thebits = 0 then
  32684. pTDefRegMap(@Self)^.clr := $00000040
  32685. else
  32686. pTDefRegMap(@Self)^.&set := $00000040;
  32687. end;
  32688. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  32689. begin
  32690. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32691. end;
  32692. procedure TUSB_U1EIR.setBTSEF; inline;
  32693. begin
  32694. pTDefRegMap(@Self)^.&set := $00000080;
  32695. end;
  32696. procedure TUSB_U1EIR.clearBTSEF; inline;
  32697. begin
  32698. pTDefRegMap(@Self)^.clr := $00000080;
  32699. end;
  32700. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  32701. begin
  32702. if thebits = 0 then
  32703. pTDefRegMap(@Self)^.clr := $00000080
  32704. else
  32705. pTDefRegMap(@Self)^.&set := $00000080;
  32706. end;
  32707. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  32708. begin
  32709. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32710. end;
  32711. procedure TUSB_U1EIR.setCRC5EF; inline;
  32712. begin
  32713. pTDefRegMap(@Self)^.&set := $00000002;
  32714. end;
  32715. procedure TUSB_U1EIR.clearCRC5EF; inline;
  32716. begin
  32717. pTDefRegMap(@Self)^.clr := $00000002;
  32718. end;
  32719. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  32720. begin
  32721. if thebits = 0 then
  32722. pTDefRegMap(@Self)^.clr := $00000002
  32723. else
  32724. pTDefRegMap(@Self)^.&set := $00000002;
  32725. end;
  32726. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  32727. begin
  32728. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32729. end;
  32730. procedure TUSB_U1EIR.setEOFEF; inline;
  32731. begin
  32732. pTDefRegMap(@Self)^.&set := $00000002;
  32733. end;
  32734. procedure TUSB_U1EIR.clearEOFEF; inline;
  32735. begin
  32736. pTDefRegMap(@Self)^.clr := $00000002;
  32737. end;
  32738. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  32739. begin
  32740. if thebits = 0 then
  32741. pTDefRegMap(@Self)^.clr := $00000002
  32742. else
  32743. pTDefRegMap(@Self)^.&set := $00000002;
  32744. end;
  32745. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  32746. begin
  32747. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32748. end;
  32749. procedure TUSB_U1EIE.setPIDEE; inline;
  32750. begin
  32751. pTDefRegMap(@Self)^.&set := $00000001;
  32752. end;
  32753. procedure TUSB_U1EIE.clearPIDEE; inline;
  32754. begin
  32755. pTDefRegMap(@Self)^.clr := $00000001;
  32756. end;
  32757. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  32758. begin
  32759. if thebits = 0 then
  32760. pTDefRegMap(@Self)^.clr := $00000001
  32761. else
  32762. pTDefRegMap(@Self)^.&set := $00000001;
  32763. end;
  32764. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  32765. begin
  32766. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32767. end;
  32768. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  32769. begin
  32770. pTDefRegMap(@Self)^.&set := $00000002;
  32771. end;
  32772. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  32773. begin
  32774. pTDefRegMap(@Self)^.clr := $00000002;
  32775. end;
  32776. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  32777. begin
  32778. if thebits = 0 then
  32779. pTDefRegMap(@Self)^.clr := $00000002
  32780. else
  32781. pTDefRegMap(@Self)^.&set := $00000002;
  32782. end;
  32783. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  32784. begin
  32785. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32786. end;
  32787. procedure TUSB_U1EIE.setCRC16EE; inline;
  32788. begin
  32789. pTDefRegMap(@Self)^.&set := $00000004;
  32790. end;
  32791. procedure TUSB_U1EIE.clearCRC16EE; inline;
  32792. begin
  32793. pTDefRegMap(@Self)^.clr := $00000004;
  32794. end;
  32795. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  32796. begin
  32797. if thebits = 0 then
  32798. pTDefRegMap(@Self)^.clr := $00000004
  32799. else
  32800. pTDefRegMap(@Self)^.&set := $00000004;
  32801. end;
  32802. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  32803. begin
  32804. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32805. end;
  32806. procedure TUSB_U1EIE.setDFN8EE; inline;
  32807. begin
  32808. pTDefRegMap(@Self)^.&set := $00000008;
  32809. end;
  32810. procedure TUSB_U1EIE.clearDFN8EE; inline;
  32811. begin
  32812. pTDefRegMap(@Self)^.clr := $00000008;
  32813. end;
  32814. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  32815. begin
  32816. if thebits = 0 then
  32817. pTDefRegMap(@Self)^.clr := $00000008
  32818. else
  32819. pTDefRegMap(@Self)^.&set := $00000008;
  32820. end;
  32821. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  32822. begin
  32823. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32824. end;
  32825. procedure TUSB_U1EIE.setBTOEE; inline;
  32826. begin
  32827. pTDefRegMap(@Self)^.&set := $00000010;
  32828. end;
  32829. procedure TUSB_U1EIE.clearBTOEE; inline;
  32830. begin
  32831. pTDefRegMap(@Self)^.clr := $00000010;
  32832. end;
  32833. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  32834. begin
  32835. if thebits = 0 then
  32836. pTDefRegMap(@Self)^.clr := $00000010
  32837. else
  32838. pTDefRegMap(@Self)^.&set := $00000010;
  32839. end;
  32840. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  32841. begin
  32842. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32843. end;
  32844. procedure TUSB_U1EIE.setDMAEE; inline;
  32845. begin
  32846. pTDefRegMap(@Self)^.&set := $00000020;
  32847. end;
  32848. procedure TUSB_U1EIE.clearDMAEE; inline;
  32849. begin
  32850. pTDefRegMap(@Self)^.clr := $00000020;
  32851. end;
  32852. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  32853. begin
  32854. if thebits = 0 then
  32855. pTDefRegMap(@Self)^.clr := $00000020
  32856. else
  32857. pTDefRegMap(@Self)^.&set := $00000020;
  32858. end;
  32859. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  32860. begin
  32861. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32862. end;
  32863. procedure TUSB_U1EIE.setBMXEE; inline;
  32864. begin
  32865. pTDefRegMap(@Self)^.&set := $00000040;
  32866. end;
  32867. procedure TUSB_U1EIE.clearBMXEE; inline;
  32868. begin
  32869. pTDefRegMap(@Self)^.clr := $00000040;
  32870. end;
  32871. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  32872. begin
  32873. if thebits = 0 then
  32874. pTDefRegMap(@Self)^.clr := $00000040
  32875. else
  32876. pTDefRegMap(@Self)^.&set := $00000040;
  32877. end;
  32878. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  32879. begin
  32880. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32881. end;
  32882. procedure TUSB_U1EIE.setBTSEE; inline;
  32883. begin
  32884. pTDefRegMap(@Self)^.&set := $00000080;
  32885. end;
  32886. procedure TUSB_U1EIE.clearBTSEE; inline;
  32887. begin
  32888. pTDefRegMap(@Self)^.clr := $00000080;
  32889. end;
  32890. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  32891. begin
  32892. if thebits = 0 then
  32893. pTDefRegMap(@Self)^.clr := $00000080
  32894. else
  32895. pTDefRegMap(@Self)^.&set := $00000080;
  32896. end;
  32897. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  32898. begin
  32899. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32900. end;
  32901. procedure TUSB_U1EIE.setCRC5EE; inline;
  32902. begin
  32903. pTDefRegMap(@Self)^.&set := $00000002;
  32904. end;
  32905. procedure TUSB_U1EIE.clearCRC5EE; inline;
  32906. begin
  32907. pTDefRegMap(@Self)^.clr := $00000002;
  32908. end;
  32909. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  32910. begin
  32911. if thebits = 0 then
  32912. pTDefRegMap(@Self)^.clr := $00000002
  32913. else
  32914. pTDefRegMap(@Self)^.&set := $00000002;
  32915. end;
  32916. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  32917. begin
  32918. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32919. end;
  32920. procedure TUSB_U1EIE.setEOFEE; inline;
  32921. begin
  32922. pTDefRegMap(@Self)^.&set := $00000002;
  32923. end;
  32924. procedure TUSB_U1EIE.clearEOFEE; inline;
  32925. begin
  32926. pTDefRegMap(@Self)^.clr := $00000002;
  32927. end;
  32928. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  32929. begin
  32930. if thebits = 0 then
  32931. pTDefRegMap(@Self)^.clr := $00000002
  32932. else
  32933. pTDefRegMap(@Self)^.&set := $00000002;
  32934. end;
  32935. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  32936. begin
  32937. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32938. end;
  32939. procedure TUSB_U1STAT.setPPBI; inline;
  32940. begin
  32941. pTDefRegMap(@Self)^.&set := $00000004;
  32942. end;
  32943. procedure TUSB_U1STAT.clearPPBI; inline;
  32944. begin
  32945. pTDefRegMap(@Self)^.clr := $00000004;
  32946. end;
  32947. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  32948. begin
  32949. if thebits = 0 then
  32950. pTDefRegMap(@Self)^.clr := $00000004
  32951. else
  32952. pTDefRegMap(@Self)^.&set := $00000004;
  32953. end;
  32954. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  32955. begin
  32956. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32957. end;
  32958. procedure TUSB_U1STAT.setDIR; inline;
  32959. begin
  32960. pTDefRegMap(@Self)^.&set := $00000008;
  32961. end;
  32962. procedure TUSB_U1STAT.clearDIR; inline;
  32963. begin
  32964. pTDefRegMap(@Self)^.clr := $00000008;
  32965. end;
  32966. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  32967. begin
  32968. if thebits = 0 then
  32969. pTDefRegMap(@Self)^.clr := $00000008
  32970. else
  32971. pTDefRegMap(@Self)^.&set := $00000008;
  32972. end;
  32973. function TUSB_U1STAT.getDIR : TBits_1; inline;
  32974. begin
  32975. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32976. end;
  32977. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  32978. begin
  32979. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  32980. end;
  32981. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  32982. begin
  32983. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  32984. end;
  32985. procedure TUSB_U1STAT.setENDPT0; inline;
  32986. begin
  32987. pTDefRegMap(@Self)^.&set := $00000010;
  32988. end;
  32989. procedure TUSB_U1STAT.clearENDPT0; inline;
  32990. begin
  32991. pTDefRegMap(@Self)^.clr := $00000010;
  32992. end;
  32993. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  32994. begin
  32995. if thebits = 0 then
  32996. pTDefRegMap(@Self)^.clr := $00000010
  32997. else
  32998. pTDefRegMap(@Self)^.&set := $00000010;
  32999. end;
  33000. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  33001. begin
  33002. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33003. end;
  33004. procedure TUSB_U1STAT.setENDPT1; inline;
  33005. begin
  33006. pTDefRegMap(@Self)^.&set := $00000020;
  33007. end;
  33008. procedure TUSB_U1STAT.clearENDPT1; inline;
  33009. begin
  33010. pTDefRegMap(@Self)^.clr := $00000020;
  33011. end;
  33012. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  33013. begin
  33014. if thebits = 0 then
  33015. pTDefRegMap(@Self)^.clr := $00000020
  33016. else
  33017. pTDefRegMap(@Self)^.&set := $00000020;
  33018. end;
  33019. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  33020. begin
  33021. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33022. end;
  33023. procedure TUSB_U1STAT.setENDPT2; inline;
  33024. begin
  33025. pTDefRegMap(@Self)^.&set := $00000040;
  33026. end;
  33027. procedure TUSB_U1STAT.clearENDPT2; inline;
  33028. begin
  33029. pTDefRegMap(@Self)^.clr := $00000040;
  33030. end;
  33031. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  33032. begin
  33033. if thebits = 0 then
  33034. pTDefRegMap(@Self)^.clr := $00000040
  33035. else
  33036. pTDefRegMap(@Self)^.&set := $00000040;
  33037. end;
  33038. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  33039. begin
  33040. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33041. end;
  33042. procedure TUSB_U1STAT.setENDPT3; inline;
  33043. begin
  33044. pTDefRegMap(@Self)^.&set := $00000080;
  33045. end;
  33046. procedure TUSB_U1STAT.clearENDPT3; inline;
  33047. begin
  33048. pTDefRegMap(@Self)^.clr := $00000080;
  33049. end;
  33050. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  33051. begin
  33052. if thebits = 0 then
  33053. pTDefRegMap(@Self)^.clr := $00000080
  33054. else
  33055. pTDefRegMap(@Self)^.&set := $00000080;
  33056. end;
  33057. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  33058. begin
  33059. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33060. end;
  33061. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  33062. begin
  33063. pTDefRegMap(@Self)^.&set := $00000001;
  33064. end;
  33065. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  33066. begin
  33067. pTDefRegMap(@Self)^.clr := $00000001;
  33068. end;
  33069. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  33070. begin
  33071. if thebits = 0 then
  33072. pTDefRegMap(@Self)^.clr := $00000001
  33073. else
  33074. pTDefRegMap(@Self)^.&set := $00000001;
  33075. end;
  33076. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  33077. begin
  33078. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33079. end;
  33080. procedure TUSB_U1CON.setPPBRST; inline;
  33081. begin
  33082. pTDefRegMap(@Self)^.&set := $00000002;
  33083. end;
  33084. procedure TUSB_U1CON.clearPPBRST; inline;
  33085. begin
  33086. pTDefRegMap(@Self)^.clr := $00000002;
  33087. end;
  33088. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  33089. begin
  33090. if thebits = 0 then
  33091. pTDefRegMap(@Self)^.clr := $00000002
  33092. else
  33093. pTDefRegMap(@Self)^.&set := $00000002;
  33094. end;
  33095. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  33096. begin
  33097. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33098. end;
  33099. procedure TUSB_U1CON.setRESUME; inline;
  33100. begin
  33101. pTDefRegMap(@Self)^.&set := $00000004;
  33102. end;
  33103. procedure TUSB_U1CON.clearRESUME; inline;
  33104. begin
  33105. pTDefRegMap(@Self)^.clr := $00000004;
  33106. end;
  33107. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  33108. begin
  33109. if thebits = 0 then
  33110. pTDefRegMap(@Self)^.clr := $00000004
  33111. else
  33112. pTDefRegMap(@Self)^.&set := $00000004;
  33113. end;
  33114. function TUSB_U1CON.getRESUME : TBits_1; inline;
  33115. begin
  33116. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33117. end;
  33118. procedure TUSB_U1CON.setHOSTEN; inline;
  33119. begin
  33120. pTDefRegMap(@Self)^.&set := $00000008;
  33121. end;
  33122. procedure TUSB_U1CON.clearHOSTEN; inline;
  33123. begin
  33124. pTDefRegMap(@Self)^.clr := $00000008;
  33125. end;
  33126. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  33127. begin
  33128. if thebits = 0 then
  33129. pTDefRegMap(@Self)^.clr := $00000008
  33130. else
  33131. pTDefRegMap(@Self)^.&set := $00000008;
  33132. end;
  33133. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  33134. begin
  33135. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33136. end;
  33137. procedure TUSB_U1CON.setUSBRST; inline;
  33138. begin
  33139. pTDefRegMap(@Self)^.&set := $00000010;
  33140. end;
  33141. procedure TUSB_U1CON.clearUSBRST; inline;
  33142. begin
  33143. pTDefRegMap(@Self)^.clr := $00000010;
  33144. end;
  33145. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  33146. begin
  33147. if thebits = 0 then
  33148. pTDefRegMap(@Self)^.clr := $00000010
  33149. else
  33150. pTDefRegMap(@Self)^.&set := $00000010;
  33151. end;
  33152. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  33153. begin
  33154. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33155. end;
  33156. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  33157. begin
  33158. pTDefRegMap(@Self)^.&set := $00000020;
  33159. end;
  33160. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  33161. begin
  33162. pTDefRegMap(@Self)^.clr := $00000020;
  33163. end;
  33164. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  33165. begin
  33166. if thebits = 0 then
  33167. pTDefRegMap(@Self)^.clr := $00000020
  33168. else
  33169. pTDefRegMap(@Self)^.&set := $00000020;
  33170. end;
  33171. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  33172. begin
  33173. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33174. end;
  33175. procedure TUSB_U1CON.setSE0; inline;
  33176. begin
  33177. pTDefRegMap(@Self)^.&set := $00000040;
  33178. end;
  33179. procedure TUSB_U1CON.clearSE0; inline;
  33180. begin
  33181. pTDefRegMap(@Self)^.clr := $00000040;
  33182. end;
  33183. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  33184. begin
  33185. if thebits = 0 then
  33186. pTDefRegMap(@Self)^.clr := $00000040
  33187. else
  33188. pTDefRegMap(@Self)^.&set := $00000040;
  33189. end;
  33190. function TUSB_U1CON.getSE0 : TBits_1; inline;
  33191. begin
  33192. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33193. end;
  33194. procedure TUSB_U1CON.setJSTATE; inline;
  33195. begin
  33196. pTDefRegMap(@Self)^.&set := $00000080;
  33197. end;
  33198. procedure TUSB_U1CON.clearJSTATE; inline;
  33199. begin
  33200. pTDefRegMap(@Self)^.clr := $00000080;
  33201. end;
  33202. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  33203. begin
  33204. if thebits = 0 then
  33205. pTDefRegMap(@Self)^.clr := $00000080
  33206. else
  33207. pTDefRegMap(@Self)^.&set := $00000080;
  33208. end;
  33209. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  33210. begin
  33211. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33212. end;
  33213. procedure TUSB_U1CON.setUSBEN; inline;
  33214. begin
  33215. pTDefRegMap(@Self)^.&set := $00000001;
  33216. end;
  33217. procedure TUSB_U1CON.clearUSBEN; inline;
  33218. begin
  33219. pTDefRegMap(@Self)^.clr := $00000001;
  33220. end;
  33221. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  33222. begin
  33223. if thebits = 0 then
  33224. pTDefRegMap(@Self)^.clr := $00000001
  33225. else
  33226. pTDefRegMap(@Self)^.&set := $00000001;
  33227. end;
  33228. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  33229. begin
  33230. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33231. end;
  33232. procedure TUSB_U1CON.setSOFEN; inline;
  33233. begin
  33234. pTDefRegMap(@Self)^.&set := $00000001;
  33235. end;
  33236. procedure TUSB_U1CON.clearSOFEN; inline;
  33237. begin
  33238. pTDefRegMap(@Self)^.clr := $00000001;
  33239. end;
  33240. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  33241. begin
  33242. if thebits = 0 then
  33243. pTDefRegMap(@Self)^.clr := $00000001
  33244. else
  33245. pTDefRegMap(@Self)^.&set := $00000001;
  33246. end;
  33247. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  33248. begin
  33249. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33250. end;
  33251. procedure TUSB_U1CON.setPKTDIS; inline;
  33252. begin
  33253. pTDefRegMap(@Self)^.&set := $00000020;
  33254. end;
  33255. procedure TUSB_U1CON.clearPKTDIS; inline;
  33256. begin
  33257. pTDefRegMap(@Self)^.clr := $00000020;
  33258. end;
  33259. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  33260. begin
  33261. if thebits = 0 then
  33262. pTDefRegMap(@Self)^.clr := $00000020
  33263. else
  33264. pTDefRegMap(@Self)^.&set := $00000020;
  33265. end;
  33266. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  33267. begin
  33268. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33269. end;
  33270. procedure TUSB_U1CON.setTOKBUSY; inline;
  33271. begin
  33272. pTDefRegMap(@Self)^.&set := $00000020;
  33273. end;
  33274. procedure TUSB_U1CON.clearTOKBUSY; inline;
  33275. begin
  33276. pTDefRegMap(@Self)^.clr := $00000020;
  33277. end;
  33278. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  33279. begin
  33280. if thebits = 0 then
  33281. pTDefRegMap(@Self)^.clr := $00000020
  33282. else
  33283. pTDefRegMap(@Self)^.&set := $00000020;
  33284. end;
  33285. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  33286. begin
  33287. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33288. end;
  33289. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  33290. begin
  33291. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  33292. end;
  33293. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  33294. begin
  33295. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  33296. end;
  33297. procedure TUSB_U1ADDR.setLSPDEN; inline;
  33298. begin
  33299. pTDefRegMap(@Self)^.&set := $00000080;
  33300. end;
  33301. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  33302. begin
  33303. pTDefRegMap(@Self)^.clr := $00000080;
  33304. end;
  33305. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  33306. begin
  33307. if thebits = 0 then
  33308. pTDefRegMap(@Self)^.clr := $00000080
  33309. else
  33310. pTDefRegMap(@Self)^.&set := $00000080;
  33311. end;
  33312. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  33313. begin
  33314. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33315. end;
  33316. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  33317. begin
  33318. pTDefRegMap(@Self)^.&set := $00000001;
  33319. end;
  33320. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  33321. begin
  33322. pTDefRegMap(@Self)^.clr := $00000001;
  33323. end;
  33324. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  33325. begin
  33326. if thebits = 0 then
  33327. pTDefRegMap(@Self)^.clr := $00000001
  33328. else
  33329. pTDefRegMap(@Self)^.&set := $00000001;
  33330. end;
  33331. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  33332. begin
  33333. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33334. end;
  33335. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  33336. begin
  33337. pTDefRegMap(@Self)^.&set := $00000002;
  33338. end;
  33339. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  33340. begin
  33341. pTDefRegMap(@Self)^.clr := $00000002;
  33342. end;
  33343. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  33344. begin
  33345. if thebits = 0 then
  33346. pTDefRegMap(@Self)^.clr := $00000002
  33347. else
  33348. pTDefRegMap(@Self)^.&set := $00000002;
  33349. end;
  33350. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  33351. begin
  33352. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33353. end;
  33354. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  33355. begin
  33356. pTDefRegMap(@Self)^.&set := $00000004;
  33357. end;
  33358. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  33359. begin
  33360. pTDefRegMap(@Self)^.clr := $00000004;
  33361. end;
  33362. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  33363. begin
  33364. if thebits = 0 then
  33365. pTDefRegMap(@Self)^.clr := $00000004
  33366. else
  33367. pTDefRegMap(@Self)^.&set := $00000004;
  33368. end;
  33369. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  33370. begin
  33371. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33372. end;
  33373. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  33374. begin
  33375. pTDefRegMap(@Self)^.&set := $00000008;
  33376. end;
  33377. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  33378. begin
  33379. pTDefRegMap(@Self)^.clr := $00000008;
  33380. end;
  33381. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  33382. begin
  33383. if thebits = 0 then
  33384. pTDefRegMap(@Self)^.clr := $00000008
  33385. else
  33386. pTDefRegMap(@Self)^.&set := $00000008;
  33387. end;
  33388. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  33389. begin
  33390. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33391. end;
  33392. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  33393. begin
  33394. pTDefRegMap(@Self)^.&set := $00000010;
  33395. end;
  33396. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  33397. begin
  33398. pTDefRegMap(@Self)^.clr := $00000010;
  33399. end;
  33400. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  33401. begin
  33402. if thebits = 0 then
  33403. pTDefRegMap(@Self)^.clr := $00000010
  33404. else
  33405. pTDefRegMap(@Self)^.&set := $00000010;
  33406. end;
  33407. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  33408. begin
  33409. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33410. end;
  33411. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  33412. begin
  33413. pTDefRegMap(@Self)^.&set := $00000020;
  33414. end;
  33415. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  33416. begin
  33417. pTDefRegMap(@Self)^.clr := $00000020;
  33418. end;
  33419. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  33420. begin
  33421. if thebits = 0 then
  33422. pTDefRegMap(@Self)^.clr := $00000020
  33423. else
  33424. pTDefRegMap(@Self)^.&set := $00000020;
  33425. end;
  33426. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33427. begin
  33428. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33429. end;
  33430. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  33431. begin
  33432. pTDefRegMap(@Self)^.&set := $00000040;
  33433. end;
  33434. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  33435. begin
  33436. pTDefRegMap(@Self)^.clr := $00000040;
  33437. end;
  33438. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33439. begin
  33440. if thebits = 0 then
  33441. pTDefRegMap(@Self)^.clr := $00000040
  33442. else
  33443. pTDefRegMap(@Self)^.&set := $00000040;
  33444. end;
  33445. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33446. begin
  33447. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33448. end;
  33449. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  33450. begin
  33451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33452. end;
  33453. function TUSB_U1FRML.getFRML : TBits_8; inline;
  33454. begin
  33455. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33456. end;
  33457. procedure TUSB_U1FRML.setFRM0; inline;
  33458. begin
  33459. pTDefRegMap(@Self)^.&set := $00000001;
  33460. end;
  33461. procedure TUSB_U1FRML.clearFRM0; inline;
  33462. begin
  33463. pTDefRegMap(@Self)^.clr := $00000001;
  33464. end;
  33465. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  33466. begin
  33467. if thebits = 0 then
  33468. pTDefRegMap(@Self)^.clr := $00000001
  33469. else
  33470. pTDefRegMap(@Self)^.&set := $00000001;
  33471. end;
  33472. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  33473. begin
  33474. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33475. end;
  33476. procedure TUSB_U1FRML.setFRM1; inline;
  33477. begin
  33478. pTDefRegMap(@Self)^.&set := $00000002;
  33479. end;
  33480. procedure TUSB_U1FRML.clearFRM1; inline;
  33481. begin
  33482. pTDefRegMap(@Self)^.clr := $00000002;
  33483. end;
  33484. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  33485. begin
  33486. if thebits = 0 then
  33487. pTDefRegMap(@Self)^.clr := $00000002
  33488. else
  33489. pTDefRegMap(@Self)^.&set := $00000002;
  33490. end;
  33491. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  33492. begin
  33493. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33494. end;
  33495. procedure TUSB_U1FRML.setFRM2; inline;
  33496. begin
  33497. pTDefRegMap(@Self)^.&set := $00000004;
  33498. end;
  33499. procedure TUSB_U1FRML.clearFRM2; inline;
  33500. begin
  33501. pTDefRegMap(@Self)^.clr := $00000004;
  33502. end;
  33503. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  33504. begin
  33505. if thebits = 0 then
  33506. pTDefRegMap(@Self)^.clr := $00000004
  33507. else
  33508. pTDefRegMap(@Self)^.&set := $00000004;
  33509. end;
  33510. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  33511. begin
  33512. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33513. end;
  33514. procedure TUSB_U1FRML.setFRM3; inline;
  33515. begin
  33516. pTDefRegMap(@Self)^.&set := $00000008;
  33517. end;
  33518. procedure TUSB_U1FRML.clearFRM3; inline;
  33519. begin
  33520. pTDefRegMap(@Self)^.clr := $00000008;
  33521. end;
  33522. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  33523. begin
  33524. if thebits = 0 then
  33525. pTDefRegMap(@Self)^.clr := $00000008
  33526. else
  33527. pTDefRegMap(@Self)^.&set := $00000008;
  33528. end;
  33529. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  33530. begin
  33531. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33532. end;
  33533. procedure TUSB_U1FRML.setFRM4; inline;
  33534. begin
  33535. pTDefRegMap(@Self)^.&set := $00000010;
  33536. end;
  33537. procedure TUSB_U1FRML.clearFRM4; inline;
  33538. begin
  33539. pTDefRegMap(@Self)^.clr := $00000010;
  33540. end;
  33541. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  33542. begin
  33543. if thebits = 0 then
  33544. pTDefRegMap(@Self)^.clr := $00000010
  33545. else
  33546. pTDefRegMap(@Self)^.&set := $00000010;
  33547. end;
  33548. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  33549. begin
  33550. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33551. end;
  33552. procedure TUSB_U1FRML.setFRM5; inline;
  33553. begin
  33554. pTDefRegMap(@Self)^.&set := $00000020;
  33555. end;
  33556. procedure TUSB_U1FRML.clearFRM5; inline;
  33557. begin
  33558. pTDefRegMap(@Self)^.clr := $00000020;
  33559. end;
  33560. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  33561. begin
  33562. if thebits = 0 then
  33563. pTDefRegMap(@Self)^.clr := $00000020
  33564. else
  33565. pTDefRegMap(@Self)^.&set := $00000020;
  33566. end;
  33567. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  33568. begin
  33569. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33570. end;
  33571. procedure TUSB_U1FRML.setFRM6; inline;
  33572. begin
  33573. pTDefRegMap(@Self)^.&set := $00000040;
  33574. end;
  33575. procedure TUSB_U1FRML.clearFRM6; inline;
  33576. begin
  33577. pTDefRegMap(@Self)^.clr := $00000040;
  33578. end;
  33579. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  33580. begin
  33581. if thebits = 0 then
  33582. pTDefRegMap(@Self)^.clr := $00000040
  33583. else
  33584. pTDefRegMap(@Self)^.&set := $00000040;
  33585. end;
  33586. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  33587. begin
  33588. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33589. end;
  33590. procedure TUSB_U1FRML.setFRM7; inline;
  33591. begin
  33592. pTDefRegMap(@Self)^.&set := $00000080;
  33593. end;
  33594. procedure TUSB_U1FRML.clearFRM7; inline;
  33595. begin
  33596. pTDefRegMap(@Self)^.clr := $00000080;
  33597. end;
  33598. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  33599. begin
  33600. if thebits = 0 then
  33601. pTDefRegMap(@Self)^.clr := $00000080
  33602. else
  33603. pTDefRegMap(@Self)^.&set := $00000080;
  33604. end;
  33605. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  33606. begin
  33607. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33608. end;
  33609. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  33610. begin
  33611. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  33612. end;
  33613. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  33614. begin
  33615. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  33616. end;
  33617. procedure TUSB_U1FRMH.setFRM8; inline;
  33618. begin
  33619. pTDefRegMap(@Self)^.&set := $00000001;
  33620. end;
  33621. procedure TUSB_U1FRMH.clearFRM8; inline;
  33622. begin
  33623. pTDefRegMap(@Self)^.clr := $00000001;
  33624. end;
  33625. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  33626. begin
  33627. if thebits = 0 then
  33628. pTDefRegMap(@Self)^.clr := $00000001
  33629. else
  33630. pTDefRegMap(@Self)^.&set := $00000001;
  33631. end;
  33632. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  33633. begin
  33634. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33635. end;
  33636. procedure TUSB_U1FRMH.setFRM9; inline;
  33637. begin
  33638. pTDefRegMap(@Self)^.&set := $00000002;
  33639. end;
  33640. procedure TUSB_U1FRMH.clearFRM9; inline;
  33641. begin
  33642. pTDefRegMap(@Self)^.clr := $00000002;
  33643. end;
  33644. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  33645. begin
  33646. if thebits = 0 then
  33647. pTDefRegMap(@Self)^.clr := $00000002
  33648. else
  33649. pTDefRegMap(@Self)^.&set := $00000002;
  33650. end;
  33651. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  33652. begin
  33653. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33654. end;
  33655. procedure TUSB_U1FRMH.setFRM10; inline;
  33656. begin
  33657. pTDefRegMap(@Self)^.&set := $00000004;
  33658. end;
  33659. procedure TUSB_U1FRMH.clearFRM10; inline;
  33660. begin
  33661. pTDefRegMap(@Self)^.clr := $00000004;
  33662. end;
  33663. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  33664. begin
  33665. if thebits = 0 then
  33666. pTDefRegMap(@Self)^.clr := $00000004
  33667. else
  33668. pTDefRegMap(@Self)^.&set := $00000004;
  33669. end;
  33670. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  33671. begin
  33672. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33673. end;
  33674. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  33675. begin
  33676. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33677. end;
  33678. function TUSB_U1TOK.getEP : TBits_4; inline;
  33679. begin
  33680. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33681. end;
  33682. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  33683. begin
  33684. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33685. end;
  33686. function TUSB_U1TOK.getPID : TBits_4; inline;
  33687. begin
  33688. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33689. end;
  33690. procedure TUSB_U1TOK.setEP0; inline;
  33691. begin
  33692. pTDefRegMap(@Self)^.&set := $00000001;
  33693. end;
  33694. procedure TUSB_U1TOK.clearEP0; inline;
  33695. begin
  33696. pTDefRegMap(@Self)^.clr := $00000001;
  33697. end;
  33698. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  33699. begin
  33700. if thebits = 0 then
  33701. pTDefRegMap(@Self)^.clr := $00000001
  33702. else
  33703. pTDefRegMap(@Self)^.&set := $00000001;
  33704. end;
  33705. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  33706. begin
  33707. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33708. end;
  33709. procedure TUSB_U1TOK.setEP1; inline;
  33710. begin
  33711. pTDefRegMap(@Self)^.&set := $00000002;
  33712. end;
  33713. procedure TUSB_U1TOK.clearEP1; inline;
  33714. begin
  33715. pTDefRegMap(@Self)^.clr := $00000002;
  33716. end;
  33717. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  33718. begin
  33719. if thebits = 0 then
  33720. pTDefRegMap(@Self)^.clr := $00000002
  33721. else
  33722. pTDefRegMap(@Self)^.&set := $00000002;
  33723. end;
  33724. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  33725. begin
  33726. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33727. end;
  33728. procedure TUSB_U1TOK.setEP2; inline;
  33729. begin
  33730. pTDefRegMap(@Self)^.&set := $00000004;
  33731. end;
  33732. procedure TUSB_U1TOK.clearEP2; inline;
  33733. begin
  33734. pTDefRegMap(@Self)^.clr := $00000004;
  33735. end;
  33736. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  33737. begin
  33738. if thebits = 0 then
  33739. pTDefRegMap(@Self)^.clr := $00000004
  33740. else
  33741. pTDefRegMap(@Self)^.&set := $00000004;
  33742. end;
  33743. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  33744. begin
  33745. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33746. end;
  33747. procedure TUSB_U1TOK.setEP3; inline;
  33748. begin
  33749. pTDefRegMap(@Self)^.&set := $00000008;
  33750. end;
  33751. procedure TUSB_U1TOK.clearEP3; inline;
  33752. begin
  33753. pTDefRegMap(@Self)^.clr := $00000008;
  33754. end;
  33755. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  33756. begin
  33757. if thebits = 0 then
  33758. pTDefRegMap(@Self)^.clr := $00000008
  33759. else
  33760. pTDefRegMap(@Self)^.&set := $00000008;
  33761. end;
  33762. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  33763. begin
  33764. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33765. end;
  33766. procedure TUSB_U1TOK.setPID0; inline;
  33767. begin
  33768. pTDefRegMap(@Self)^.&set := $00000010;
  33769. end;
  33770. procedure TUSB_U1TOK.clearPID0; inline;
  33771. begin
  33772. pTDefRegMap(@Self)^.clr := $00000010;
  33773. end;
  33774. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  33775. begin
  33776. if thebits = 0 then
  33777. pTDefRegMap(@Self)^.clr := $00000010
  33778. else
  33779. pTDefRegMap(@Self)^.&set := $00000010;
  33780. end;
  33781. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  33782. begin
  33783. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33784. end;
  33785. procedure TUSB_U1TOK.setPID1; inline;
  33786. begin
  33787. pTDefRegMap(@Self)^.&set := $00000020;
  33788. end;
  33789. procedure TUSB_U1TOK.clearPID1; inline;
  33790. begin
  33791. pTDefRegMap(@Self)^.clr := $00000020;
  33792. end;
  33793. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  33794. begin
  33795. if thebits = 0 then
  33796. pTDefRegMap(@Self)^.clr := $00000020
  33797. else
  33798. pTDefRegMap(@Self)^.&set := $00000020;
  33799. end;
  33800. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  33801. begin
  33802. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33803. end;
  33804. procedure TUSB_U1TOK.setPID2; inline;
  33805. begin
  33806. pTDefRegMap(@Self)^.&set := $00000040;
  33807. end;
  33808. procedure TUSB_U1TOK.clearPID2; inline;
  33809. begin
  33810. pTDefRegMap(@Self)^.clr := $00000040;
  33811. end;
  33812. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  33813. begin
  33814. if thebits = 0 then
  33815. pTDefRegMap(@Self)^.clr := $00000040
  33816. else
  33817. pTDefRegMap(@Self)^.&set := $00000040;
  33818. end;
  33819. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  33820. begin
  33821. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33822. end;
  33823. procedure TUSB_U1TOK.setPID3; inline;
  33824. begin
  33825. pTDefRegMap(@Self)^.&set := $00000080;
  33826. end;
  33827. procedure TUSB_U1TOK.clearPID3; inline;
  33828. begin
  33829. pTDefRegMap(@Self)^.clr := $00000080;
  33830. end;
  33831. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  33832. begin
  33833. if thebits = 0 then
  33834. pTDefRegMap(@Self)^.clr := $00000080
  33835. else
  33836. pTDefRegMap(@Self)^.&set := $00000080;
  33837. end;
  33838. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  33839. begin
  33840. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33841. end;
  33842. procedure TPORTA_ANSELA.setANSA0; inline;
  33843. begin
  33844. pTDefRegMap(@Self)^.&set := $00000001;
  33845. end;
  33846. procedure TPORTA_ANSELA.clearANSA0; inline;
  33847. begin
  33848. pTDefRegMap(@Self)^.clr := $00000001;
  33849. end;
  33850. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  33851. begin
  33852. if thebits = 0 then
  33853. pTDefRegMap(@Self)^.clr := $00000001
  33854. else
  33855. pTDefRegMap(@Self)^.&set := $00000001;
  33856. end;
  33857. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  33858. begin
  33859. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33860. end;
  33861. procedure TPORTA_ANSELA.setANSA1; inline;
  33862. begin
  33863. pTDefRegMap(@Self)^.&set := $00000002;
  33864. end;
  33865. procedure TPORTA_ANSELA.clearANSA1; inline;
  33866. begin
  33867. pTDefRegMap(@Self)^.clr := $00000002;
  33868. end;
  33869. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  33870. begin
  33871. if thebits = 0 then
  33872. pTDefRegMap(@Self)^.clr := $00000002
  33873. else
  33874. pTDefRegMap(@Self)^.&set := $00000002;
  33875. end;
  33876. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  33877. begin
  33878. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33879. end;
  33880. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  33881. begin
  33882. pTDefRegMap(@Self)^.val := thebits;
  33883. end;
  33884. function TPORTA_ANSELA.getw : TBits_32; inline;
  33885. begin
  33886. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33887. end;
  33888. procedure TPORTA_TRISA.setTRISA0; inline;
  33889. begin
  33890. pTDefRegMap(@Self)^.&set := $00000001;
  33891. end;
  33892. procedure TPORTA_TRISA.clearTRISA0; inline;
  33893. begin
  33894. pTDefRegMap(@Self)^.clr := $00000001;
  33895. end;
  33896. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  33897. begin
  33898. if thebits = 0 then
  33899. pTDefRegMap(@Self)^.clr := $00000001
  33900. else
  33901. pTDefRegMap(@Self)^.&set := $00000001;
  33902. end;
  33903. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  33904. begin
  33905. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33906. end;
  33907. procedure TPORTA_TRISA.setTRISA1; inline;
  33908. begin
  33909. pTDefRegMap(@Self)^.&set := $00000002;
  33910. end;
  33911. procedure TPORTA_TRISA.clearTRISA1; inline;
  33912. begin
  33913. pTDefRegMap(@Self)^.clr := $00000002;
  33914. end;
  33915. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  33916. begin
  33917. if thebits = 0 then
  33918. pTDefRegMap(@Self)^.clr := $00000002
  33919. else
  33920. pTDefRegMap(@Self)^.&set := $00000002;
  33921. end;
  33922. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  33923. begin
  33924. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33925. end;
  33926. procedure TPORTA_TRISA.setTRISA2; inline;
  33927. begin
  33928. pTDefRegMap(@Self)^.&set := $00000004;
  33929. end;
  33930. procedure TPORTA_TRISA.clearTRISA2; inline;
  33931. begin
  33932. pTDefRegMap(@Self)^.clr := $00000004;
  33933. end;
  33934. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  33935. begin
  33936. if thebits = 0 then
  33937. pTDefRegMap(@Self)^.clr := $00000004
  33938. else
  33939. pTDefRegMap(@Self)^.&set := $00000004;
  33940. end;
  33941. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  33942. begin
  33943. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33944. end;
  33945. procedure TPORTA_TRISA.setTRISA3; inline;
  33946. begin
  33947. pTDefRegMap(@Self)^.&set := $00000008;
  33948. end;
  33949. procedure TPORTA_TRISA.clearTRISA3; inline;
  33950. begin
  33951. pTDefRegMap(@Self)^.clr := $00000008;
  33952. end;
  33953. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  33954. begin
  33955. if thebits = 0 then
  33956. pTDefRegMap(@Self)^.clr := $00000008
  33957. else
  33958. pTDefRegMap(@Self)^.&set := $00000008;
  33959. end;
  33960. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  33961. begin
  33962. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33963. end;
  33964. procedure TPORTA_TRISA.setTRISA4; inline;
  33965. begin
  33966. pTDefRegMap(@Self)^.&set := $00000010;
  33967. end;
  33968. procedure TPORTA_TRISA.clearTRISA4; inline;
  33969. begin
  33970. pTDefRegMap(@Self)^.clr := $00000010;
  33971. end;
  33972. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  33973. begin
  33974. if thebits = 0 then
  33975. pTDefRegMap(@Self)^.clr := $00000010
  33976. else
  33977. pTDefRegMap(@Self)^.&set := $00000010;
  33978. end;
  33979. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  33980. begin
  33981. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33982. end;
  33983. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  33984. begin
  33985. pTDefRegMap(@Self)^.val := thebits;
  33986. end;
  33987. function TPORTA_TRISA.getw : TBits_32; inline;
  33988. begin
  33989. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33990. end;
  33991. procedure TPORTA_PORTA.setRA0; inline;
  33992. begin
  33993. pTDefRegMap(@Self)^.&set := $00000001;
  33994. end;
  33995. procedure TPORTA_PORTA.clearRA0; inline;
  33996. begin
  33997. pTDefRegMap(@Self)^.clr := $00000001;
  33998. end;
  33999. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  34000. begin
  34001. if thebits = 0 then
  34002. pTDefRegMap(@Self)^.clr := $00000001
  34003. else
  34004. pTDefRegMap(@Self)^.&set := $00000001;
  34005. end;
  34006. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  34007. begin
  34008. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34009. end;
  34010. procedure TPORTA_PORTA.setRA1; inline;
  34011. begin
  34012. pTDefRegMap(@Self)^.&set := $00000002;
  34013. end;
  34014. procedure TPORTA_PORTA.clearRA1; inline;
  34015. begin
  34016. pTDefRegMap(@Self)^.clr := $00000002;
  34017. end;
  34018. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  34019. begin
  34020. if thebits = 0 then
  34021. pTDefRegMap(@Self)^.clr := $00000002
  34022. else
  34023. pTDefRegMap(@Self)^.&set := $00000002;
  34024. end;
  34025. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  34026. begin
  34027. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34028. end;
  34029. procedure TPORTA_PORTA.setRA2; inline;
  34030. begin
  34031. pTDefRegMap(@Self)^.&set := $00000004;
  34032. end;
  34033. procedure TPORTA_PORTA.clearRA2; inline;
  34034. begin
  34035. pTDefRegMap(@Self)^.clr := $00000004;
  34036. end;
  34037. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  34038. begin
  34039. if thebits = 0 then
  34040. pTDefRegMap(@Self)^.clr := $00000004
  34041. else
  34042. pTDefRegMap(@Self)^.&set := $00000004;
  34043. end;
  34044. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  34045. begin
  34046. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34047. end;
  34048. procedure TPORTA_PORTA.setRA3; inline;
  34049. begin
  34050. pTDefRegMap(@Self)^.&set := $00000008;
  34051. end;
  34052. procedure TPORTA_PORTA.clearRA3; inline;
  34053. begin
  34054. pTDefRegMap(@Self)^.clr := $00000008;
  34055. end;
  34056. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  34057. begin
  34058. if thebits = 0 then
  34059. pTDefRegMap(@Self)^.clr := $00000008
  34060. else
  34061. pTDefRegMap(@Self)^.&set := $00000008;
  34062. end;
  34063. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  34064. begin
  34065. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34066. end;
  34067. procedure TPORTA_PORTA.setRA4; inline;
  34068. begin
  34069. pTDefRegMap(@Self)^.&set := $00000010;
  34070. end;
  34071. procedure TPORTA_PORTA.clearRA4; inline;
  34072. begin
  34073. pTDefRegMap(@Self)^.clr := $00000010;
  34074. end;
  34075. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  34076. begin
  34077. if thebits = 0 then
  34078. pTDefRegMap(@Self)^.clr := $00000010
  34079. else
  34080. pTDefRegMap(@Self)^.&set := $00000010;
  34081. end;
  34082. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  34083. begin
  34084. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34085. end;
  34086. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  34087. begin
  34088. pTDefRegMap(@Self)^.val := thebits;
  34089. end;
  34090. function TPORTA_PORTA.getw : TBits_32; inline;
  34091. begin
  34092. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34093. end;
  34094. procedure TPORTA_LATA.setLATA0; inline;
  34095. begin
  34096. pTDefRegMap(@Self)^.&set := $00000001;
  34097. end;
  34098. procedure TPORTA_LATA.clearLATA0; inline;
  34099. begin
  34100. pTDefRegMap(@Self)^.clr := $00000001;
  34101. end;
  34102. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  34103. begin
  34104. if thebits = 0 then
  34105. pTDefRegMap(@Self)^.clr := $00000001
  34106. else
  34107. pTDefRegMap(@Self)^.&set := $00000001;
  34108. end;
  34109. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  34110. begin
  34111. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34112. end;
  34113. procedure TPORTA_LATA.setLATA1; inline;
  34114. begin
  34115. pTDefRegMap(@Self)^.&set := $00000002;
  34116. end;
  34117. procedure TPORTA_LATA.clearLATA1; inline;
  34118. begin
  34119. pTDefRegMap(@Self)^.clr := $00000002;
  34120. end;
  34121. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  34122. begin
  34123. if thebits = 0 then
  34124. pTDefRegMap(@Self)^.clr := $00000002
  34125. else
  34126. pTDefRegMap(@Self)^.&set := $00000002;
  34127. end;
  34128. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  34129. begin
  34130. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34131. end;
  34132. procedure TPORTA_LATA.setLATA2; inline;
  34133. begin
  34134. pTDefRegMap(@Self)^.&set := $00000004;
  34135. end;
  34136. procedure TPORTA_LATA.clearLATA2; inline;
  34137. begin
  34138. pTDefRegMap(@Self)^.clr := $00000004;
  34139. end;
  34140. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  34141. begin
  34142. if thebits = 0 then
  34143. pTDefRegMap(@Self)^.clr := $00000004
  34144. else
  34145. pTDefRegMap(@Self)^.&set := $00000004;
  34146. end;
  34147. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  34148. begin
  34149. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34150. end;
  34151. procedure TPORTA_LATA.setLATA3; inline;
  34152. begin
  34153. pTDefRegMap(@Self)^.&set := $00000008;
  34154. end;
  34155. procedure TPORTA_LATA.clearLATA3; inline;
  34156. begin
  34157. pTDefRegMap(@Self)^.clr := $00000008;
  34158. end;
  34159. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  34160. begin
  34161. if thebits = 0 then
  34162. pTDefRegMap(@Self)^.clr := $00000008
  34163. else
  34164. pTDefRegMap(@Self)^.&set := $00000008;
  34165. end;
  34166. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  34167. begin
  34168. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34169. end;
  34170. procedure TPORTA_LATA.setLATA4; inline;
  34171. begin
  34172. pTDefRegMap(@Self)^.&set := $00000010;
  34173. end;
  34174. procedure TPORTA_LATA.clearLATA4; inline;
  34175. begin
  34176. pTDefRegMap(@Self)^.clr := $00000010;
  34177. end;
  34178. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  34179. begin
  34180. if thebits = 0 then
  34181. pTDefRegMap(@Self)^.clr := $00000010
  34182. else
  34183. pTDefRegMap(@Self)^.&set := $00000010;
  34184. end;
  34185. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  34186. begin
  34187. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34188. end;
  34189. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  34190. begin
  34191. pTDefRegMap(@Self)^.val := thebits;
  34192. end;
  34193. function TPORTA_LATA.getw : TBits_32; inline;
  34194. begin
  34195. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34196. end;
  34197. procedure TPORTA_CNPUA.setCNPUA0; inline;
  34198. begin
  34199. pTDefRegMap(@Self)^.&set := $00000001;
  34200. end;
  34201. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  34202. begin
  34203. pTDefRegMap(@Self)^.clr := $00000001;
  34204. end;
  34205. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  34206. begin
  34207. if thebits = 0 then
  34208. pTDefRegMap(@Self)^.clr := $00000001
  34209. else
  34210. pTDefRegMap(@Self)^.&set := $00000001;
  34211. end;
  34212. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  34213. begin
  34214. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34215. end;
  34216. procedure TPORTA_CNPUA.setCNPUA1; inline;
  34217. begin
  34218. pTDefRegMap(@Self)^.&set := $00000002;
  34219. end;
  34220. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  34221. begin
  34222. pTDefRegMap(@Self)^.clr := $00000002;
  34223. end;
  34224. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  34225. begin
  34226. if thebits = 0 then
  34227. pTDefRegMap(@Self)^.clr := $00000002
  34228. else
  34229. pTDefRegMap(@Self)^.&set := $00000002;
  34230. end;
  34231. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  34232. begin
  34233. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34234. end;
  34235. procedure TPORTA_CNPUA.setCNPUA2; inline;
  34236. begin
  34237. pTDefRegMap(@Self)^.&set := $00000004;
  34238. end;
  34239. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  34240. begin
  34241. pTDefRegMap(@Self)^.clr := $00000004;
  34242. end;
  34243. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  34244. begin
  34245. if thebits = 0 then
  34246. pTDefRegMap(@Self)^.clr := $00000004
  34247. else
  34248. pTDefRegMap(@Self)^.&set := $00000004;
  34249. end;
  34250. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  34251. begin
  34252. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34253. end;
  34254. procedure TPORTA_CNPUA.setCNPUA3; inline;
  34255. begin
  34256. pTDefRegMap(@Self)^.&set := $00000008;
  34257. end;
  34258. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  34259. begin
  34260. pTDefRegMap(@Self)^.clr := $00000008;
  34261. end;
  34262. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  34263. begin
  34264. if thebits = 0 then
  34265. pTDefRegMap(@Self)^.clr := $00000008
  34266. else
  34267. pTDefRegMap(@Self)^.&set := $00000008;
  34268. end;
  34269. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  34270. begin
  34271. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34272. end;
  34273. procedure TPORTA_CNPUA.setCNPUA4; inline;
  34274. begin
  34275. pTDefRegMap(@Self)^.&set := $00000010;
  34276. end;
  34277. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  34278. begin
  34279. pTDefRegMap(@Self)^.clr := $00000010;
  34280. end;
  34281. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  34282. begin
  34283. if thebits = 0 then
  34284. pTDefRegMap(@Self)^.clr := $00000010
  34285. else
  34286. pTDefRegMap(@Self)^.&set := $00000010;
  34287. end;
  34288. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  34289. begin
  34290. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34291. end;
  34292. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  34293. begin
  34294. pTDefRegMap(@Self)^.val := thebits;
  34295. end;
  34296. function TPORTA_CNPUA.getw : TBits_32; inline;
  34297. begin
  34298. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34299. end;
  34300. procedure TPORTA_CNPDA.setCNPDA0; inline;
  34301. begin
  34302. pTDefRegMap(@Self)^.&set := $00000001;
  34303. end;
  34304. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  34305. begin
  34306. pTDefRegMap(@Self)^.clr := $00000001;
  34307. end;
  34308. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  34309. begin
  34310. if thebits = 0 then
  34311. pTDefRegMap(@Self)^.clr := $00000001
  34312. else
  34313. pTDefRegMap(@Self)^.&set := $00000001;
  34314. end;
  34315. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  34316. begin
  34317. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34318. end;
  34319. procedure TPORTA_CNPDA.setCNPDA1; inline;
  34320. begin
  34321. pTDefRegMap(@Self)^.&set := $00000002;
  34322. end;
  34323. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  34324. begin
  34325. pTDefRegMap(@Self)^.clr := $00000002;
  34326. end;
  34327. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  34328. begin
  34329. if thebits = 0 then
  34330. pTDefRegMap(@Self)^.clr := $00000002
  34331. else
  34332. pTDefRegMap(@Self)^.&set := $00000002;
  34333. end;
  34334. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  34335. begin
  34336. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34337. end;
  34338. procedure TPORTA_CNPDA.setCNPDA2; inline;
  34339. begin
  34340. pTDefRegMap(@Self)^.&set := $00000004;
  34341. end;
  34342. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  34343. begin
  34344. pTDefRegMap(@Self)^.clr := $00000004;
  34345. end;
  34346. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  34347. begin
  34348. if thebits = 0 then
  34349. pTDefRegMap(@Self)^.clr := $00000004
  34350. else
  34351. pTDefRegMap(@Self)^.&set := $00000004;
  34352. end;
  34353. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  34354. begin
  34355. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34356. end;
  34357. procedure TPORTA_CNPDA.setCNPDA3; inline;
  34358. begin
  34359. pTDefRegMap(@Self)^.&set := $00000008;
  34360. end;
  34361. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  34362. begin
  34363. pTDefRegMap(@Self)^.clr := $00000008;
  34364. end;
  34365. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  34366. begin
  34367. if thebits = 0 then
  34368. pTDefRegMap(@Self)^.clr := $00000008
  34369. else
  34370. pTDefRegMap(@Self)^.&set := $00000008;
  34371. end;
  34372. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  34373. begin
  34374. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34375. end;
  34376. procedure TPORTA_CNPDA.setCNPDA4; inline;
  34377. begin
  34378. pTDefRegMap(@Self)^.&set := $00000010;
  34379. end;
  34380. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  34381. begin
  34382. pTDefRegMap(@Self)^.clr := $00000010;
  34383. end;
  34384. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  34385. begin
  34386. if thebits = 0 then
  34387. pTDefRegMap(@Self)^.clr := $00000010
  34388. else
  34389. pTDefRegMap(@Self)^.&set := $00000010;
  34390. end;
  34391. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  34392. begin
  34393. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34394. end;
  34395. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  34396. begin
  34397. pTDefRegMap(@Self)^.val := thebits;
  34398. end;
  34399. function TPORTA_CNPDA.getw : TBits_32; inline;
  34400. begin
  34401. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34402. end;
  34403. procedure TPORTA_CNCONA.setSIDL; inline;
  34404. begin
  34405. pTDefRegMap(@Self)^.&set := $00002000;
  34406. end;
  34407. procedure TPORTA_CNCONA.clearSIDL; inline;
  34408. begin
  34409. pTDefRegMap(@Self)^.clr := $00002000;
  34410. end;
  34411. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  34412. begin
  34413. if thebits = 0 then
  34414. pTDefRegMap(@Self)^.clr := $00002000
  34415. else
  34416. pTDefRegMap(@Self)^.&set := $00002000;
  34417. end;
  34418. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  34419. begin
  34420. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34421. end;
  34422. procedure TPORTA_CNCONA.setON; inline;
  34423. begin
  34424. pTDefRegMap(@Self)^.&set := $00008000;
  34425. end;
  34426. procedure TPORTA_CNCONA.clearON; inline;
  34427. begin
  34428. pTDefRegMap(@Self)^.clr := $00008000;
  34429. end;
  34430. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  34431. begin
  34432. if thebits = 0 then
  34433. pTDefRegMap(@Self)^.clr := $00008000
  34434. else
  34435. pTDefRegMap(@Self)^.&set := $00008000;
  34436. end;
  34437. function TPORTA_CNCONA.getON : TBits_1; inline;
  34438. begin
  34439. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34440. end;
  34441. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  34442. begin
  34443. pTDefRegMap(@Self)^.val := thebits;
  34444. end;
  34445. function TPORTA_CNCONA.getw : TBits_32; inline;
  34446. begin
  34447. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34448. end;
  34449. procedure TPORTA_CNENA.setCNIEA0; inline;
  34450. begin
  34451. pTDefRegMap(@Self)^.&set := $00000001;
  34452. end;
  34453. procedure TPORTA_CNENA.clearCNIEA0; inline;
  34454. begin
  34455. pTDefRegMap(@Self)^.clr := $00000001;
  34456. end;
  34457. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  34458. begin
  34459. if thebits = 0 then
  34460. pTDefRegMap(@Self)^.clr := $00000001
  34461. else
  34462. pTDefRegMap(@Self)^.&set := $00000001;
  34463. end;
  34464. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  34465. begin
  34466. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34467. end;
  34468. procedure TPORTA_CNENA.setCNIEA1; inline;
  34469. begin
  34470. pTDefRegMap(@Self)^.&set := $00000002;
  34471. end;
  34472. procedure TPORTA_CNENA.clearCNIEA1; inline;
  34473. begin
  34474. pTDefRegMap(@Self)^.clr := $00000002;
  34475. end;
  34476. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  34477. begin
  34478. if thebits = 0 then
  34479. pTDefRegMap(@Self)^.clr := $00000002
  34480. else
  34481. pTDefRegMap(@Self)^.&set := $00000002;
  34482. end;
  34483. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  34484. begin
  34485. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34486. end;
  34487. procedure TPORTA_CNENA.setCNIEA2; inline;
  34488. begin
  34489. pTDefRegMap(@Self)^.&set := $00000004;
  34490. end;
  34491. procedure TPORTA_CNENA.clearCNIEA2; inline;
  34492. begin
  34493. pTDefRegMap(@Self)^.clr := $00000004;
  34494. end;
  34495. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  34496. begin
  34497. if thebits = 0 then
  34498. pTDefRegMap(@Self)^.clr := $00000004
  34499. else
  34500. pTDefRegMap(@Self)^.&set := $00000004;
  34501. end;
  34502. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  34503. begin
  34504. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34505. end;
  34506. procedure TPORTA_CNENA.setCNIEA3; inline;
  34507. begin
  34508. pTDefRegMap(@Self)^.&set := $00000008;
  34509. end;
  34510. procedure TPORTA_CNENA.clearCNIEA3; inline;
  34511. begin
  34512. pTDefRegMap(@Self)^.clr := $00000008;
  34513. end;
  34514. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  34515. begin
  34516. if thebits = 0 then
  34517. pTDefRegMap(@Self)^.clr := $00000008
  34518. else
  34519. pTDefRegMap(@Self)^.&set := $00000008;
  34520. end;
  34521. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  34522. begin
  34523. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34524. end;
  34525. procedure TPORTA_CNENA.setCNIEA4; inline;
  34526. begin
  34527. pTDefRegMap(@Self)^.&set := $00000010;
  34528. end;
  34529. procedure TPORTA_CNENA.clearCNIEA4; inline;
  34530. begin
  34531. pTDefRegMap(@Self)^.clr := $00000010;
  34532. end;
  34533. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  34534. begin
  34535. if thebits = 0 then
  34536. pTDefRegMap(@Self)^.clr := $00000010
  34537. else
  34538. pTDefRegMap(@Self)^.&set := $00000010;
  34539. end;
  34540. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  34541. begin
  34542. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34543. end;
  34544. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  34545. begin
  34546. pTDefRegMap(@Self)^.val := thebits;
  34547. end;
  34548. function TPORTA_CNENA.getw : TBits_32; inline;
  34549. begin
  34550. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34551. end;
  34552. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  34553. begin
  34554. pTDefRegMap(@Self)^.&set := $00000001;
  34555. end;
  34556. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  34557. begin
  34558. pTDefRegMap(@Self)^.clr := $00000001;
  34559. end;
  34560. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  34561. begin
  34562. if thebits = 0 then
  34563. pTDefRegMap(@Self)^.clr := $00000001
  34564. else
  34565. pTDefRegMap(@Self)^.&set := $00000001;
  34566. end;
  34567. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  34568. begin
  34569. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34570. end;
  34571. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  34572. begin
  34573. pTDefRegMap(@Self)^.&set := $00000002;
  34574. end;
  34575. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  34576. begin
  34577. pTDefRegMap(@Self)^.clr := $00000002;
  34578. end;
  34579. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  34580. begin
  34581. if thebits = 0 then
  34582. pTDefRegMap(@Self)^.clr := $00000002
  34583. else
  34584. pTDefRegMap(@Self)^.&set := $00000002;
  34585. end;
  34586. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  34587. begin
  34588. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34589. end;
  34590. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  34591. begin
  34592. pTDefRegMap(@Self)^.&set := $00000004;
  34593. end;
  34594. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  34595. begin
  34596. pTDefRegMap(@Self)^.clr := $00000004;
  34597. end;
  34598. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  34599. begin
  34600. if thebits = 0 then
  34601. pTDefRegMap(@Self)^.clr := $00000004
  34602. else
  34603. pTDefRegMap(@Self)^.&set := $00000004;
  34604. end;
  34605. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  34606. begin
  34607. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34608. end;
  34609. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  34610. begin
  34611. pTDefRegMap(@Self)^.&set := $00000008;
  34612. end;
  34613. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  34614. begin
  34615. pTDefRegMap(@Self)^.clr := $00000008;
  34616. end;
  34617. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  34618. begin
  34619. if thebits = 0 then
  34620. pTDefRegMap(@Self)^.clr := $00000008
  34621. else
  34622. pTDefRegMap(@Self)^.&set := $00000008;
  34623. end;
  34624. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  34625. begin
  34626. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34627. end;
  34628. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  34629. begin
  34630. pTDefRegMap(@Self)^.&set := $00000010;
  34631. end;
  34632. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  34633. begin
  34634. pTDefRegMap(@Self)^.clr := $00000010;
  34635. end;
  34636. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  34637. begin
  34638. if thebits = 0 then
  34639. pTDefRegMap(@Self)^.clr := $00000010
  34640. else
  34641. pTDefRegMap(@Self)^.&set := $00000010;
  34642. end;
  34643. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  34644. begin
  34645. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34646. end;
  34647. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  34648. begin
  34649. pTDefRegMap(@Self)^.val := thebits;
  34650. end;
  34651. function TPORTA_CNSTATA.getw : TBits_32; inline;
  34652. begin
  34653. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34654. end;
  34655. procedure TPORTB_ANSELB.setANSB0; inline;
  34656. begin
  34657. pTDefRegMap(@Self)^.&set := $00000001;
  34658. end;
  34659. procedure TPORTB_ANSELB.clearANSB0; inline;
  34660. begin
  34661. pTDefRegMap(@Self)^.clr := $00000001;
  34662. end;
  34663. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  34664. begin
  34665. if thebits = 0 then
  34666. pTDefRegMap(@Self)^.clr := $00000001
  34667. else
  34668. pTDefRegMap(@Self)^.&set := $00000001;
  34669. end;
  34670. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  34671. begin
  34672. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34673. end;
  34674. procedure TPORTB_ANSELB.setANSB1; inline;
  34675. begin
  34676. pTDefRegMap(@Self)^.&set := $00000002;
  34677. end;
  34678. procedure TPORTB_ANSELB.clearANSB1; inline;
  34679. begin
  34680. pTDefRegMap(@Self)^.clr := $00000002;
  34681. end;
  34682. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  34683. begin
  34684. if thebits = 0 then
  34685. pTDefRegMap(@Self)^.clr := $00000002
  34686. else
  34687. pTDefRegMap(@Self)^.&set := $00000002;
  34688. end;
  34689. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  34690. begin
  34691. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34692. end;
  34693. procedure TPORTB_ANSELB.setANSB2; inline;
  34694. begin
  34695. pTDefRegMap(@Self)^.&set := $00000004;
  34696. end;
  34697. procedure TPORTB_ANSELB.clearANSB2; inline;
  34698. begin
  34699. pTDefRegMap(@Self)^.clr := $00000004;
  34700. end;
  34701. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  34702. begin
  34703. if thebits = 0 then
  34704. pTDefRegMap(@Self)^.clr := $00000004
  34705. else
  34706. pTDefRegMap(@Self)^.&set := $00000004;
  34707. end;
  34708. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  34709. begin
  34710. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34711. end;
  34712. procedure TPORTB_ANSELB.setANSB3; inline;
  34713. begin
  34714. pTDefRegMap(@Self)^.&set := $00000008;
  34715. end;
  34716. procedure TPORTB_ANSELB.clearANSB3; inline;
  34717. begin
  34718. pTDefRegMap(@Self)^.clr := $00000008;
  34719. end;
  34720. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  34721. begin
  34722. if thebits = 0 then
  34723. pTDefRegMap(@Self)^.clr := $00000008
  34724. else
  34725. pTDefRegMap(@Self)^.&set := $00000008;
  34726. end;
  34727. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  34728. begin
  34729. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34730. end;
  34731. procedure TPORTB_ANSELB.setANSB13; inline;
  34732. begin
  34733. pTDefRegMap(@Self)^.&set := $00002000;
  34734. end;
  34735. procedure TPORTB_ANSELB.clearANSB13; inline;
  34736. begin
  34737. pTDefRegMap(@Self)^.clr := $00002000;
  34738. end;
  34739. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  34740. begin
  34741. if thebits = 0 then
  34742. pTDefRegMap(@Self)^.clr := $00002000
  34743. else
  34744. pTDefRegMap(@Self)^.&set := $00002000;
  34745. end;
  34746. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  34747. begin
  34748. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34749. end;
  34750. procedure TPORTB_ANSELB.setANSB14; inline;
  34751. begin
  34752. pTDefRegMap(@Self)^.&set := $00004000;
  34753. end;
  34754. procedure TPORTB_ANSELB.clearANSB14; inline;
  34755. begin
  34756. pTDefRegMap(@Self)^.clr := $00004000;
  34757. end;
  34758. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  34759. begin
  34760. if thebits = 0 then
  34761. pTDefRegMap(@Self)^.clr := $00004000
  34762. else
  34763. pTDefRegMap(@Self)^.&set := $00004000;
  34764. end;
  34765. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  34766. begin
  34767. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34768. end;
  34769. procedure TPORTB_ANSELB.setANSB15; inline;
  34770. begin
  34771. pTDefRegMap(@Self)^.&set := $00008000;
  34772. end;
  34773. procedure TPORTB_ANSELB.clearANSB15; inline;
  34774. begin
  34775. pTDefRegMap(@Self)^.clr := $00008000;
  34776. end;
  34777. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  34778. begin
  34779. if thebits = 0 then
  34780. pTDefRegMap(@Self)^.clr := $00008000
  34781. else
  34782. pTDefRegMap(@Self)^.&set := $00008000;
  34783. end;
  34784. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  34785. begin
  34786. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34787. end;
  34788. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  34789. begin
  34790. pTDefRegMap(@Self)^.val := thebits;
  34791. end;
  34792. function TPORTB_ANSELB.getw : TBits_32; inline;
  34793. begin
  34794. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34795. end;
  34796. procedure TPORTB_TRISB.setTRISB0; inline;
  34797. begin
  34798. pTDefRegMap(@Self)^.&set := $00000001;
  34799. end;
  34800. procedure TPORTB_TRISB.clearTRISB0; inline;
  34801. begin
  34802. pTDefRegMap(@Self)^.clr := $00000001;
  34803. end;
  34804. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  34805. begin
  34806. if thebits = 0 then
  34807. pTDefRegMap(@Self)^.clr := $00000001
  34808. else
  34809. pTDefRegMap(@Self)^.&set := $00000001;
  34810. end;
  34811. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  34812. begin
  34813. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34814. end;
  34815. procedure TPORTB_TRISB.setTRISB1; inline;
  34816. begin
  34817. pTDefRegMap(@Self)^.&set := $00000002;
  34818. end;
  34819. procedure TPORTB_TRISB.clearTRISB1; inline;
  34820. begin
  34821. pTDefRegMap(@Self)^.clr := $00000002;
  34822. end;
  34823. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  34824. begin
  34825. if thebits = 0 then
  34826. pTDefRegMap(@Self)^.clr := $00000002
  34827. else
  34828. pTDefRegMap(@Self)^.&set := $00000002;
  34829. end;
  34830. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  34831. begin
  34832. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34833. end;
  34834. procedure TPORTB_TRISB.setTRISB2; inline;
  34835. begin
  34836. pTDefRegMap(@Self)^.&set := $00000004;
  34837. end;
  34838. procedure TPORTB_TRISB.clearTRISB2; inline;
  34839. begin
  34840. pTDefRegMap(@Self)^.clr := $00000004;
  34841. end;
  34842. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  34843. begin
  34844. if thebits = 0 then
  34845. pTDefRegMap(@Self)^.clr := $00000004
  34846. else
  34847. pTDefRegMap(@Self)^.&set := $00000004;
  34848. end;
  34849. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  34850. begin
  34851. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34852. end;
  34853. procedure TPORTB_TRISB.setTRISB3; inline;
  34854. begin
  34855. pTDefRegMap(@Self)^.&set := $00000008;
  34856. end;
  34857. procedure TPORTB_TRISB.clearTRISB3; inline;
  34858. begin
  34859. pTDefRegMap(@Self)^.clr := $00000008;
  34860. end;
  34861. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  34862. begin
  34863. if thebits = 0 then
  34864. pTDefRegMap(@Self)^.clr := $00000008
  34865. else
  34866. pTDefRegMap(@Self)^.&set := $00000008;
  34867. end;
  34868. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  34869. begin
  34870. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34871. end;
  34872. procedure TPORTB_TRISB.setTRISB4; inline;
  34873. begin
  34874. pTDefRegMap(@Self)^.&set := $00000010;
  34875. end;
  34876. procedure TPORTB_TRISB.clearTRISB4; inline;
  34877. begin
  34878. pTDefRegMap(@Self)^.clr := $00000010;
  34879. end;
  34880. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  34881. begin
  34882. if thebits = 0 then
  34883. pTDefRegMap(@Self)^.clr := $00000010
  34884. else
  34885. pTDefRegMap(@Self)^.&set := $00000010;
  34886. end;
  34887. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  34888. begin
  34889. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34890. end;
  34891. procedure TPORTB_TRISB.setTRISB5; inline;
  34892. begin
  34893. pTDefRegMap(@Self)^.&set := $00000020;
  34894. end;
  34895. procedure TPORTB_TRISB.clearTRISB5; inline;
  34896. begin
  34897. pTDefRegMap(@Self)^.clr := $00000020;
  34898. end;
  34899. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  34900. begin
  34901. if thebits = 0 then
  34902. pTDefRegMap(@Self)^.clr := $00000020
  34903. else
  34904. pTDefRegMap(@Self)^.&set := $00000020;
  34905. end;
  34906. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  34907. begin
  34908. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34909. end;
  34910. procedure TPORTB_TRISB.setTRISB7; inline;
  34911. begin
  34912. pTDefRegMap(@Self)^.&set := $00000080;
  34913. end;
  34914. procedure TPORTB_TRISB.clearTRISB7; inline;
  34915. begin
  34916. pTDefRegMap(@Self)^.clr := $00000080;
  34917. end;
  34918. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  34919. begin
  34920. if thebits = 0 then
  34921. pTDefRegMap(@Self)^.clr := $00000080
  34922. else
  34923. pTDefRegMap(@Self)^.&set := $00000080;
  34924. end;
  34925. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  34926. begin
  34927. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34928. end;
  34929. procedure TPORTB_TRISB.setTRISB8; inline;
  34930. begin
  34931. pTDefRegMap(@Self)^.&set := $00000100;
  34932. end;
  34933. procedure TPORTB_TRISB.clearTRISB8; inline;
  34934. begin
  34935. pTDefRegMap(@Self)^.clr := $00000100;
  34936. end;
  34937. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  34938. begin
  34939. if thebits = 0 then
  34940. pTDefRegMap(@Self)^.clr := $00000100
  34941. else
  34942. pTDefRegMap(@Self)^.&set := $00000100;
  34943. end;
  34944. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  34945. begin
  34946. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34947. end;
  34948. procedure TPORTB_TRISB.setTRISB9; inline;
  34949. begin
  34950. pTDefRegMap(@Self)^.&set := $00000200;
  34951. end;
  34952. procedure TPORTB_TRISB.clearTRISB9; inline;
  34953. begin
  34954. pTDefRegMap(@Self)^.clr := $00000200;
  34955. end;
  34956. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  34957. begin
  34958. if thebits = 0 then
  34959. pTDefRegMap(@Self)^.clr := $00000200
  34960. else
  34961. pTDefRegMap(@Self)^.&set := $00000200;
  34962. end;
  34963. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  34964. begin
  34965. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34966. end;
  34967. procedure TPORTB_TRISB.setTRISB10; inline;
  34968. begin
  34969. pTDefRegMap(@Self)^.&set := $00000400;
  34970. end;
  34971. procedure TPORTB_TRISB.clearTRISB10; inline;
  34972. begin
  34973. pTDefRegMap(@Self)^.clr := $00000400;
  34974. end;
  34975. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  34976. begin
  34977. if thebits = 0 then
  34978. pTDefRegMap(@Self)^.clr := $00000400
  34979. else
  34980. pTDefRegMap(@Self)^.&set := $00000400;
  34981. end;
  34982. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  34983. begin
  34984. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34985. end;
  34986. procedure TPORTB_TRISB.setTRISB11; inline;
  34987. begin
  34988. pTDefRegMap(@Self)^.&set := $00000800;
  34989. end;
  34990. procedure TPORTB_TRISB.clearTRISB11; inline;
  34991. begin
  34992. pTDefRegMap(@Self)^.clr := $00000800;
  34993. end;
  34994. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  34995. begin
  34996. if thebits = 0 then
  34997. pTDefRegMap(@Self)^.clr := $00000800
  34998. else
  34999. pTDefRegMap(@Self)^.&set := $00000800;
  35000. end;
  35001. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  35002. begin
  35003. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35004. end;
  35005. procedure TPORTB_TRISB.setTRISB13; inline;
  35006. begin
  35007. pTDefRegMap(@Self)^.&set := $00002000;
  35008. end;
  35009. procedure TPORTB_TRISB.clearTRISB13; inline;
  35010. begin
  35011. pTDefRegMap(@Self)^.clr := $00002000;
  35012. end;
  35013. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  35014. begin
  35015. if thebits = 0 then
  35016. pTDefRegMap(@Self)^.clr := $00002000
  35017. else
  35018. pTDefRegMap(@Self)^.&set := $00002000;
  35019. end;
  35020. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  35021. begin
  35022. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35023. end;
  35024. procedure TPORTB_TRISB.setTRISB14; inline;
  35025. begin
  35026. pTDefRegMap(@Self)^.&set := $00004000;
  35027. end;
  35028. procedure TPORTB_TRISB.clearTRISB14; inline;
  35029. begin
  35030. pTDefRegMap(@Self)^.clr := $00004000;
  35031. end;
  35032. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  35033. begin
  35034. if thebits = 0 then
  35035. pTDefRegMap(@Self)^.clr := $00004000
  35036. else
  35037. pTDefRegMap(@Self)^.&set := $00004000;
  35038. end;
  35039. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  35040. begin
  35041. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35042. end;
  35043. procedure TPORTB_TRISB.setTRISB15; inline;
  35044. begin
  35045. pTDefRegMap(@Self)^.&set := $00008000;
  35046. end;
  35047. procedure TPORTB_TRISB.clearTRISB15; inline;
  35048. begin
  35049. pTDefRegMap(@Self)^.clr := $00008000;
  35050. end;
  35051. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  35052. begin
  35053. if thebits = 0 then
  35054. pTDefRegMap(@Self)^.clr := $00008000
  35055. else
  35056. pTDefRegMap(@Self)^.&set := $00008000;
  35057. end;
  35058. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  35059. begin
  35060. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35061. end;
  35062. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  35063. begin
  35064. pTDefRegMap(@Self)^.val := thebits;
  35065. end;
  35066. function TPORTB_TRISB.getw : TBits_32; inline;
  35067. begin
  35068. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35069. end;
  35070. procedure TPORTB_PORTB.setRB0; inline;
  35071. begin
  35072. pTDefRegMap(@Self)^.&set := $00000001;
  35073. end;
  35074. procedure TPORTB_PORTB.clearRB0; inline;
  35075. begin
  35076. pTDefRegMap(@Self)^.clr := $00000001;
  35077. end;
  35078. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  35079. begin
  35080. if thebits = 0 then
  35081. pTDefRegMap(@Self)^.clr := $00000001
  35082. else
  35083. pTDefRegMap(@Self)^.&set := $00000001;
  35084. end;
  35085. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  35086. begin
  35087. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35088. end;
  35089. procedure TPORTB_PORTB.setRB1; inline;
  35090. begin
  35091. pTDefRegMap(@Self)^.&set := $00000002;
  35092. end;
  35093. procedure TPORTB_PORTB.clearRB1; inline;
  35094. begin
  35095. pTDefRegMap(@Self)^.clr := $00000002;
  35096. end;
  35097. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  35098. begin
  35099. if thebits = 0 then
  35100. pTDefRegMap(@Self)^.clr := $00000002
  35101. else
  35102. pTDefRegMap(@Self)^.&set := $00000002;
  35103. end;
  35104. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  35105. begin
  35106. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35107. end;
  35108. procedure TPORTB_PORTB.setRB2; inline;
  35109. begin
  35110. pTDefRegMap(@Self)^.&set := $00000004;
  35111. end;
  35112. procedure TPORTB_PORTB.clearRB2; inline;
  35113. begin
  35114. pTDefRegMap(@Self)^.clr := $00000004;
  35115. end;
  35116. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  35117. begin
  35118. if thebits = 0 then
  35119. pTDefRegMap(@Self)^.clr := $00000004
  35120. else
  35121. pTDefRegMap(@Self)^.&set := $00000004;
  35122. end;
  35123. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  35124. begin
  35125. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35126. end;
  35127. procedure TPORTB_PORTB.setRB3; inline;
  35128. begin
  35129. pTDefRegMap(@Self)^.&set := $00000008;
  35130. end;
  35131. procedure TPORTB_PORTB.clearRB3; inline;
  35132. begin
  35133. pTDefRegMap(@Self)^.clr := $00000008;
  35134. end;
  35135. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  35136. begin
  35137. if thebits = 0 then
  35138. pTDefRegMap(@Self)^.clr := $00000008
  35139. else
  35140. pTDefRegMap(@Self)^.&set := $00000008;
  35141. end;
  35142. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  35143. begin
  35144. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35145. end;
  35146. procedure TPORTB_PORTB.setRB4; inline;
  35147. begin
  35148. pTDefRegMap(@Self)^.&set := $00000010;
  35149. end;
  35150. procedure TPORTB_PORTB.clearRB4; inline;
  35151. begin
  35152. pTDefRegMap(@Self)^.clr := $00000010;
  35153. end;
  35154. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  35155. begin
  35156. if thebits = 0 then
  35157. pTDefRegMap(@Self)^.clr := $00000010
  35158. else
  35159. pTDefRegMap(@Self)^.&set := $00000010;
  35160. end;
  35161. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  35162. begin
  35163. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35164. end;
  35165. procedure TPORTB_PORTB.setRB5; inline;
  35166. begin
  35167. pTDefRegMap(@Self)^.&set := $00000020;
  35168. end;
  35169. procedure TPORTB_PORTB.clearRB5; inline;
  35170. begin
  35171. pTDefRegMap(@Self)^.clr := $00000020;
  35172. end;
  35173. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  35174. begin
  35175. if thebits = 0 then
  35176. pTDefRegMap(@Self)^.clr := $00000020
  35177. else
  35178. pTDefRegMap(@Self)^.&set := $00000020;
  35179. end;
  35180. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  35181. begin
  35182. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35183. end;
  35184. procedure TPORTB_PORTB.setRB7; inline;
  35185. begin
  35186. pTDefRegMap(@Self)^.&set := $00000080;
  35187. end;
  35188. procedure TPORTB_PORTB.clearRB7; inline;
  35189. begin
  35190. pTDefRegMap(@Self)^.clr := $00000080;
  35191. end;
  35192. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  35193. begin
  35194. if thebits = 0 then
  35195. pTDefRegMap(@Self)^.clr := $00000080
  35196. else
  35197. pTDefRegMap(@Self)^.&set := $00000080;
  35198. end;
  35199. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  35200. begin
  35201. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35202. end;
  35203. procedure TPORTB_PORTB.setRB8; inline;
  35204. begin
  35205. pTDefRegMap(@Self)^.&set := $00000100;
  35206. end;
  35207. procedure TPORTB_PORTB.clearRB8; inline;
  35208. begin
  35209. pTDefRegMap(@Self)^.clr := $00000100;
  35210. end;
  35211. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  35212. begin
  35213. if thebits = 0 then
  35214. pTDefRegMap(@Self)^.clr := $00000100
  35215. else
  35216. pTDefRegMap(@Self)^.&set := $00000100;
  35217. end;
  35218. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  35219. begin
  35220. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35221. end;
  35222. procedure TPORTB_PORTB.setRB9; inline;
  35223. begin
  35224. pTDefRegMap(@Self)^.&set := $00000200;
  35225. end;
  35226. procedure TPORTB_PORTB.clearRB9; inline;
  35227. begin
  35228. pTDefRegMap(@Self)^.clr := $00000200;
  35229. end;
  35230. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  35231. begin
  35232. if thebits = 0 then
  35233. pTDefRegMap(@Self)^.clr := $00000200
  35234. else
  35235. pTDefRegMap(@Self)^.&set := $00000200;
  35236. end;
  35237. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  35238. begin
  35239. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35240. end;
  35241. procedure TPORTB_PORTB.setRB10; inline;
  35242. begin
  35243. pTDefRegMap(@Self)^.&set := $00000400;
  35244. end;
  35245. procedure TPORTB_PORTB.clearRB10; inline;
  35246. begin
  35247. pTDefRegMap(@Self)^.clr := $00000400;
  35248. end;
  35249. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  35250. begin
  35251. if thebits = 0 then
  35252. pTDefRegMap(@Self)^.clr := $00000400
  35253. else
  35254. pTDefRegMap(@Self)^.&set := $00000400;
  35255. end;
  35256. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  35257. begin
  35258. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35259. end;
  35260. procedure TPORTB_PORTB.setRB11; inline;
  35261. begin
  35262. pTDefRegMap(@Self)^.&set := $00000800;
  35263. end;
  35264. procedure TPORTB_PORTB.clearRB11; inline;
  35265. begin
  35266. pTDefRegMap(@Self)^.clr := $00000800;
  35267. end;
  35268. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  35269. begin
  35270. if thebits = 0 then
  35271. pTDefRegMap(@Self)^.clr := $00000800
  35272. else
  35273. pTDefRegMap(@Self)^.&set := $00000800;
  35274. end;
  35275. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  35276. begin
  35277. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35278. end;
  35279. procedure TPORTB_PORTB.setRB13; inline;
  35280. begin
  35281. pTDefRegMap(@Self)^.&set := $00002000;
  35282. end;
  35283. procedure TPORTB_PORTB.clearRB13; inline;
  35284. begin
  35285. pTDefRegMap(@Self)^.clr := $00002000;
  35286. end;
  35287. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  35288. begin
  35289. if thebits = 0 then
  35290. pTDefRegMap(@Self)^.clr := $00002000
  35291. else
  35292. pTDefRegMap(@Self)^.&set := $00002000;
  35293. end;
  35294. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  35295. begin
  35296. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35297. end;
  35298. procedure TPORTB_PORTB.setRB14; inline;
  35299. begin
  35300. pTDefRegMap(@Self)^.&set := $00004000;
  35301. end;
  35302. procedure TPORTB_PORTB.clearRB14; inline;
  35303. begin
  35304. pTDefRegMap(@Self)^.clr := $00004000;
  35305. end;
  35306. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  35307. begin
  35308. if thebits = 0 then
  35309. pTDefRegMap(@Self)^.clr := $00004000
  35310. else
  35311. pTDefRegMap(@Self)^.&set := $00004000;
  35312. end;
  35313. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  35314. begin
  35315. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35316. end;
  35317. procedure TPORTB_PORTB.setRB15; inline;
  35318. begin
  35319. pTDefRegMap(@Self)^.&set := $00008000;
  35320. end;
  35321. procedure TPORTB_PORTB.clearRB15; inline;
  35322. begin
  35323. pTDefRegMap(@Self)^.clr := $00008000;
  35324. end;
  35325. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  35326. begin
  35327. if thebits = 0 then
  35328. pTDefRegMap(@Self)^.clr := $00008000
  35329. else
  35330. pTDefRegMap(@Self)^.&set := $00008000;
  35331. end;
  35332. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  35333. begin
  35334. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35335. end;
  35336. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  35337. begin
  35338. pTDefRegMap(@Self)^.val := thebits;
  35339. end;
  35340. function TPORTB_PORTB.getw : TBits_32; inline;
  35341. begin
  35342. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35343. end;
  35344. procedure TPORTB_LATB.setLATB0; inline;
  35345. begin
  35346. pTDefRegMap(@Self)^.&set := $00000001;
  35347. end;
  35348. procedure TPORTB_LATB.clearLATB0; inline;
  35349. begin
  35350. pTDefRegMap(@Self)^.clr := $00000001;
  35351. end;
  35352. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  35353. begin
  35354. if thebits = 0 then
  35355. pTDefRegMap(@Self)^.clr := $00000001
  35356. else
  35357. pTDefRegMap(@Self)^.&set := $00000001;
  35358. end;
  35359. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  35360. begin
  35361. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35362. end;
  35363. procedure TPORTB_LATB.setLATB1; inline;
  35364. begin
  35365. pTDefRegMap(@Self)^.&set := $00000002;
  35366. end;
  35367. procedure TPORTB_LATB.clearLATB1; inline;
  35368. begin
  35369. pTDefRegMap(@Self)^.clr := $00000002;
  35370. end;
  35371. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  35372. begin
  35373. if thebits = 0 then
  35374. pTDefRegMap(@Self)^.clr := $00000002
  35375. else
  35376. pTDefRegMap(@Self)^.&set := $00000002;
  35377. end;
  35378. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  35379. begin
  35380. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35381. end;
  35382. procedure TPORTB_LATB.setLATB2; inline;
  35383. begin
  35384. pTDefRegMap(@Self)^.&set := $00000004;
  35385. end;
  35386. procedure TPORTB_LATB.clearLATB2; inline;
  35387. begin
  35388. pTDefRegMap(@Self)^.clr := $00000004;
  35389. end;
  35390. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  35391. begin
  35392. if thebits = 0 then
  35393. pTDefRegMap(@Self)^.clr := $00000004
  35394. else
  35395. pTDefRegMap(@Self)^.&set := $00000004;
  35396. end;
  35397. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  35398. begin
  35399. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35400. end;
  35401. procedure TPORTB_LATB.setLATB3; inline;
  35402. begin
  35403. pTDefRegMap(@Self)^.&set := $00000008;
  35404. end;
  35405. procedure TPORTB_LATB.clearLATB3; inline;
  35406. begin
  35407. pTDefRegMap(@Self)^.clr := $00000008;
  35408. end;
  35409. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  35410. begin
  35411. if thebits = 0 then
  35412. pTDefRegMap(@Self)^.clr := $00000008
  35413. else
  35414. pTDefRegMap(@Self)^.&set := $00000008;
  35415. end;
  35416. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  35417. begin
  35418. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35419. end;
  35420. procedure TPORTB_LATB.setLATB4; inline;
  35421. begin
  35422. pTDefRegMap(@Self)^.&set := $00000010;
  35423. end;
  35424. procedure TPORTB_LATB.clearLATB4; inline;
  35425. begin
  35426. pTDefRegMap(@Self)^.clr := $00000010;
  35427. end;
  35428. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  35429. begin
  35430. if thebits = 0 then
  35431. pTDefRegMap(@Self)^.clr := $00000010
  35432. else
  35433. pTDefRegMap(@Self)^.&set := $00000010;
  35434. end;
  35435. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  35436. begin
  35437. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35438. end;
  35439. procedure TPORTB_LATB.setLATB5; inline;
  35440. begin
  35441. pTDefRegMap(@Self)^.&set := $00000020;
  35442. end;
  35443. procedure TPORTB_LATB.clearLATB5; inline;
  35444. begin
  35445. pTDefRegMap(@Self)^.clr := $00000020;
  35446. end;
  35447. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  35448. begin
  35449. if thebits = 0 then
  35450. pTDefRegMap(@Self)^.clr := $00000020
  35451. else
  35452. pTDefRegMap(@Self)^.&set := $00000020;
  35453. end;
  35454. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  35455. begin
  35456. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35457. end;
  35458. procedure TPORTB_LATB.setLATB7; inline;
  35459. begin
  35460. pTDefRegMap(@Self)^.&set := $00000080;
  35461. end;
  35462. procedure TPORTB_LATB.clearLATB7; inline;
  35463. begin
  35464. pTDefRegMap(@Self)^.clr := $00000080;
  35465. end;
  35466. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  35467. begin
  35468. if thebits = 0 then
  35469. pTDefRegMap(@Self)^.clr := $00000080
  35470. else
  35471. pTDefRegMap(@Self)^.&set := $00000080;
  35472. end;
  35473. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  35474. begin
  35475. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35476. end;
  35477. procedure TPORTB_LATB.setLATB8; inline;
  35478. begin
  35479. pTDefRegMap(@Self)^.&set := $00000100;
  35480. end;
  35481. procedure TPORTB_LATB.clearLATB8; inline;
  35482. begin
  35483. pTDefRegMap(@Self)^.clr := $00000100;
  35484. end;
  35485. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  35486. begin
  35487. if thebits = 0 then
  35488. pTDefRegMap(@Self)^.clr := $00000100
  35489. else
  35490. pTDefRegMap(@Self)^.&set := $00000100;
  35491. end;
  35492. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  35493. begin
  35494. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35495. end;
  35496. procedure TPORTB_LATB.setLATB9; inline;
  35497. begin
  35498. pTDefRegMap(@Self)^.&set := $00000200;
  35499. end;
  35500. procedure TPORTB_LATB.clearLATB9; inline;
  35501. begin
  35502. pTDefRegMap(@Self)^.clr := $00000200;
  35503. end;
  35504. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  35505. begin
  35506. if thebits = 0 then
  35507. pTDefRegMap(@Self)^.clr := $00000200
  35508. else
  35509. pTDefRegMap(@Self)^.&set := $00000200;
  35510. end;
  35511. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  35512. begin
  35513. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35514. end;
  35515. procedure TPORTB_LATB.setLATB10; inline;
  35516. begin
  35517. pTDefRegMap(@Self)^.&set := $00000400;
  35518. end;
  35519. procedure TPORTB_LATB.clearLATB10; inline;
  35520. begin
  35521. pTDefRegMap(@Self)^.clr := $00000400;
  35522. end;
  35523. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  35524. begin
  35525. if thebits = 0 then
  35526. pTDefRegMap(@Self)^.clr := $00000400
  35527. else
  35528. pTDefRegMap(@Self)^.&set := $00000400;
  35529. end;
  35530. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  35531. begin
  35532. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35533. end;
  35534. procedure TPORTB_LATB.setLATB11; inline;
  35535. begin
  35536. pTDefRegMap(@Self)^.&set := $00000800;
  35537. end;
  35538. procedure TPORTB_LATB.clearLATB11; inline;
  35539. begin
  35540. pTDefRegMap(@Self)^.clr := $00000800;
  35541. end;
  35542. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  35543. begin
  35544. if thebits = 0 then
  35545. pTDefRegMap(@Self)^.clr := $00000800
  35546. else
  35547. pTDefRegMap(@Self)^.&set := $00000800;
  35548. end;
  35549. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  35550. begin
  35551. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35552. end;
  35553. procedure TPORTB_LATB.setLATB13; inline;
  35554. begin
  35555. pTDefRegMap(@Self)^.&set := $00002000;
  35556. end;
  35557. procedure TPORTB_LATB.clearLATB13; inline;
  35558. begin
  35559. pTDefRegMap(@Self)^.clr := $00002000;
  35560. end;
  35561. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  35562. begin
  35563. if thebits = 0 then
  35564. pTDefRegMap(@Self)^.clr := $00002000
  35565. else
  35566. pTDefRegMap(@Self)^.&set := $00002000;
  35567. end;
  35568. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  35569. begin
  35570. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35571. end;
  35572. procedure TPORTB_LATB.setLATB14; inline;
  35573. begin
  35574. pTDefRegMap(@Self)^.&set := $00004000;
  35575. end;
  35576. procedure TPORTB_LATB.clearLATB14; inline;
  35577. begin
  35578. pTDefRegMap(@Self)^.clr := $00004000;
  35579. end;
  35580. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  35581. begin
  35582. if thebits = 0 then
  35583. pTDefRegMap(@Self)^.clr := $00004000
  35584. else
  35585. pTDefRegMap(@Self)^.&set := $00004000;
  35586. end;
  35587. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  35588. begin
  35589. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35590. end;
  35591. procedure TPORTB_LATB.setLATB15; inline;
  35592. begin
  35593. pTDefRegMap(@Self)^.&set := $00008000;
  35594. end;
  35595. procedure TPORTB_LATB.clearLATB15; inline;
  35596. begin
  35597. pTDefRegMap(@Self)^.clr := $00008000;
  35598. end;
  35599. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  35600. begin
  35601. if thebits = 0 then
  35602. pTDefRegMap(@Self)^.clr := $00008000
  35603. else
  35604. pTDefRegMap(@Self)^.&set := $00008000;
  35605. end;
  35606. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  35607. begin
  35608. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35609. end;
  35610. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  35611. begin
  35612. pTDefRegMap(@Self)^.val := thebits;
  35613. end;
  35614. function TPORTB_LATB.getw : TBits_32; inline;
  35615. begin
  35616. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35617. end;
  35618. procedure TPORTB_ODCB.setODCB4; inline;
  35619. begin
  35620. pTDefRegMap(@Self)^.&set := $00000010;
  35621. end;
  35622. procedure TPORTB_ODCB.clearODCB4; inline;
  35623. begin
  35624. pTDefRegMap(@Self)^.clr := $00000010;
  35625. end;
  35626. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  35627. begin
  35628. if thebits = 0 then
  35629. pTDefRegMap(@Self)^.clr := $00000010
  35630. else
  35631. pTDefRegMap(@Self)^.&set := $00000010;
  35632. end;
  35633. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  35634. begin
  35635. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35636. end;
  35637. procedure TPORTB_ODCB.setODCB5; inline;
  35638. begin
  35639. pTDefRegMap(@Self)^.&set := $00000020;
  35640. end;
  35641. procedure TPORTB_ODCB.clearODCB5; inline;
  35642. begin
  35643. pTDefRegMap(@Self)^.clr := $00000020;
  35644. end;
  35645. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  35646. begin
  35647. if thebits = 0 then
  35648. pTDefRegMap(@Self)^.clr := $00000020
  35649. else
  35650. pTDefRegMap(@Self)^.&set := $00000020;
  35651. end;
  35652. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  35653. begin
  35654. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35655. end;
  35656. procedure TPORTB_ODCB.setODCB7; inline;
  35657. begin
  35658. pTDefRegMap(@Self)^.&set := $00000080;
  35659. end;
  35660. procedure TPORTB_ODCB.clearODCB7; inline;
  35661. begin
  35662. pTDefRegMap(@Self)^.clr := $00000080;
  35663. end;
  35664. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  35665. begin
  35666. if thebits = 0 then
  35667. pTDefRegMap(@Self)^.clr := $00000080
  35668. else
  35669. pTDefRegMap(@Self)^.&set := $00000080;
  35670. end;
  35671. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  35672. begin
  35673. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35674. end;
  35675. procedure TPORTB_ODCB.setODCB8; inline;
  35676. begin
  35677. pTDefRegMap(@Self)^.&set := $00000100;
  35678. end;
  35679. procedure TPORTB_ODCB.clearODCB8; inline;
  35680. begin
  35681. pTDefRegMap(@Self)^.clr := $00000100;
  35682. end;
  35683. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  35684. begin
  35685. if thebits = 0 then
  35686. pTDefRegMap(@Self)^.clr := $00000100
  35687. else
  35688. pTDefRegMap(@Self)^.&set := $00000100;
  35689. end;
  35690. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  35691. begin
  35692. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35693. end;
  35694. procedure TPORTB_ODCB.setODCB9; inline;
  35695. begin
  35696. pTDefRegMap(@Self)^.&set := $00000200;
  35697. end;
  35698. procedure TPORTB_ODCB.clearODCB9; inline;
  35699. begin
  35700. pTDefRegMap(@Self)^.clr := $00000200;
  35701. end;
  35702. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  35703. begin
  35704. if thebits = 0 then
  35705. pTDefRegMap(@Self)^.clr := $00000200
  35706. else
  35707. pTDefRegMap(@Self)^.&set := $00000200;
  35708. end;
  35709. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  35710. begin
  35711. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35712. end;
  35713. procedure TPORTB_ODCB.setODCB10; inline;
  35714. begin
  35715. pTDefRegMap(@Self)^.&set := $00000400;
  35716. end;
  35717. procedure TPORTB_ODCB.clearODCB10; inline;
  35718. begin
  35719. pTDefRegMap(@Self)^.clr := $00000400;
  35720. end;
  35721. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  35722. begin
  35723. if thebits = 0 then
  35724. pTDefRegMap(@Self)^.clr := $00000400
  35725. else
  35726. pTDefRegMap(@Self)^.&set := $00000400;
  35727. end;
  35728. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  35729. begin
  35730. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35731. end;
  35732. procedure TPORTB_ODCB.setODCB11; inline;
  35733. begin
  35734. pTDefRegMap(@Self)^.&set := $00000800;
  35735. end;
  35736. procedure TPORTB_ODCB.clearODCB11; inline;
  35737. begin
  35738. pTDefRegMap(@Self)^.clr := $00000800;
  35739. end;
  35740. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  35741. begin
  35742. if thebits = 0 then
  35743. pTDefRegMap(@Self)^.clr := $00000800
  35744. else
  35745. pTDefRegMap(@Self)^.&set := $00000800;
  35746. end;
  35747. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  35748. begin
  35749. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35750. end;
  35751. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  35752. begin
  35753. pTDefRegMap(@Self)^.val := thebits;
  35754. end;
  35755. function TPORTB_ODCB.getw : TBits_32; inline;
  35756. begin
  35757. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35758. end;
  35759. procedure TPORTB_CNPUB.setCNPUB0; inline;
  35760. begin
  35761. pTDefRegMap(@Self)^.&set := $00000001;
  35762. end;
  35763. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  35764. begin
  35765. pTDefRegMap(@Self)^.clr := $00000001;
  35766. end;
  35767. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  35768. begin
  35769. if thebits = 0 then
  35770. pTDefRegMap(@Self)^.clr := $00000001
  35771. else
  35772. pTDefRegMap(@Self)^.&set := $00000001;
  35773. end;
  35774. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  35775. begin
  35776. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35777. end;
  35778. procedure TPORTB_CNPUB.setCNPUB1; inline;
  35779. begin
  35780. pTDefRegMap(@Self)^.&set := $00000002;
  35781. end;
  35782. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  35783. begin
  35784. pTDefRegMap(@Self)^.clr := $00000002;
  35785. end;
  35786. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  35787. begin
  35788. if thebits = 0 then
  35789. pTDefRegMap(@Self)^.clr := $00000002
  35790. else
  35791. pTDefRegMap(@Self)^.&set := $00000002;
  35792. end;
  35793. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  35794. begin
  35795. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35796. end;
  35797. procedure TPORTB_CNPUB.setCNPUB2; inline;
  35798. begin
  35799. pTDefRegMap(@Self)^.&set := $00000004;
  35800. end;
  35801. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  35802. begin
  35803. pTDefRegMap(@Self)^.clr := $00000004;
  35804. end;
  35805. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  35806. begin
  35807. if thebits = 0 then
  35808. pTDefRegMap(@Self)^.clr := $00000004
  35809. else
  35810. pTDefRegMap(@Self)^.&set := $00000004;
  35811. end;
  35812. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  35813. begin
  35814. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35815. end;
  35816. procedure TPORTB_CNPUB.setCNPUB3; inline;
  35817. begin
  35818. pTDefRegMap(@Self)^.&set := $00000008;
  35819. end;
  35820. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  35821. begin
  35822. pTDefRegMap(@Self)^.clr := $00000008;
  35823. end;
  35824. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  35825. begin
  35826. if thebits = 0 then
  35827. pTDefRegMap(@Self)^.clr := $00000008
  35828. else
  35829. pTDefRegMap(@Self)^.&set := $00000008;
  35830. end;
  35831. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  35832. begin
  35833. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35834. end;
  35835. procedure TPORTB_CNPUB.setCNPUB4; inline;
  35836. begin
  35837. pTDefRegMap(@Self)^.&set := $00000010;
  35838. end;
  35839. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  35840. begin
  35841. pTDefRegMap(@Self)^.clr := $00000010;
  35842. end;
  35843. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  35844. begin
  35845. if thebits = 0 then
  35846. pTDefRegMap(@Self)^.clr := $00000010
  35847. else
  35848. pTDefRegMap(@Self)^.&set := $00000010;
  35849. end;
  35850. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  35851. begin
  35852. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35853. end;
  35854. procedure TPORTB_CNPUB.setCNPUB5; inline;
  35855. begin
  35856. pTDefRegMap(@Self)^.&set := $00000020;
  35857. end;
  35858. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  35859. begin
  35860. pTDefRegMap(@Self)^.clr := $00000020;
  35861. end;
  35862. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  35863. begin
  35864. if thebits = 0 then
  35865. pTDefRegMap(@Self)^.clr := $00000020
  35866. else
  35867. pTDefRegMap(@Self)^.&set := $00000020;
  35868. end;
  35869. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  35870. begin
  35871. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35872. end;
  35873. procedure TPORTB_CNPUB.setCNPUB7; inline;
  35874. begin
  35875. pTDefRegMap(@Self)^.&set := $00000080;
  35876. end;
  35877. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  35878. begin
  35879. pTDefRegMap(@Self)^.clr := $00000080;
  35880. end;
  35881. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  35882. begin
  35883. if thebits = 0 then
  35884. pTDefRegMap(@Self)^.clr := $00000080
  35885. else
  35886. pTDefRegMap(@Self)^.&set := $00000080;
  35887. end;
  35888. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  35889. begin
  35890. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35891. end;
  35892. procedure TPORTB_CNPUB.setCNPUB8; inline;
  35893. begin
  35894. pTDefRegMap(@Self)^.&set := $00000100;
  35895. end;
  35896. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  35897. begin
  35898. pTDefRegMap(@Self)^.clr := $00000100;
  35899. end;
  35900. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  35901. begin
  35902. if thebits = 0 then
  35903. pTDefRegMap(@Self)^.clr := $00000100
  35904. else
  35905. pTDefRegMap(@Self)^.&set := $00000100;
  35906. end;
  35907. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  35908. begin
  35909. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35910. end;
  35911. procedure TPORTB_CNPUB.setCNPUB9; inline;
  35912. begin
  35913. pTDefRegMap(@Self)^.&set := $00000200;
  35914. end;
  35915. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  35916. begin
  35917. pTDefRegMap(@Self)^.clr := $00000200;
  35918. end;
  35919. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  35920. begin
  35921. if thebits = 0 then
  35922. pTDefRegMap(@Self)^.clr := $00000200
  35923. else
  35924. pTDefRegMap(@Self)^.&set := $00000200;
  35925. end;
  35926. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  35927. begin
  35928. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35929. end;
  35930. procedure TPORTB_CNPUB.setCNPUB10; inline;
  35931. begin
  35932. pTDefRegMap(@Self)^.&set := $00000400;
  35933. end;
  35934. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  35935. begin
  35936. pTDefRegMap(@Self)^.clr := $00000400;
  35937. end;
  35938. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  35939. begin
  35940. if thebits = 0 then
  35941. pTDefRegMap(@Self)^.clr := $00000400
  35942. else
  35943. pTDefRegMap(@Self)^.&set := $00000400;
  35944. end;
  35945. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  35946. begin
  35947. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35948. end;
  35949. procedure TPORTB_CNPUB.setCNPUB11; inline;
  35950. begin
  35951. pTDefRegMap(@Self)^.&set := $00000800;
  35952. end;
  35953. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  35954. begin
  35955. pTDefRegMap(@Self)^.clr := $00000800;
  35956. end;
  35957. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  35958. begin
  35959. if thebits = 0 then
  35960. pTDefRegMap(@Self)^.clr := $00000800
  35961. else
  35962. pTDefRegMap(@Self)^.&set := $00000800;
  35963. end;
  35964. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  35965. begin
  35966. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35967. end;
  35968. procedure TPORTB_CNPUB.setCNPUB13; inline;
  35969. begin
  35970. pTDefRegMap(@Self)^.&set := $00002000;
  35971. end;
  35972. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  35973. begin
  35974. pTDefRegMap(@Self)^.clr := $00002000;
  35975. end;
  35976. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  35977. begin
  35978. if thebits = 0 then
  35979. pTDefRegMap(@Self)^.clr := $00002000
  35980. else
  35981. pTDefRegMap(@Self)^.&set := $00002000;
  35982. end;
  35983. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  35984. begin
  35985. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35986. end;
  35987. procedure TPORTB_CNPUB.setCNPUB14; inline;
  35988. begin
  35989. pTDefRegMap(@Self)^.&set := $00004000;
  35990. end;
  35991. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  35992. begin
  35993. pTDefRegMap(@Self)^.clr := $00004000;
  35994. end;
  35995. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  35996. begin
  35997. if thebits = 0 then
  35998. pTDefRegMap(@Self)^.clr := $00004000
  35999. else
  36000. pTDefRegMap(@Self)^.&set := $00004000;
  36001. end;
  36002. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  36003. begin
  36004. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36005. end;
  36006. procedure TPORTB_CNPUB.setCNPUB15; inline;
  36007. begin
  36008. pTDefRegMap(@Self)^.&set := $00008000;
  36009. end;
  36010. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  36011. begin
  36012. pTDefRegMap(@Self)^.clr := $00008000;
  36013. end;
  36014. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  36015. begin
  36016. if thebits = 0 then
  36017. pTDefRegMap(@Self)^.clr := $00008000
  36018. else
  36019. pTDefRegMap(@Self)^.&set := $00008000;
  36020. end;
  36021. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  36022. begin
  36023. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36024. end;
  36025. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  36026. begin
  36027. pTDefRegMap(@Self)^.val := thebits;
  36028. end;
  36029. function TPORTB_CNPUB.getw : TBits_32; inline;
  36030. begin
  36031. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36032. end;
  36033. procedure TPORTB_CNPDB.setCNPDB0; inline;
  36034. begin
  36035. pTDefRegMap(@Self)^.&set := $00000001;
  36036. end;
  36037. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  36038. begin
  36039. pTDefRegMap(@Self)^.clr := $00000001;
  36040. end;
  36041. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  36042. begin
  36043. if thebits = 0 then
  36044. pTDefRegMap(@Self)^.clr := $00000001
  36045. else
  36046. pTDefRegMap(@Self)^.&set := $00000001;
  36047. end;
  36048. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  36049. begin
  36050. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36051. end;
  36052. procedure TPORTB_CNPDB.setCNPDB1; inline;
  36053. begin
  36054. pTDefRegMap(@Self)^.&set := $00000002;
  36055. end;
  36056. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  36057. begin
  36058. pTDefRegMap(@Self)^.clr := $00000002;
  36059. end;
  36060. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  36061. begin
  36062. if thebits = 0 then
  36063. pTDefRegMap(@Self)^.clr := $00000002
  36064. else
  36065. pTDefRegMap(@Self)^.&set := $00000002;
  36066. end;
  36067. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  36068. begin
  36069. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36070. end;
  36071. procedure TPORTB_CNPDB.setCNPDB2; inline;
  36072. begin
  36073. pTDefRegMap(@Self)^.&set := $00000004;
  36074. end;
  36075. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  36076. begin
  36077. pTDefRegMap(@Self)^.clr := $00000004;
  36078. end;
  36079. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  36080. begin
  36081. if thebits = 0 then
  36082. pTDefRegMap(@Self)^.clr := $00000004
  36083. else
  36084. pTDefRegMap(@Self)^.&set := $00000004;
  36085. end;
  36086. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  36087. begin
  36088. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36089. end;
  36090. procedure TPORTB_CNPDB.setCNPDB3; inline;
  36091. begin
  36092. pTDefRegMap(@Self)^.&set := $00000008;
  36093. end;
  36094. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  36095. begin
  36096. pTDefRegMap(@Self)^.clr := $00000008;
  36097. end;
  36098. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  36099. begin
  36100. if thebits = 0 then
  36101. pTDefRegMap(@Self)^.clr := $00000008
  36102. else
  36103. pTDefRegMap(@Self)^.&set := $00000008;
  36104. end;
  36105. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  36106. begin
  36107. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36108. end;
  36109. procedure TPORTB_CNPDB.setCNPDB4; inline;
  36110. begin
  36111. pTDefRegMap(@Self)^.&set := $00000010;
  36112. end;
  36113. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  36114. begin
  36115. pTDefRegMap(@Self)^.clr := $00000010;
  36116. end;
  36117. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  36118. begin
  36119. if thebits = 0 then
  36120. pTDefRegMap(@Self)^.clr := $00000010
  36121. else
  36122. pTDefRegMap(@Self)^.&set := $00000010;
  36123. end;
  36124. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  36125. begin
  36126. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36127. end;
  36128. procedure TPORTB_CNPDB.setCNPDB5; inline;
  36129. begin
  36130. pTDefRegMap(@Self)^.&set := $00000020;
  36131. end;
  36132. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  36133. begin
  36134. pTDefRegMap(@Self)^.clr := $00000020;
  36135. end;
  36136. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  36137. begin
  36138. if thebits = 0 then
  36139. pTDefRegMap(@Self)^.clr := $00000020
  36140. else
  36141. pTDefRegMap(@Self)^.&set := $00000020;
  36142. end;
  36143. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  36144. begin
  36145. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36146. end;
  36147. procedure TPORTB_CNPDB.setCNPDB7; inline;
  36148. begin
  36149. pTDefRegMap(@Self)^.&set := $00000080;
  36150. end;
  36151. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  36152. begin
  36153. pTDefRegMap(@Self)^.clr := $00000080;
  36154. end;
  36155. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  36156. begin
  36157. if thebits = 0 then
  36158. pTDefRegMap(@Self)^.clr := $00000080
  36159. else
  36160. pTDefRegMap(@Self)^.&set := $00000080;
  36161. end;
  36162. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  36163. begin
  36164. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36165. end;
  36166. procedure TPORTB_CNPDB.setCNPDB8; inline;
  36167. begin
  36168. pTDefRegMap(@Self)^.&set := $00000100;
  36169. end;
  36170. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  36171. begin
  36172. pTDefRegMap(@Self)^.clr := $00000100;
  36173. end;
  36174. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  36175. begin
  36176. if thebits = 0 then
  36177. pTDefRegMap(@Self)^.clr := $00000100
  36178. else
  36179. pTDefRegMap(@Self)^.&set := $00000100;
  36180. end;
  36181. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  36182. begin
  36183. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36184. end;
  36185. procedure TPORTB_CNPDB.setCNPDB9; inline;
  36186. begin
  36187. pTDefRegMap(@Self)^.&set := $00000200;
  36188. end;
  36189. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  36190. begin
  36191. pTDefRegMap(@Self)^.clr := $00000200;
  36192. end;
  36193. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  36194. begin
  36195. if thebits = 0 then
  36196. pTDefRegMap(@Self)^.clr := $00000200
  36197. else
  36198. pTDefRegMap(@Self)^.&set := $00000200;
  36199. end;
  36200. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  36201. begin
  36202. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36203. end;
  36204. procedure TPORTB_CNPDB.setCNPDB10; inline;
  36205. begin
  36206. pTDefRegMap(@Self)^.&set := $00000400;
  36207. end;
  36208. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  36209. begin
  36210. pTDefRegMap(@Self)^.clr := $00000400;
  36211. end;
  36212. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  36213. begin
  36214. if thebits = 0 then
  36215. pTDefRegMap(@Self)^.clr := $00000400
  36216. else
  36217. pTDefRegMap(@Self)^.&set := $00000400;
  36218. end;
  36219. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  36220. begin
  36221. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36222. end;
  36223. procedure TPORTB_CNPDB.setCNPDB11; inline;
  36224. begin
  36225. pTDefRegMap(@Self)^.&set := $00000800;
  36226. end;
  36227. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  36228. begin
  36229. pTDefRegMap(@Self)^.clr := $00000800;
  36230. end;
  36231. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  36232. begin
  36233. if thebits = 0 then
  36234. pTDefRegMap(@Self)^.clr := $00000800
  36235. else
  36236. pTDefRegMap(@Self)^.&set := $00000800;
  36237. end;
  36238. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  36239. begin
  36240. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36241. end;
  36242. procedure TPORTB_CNPDB.setCNPDB13; inline;
  36243. begin
  36244. pTDefRegMap(@Self)^.&set := $00002000;
  36245. end;
  36246. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  36247. begin
  36248. pTDefRegMap(@Self)^.clr := $00002000;
  36249. end;
  36250. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  36251. begin
  36252. if thebits = 0 then
  36253. pTDefRegMap(@Self)^.clr := $00002000
  36254. else
  36255. pTDefRegMap(@Self)^.&set := $00002000;
  36256. end;
  36257. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  36258. begin
  36259. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36260. end;
  36261. procedure TPORTB_CNPDB.setCNPDB14; inline;
  36262. begin
  36263. pTDefRegMap(@Self)^.&set := $00004000;
  36264. end;
  36265. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  36266. begin
  36267. pTDefRegMap(@Self)^.clr := $00004000;
  36268. end;
  36269. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  36270. begin
  36271. if thebits = 0 then
  36272. pTDefRegMap(@Self)^.clr := $00004000
  36273. else
  36274. pTDefRegMap(@Self)^.&set := $00004000;
  36275. end;
  36276. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  36277. begin
  36278. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36279. end;
  36280. procedure TPORTB_CNPDB.setCNPDB15; inline;
  36281. begin
  36282. pTDefRegMap(@Self)^.&set := $00008000;
  36283. end;
  36284. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  36285. begin
  36286. pTDefRegMap(@Self)^.clr := $00008000;
  36287. end;
  36288. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  36289. begin
  36290. if thebits = 0 then
  36291. pTDefRegMap(@Self)^.clr := $00008000
  36292. else
  36293. pTDefRegMap(@Self)^.&set := $00008000;
  36294. end;
  36295. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  36296. begin
  36297. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36298. end;
  36299. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  36300. begin
  36301. pTDefRegMap(@Self)^.val := thebits;
  36302. end;
  36303. function TPORTB_CNPDB.getw : TBits_32; inline;
  36304. begin
  36305. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36306. end;
  36307. procedure TPORTB_CNCONB.setSIDL; inline;
  36308. begin
  36309. pTDefRegMap(@Self)^.&set := $00002000;
  36310. end;
  36311. procedure TPORTB_CNCONB.clearSIDL; inline;
  36312. begin
  36313. pTDefRegMap(@Self)^.clr := $00002000;
  36314. end;
  36315. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  36316. begin
  36317. if thebits = 0 then
  36318. pTDefRegMap(@Self)^.clr := $00002000
  36319. else
  36320. pTDefRegMap(@Self)^.&set := $00002000;
  36321. end;
  36322. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  36323. begin
  36324. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36325. end;
  36326. procedure TPORTB_CNCONB.setON; inline;
  36327. begin
  36328. pTDefRegMap(@Self)^.&set := $00008000;
  36329. end;
  36330. procedure TPORTB_CNCONB.clearON; inline;
  36331. begin
  36332. pTDefRegMap(@Self)^.clr := $00008000;
  36333. end;
  36334. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  36335. begin
  36336. if thebits = 0 then
  36337. pTDefRegMap(@Self)^.clr := $00008000
  36338. else
  36339. pTDefRegMap(@Self)^.&set := $00008000;
  36340. end;
  36341. function TPORTB_CNCONB.getON : TBits_1; inline;
  36342. begin
  36343. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36344. end;
  36345. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  36346. begin
  36347. pTDefRegMap(@Self)^.val := thebits;
  36348. end;
  36349. function TPORTB_CNCONB.getw : TBits_32; inline;
  36350. begin
  36351. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36352. end;
  36353. procedure TPORTB_CNENB.setCNIEB0; inline;
  36354. begin
  36355. pTDefRegMap(@Self)^.&set := $00000001;
  36356. end;
  36357. procedure TPORTB_CNENB.clearCNIEB0; inline;
  36358. begin
  36359. pTDefRegMap(@Self)^.clr := $00000001;
  36360. end;
  36361. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  36362. begin
  36363. if thebits = 0 then
  36364. pTDefRegMap(@Self)^.clr := $00000001
  36365. else
  36366. pTDefRegMap(@Self)^.&set := $00000001;
  36367. end;
  36368. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  36369. begin
  36370. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36371. end;
  36372. procedure TPORTB_CNENB.setCNIEB1; inline;
  36373. begin
  36374. pTDefRegMap(@Self)^.&set := $00000002;
  36375. end;
  36376. procedure TPORTB_CNENB.clearCNIEB1; inline;
  36377. begin
  36378. pTDefRegMap(@Self)^.clr := $00000002;
  36379. end;
  36380. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  36381. begin
  36382. if thebits = 0 then
  36383. pTDefRegMap(@Self)^.clr := $00000002
  36384. else
  36385. pTDefRegMap(@Self)^.&set := $00000002;
  36386. end;
  36387. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  36388. begin
  36389. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36390. end;
  36391. procedure TPORTB_CNENB.setCNIEB2; inline;
  36392. begin
  36393. pTDefRegMap(@Self)^.&set := $00000004;
  36394. end;
  36395. procedure TPORTB_CNENB.clearCNIEB2; inline;
  36396. begin
  36397. pTDefRegMap(@Self)^.clr := $00000004;
  36398. end;
  36399. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  36400. begin
  36401. if thebits = 0 then
  36402. pTDefRegMap(@Self)^.clr := $00000004
  36403. else
  36404. pTDefRegMap(@Self)^.&set := $00000004;
  36405. end;
  36406. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  36407. begin
  36408. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36409. end;
  36410. procedure TPORTB_CNENB.setCNIEB3; inline;
  36411. begin
  36412. pTDefRegMap(@Self)^.&set := $00000008;
  36413. end;
  36414. procedure TPORTB_CNENB.clearCNIEB3; inline;
  36415. begin
  36416. pTDefRegMap(@Self)^.clr := $00000008;
  36417. end;
  36418. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  36419. begin
  36420. if thebits = 0 then
  36421. pTDefRegMap(@Self)^.clr := $00000008
  36422. else
  36423. pTDefRegMap(@Self)^.&set := $00000008;
  36424. end;
  36425. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  36426. begin
  36427. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36428. end;
  36429. procedure TPORTB_CNENB.setCNIEB4; inline;
  36430. begin
  36431. pTDefRegMap(@Self)^.&set := $00000010;
  36432. end;
  36433. procedure TPORTB_CNENB.clearCNIEB4; inline;
  36434. begin
  36435. pTDefRegMap(@Self)^.clr := $00000010;
  36436. end;
  36437. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  36438. begin
  36439. if thebits = 0 then
  36440. pTDefRegMap(@Self)^.clr := $00000010
  36441. else
  36442. pTDefRegMap(@Self)^.&set := $00000010;
  36443. end;
  36444. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  36445. begin
  36446. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36447. end;
  36448. procedure TPORTB_CNENB.setCNIEB5; inline;
  36449. begin
  36450. pTDefRegMap(@Self)^.&set := $00000020;
  36451. end;
  36452. procedure TPORTB_CNENB.clearCNIEB5; inline;
  36453. begin
  36454. pTDefRegMap(@Self)^.clr := $00000020;
  36455. end;
  36456. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  36457. begin
  36458. if thebits = 0 then
  36459. pTDefRegMap(@Self)^.clr := $00000020
  36460. else
  36461. pTDefRegMap(@Self)^.&set := $00000020;
  36462. end;
  36463. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  36464. begin
  36465. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36466. end;
  36467. procedure TPORTB_CNENB.setCNIEB7; inline;
  36468. begin
  36469. pTDefRegMap(@Self)^.&set := $00000080;
  36470. end;
  36471. procedure TPORTB_CNENB.clearCNIEB7; inline;
  36472. begin
  36473. pTDefRegMap(@Self)^.clr := $00000080;
  36474. end;
  36475. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  36476. begin
  36477. if thebits = 0 then
  36478. pTDefRegMap(@Self)^.clr := $00000080
  36479. else
  36480. pTDefRegMap(@Self)^.&set := $00000080;
  36481. end;
  36482. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  36483. begin
  36484. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36485. end;
  36486. procedure TPORTB_CNENB.setCNIEB8; inline;
  36487. begin
  36488. pTDefRegMap(@Self)^.&set := $00000100;
  36489. end;
  36490. procedure TPORTB_CNENB.clearCNIEB8; inline;
  36491. begin
  36492. pTDefRegMap(@Self)^.clr := $00000100;
  36493. end;
  36494. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  36495. begin
  36496. if thebits = 0 then
  36497. pTDefRegMap(@Self)^.clr := $00000100
  36498. else
  36499. pTDefRegMap(@Self)^.&set := $00000100;
  36500. end;
  36501. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  36502. begin
  36503. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36504. end;
  36505. procedure TPORTB_CNENB.setCNIEB9; inline;
  36506. begin
  36507. pTDefRegMap(@Self)^.&set := $00000200;
  36508. end;
  36509. procedure TPORTB_CNENB.clearCNIEB9; inline;
  36510. begin
  36511. pTDefRegMap(@Self)^.clr := $00000200;
  36512. end;
  36513. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  36514. begin
  36515. if thebits = 0 then
  36516. pTDefRegMap(@Self)^.clr := $00000200
  36517. else
  36518. pTDefRegMap(@Self)^.&set := $00000200;
  36519. end;
  36520. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  36521. begin
  36522. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36523. end;
  36524. procedure TPORTB_CNENB.setCNIEB10; inline;
  36525. begin
  36526. pTDefRegMap(@Self)^.&set := $00000400;
  36527. end;
  36528. procedure TPORTB_CNENB.clearCNIEB10; inline;
  36529. begin
  36530. pTDefRegMap(@Self)^.clr := $00000400;
  36531. end;
  36532. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  36533. begin
  36534. if thebits = 0 then
  36535. pTDefRegMap(@Self)^.clr := $00000400
  36536. else
  36537. pTDefRegMap(@Self)^.&set := $00000400;
  36538. end;
  36539. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  36540. begin
  36541. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36542. end;
  36543. procedure TPORTB_CNENB.setCNIEB11; inline;
  36544. begin
  36545. pTDefRegMap(@Self)^.&set := $00000800;
  36546. end;
  36547. procedure TPORTB_CNENB.clearCNIEB11; inline;
  36548. begin
  36549. pTDefRegMap(@Self)^.clr := $00000800;
  36550. end;
  36551. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  36552. begin
  36553. if thebits = 0 then
  36554. pTDefRegMap(@Self)^.clr := $00000800
  36555. else
  36556. pTDefRegMap(@Self)^.&set := $00000800;
  36557. end;
  36558. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  36559. begin
  36560. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36561. end;
  36562. procedure TPORTB_CNENB.setCNIEB13; inline;
  36563. begin
  36564. pTDefRegMap(@Self)^.&set := $00002000;
  36565. end;
  36566. procedure TPORTB_CNENB.clearCNIEB13; inline;
  36567. begin
  36568. pTDefRegMap(@Self)^.clr := $00002000;
  36569. end;
  36570. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  36571. begin
  36572. if thebits = 0 then
  36573. pTDefRegMap(@Self)^.clr := $00002000
  36574. else
  36575. pTDefRegMap(@Self)^.&set := $00002000;
  36576. end;
  36577. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  36578. begin
  36579. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36580. end;
  36581. procedure TPORTB_CNENB.setCNIEB14; inline;
  36582. begin
  36583. pTDefRegMap(@Self)^.&set := $00004000;
  36584. end;
  36585. procedure TPORTB_CNENB.clearCNIEB14; inline;
  36586. begin
  36587. pTDefRegMap(@Self)^.clr := $00004000;
  36588. end;
  36589. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  36590. begin
  36591. if thebits = 0 then
  36592. pTDefRegMap(@Self)^.clr := $00004000
  36593. else
  36594. pTDefRegMap(@Self)^.&set := $00004000;
  36595. end;
  36596. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  36597. begin
  36598. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36599. end;
  36600. procedure TPORTB_CNENB.setCNIEB15; inline;
  36601. begin
  36602. pTDefRegMap(@Self)^.&set := $00008000;
  36603. end;
  36604. procedure TPORTB_CNENB.clearCNIEB15; inline;
  36605. begin
  36606. pTDefRegMap(@Self)^.clr := $00008000;
  36607. end;
  36608. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  36609. begin
  36610. if thebits = 0 then
  36611. pTDefRegMap(@Self)^.clr := $00008000
  36612. else
  36613. pTDefRegMap(@Self)^.&set := $00008000;
  36614. end;
  36615. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  36616. begin
  36617. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36618. end;
  36619. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  36620. begin
  36621. pTDefRegMap(@Self)^.val := thebits;
  36622. end;
  36623. function TPORTB_CNENB.getw : TBits_32; inline;
  36624. begin
  36625. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36626. end;
  36627. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  36628. begin
  36629. pTDefRegMap(@Self)^.&set := $00000001;
  36630. end;
  36631. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  36632. begin
  36633. pTDefRegMap(@Self)^.clr := $00000001;
  36634. end;
  36635. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  36636. begin
  36637. if thebits = 0 then
  36638. pTDefRegMap(@Self)^.clr := $00000001
  36639. else
  36640. pTDefRegMap(@Self)^.&set := $00000001;
  36641. end;
  36642. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  36643. begin
  36644. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36645. end;
  36646. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  36647. begin
  36648. pTDefRegMap(@Self)^.&set := $00000002;
  36649. end;
  36650. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  36651. begin
  36652. pTDefRegMap(@Self)^.clr := $00000002;
  36653. end;
  36654. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  36655. begin
  36656. if thebits = 0 then
  36657. pTDefRegMap(@Self)^.clr := $00000002
  36658. else
  36659. pTDefRegMap(@Self)^.&set := $00000002;
  36660. end;
  36661. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  36662. begin
  36663. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36664. end;
  36665. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  36666. begin
  36667. pTDefRegMap(@Self)^.&set := $00000004;
  36668. end;
  36669. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  36670. begin
  36671. pTDefRegMap(@Self)^.clr := $00000004;
  36672. end;
  36673. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  36674. begin
  36675. if thebits = 0 then
  36676. pTDefRegMap(@Self)^.clr := $00000004
  36677. else
  36678. pTDefRegMap(@Self)^.&set := $00000004;
  36679. end;
  36680. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  36681. begin
  36682. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36683. end;
  36684. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  36685. begin
  36686. pTDefRegMap(@Self)^.&set := $00000008;
  36687. end;
  36688. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  36689. begin
  36690. pTDefRegMap(@Self)^.clr := $00000008;
  36691. end;
  36692. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  36693. begin
  36694. if thebits = 0 then
  36695. pTDefRegMap(@Self)^.clr := $00000008
  36696. else
  36697. pTDefRegMap(@Self)^.&set := $00000008;
  36698. end;
  36699. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  36700. begin
  36701. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36702. end;
  36703. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  36704. begin
  36705. pTDefRegMap(@Self)^.&set := $00000010;
  36706. end;
  36707. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  36708. begin
  36709. pTDefRegMap(@Self)^.clr := $00000010;
  36710. end;
  36711. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  36712. begin
  36713. if thebits = 0 then
  36714. pTDefRegMap(@Self)^.clr := $00000010
  36715. else
  36716. pTDefRegMap(@Self)^.&set := $00000010;
  36717. end;
  36718. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  36719. begin
  36720. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36721. end;
  36722. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  36723. begin
  36724. pTDefRegMap(@Self)^.&set := $00000020;
  36725. end;
  36726. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  36727. begin
  36728. pTDefRegMap(@Self)^.clr := $00000020;
  36729. end;
  36730. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  36731. begin
  36732. if thebits = 0 then
  36733. pTDefRegMap(@Self)^.clr := $00000020
  36734. else
  36735. pTDefRegMap(@Self)^.&set := $00000020;
  36736. end;
  36737. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  36738. begin
  36739. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36740. end;
  36741. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  36742. begin
  36743. pTDefRegMap(@Self)^.&set := $00000080;
  36744. end;
  36745. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  36746. begin
  36747. pTDefRegMap(@Self)^.clr := $00000080;
  36748. end;
  36749. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  36750. begin
  36751. if thebits = 0 then
  36752. pTDefRegMap(@Self)^.clr := $00000080
  36753. else
  36754. pTDefRegMap(@Self)^.&set := $00000080;
  36755. end;
  36756. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  36757. begin
  36758. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36759. end;
  36760. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  36761. begin
  36762. pTDefRegMap(@Self)^.&set := $00000100;
  36763. end;
  36764. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  36765. begin
  36766. pTDefRegMap(@Self)^.clr := $00000100;
  36767. end;
  36768. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  36769. begin
  36770. if thebits = 0 then
  36771. pTDefRegMap(@Self)^.clr := $00000100
  36772. else
  36773. pTDefRegMap(@Self)^.&set := $00000100;
  36774. end;
  36775. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  36776. begin
  36777. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36778. end;
  36779. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  36780. begin
  36781. pTDefRegMap(@Self)^.&set := $00000200;
  36782. end;
  36783. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  36784. begin
  36785. pTDefRegMap(@Self)^.clr := $00000200;
  36786. end;
  36787. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  36788. begin
  36789. if thebits = 0 then
  36790. pTDefRegMap(@Self)^.clr := $00000200
  36791. else
  36792. pTDefRegMap(@Self)^.&set := $00000200;
  36793. end;
  36794. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  36795. begin
  36796. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36797. end;
  36798. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  36799. begin
  36800. pTDefRegMap(@Self)^.&set := $00000400;
  36801. end;
  36802. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  36803. begin
  36804. pTDefRegMap(@Self)^.clr := $00000400;
  36805. end;
  36806. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  36807. begin
  36808. if thebits = 0 then
  36809. pTDefRegMap(@Self)^.clr := $00000400
  36810. else
  36811. pTDefRegMap(@Self)^.&set := $00000400;
  36812. end;
  36813. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  36814. begin
  36815. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36816. end;
  36817. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  36818. begin
  36819. pTDefRegMap(@Self)^.&set := $00000800;
  36820. end;
  36821. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  36822. begin
  36823. pTDefRegMap(@Self)^.clr := $00000800;
  36824. end;
  36825. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  36826. begin
  36827. if thebits = 0 then
  36828. pTDefRegMap(@Self)^.clr := $00000800
  36829. else
  36830. pTDefRegMap(@Self)^.&set := $00000800;
  36831. end;
  36832. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  36833. begin
  36834. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36835. end;
  36836. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  36837. begin
  36838. pTDefRegMap(@Self)^.&set := $00002000;
  36839. end;
  36840. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  36841. begin
  36842. pTDefRegMap(@Self)^.clr := $00002000;
  36843. end;
  36844. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  36845. begin
  36846. if thebits = 0 then
  36847. pTDefRegMap(@Self)^.clr := $00002000
  36848. else
  36849. pTDefRegMap(@Self)^.&set := $00002000;
  36850. end;
  36851. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  36852. begin
  36853. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36854. end;
  36855. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  36856. begin
  36857. pTDefRegMap(@Self)^.&set := $00004000;
  36858. end;
  36859. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  36860. begin
  36861. pTDefRegMap(@Self)^.clr := $00004000;
  36862. end;
  36863. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  36864. begin
  36865. if thebits = 0 then
  36866. pTDefRegMap(@Self)^.clr := $00004000
  36867. else
  36868. pTDefRegMap(@Self)^.&set := $00004000;
  36869. end;
  36870. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  36871. begin
  36872. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36873. end;
  36874. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  36875. begin
  36876. pTDefRegMap(@Self)^.&set := $00008000;
  36877. end;
  36878. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  36879. begin
  36880. pTDefRegMap(@Self)^.clr := $00008000;
  36881. end;
  36882. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  36883. begin
  36884. if thebits = 0 then
  36885. pTDefRegMap(@Self)^.clr := $00008000
  36886. else
  36887. pTDefRegMap(@Self)^.&set := $00008000;
  36888. end;
  36889. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  36890. begin
  36891. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36892. end;
  36893. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  36894. begin
  36895. pTDefRegMap(@Self)^.val := thebits;
  36896. end;
  36897. function TPORTB_CNSTATB.getw : TBits_32; inline;
  36898. begin
  36899. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36900. end;
  36901. procedure TPORTC_ANSELC.setANSC0; inline;
  36902. begin
  36903. pTDefRegMap(@Self)^.&set := $00000001;
  36904. end;
  36905. procedure TPORTC_ANSELC.clearANSC0; inline;
  36906. begin
  36907. pTDefRegMap(@Self)^.clr := $00000001;
  36908. end;
  36909. procedure TPORTC_ANSELC.setANSC0(thebits : TBits_1); inline;
  36910. begin
  36911. if thebits = 0 then
  36912. pTDefRegMap(@Self)^.clr := $00000001
  36913. else
  36914. pTDefRegMap(@Self)^.&set := $00000001;
  36915. end;
  36916. function TPORTC_ANSELC.getANSC0 : TBits_1; inline;
  36917. begin
  36918. getANSC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36919. end;
  36920. procedure TPORTC_ANSELC.setANSC1; inline;
  36921. begin
  36922. pTDefRegMap(@Self)^.&set := $00000002;
  36923. end;
  36924. procedure TPORTC_ANSELC.clearANSC1; inline;
  36925. begin
  36926. pTDefRegMap(@Self)^.clr := $00000002;
  36927. end;
  36928. procedure TPORTC_ANSELC.setANSC1(thebits : TBits_1); inline;
  36929. begin
  36930. if thebits = 0 then
  36931. pTDefRegMap(@Self)^.clr := $00000002
  36932. else
  36933. pTDefRegMap(@Self)^.&set := $00000002;
  36934. end;
  36935. function TPORTC_ANSELC.getANSC1 : TBits_1; inline;
  36936. begin
  36937. getANSC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36938. end;
  36939. procedure TPORTC_ANSELC.setANSC3; inline;
  36940. begin
  36941. pTDefRegMap(@Self)^.&set := $00000008;
  36942. end;
  36943. procedure TPORTC_ANSELC.clearANSC3; inline;
  36944. begin
  36945. pTDefRegMap(@Self)^.clr := $00000008;
  36946. end;
  36947. procedure TPORTC_ANSELC.setANSC3(thebits : TBits_1); inline;
  36948. begin
  36949. if thebits = 0 then
  36950. pTDefRegMap(@Self)^.clr := $00000008
  36951. else
  36952. pTDefRegMap(@Self)^.&set := $00000008;
  36953. end;
  36954. function TPORTC_ANSELC.getANSC3 : TBits_1; inline;
  36955. begin
  36956. getANSC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36957. end;
  36958. procedure TPORTC_ANSELC.setw(thebits : TBits_32); inline;
  36959. begin
  36960. pTDefRegMap(@Self)^.val := thebits;
  36961. end;
  36962. function TPORTC_ANSELC.getw : TBits_32; inline;
  36963. begin
  36964. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36965. end;
  36966. procedure TPORTC_TRISC.setTRISC0; inline;
  36967. begin
  36968. pTDefRegMap(@Self)^.&set := $00000001;
  36969. end;
  36970. procedure TPORTC_TRISC.clearTRISC0; inline;
  36971. begin
  36972. pTDefRegMap(@Self)^.clr := $00000001;
  36973. end;
  36974. procedure TPORTC_TRISC.setTRISC0(thebits : TBits_1); inline;
  36975. begin
  36976. if thebits = 0 then
  36977. pTDefRegMap(@Self)^.clr := $00000001
  36978. else
  36979. pTDefRegMap(@Self)^.&set := $00000001;
  36980. end;
  36981. function TPORTC_TRISC.getTRISC0 : TBits_1; inline;
  36982. begin
  36983. getTRISC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36984. end;
  36985. procedure TPORTC_TRISC.setTRISC1; inline;
  36986. begin
  36987. pTDefRegMap(@Self)^.&set := $00000002;
  36988. end;
  36989. procedure TPORTC_TRISC.clearTRISC1; inline;
  36990. begin
  36991. pTDefRegMap(@Self)^.clr := $00000002;
  36992. end;
  36993. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  36994. begin
  36995. if thebits = 0 then
  36996. pTDefRegMap(@Self)^.clr := $00000002
  36997. else
  36998. pTDefRegMap(@Self)^.&set := $00000002;
  36999. end;
  37000. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  37001. begin
  37002. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37003. end;
  37004. procedure TPORTC_TRISC.setTRISC3; inline;
  37005. begin
  37006. pTDefRegMap(@Self)^.&set := $00000008;
  37007. end;
  37008. procedure TPORTC_TRISC.clearTRISC3; inline;
  37009. begin
  37010. pTDefRegMap(@Self)^.clr := $00000008;
  37011. end;
  37012. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  37013. begin
  37014. if thebits = 0 then
  37015. pTDefRegMap(@Self)^.clr := $00000008
  37016. else
  37017. pTDefRegMap(@Self)^.&set := $00000008;
  37018. end;
  37019. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  37020. begin
  37021. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37022. end;
  37023. procedure TPORTC_TRISC.setTRISC9; inline;
  37024. begin
  37025. pTDefRegMap(@Self)^.&set := $00000200;
  37026. end;
  37027. procedure TPORTC_TRISC.clearTRISC9; inline;
  37028. begin
  37029. pTDefRegMap(@Self)^.clr := $00000200;
  37030. end;
  37031. procedure TPORTC_TRISC.setTRISC9(thebits : TBits_1); inline;
  37032. begin
  37033. if thebits = 0 then
  37034. pTDefRegMap(@Self)^.clr := $00000200
  37035. else
  37036. pTDefRegMap(@Self)^.&set := $00000200;
  37037. end;
  37038. function TPORTC_TRISC.getTRISC9 : TBits_1; inline;
  37039. begin
  37040. getTRISC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37041. end;
  37042. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  37043. begin
  37044. pTDefRegMap(@Self)^.val := thebits;
  37045. end;
  37046. function TPORTC_TRISC.getw : TBits_32; inline;
  37047. begin
  37048. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37049. end;
  37050. procedure TPORTC_PORTC.setRC0; inline;
  37051. begin
  37052. pTDefRegMap(@Self)^.&set := $00000001;
  37053. end;
  37054. procedure TPORTC_PORTC.clearRC0; inline;
  37055. begin
  37056. pTDefRegMap(@Self)^.clr := $00000001;
  37057. end;
  37058. procedure TPORTC_PORTC.setRC0(thebits : TBits_1); inline;
  37059. begin
  37060. if thebits = 0 then
  37061. pTDefRegMap(@Self)^.clr := $00000001
  37062. else
  37063. pTDefRegMap(@Self)^.&set := $00000001;
  37064. end;
  37065. function TPORTC_PORTC.getRC0 : TBits_1; inline;
  37066. begin
  37067. getRC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37068. end;
  37069. procedure TPORTC_PORTC.setRC1; inline;
  37070. begin
  37071. pTDefRegMap(@Self)^.&set := $00000002;
  37072. end;
  37073. procedure TPORTC_PORTC.clearRC1; inline;
  37074. begin
  37075. pTDefRegMap(@Self)^.clr := $00000002;
  37076. end;
  37077. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  37078. begin
  37079. if thebits = 0 then
  37080. pTDefRegMap(@Self)^.clr := $00000002
  37081. else
  37082. pTDefRegMap(@Self)^.&set := $00000002;
  37083. end;
  37084. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  37085. begin
  37086. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37087. end;
  37088. procedure TPORTC_PORTC.setRC3; inline;
  37089. begin
  37090. pTDefRegMap(@Self)^.&set := $00000008;
  37091. end;
  37092. procedure TPORTC_PORTC.clearRC3; inline;
  37093. begin
  37094. pTDefRegMap(@Self)^.clr := $00000008;
  37095. end;
  37096. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  37097. begin
  37098. if thebits = 0 then
  37099. pTDefRegMap(@Self)^.clr := $00000008
  37100. else
  37101. pTDefRegMap(@Self)^.&set := $00000008;
  37102. end;
  37103. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  37104. begin
  37105. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37106. end;
  37107. procedure TPORTC_PORTC.setRC9; inline;
  37108. begin
  37109. pTDefRegMap(@Self)^.&set := $00000200;
  37110. end;
  37111. procedure TPORTC_PORTC.clearRC9; inline;
  37112. begin
  37113. pTDefRegMap(@Self)^.clr := $00000200;
  37114. end;
  37115. procedure TPORTC_PORTC.setRC9(thebits : TBits_1); inline;
  37116. begin
  37117. if thebits = 0 then
  37118. pTDefRegMap(@Self)^.clr := $00000200
  37119. else
  37120. pTDefRegMap(@Self)^.&set := $00000200;
  37121. end;
  37122. function TPORTC_PORTC.getRC9 : TBits_1; inline;
  37123. begin
  37124. getRC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37125. end;
  37126. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  37127. begin
  37128. pTDefRegMap(@Self)^.val := thebits;
  37129. end;
  37130. function TPORTC_PORTC.getw : TBits_32; inline;
  37131. begin
  37132. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37133. end;
  37134. procedure TPORTC_LATC.setLATC0; inline;
  37135. begin
  37136. pTDefRegMap(@Self)^.&set := $00000001;
  37137. end;
  37138. procedure TPORTC_LATC.clearLATC0; inline;
  37139. begin
  37140. pTDefRegMap(@Self)^.clr := $00000001;
  37141. end;
  37142. procedure TPORTC_LATC.setLATC0(thebits : TBits_1); inline;
  37143. begin
  37144. if thebits = 0 then
  37145. pTDefRegMap(@Self)^.clr := $00000001
  37146. else
  37147. pTDefRegMap(@Self)^.&set := $00000001;
  37148. end;
  37149. function TPORTC_LATC.getLATC0 : TBits_1; inline;
  37150. begin
  37151. getLATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37152. end;
  37153. procedure TPORTC_LATC.setLATC1; inline;
  37154. begin
  37155. pTDefRegMap(@Self)^.&set := $00000002;
  37156. end;
  37157. procedure TPORTC_LATC.clearLATC1; inline;
  37158. begin
  37159. pTDefRegMap(@Self)^.clr := $00000002;
  37160. end;
  37161. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  37162. begin
  37163. if thebits = 0 then
  37164. pTDefRegMap(@Self)^.clr := $00000002
  37165. else
  37166. pTDefRegMap(@Self)^.&set := $00000002;
  37167. end;
  37168. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  37169. begin
  37170. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37171. end;
  37172. procedure TPORTC_LATC.setLATC3; inline;
  37173. begin
  37174. pTDefRegMap(@Self)^.&set := $00000008;
  37175. end;
  37176. procedure TPORTC_LATC.clearLATC3; inline;
  37177. begin
  37178. pTDefRegMap(@Self)^.clr := $00000008;
  37179. end;
  37180. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  37181. begin
  37182. if thebits = 0 then
  37183. pTDefRegMap(@Self)^.clr := $00000008
  37184. else
  37185. pTDefRegMap(@Self)^.&set := $00000008;
  37186. end;
  37187. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  37188. begin
  37189. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37190. end;
  37191. procedure TPORTC_LATC.setLATC9; inline;
  37192. begin
  37193. pTDefRegMap(@Self)^.&set := $00000200;
  37194. end;
  37195. procedure TPORTC_LATC.clearLATC9; inline;
  37196. begin
  37197. pTDefRegMap(@Self)^.clr := $00000200;
  37198. end;
  37199. procedure TPORTC_LATC.setLATC9(thebits : TBits_1); inline;
  37200. begin
  37201. if thebits = 0 then
  37202. pTDefRegMap(@Self)^.clr := $00000200
  37203. else
  37204. pTDefRegMap(@Self)^.&set := $00000200;
  37205. end;
  37206. function TPORTC_LATC.getLATC9 : TBits_1; inline;
  37207. begin
  37208. getLATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37209. end;
  37210. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  37211. begin
  37212. pTDefRegMap(@Self)^.val := thebits;
  37213. end;
  37214. function TPORTC_LATC.getw : TBits_32; inline;
  37215. begin
  37216. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37217. end;
  37218. procedure TPORTC_ODCC.setODCC9; inline;
  37219. begin
  37220. pTDefRegMap(@Self)^.&set := $00000200;
  37221. end;
  37222. procedure TPORTC_ODCC.clearODCC9; inline;
  37223. begin
  37224. pTDefRegMap(@Self)^.clr := $00000200;
  37225. end;
  37226. procedure TPORTC_ODCC.setODCC9(thebits : TBits_1); inline;
  37227. begin
  37228. if thebits = 0 then
  37229. pTDefRegMap(@Self)^.clr := $00000200
  37230. else
  37231. pTDefRegMap(@Self)^.&set := $00000200;
  37232. end;
  37233. function TPORTC_ODCC.getODCC9 : TBits_1; inline;
  37234. begin
  37235. getODCC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37236. end;
  37237. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  37238. begin
  37239. pTDefRegMap(@Self)^.val := thebits;
  37240. end;
  37241. function TPORTC_ODCC.getw : TBits_32; inline;
  37242. begin
  37243. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37244. end;
  37245. procedure TPORTC_CNPUC.setCNPUC0; inline;
  37246. begin
  37247. pTDefRegMap(@Self)^.&set := $00000001;
  37248. end;
  37249. procedure TPORTC_CNPUC.clearCNPUC0; inline;
  37250. begin
  37251. pTDefRegMap(@Self)^.clr := $00000001;
  37252. end;
  37253. procedure TPORTC_CNPUC.setCNPUC0(thebits : TBits_1); inline;
  37254. begin
  37255. if thebits = 0 then
  37256. pTDefRegMap(@Self)^.clr := $00000001
  37257. else
  37258. pTDefRegMap(@Self)^.&set := $00000001;
  37259. end;
  37260. function TPORTC_CNPUC.getCNPUC0 : TBits_1; inline;
  37261. begin
  37262. getCNPUC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37263. end;
  37264. procedure TPORTC_CNPUC.setCNPUC1; inline;
  37265. begin
  37266. pTDefRegMap(@Self)^.&set := $00000002;
  37267. end;
  37268. procedure TPORTC_CNPUC.clearCNPUC1; inline;
  37269. begin
  37270. pTDefRegMap(@Self)^.clr := $00000002;
  37271. end;
  37272. procedure TPORTC_CNPUC.setCNPUC1(thebits : TBits_1); inline;
  37273. begin
  37274. if thebits = 0 then
  37275. pTDefRegMap(@Self)^.clr := $00000002
  37276. else
  37277. pTDefRegMap(@Self)^.&set := $00000002;
  37278. end;
  37279. function TPORTC_CNPUC.getCNPUC1 : TBits_1; inline;
  37280. begin
  37281. getCNPUC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37282. end;
  37283. procedure TPORTC_CNPUC.setCNPUC3; inline;
  37284. begin
  37285. pTDefRegMap(@Self)^.&set := $00000008;
  37286. end;
  37287. procedure TPORTC_CNPUC.clearCNPUC3; inline;
  37288. begin
  37289. pTDefRegMap(@Self)^.clr := $00000008;
  37290. end;
  37291. procedure TPORTC_CNPUC.setCNPUC3(thebits : TBits_1); inline;
  37292. begin
  37293. if thebits = 0 then
  37294. pTDefRegMap(@Self)^.clr := $00000008
  37295. else
  37296. pTDefRegMap(@Self)^.&set := $00000008;
  37297. end;
  37298. function TPORTC_CNPUC.getCNPUC3 : TBits_1; inline;
  37299. begin
  37300. getCNPUC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37301. end;
  37302. procedure TPORTC_CNPUC.setCNPUC9; inline;
  37303. begin
  37304. pTDefRegMap(@Self)^.&set := $00000200;
  37305. end;
  37306. procedure TPORTC_CNPUC.clearCNPUC9; inline;
  37307. begin
  37308. pTDefRegMap(@Self)^.clr := $00000200;
  37309. end;
  37310. procedure TPORTC_CNPUC.setCNPUC9(thebits : TBits_1); inline;
  37311. begin
  37312. if thebits = 0 then
  37313. pTDefRegMap(@Self)^.clr := $00000200
  37314. else
  37315. pTDefRegMap(@Self)^.&set := $00000200;
  37316. end;
  37317. function TPORTC_CNPUC.getCNPUC9 : TBits_1; inline;
  37318. begin
  37319. getCNPUC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37320. end;
  37321. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  37322. begin
  37323. pTDefRegMap(@Self)^.val := thebits;
  37324. end;
  37325. function TPORTC_CNPUC.getw : TBits_32; inline;
  37326. begin
  37327. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37328. end;
  37329. procedure TPORTC_CNPDC.setCNPDC0; inline;
  37330. begin
  37331. pTDefRegMap(@Self)^.&set := $00000001;
  37332. end;
  37333. procedure TPORTC_CNPDC.clearCNPDC0; inline;
  37334. begin
  37335. pTDefRegMap(@Self)^.clr := $00000001;
  37336. end;
  37337. procedure TPORTC_CNPDC.setCNPDC0(thebits : TBits_1); inline;
  37338. begin
  37339. if thebits = 0 then
  37340. pTDefRegMap(@Self)^.clr := $00000001
  37341. else
  37342. pTDefRegMap(@Self)^.&set := $00000001;
  37343. end;
  37344. function TPORTC_CNPDC.getCNPDC0 : TBits_1; inline;
  37345. begin
  37346. getCNPDC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37347. end;
  37348. procedure TPORTC_CNPDC.setCNPDC1; inline;
  37349. begin
  37350. pTDefRegMap(@Self)^.&set := $00000002;
  37351. end;
  37352. procedure TPORTC_CNPDC.clearCNPDC1; inline;
  37353. begin
  37354. pTDefRegMap(@Self)^.clr := $00000002;
  37355. end;
  37356. procedure TPORTC_CNPDC.setCNPDC1(thebits : TBits_1); inline;
  37357. begin
  37358. if thebits = 0 then
  37359. pTDefRegMap(@Self)^.clr := $00000002
  37360. else
  37361. pTDefRegMap(@Self)^.&set := $00000002;
  37362. end;
  37363. function TPORTC_CNPDC.getCNPDC1 : TBits_1; inline;
  37364. begin
  37365. getCNPDC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37366. end;
  37367. procedure TPORTC_CNPDC.setCNPDC3; inline;
  37368. begin
  37369. pTDefRegMap(@Self)^.&set := $00000008;
  37370. end;
  37371. procedure TPORTC_CNPDC.clearCNPDC3; inline;
  37372. begin
  37373. pTDefRegMap(@Self)^.clr := $00000008;
  37374. end;
  37375. procedure TPORTC_CNPDC.setCNPDC3(thebits : TBits_1); inline;
  37376. begin
  37377. if thebits = 0 then
  37378. pTDefRegMap(@Self)^.clr := $00000008
  37379. else
  37380. pTDefRegMap(@Self)^.&set := $00000008;
  37381. end;
  37382. function TPORTC_CNPDC.getCNPDC3 : TBits_1; inline;
  37383. begin
  37384. getCNPDC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37385. end;
  37386. procedure TPORTC_CNPDC.setCNPDC9; inline;
  37387. begin
  37388. pTDefRegMap(@Self)^.&set := $00000200;
  37389. end;
  37390. procedure TPORTC_CNPDC.clearCNPDC9; inline;
  37391. begin
  37392. pTDefRegMap(@Self)^.clr := $00000200;
  37393. end;
  37394. procedure TPORTC_CNPDC.setCNPDC9(thebits : TBits_1); inline;
  37395. begin
  37396. if thebits = 0 then
  37397. pTDefRegMap(@Self)^.clr := $00000200
  37398. else
  37399. pTDefRegMap(@Self)^.&set := $00000200;
  37400. end;
  37401. function TPORTC_CNPDC.getCNPDC9 : TBits_1; inline;
  37402. begin
  37403. getCNPDC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37404. end;
  37405. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  37406. begin
  37407. pTDefRegMap(@Self)^.val := thebits;
  37408. end;
  37409. function TPORTC_CNPDC.getw : TBits_32; inline;
  37410. begin
  37411. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37412. end;
  37413. procedure TPORTC_CNCONC.setSIDL; inline;
  37414. begin
  37415. pTDefRegMap(@Self)^.&set := $00002000;
  37416. end;
  37417. procedure TPORTC_CNCONC.clearSIDL; inline;
  37418. begin
  37419. pTDefRegMap(@Self)^.clr := $00002000;
  37420. end;
  37421. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  37422. begin
  37423. if thebits = 0 then
  37424. pTDefRegMap(@Self)^.clr := $00002000
  37425. else
  37426. pTDefRegMap(@Self)^.&set := $00002000;
  37427. end;
  37428. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  37429. begin
  37430. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37431. end;
  37432. procedure TPORTC_CNCONC.setON; inline;
  37433. begin
  37434. pTDefRegMap(@Self)^.&set := $00008000;
  37435. end;
  37436. procedure TPORTC_CNCONC.clearON; inline;
  37437. begin
  37438. pTDefRegMap(@Self)^.clr := $00008000;
  37439. end;
  37440. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  37441. begin
  37442. if thebits = 0 then
  37443. pTDefRegMap(@Self)^.clr := $00008000
  37444. else
  37445. pTDefRegMap(@Self)^.&set := $00008000;
  37446. end;
  37447. function TPORTC_CNCONC.getON : TBits_1; inline;
  37448. begin
  37449. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37450. end;
  37451. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  37452. begin
  37453. pTDefRegMap(@Self)^.val := thebits;
  37454. end;
  37455. function TPORTC_CNCONC.getw : TBits_32; inline;
  37456. begin
  37457. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37458. end;
  37459. procedure TPORTC_CNENC.setCNIEC0; inline;
  37460. begin
  37461. pTDefRegMap(@Self)^.&set := $00000001;
  37462. end;
  37463. procedure TPORTC_CNENC.clearCNIEC0; inline;
  37464. begin
  37465. pTDefRegMap(@Self)^.clr := $00000001;
  37466. end;
  37467. procedure TPORTC_CNENC.setCNIEC0(thebits : TBits_1); inline;
  37468. begin
  37469. if thebits = 0 then
  37470. pTDefRegMap(@Self)^.clr := $00000001
  37471. else
  37472. pTDefRegMap(@Self)^.&set := $00000001;
  37473. end;
  37474. function TPORTC_CNENC.getCNIEC0 : TBits_1; inline;
  37475. begin
  37476. getCNIEC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37477. end;
  37478. procedure TPORTC_CNENC.setCNIEC1; inline;
  37479. begin
  37480. pTDefRegMap(@Self)^.&set := $00000002;
  37481. end;
  37482. procedure TPORTC_CNENC.clearCNIEC1; inline;
  37483. begin
  37484. pTDefRegMap(@Self)^.clr := $00000002;
  37485. end;
  37486. procedure TPORTC_CNENC.setCNIEC1(thebits : TBits_1); inline;
  37487. begin
  37488. if thebits = 0 then
  37489. pTDefRegMap(@Self)^.clr := $00000002
  37490. else
  37491. pTDefRegMap(@Self)^.&set := $00000002;
  37492. end;
  37493. function TPORTC_CNENC.getCNIEC1 : TBits_1; inline;
  37494. begin
  37495. getCNIEC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37496. end;
  37497. procedure TPORTC_CNENC.setCNIEC3; inline;
  37498. begin
  37499. pTDefRegMap(@Self)^.&set := $00000008;
  37500. end;
  37501. procedure TPORTC_CNENC.clearCNIEC3; inline;
  37502. begin
  37503. pTDefRegMap(@Self)^.clr := $00000008;
  37504. end;
  37505. procedure TPORTC_CNENC.setCNIEC3(thebits : TBits_1); inline;
  37506. begin
  37507. if thebits = 0 then
  37508. pTDefRegMap(@Self)^.clr := $00000008
  37509. else
  37510. pTDefRegMap(@Self)^.&set := $00000008;
  37511. end;
  37512. function TPORTC_CNENC.getCNIEC3 : TBits_1; inline;
  37513. begin
  37514. getCNIEC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37515. end;
  37516. procedure TPORTC_CNENC.setCNIEC9; inline;
  37517. begin
  37518. pTDefRegMap(@Self)^.&set := $00000200;
  37519. end;
  37520. procedure TPORTC_CNENC.clearCNIEC9; inline;
  37521. begin
  37522. pTDefRegMap(@Self)^.clr := $00000200;
  37523. end;
  37524. procedure TPORTC_CNENC.setCNIEC9(thebits : TBits_1); inline;
  37525. begin
  37526. if thebits = 0 then
  37527. pTDefRegMap(@Self)^.clr := $00000200
  37528. else
  37529. pTDefRegMap(@Self)^.&set := $00000200;
  37530. end;
  37531. function TPORTC_CNENC.getCNIEC9 : TBits_1; inline;
  37532. begin
  37533. getCNIEC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37534. end;
  37535. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  37536. begin
  37537. pTDefRegMap(@Self)^.val := thebits;
  37538. end;
  37539. function TPORTC_CNENC.getw : TBits_32; inline;
  37540. begin
  37541. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37542. end;
  37543. procedure TPORTC_CNSTATC.setCNSTATC0; inline;
  37544. begin
  37545. pTDefRegMap(@Self)^.&set := $00000001;
  37546. end;
  37547. procedure TPORTC_CNSTATC.clearCNSTATC0; inline;
  37548. begin
  37549. pTDefRegMap(@Self)^.clr := $00000001;
  37550. end;
  37551. procedure TPORTC_CNSTATC.setCNSTATC0(thebits : TBits_1); inline;
  37552. begin
  37553. if thebits = 0 then
  37554. pTDefRegMap(@Self)^.clr := $00000001
  37555. else
  37556. pTDefRegMap(@Self)^.&set := $00000001;
  37557. end;
  37558. function TPORTC_CNSTATC.getCNSTATC0 : TBits_1; inline;
  37559. begin
  37560. getCNSTATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37561. end;
  37562. procedure TPORTC_CNSTATC.setCNSTATC1; inline;
  37563. begin
  37564. pTDefRegMap(@Self)^.&set := $00000002;
  37565. end;
  37566. procedure TPORTC_CNSTATC.clearCNSTATC1; inline;
  37567. begin
  37568. pTDefRegMap(@Self)^.clr := $00000002;
  37569. end;
  37570. procedure TPORTC_CNSTATC.setCNSTATC1(thebits : TBits_1); inline;
  37571. begin
  37572. if thebits = 0 then
  37573. pTDefRegMap(@Self)^.clr := $00000002
  37574. else
  37575. pTDefRegMap(@Self)^.&set := $00000002;
  37576. end;
  37577. function TPORTC_CNSTATC.getCNSTATC1 : TBits_1; inline;
  37578. begin
  37579. getCNSTATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37580. end;
  37581. procedure TPORTC_CNSTATC.setCNSTATC3; inline;
  37582. begin
  37583. pTDefRegMap(@Self)^.&set := $00000008;
  37584. end;
  37585. procedure TPORTC_CNSTATC.clearCNSTATC3; inline;
  37586. begin
  37587. pTDefRegMap(@Self)^.clr := $00000008;
  37588. end;
  37589. procedure TPORTC_CNSTATC.setCNSTATC3(thebits : TBits_1); inline;
  37590. begin
  37591. if thebits = 0 then
  37592. pTDefRegMap(@Self)^.clr := $00000008
  37593. else
  37594. pTDefRegMap(@Self)^.&set := $00000008;
  37595. end;
  37596. function TPORTC_CNSTATC.getCNSTATC3 : TBits_1; inline;
  37597. begin
  37598. getCNSTATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37599. end;
  37600. procedure TPORTC_CNSTATC.setCNSTATC9; inline;
  37601. begin
  37602. pTDefRegMap(@Self)^.&set := $00000200;
  37603. end;
  37604. procedure TPORTC_CNSTATC.clearCNSTATC9; inline;
  37605. begin
  37606. pTDefRegMap(@Self)^.clr := $00000200;
  37607. end;
  37608. procedure TPORTC_CNSTATC.setCNSTATC9(thebits : TBits_1); inline;
  37609. begin
  37610. if thebits = 0 then
  37611. pTDefRegMap(@Self)^.clr := $00000200
  37612. else
  37613. pTDefRegMap(@Self)^.&set := $00000200;
  37614. end;
  37615. function TPORTC_CNSTATC.getCNSTATC9 : TBits_1; inline;
  37616. begin
  37617. getCNSTATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37618. end;
  37619. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  37620. begin
  37621. pTDefRegMap(@Self)^.val := thebits;
  37622. end;
  37623. function TPORTC_CNSTATC.getw : TBits_32; inline;
  37624. begin
  37625. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37626. end;
  37627. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  37628. begin
  37629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  37630. end;
  37631. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  37632. begin
  37633. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  37634. end;
  37635. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  37636. begin
  37637. pTDefRegMap(@Self)^.&set := $10000000;
  37638. end;
  37639. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  37640. begin
  37641. pTDefRegMap(@Self)^.clr := $10000000;
  37642. end;
  37643. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  37644. begin
  37645. if thebits = 0 then
  37646. pTDefRegMap(@Self)^.clr := $10000000
  37647. else
  37648. pTDefRegMap(@Self)^.&set := $10000000;
  37649. end;
  37650. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  37651. begin
  37652. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  37653. end;
  37654. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  37655. begin
  37656. pTDefRegMap(@Self)^.&set := $20000000;
  37657. end;
  37658. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  37659. begin
  37660. pTDefRegMap(@Self)^.clr := $20000000;
  37661. end;
  37662. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  37663. begin
  37664. if thebits = 0 then
  37665. pTDefRegMap(@Self)^.clr := $20000000
  37666. else
  37667. pTDefRegMap(@Self)^.&set := $20000000;
  37668. end;
  37669. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  37670. begin
  37671. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  37672. end;
  37673. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  37674. begin
  37675. pTDefRegMap(@Self)^.&set := $40000000;
  37676. end;
  37677. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  37678. begin
  37679. pTDefRegMap(@Self)^.clr := $40000000;
  37680. end;
  37681. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  37682. begin
  37683. if thebits = 0 then
  37684. pTDefRegMap(@Self)^.clr := $40000000
  37685. else
  37686. pTDefRegMap(@Self)^.&set := $40000000;
  37687. end;
  37688. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  37689. begin
  37690. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  37691. end;
  37692. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  37693. begin
  37694. pTDefRegMap(@Self)^.&set := $80000000;
  37695. end;
  37696. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  37697. begin
  37698. pTDefRegMap(@Self)^.clr := $80000000;
  37699. end;
  37700. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  37701. begin
  37702. if thebits = 0 then
  37703. pTDefRegMap(@Self)^.clr := $80000000
  37704. else
  37705. pTDefRegMap(@Self)^.&set := $80000000;
  37706. end;
  37707. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  37708. begin
  37709. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  37710. end;
  37711. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  37712. begin
  37713. pTDefRegMap(@Self)^.val := thebits;
  37714. end;
  37715. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  37716. begin
  37717. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37718. end;
  37719. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  37720. begin
  37721. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37722. end;
  37723. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  37724. begin
  37725. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37726. end;
  37727. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  37728. begin
  37729. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  37730. end;
  37731. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  37732. begin
  37733. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  37734. end;
  37735. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  37736. begin
  37737. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  37738. end;
  37739. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  37740. begin
  37741. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  37742. end;
  37743. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  37744. begin
  37745. pTDefRegMap(@Self)^.&set := $00008000;
  37746. end;
  37747. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  37748. begin
  37749. pTDefRegMap(@Self)^.clr := $00008000;
  37750. end;
  37751. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  37752. begin
  37753. if thebits = 0 then
  37754. pTDefRegMap(@Self)^.clr := $00008000
  37755. else
  37756. pTDefRegMap(@Self)^.&set := $00008000;
  37757. end;
  37758. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  37759. begin
  37760. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37761. end;
  37762. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  37763. begin
  37764. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  37765. end;
  37766. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  37767. begin
  37768. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  37769. end;
  37770. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  37771. begin
  37772. pTDefRegMap(@Self)^.val := thebits;
  37773. end;
  37774. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  37775. begin
  37776. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37777. end;
  37778. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  37779. begin
  37780. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37781. end;
  37782. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  37783. begin
  37784. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37785. end;
  37786. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  37787. begin
  37788. pTDefRegMap(@Self)^.&set := $00000020;
  37789. end;
  37790. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  37791. begin
  37792. pTDefRegMap(@Self)^.clr := $00000020;
  37793. end;
  37794. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  37795. begin
  37796. if thebits = 0 then
  37797. pTDefRegMap(@Self)^.clr := $00000020
  37798. else
  37799. pTDefRegMap(@Self)^.&set := $00000020;
  37800. end;
  37801. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  37802. begin
  37803. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37804. end;
  37805. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  37806. begin
  37807. pTDefRegMap(@Self)^.&set := $00000080;
  37808. end;
  37809. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  37810. begin
  37811. pTDefRegMap(@Self)^.clr := $00000080;
  37812. end;
  37813. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  37814. begin
  37815. if thebits = 0 then
  37816. pTDefRegMap(@Self)^.clr := $00000080
  37817. else
  37818. pTDefRegMap(@Self)^.&set := $00000080;
  37819. end;
  37820. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  37821. begin
  37822. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37823. end;
  37824. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  37825. begin
  37826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37827. end;
  37828. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  37829. begin
  37830. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37831. end;
  37832. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  37833. begin
  37834. pTDefRegMap(@Self)^.&set := $00000400;
  37835. end;
  37836. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  37837. begin
  37838. pTDefRegMap(@Self)^.clr := $00000400;
  37839. end;
  37840. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  37841. begin
  37842. if thebits = 0 then
  37843. pTDefRegMap(@Self)^.clr := $00000400
  37844. else
  37845. pTDefRegMap(@Self)^.&set := $00000400;
  37846. end;
  37847. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  37848. begin
  37849. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37850. end;
  37851. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  37852. begin
  37853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  37854. end;
  37855. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  37856. begin
  37857. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  37858. end;
  37859. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  37860. begin
  37861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37862. end;
  37863. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  37864. begin
  37865. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37866. end;
  37867. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  37868. begin
  37869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  37870. end;
  37871. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  37872. begin
  37873. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  37874. end;
  37875. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  37876. begin
  37877. pTDefRegMap(@Self)^.&set := $00400000;
  37878. end;
  37879. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  37880. begin
  37881. pTDefRegMap(@Self)^.clr := $00400000;
  37882. end;
  37883. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  37884. begin
  37885. if thebits = 0 then
  37886. pTDefRegMap(@Self)^.clr := $00400000
  37887. else
  37888. pTDefRegMap(@Self)^.&set := $00400000;
  37889. end;
  37890. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  37891. begin
  37892. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  37893. end;
  37894. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  37895. begin
  37896. pTDefRegMap(@Self)^.&set := $00800000;
  37897. end;
  37898. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  37899. begin
  37900. pTDefRegMap(@Self)^.clr := $00800000;
  37901. end;
  37902. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  37903. begin
  37904. if thebits = 0 then
  37905. pTDefRegMap(@Self)^.clr := $00800000
  37906. else
  37907. pTDefRegMap(@Self)^.&set := $00800000;
  37908. end;
  37909. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  37910. begin
  37911. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37912. end;
  37913. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  37914. begin
  37915. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37916. end;
  37917. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  37918. begin
  37919. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37920. end;
  37921. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  37922. begin
  37923. pTDefRegMap(@Self)^.val := thebits;
  37924. end;
  37925. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  37926. begin
  37927. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37928. end;
  37929. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  37930. begin
  37931. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37932. end;
  37933. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  37934. begin
  37935. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37936. end;
  37937. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  37938. begin
  37939. pTDefRegMap(@Self)^.&set := $00000004;
  37940. end;
  37941. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  37942. begin
  37943. pTDefRegMap(@Self)^.clr := $00000004;
  37944. end;
  37945. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  37946. begin
  37947. if thebits = 0 then
  37948. pTDefRegMap(@Self)^.clr := $00000004
  37949. else
  37950. pTDefRegMap(@Self)^.&set := $00000004;
  37951. end;
  37952. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  37953. begin
  37954. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37955. end;
  37956. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  37957. begin
  37958. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  37959. end;
  37960. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  37961. begin
  37962. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  37963. end;
  37964. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_6); inline;
  37965. begin
  37966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF03FF or ( thebits shl 10 );
  37967. end;
  37968. function TDEVCFG_DEVCFG0.getPWP : TBits_6; inline;
  37969. begin
  37970. getPWP := (pTDefRegMap(@Self)^.val and $0000FC00) shr 10;
  37971. end;
  37972. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  37973. begin
  37974. pTDefRegMap(@Self)^.&set := $01000000;
  37975. end;
  37976. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  37977. begin
  37978. pTDefRegMap(@Self)^.clr := $01000000;
  37979. end;
  37980. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  37981. begin
  37982. if thebits = 0 then
  37983. pTDefRegMap(@Self)^.clr := $01000000
  37984. else
  37985. pTDefRegMap(@Self)^.&set := $01000000;
  37986. end;
  37987. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  37988. begin
  37989. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  37990. end;
  37991. procedure TDEVCFG_DEVCFG0.setCP; inline;
  37992. begin
  37993. pTDefRegMap(@Self)^.&set := $10000000;
  37994. end;
  37995. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  37996. begin
  37997. pTDefRegMap(@Self)^.clr := $10000000;
  37998. end;
  37999. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  38000. begin
  38001. if thebits = 0 then
  38002. pTDefRegMap(@Self)^.clr := $10000000
  38003. else
  38004. pTDefRegMap(@Self)^.&set := $10000000;
  38005. end;
  38006. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  38007. begin
  38008. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  38009. end;
  38010. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  38011. begin
  38012. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38013. end;
  38014. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  38015. begin
  38016. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38017. end;
  38018. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  38019. begin
  38020. pTDefRegMap(@Self)^.val := thebits;
  38021. end;
  38022. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  38023. begin
  38024. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38025. end;
  38026. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  38027. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  38028. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  38029. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  38030. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  38031. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  38032. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  38033. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  38034. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  38035. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  38036. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  38037. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  38038. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  38039. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  38040. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  38041. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  38042. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  38043. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  38044. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  38045. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  38046. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  38047. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  38048. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  38049. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  38050. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  38051. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  38052. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  38053. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  38054. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  38055. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  38056. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  38057. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  38058. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  38059. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  38060. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  38061. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  38062. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  38063. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  38064. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  38065. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  38066. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  38067. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  38068. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  38069. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  38070. procedure Vectors; assembler; nostackframe;
  38071. label interrupt_vectors;
  38072. asm
  38073. .section ".init.interrupt_vectors,\"ax\",@progbits"
  38074. interrupt_vectors:
  38075. j _CORE_TIMER_VECTOR_interrupt
  38076. nop
  38077. nop
  38078. nop
  38079. nop
  38080. nop
  38081. nop
  38082. nop
  38083. j _CORE_SOFTWARE_0_VECTOR_interrupt
  38084. nop
  38085. nop
  38086. nop
  38087. nop
  38088. nop
  38089. nop
  38090. nop
  38091. j _CORE_SOFTWARE_1_VECTOR_interrupt
  38092. nop
  38093. nop
  38094. nop
  38095. nop
  38096. nop
  38097. nop
  38098. nop
  38099. j _EXTERNAL_0_VECTOR_interrupt
  38100. nop
  38101. nop
  38102. nop
  38103. nop
  38104. nop
  38105. nop
  38106. nop
  38107. j _TIMER_1_VECTOR_interrupt
  38108. nop
  38109. nop
  38110. nop
  38111. nop
  38112. nop
  38113. nop
  38114. nop
  38115. j _INPUT_CAPTURE_1_VECTOR_interrupt
  38116. nop
  38117. nop
  38118. nop
  38119. nop
  38120. nop
  38121. nop
  38122. nop
  38123. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  38124. nop
  38125. nop
  38126. nop
  38127. nop
  38128. nop
  38129. nop
  38130. nop
  38131. j _EXTERNAL_1_VECTOR_interrupt
  38132. nop
  38133. nop
  38134. nop
  38135. nop
  38136. nop
  38137. nop
  38138. nop
  38139. j _TIMER_2_VECTOR_interrupt
  38140. nop
  38141. nop
  38142. nop
  38143. nop
  38144. nop
  38145. nop
  38146. nop
  38147. j _INPUT_CAPTURE_2_VECTOR_interrupt
  38148. nop
  38149. nop
  38150. nop
  38151. nop
  38152. nop
  38153. nop
  38154. nop
  38155. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  38156. nop
  38157. nop
  38158. nop
  38159. nop
  38160. nop
  38161. nop
  38162. nop
  38163. j _EXTERNAL_2_VECTOR_interrupt
  38164. nop
  38165. nop
  38166. nop
  38167. nop
  38168. nop
  38169. nop
  38170. nop
  38171. j _TIMER_3_VECTOR_interrupt
  38172. nop
  38173. nop
  38174. nop
  38175. nop
  38176. nop
  38177. nop
  38178. nop
  38179. j _INPUT_CAPTURE_3_VECTOR_interrupt
  38180. nop
  38181. nop
  38182. nop
  38183. nop
  38184. nop
  38185. nop
  38186. nop
  38187. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  38188. nop
  38189. nop
  38190. nop
  38191. nop
  38192. nop
  38193. nop
  38194. nop
  38195. j _EXTERNAL_3_VECTOR_interrupt
  38196. nop
  38197. nop
  38198. nop
  38199. nop
  38200. nop
  38201. nop
  38202. nop
  38203. j _TIMER_4_VECTOR_interrupt
  38204. nop
  38205. nop
  38206. nop
  38207. nop
  38208. nop
  38209. nop
  38210. nop
  38211. j _INPUT_CAPTURE_4_VECTOR_interrupt
  38212. nop
  38213. nop
  38214. nop
  38215. nop
  38216. nop
  38217. nop
  38218. nop
  38219. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  38220. nop
  38221. nop
  38222. nop
  38223. nop
  38224. nop
  38225. nop
  38226. nop
  38227. j _EXTERNAL_4_VECTOR_interrupt
  38228. nop
  38229. nop
  38230. nop
  38231. nop
  38232. nop
  38233. nop
  38234. nop
  38235. j _TIMER_5_VECTOR_interrupt
  38236. nop
  38237. nop
  38238. nop
  38239. nop
  38240. nop
  38241. nop
  38242. nop
  38243. j _INPUT_CAPTURE_5_VECTOR_interrupt
  38244. nop
  38245. nop
  38246. nop
  38247. nop
  38248. nop
  38249. nop
  38250. nop
  38251. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  38252. nop
  38253. nop
  38254. nop
  38255. nop
  38256. nop
  38257. nop
  38258. nop
  38259. j _ADC_VECTOR_interrupt
  38260. nop
  38261. nop
  38262. nop
  38263. nop
  38264. nop
  38265. nop
  38266. nop
  38267. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  38268. nop
  38269. nop
  38270. nop
  38271. nop
  38272. nop
  38273. nop
  38274. nop
  38275. j _RTCC_VECTOR_interrupt
  38276. nop
  38277. nop
  38278. nop
  38279. nop
  38280. nop
  38281. nop
  38282. nop
  38283. j _FCE_VECTOR_interrupt
  38284. nop
  38285. nop
  38286. nop
  38287. nop
  38288. nop
  38289. nop
  38290. nop
  38291. j _COMPARATOR_1_VECTOR_interrupt
  38292. nop
  38293. nop
  38294. nop
  38295. nop
  38296. nop
  38297. nop
  38298. nop
  38299. j _COMPARATOR_2_VECTOR_interrupt
  38300. nop
  38301. nop
  38302. nop
  38303. nop
  38304. nop
  38305. nop
  38306. nop
  38307. j _COMPARATOR_3_VECTOR_interrupt
  38308. nop
  38309. nop
  38310. nop
  38311. nop
  38312. nop
  38313. nop
  38314. nop
  38315. j _USB_1_VECTOR_interrupt
  38316. nop
  38317. nop
  38318. nop
  38319. nop
  38320. nop
  38321. nop
  38322. nop
  38323. j _SPI_1_VECTOR_interrupt
  38324. nop
  38325. nop
  38326. nop
  38327. nop
  38328. nop
  38329. nop
  38330. nop
  38331. j _UART_1_VECTOR_interrupt
  38332. nop
  38333. nop
  38334. nop
  38335. nop
  38336. nop
  38337. nop
  38338. nop
  38339. j _I2C_1_VECTOR_interrupt
  38340. nop
  38341. nop
  38342. nop
  38343. nop
  38344. nop
  38345. nop
  38346. nop
  38347. j _CHANGE_NOTICE_VECTOR_interrupt
  38348. nop
  38349. nop
  38350. nop
  38351. nop
  38352. nop
  38353. nop
  38354. nop
  38355. j _PMP_VECTOR_interrupt
  38356. nop
  38357. nop
  38358. nop
  38359. nop
  38360. nop
  38361. nop
  38362. nop
  38363. j _SPI_2_VECTOR_interrupt
  38364. nop
  38365. nop
  38366. nop
  38367. nop
  38368. nop
  38369. nop
  38370. nop
  38371. j _UART_2_VECTOR_interrupt
  38372. nop
  38373. nop
  38374. nop
  38375. nop
  38376. nop
  38377. nop
  38378. nop
  38379. j _I2C_2_VECTOR_interrupt
  38380. nop
  38381. nop
  38382. nop
  38383. nop
  38384. nop
  38385. nop
  38386. nop
  38387. j _CTMU_VECTOR_interrupt
  38388. nop
  38389. nop
  38390. nop
  38391. nop
  38392. nop
  38393. nop
  38394. nop
  38395. j _DMA_0_VECTOR_interrupt
  38396. nop
  38397. nop
  38398. nop
  38399. nop
  38400. nop
  38401. nop
  38402. nop
  38403. j _DMA_1_VECTOR_interrupt
  38404. nop
  38405. nop
  38406. nop
  38407. nop
  38408. nop
  38409. nop
  38410. nop
  38411. j _DMA_2_VECTOR_interrupt
  38412. nop
  38413. nop
  38414. nop
  38415. nop
  38416. nop
  38417. nop
  38418. nop
  38419. j _DMA_3_VECTOR_interrupt
  38420. nop
  38421. nop
  38422. nop
  38423. nop
  38424. nop
  38425. nop
  38426. nop
  38427. .weak _CORE_TIMER_VECTOR_interrupt
  38428. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  38429. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  38430. .weak _EXTERNAL_0_VECTOR_interrupt
  38431. .weak _TIMER_1_VECTOR_interrupt
  38432. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  38433. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  38434. .weak _EXTERNAL_1_VECTOR_interrupt
  38435. .weak _TIMER_2_VECTOR_interrupt
  38436. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  38437. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  38438. .weak _EXTERNAL_2_VECTOR_interrupt
  38439. .weak _TIMER_3_VECTOR_interrupt
  38440. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  38441. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  38442. .weak _EXTERNAL_3_VECTOR_interrupt
  38443. .weak _TIMER_4_VECTOR_interrupt
  38444. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  38445. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  38446. .weak _EXTERNAL_4_VECTOR_interrupt
  38447. .weak _TIMER_5_VECTOR_interrupt
  38448. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  38449. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  38450. .weak _ADC_VECTOR_interrupt
  38451. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  38452. .weak _RTCC_VECTOR_interrupt
  38453. .weak _FCE_VECTOR_interrupt
  38454. .weak _COMPARATOR_1_VECTOR_interrupt
  38455. .weak _COMPARATOR_2_VECTOR_interrupt
  38456. .weak _COMPARATOR_3_VECTOR_interrupt
  38457. .weak _USB_1_VECTOR_interrupt
  38458. .weak _SPI_1_VECTOR_interrupt
  38459. .weak _UART_1_VECTOR_interrupt
  38460. .weak _I2C_1_VECTOR_interrupt
  38461. .weak _CHANGE_NOTICE_VECTOR_interrupt
  38462. .weak _PMP_VECTOR_interrupt
  38463. .weak _SPI_2_VECTOR_interrupt
  38464. .weak _UART_2_VECTOR_interrupt
  38465. .weak _I2C_2_VECTOR_interrupt
  38466. .weak _CTMU_VECTOR_interrupt
  38467. .weak _DMA_0_VECTOR_interrupt
  38468. .weak _DMA_1_VECTOR_interrupt
  38469. .weak _DMA_2_VECTOR_interrupt
  38470. .weak _DMA_3_VECTOR_interrupt
  38471. .text
  38472. end;
  38473. end.