pic32mx130f064c.pp 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553
  1. unit pic32mx130f064c;
  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. type
  5167. TCFGRegisters = record
  5168. CFGCON : longWord;
  5169. DDPCON : longWord;
  5170. DEVID : longWord;
  5171. SYSKEY : longWord;
  5172. SYSKEYCLR : longWord;
  5173. SYSKEYSET : longWord;
  5174. SYSKEYINV : longWord;
  5175. PMD1 : longWord;
  5176. PMD1CLR : longWord;
  5177. PMD1SET : longWord;
  5178. PMD1INV : longWord;
  5179. PMD2 : longWord;
  5180. PMD2CLR : longWord;
  5181. PMD2SET : longWord;
  5182. PMD2INV : longWord;
  5183. PMD3 : longWord;
  5184. PMD3CLR : longWord;
  5185. PMD3SET : longWord;
  5186. PMD3INV : longWord;
  5187. PMD4 : longWord;
  5188. PMD4CLR : longWord;
  5189. PMD4SET : longWord;
  5190. PMD4INV : longWord;
  5191. PMD5 : longWord;
  5192. PMD5CLR : longWord;
  5193. PMD5SET : longWord;
  5194. PMD5INV : longWord;
  5195. PMD6 : longWord;
  5196. PMD6CLR : longWord;
  5197. PMD6SET : longWord;
  5198. PMD6INV : longWord;
  5199. end;
  5200. TNVM_NVMCON = record
  5201. private
  5202. function getLVDERR : TBits_1; inline;
  5203. function getLVDSTAT : TBits_1; inline;
  5204. function getNVMOP : TBits_4; inline;
  5205. function getNVMOP0 : TBits_1; inline;
  5206. function getNVMOP1 : TBits_1; inline;
  5207. function getNVMOP2 : TBits_1; inline;
  5208. function getNVMOP3 : TBits_1; inline;
  5209. function getPROGOP : TBits_4; inline;
  5210. function getPROGOP0 : TBits_1; inline;
  5211. function getPROGOP1 : TBits_1; inline;
  5212. function getPROGOP2 : TBits_1; inline;
  5213. function getPROGOP3 : TBits_1; inline;
  5214. function getWR : TBits_1; inline;
  5215. function getWREN : TBits_1; inline;
  5216. function getWRERR : TBits_1; inline;
  5217. function getw : TBits_32; inline;
  5218. procedure setLVDERR(thebits : TBits_1); inline;
  5219. procedure setLVDSTAT(thebits : TBits_1); inline;
  5220. procedure setNVMOP(thebits : TBits_4); inline;
  5221. procedure setNVMOP0(thebits : TBits_1); inline;
  5222. procedure setNVMOP1(thebits : TBits_1); inline;
  5223. procedure setNVMOP2(thebits : TBits_1); inline;
  5224. procedure setNVMOP3(thebits : TBits_1); inline;
  5225. procedure setPROGOP(thebits : TBits_4); inline;
  5226. procedure setPROGOP0(thebits : TBits_1); inline;
  5227. procedure setPROGOP1(thebits : TBits_1); inline;
  5228. procedure setPROGOP2(thebits : TBits_1); inline;
  5229. procedure setPROGOP3(thebits : TBits_1); inline;
  5230. procedure setWR(thebits : TBits_1); inline;
  5231. procedure setWREN(thebits : TBits_1); inline;
  5232. procedure setWRERR(thebits : TBits_1); inline;
  5233. procedure setw(thebits : TBits_32); inline;
  5234. public
  5235. procedure clearLVDERR; inline;
  5236. procedure clearLVDSTAT; inline;
  5237. procedure clearNVMOP0; inline;
  5238. procedure clearNVMOP1; inline;
  5239. procedure clearNVMOP2; inline;
  5240. procedure clearNVMOP3; inline;
  5241. procedure clearPROGOP0; inline;
  5242. procedure clearPROGOP1; inline;
  5243. procedure clearPROGOP2; inline;
  5244. procedure clearPROGOP3; inline;
  5245. procedure clearWR; inline;
  5246. procedure clearWREN; inline;
  5247. procedure clearWRERR; inline;
  5248. procedure setLVDERR; inline;
  5249. procedure setLVDSTAT; inline;
  5250. procedure setNVMOP0; inline;
  5251. procedure setNVMOP1; inline;
  5252. procedure setNVMOP2; inline;
  5253. procedure setNVMOP3; inline;
  5254. procedure setPROGOP0; inline;
  5255. procedure setPROGOP1; inline;
  5256. procedure setPROGOP2; inline;
  5257. procedure setPROGOP3; inline;
  5258. procedure setWR; inline;
  5259. procedure setWREN; inline;
  5260. procedure setWRERR; inline;
  5261. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  5262. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  5263. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  5264. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  5265. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  5266. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  5267. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  5268. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  5269. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  5270. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  5271. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  5272. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  5273. property WR : TBits_1 read getWR write setWR;
  5274. property WREN : TBits_1 read getWREN write setWREN;
  5275. property WRERR : TBits_1 read getWRERR write setWRERR;
  5276. property w : TBits_32 read getw write setw;
  5277. end;
  5278. type
  5279. TNVMRegisters = record
  5280. NVMCONbits : TNVM_NVMCON;
  5281. NVMCON : longWord;
  5282. NVMCONCLR : longWord;
  5283. NVMCONSET : longWord;
  5284. NVMCONINV : longWord;
  5285. NVMKEY : longWord;
  5286. NVMADDR : longWord;
  5287. NVMADDRCLR : longWord;
  5288. NVMADDRSET : longWord;
  5289. NVMADDRINV : longWord;
  5290. NVMDATA : longWord;
  5291. NVMSRCADDR : longWord;
  5292. end;
  5293. TRCON_RCON = record
  5294. private
  5295. function getBOR : TBits_1; inline;
  5296. function getCMR : TBits_1; inline;
  5297. function getEXTR : TBits_1; inline;
  5298. function getIDLE : TBits_1; inline;
  5299. function getPOR : TBits_1; inline;
  5300. function getSLEEP : TBits_1; inline;
  5301. function getSWR : TBits_1; inline;
  5302. function getVREGS : TBits_1; inline;
  5303. function getWDTO : TBits_1; inline;
  5304. function getw : TBits_32; inline;
  5305. procedure setBOR(thebits : TBits_1); inline;
  5306. procedure setCMR(thebits : TBits_1); inline;
  5307. procedure setEXTR(thebits : TBits_1); inline;
  5308. procedure setIDLE(thebits : TBits_1); inline;
  5309. procedure setPOR(thebits : TBits_1); inline;
  5310. procedure setSLEEP(thebits : TBits_1); inline;
  5311. procedure setSWR(thebits : TBits_1); inline;
  5312. procedure setVREGS(thebits : TBits_1); inline;
  5313. procedure setWDTO(thebits : TBits_1); inline;
  5314. procedure setw(thebits : TBits_32); inline;
  5315. public
  5316. procedure clearBOR; inline;
  5317. procedure clearCMR; inline;
  5318. procedure clearEXTR; inline;
  5319. procedure clearIDLE; inline;
  5320. procedure clearPOR; inline;
  5321. procedure clearSLEEP; inline;
  5322. procedure clearSWR; inline;
  5323. procedure clearVREGS; inline;
  5324. procedure clearWDTO; inline;
  5325. procedure setBOR; inline;
  5326. procedure setCMR; inline;
  5327. procedure setEXTR; inline;
  5328. procedure setIDLE; inline;
  5329. procedure setPOR; inline;
  5330. procedure setSLEEP; inline;
  5331. procedure setSWR; inline;
  5332. procedure setVREGS; inline;
  5333. procedure setWDTO; inline;
  5334. property BOR : TBits_1 read getBOR write setBOR;
  5335. property CMR : TBits_1 read getCMR write setCMR;
  5336. property EXTR : TBits_1 read getEXTR write setEXTR;
  5337. property IDLE : TBits_1 read getIDLE write setIDLE;
  5338. property POR : TBits_1 read getPOR write setPOR;
  5339. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  5340. property SWR : TBits_1 read getSWR write setSWR;
  5341. property VREGS : TBits_1 read getVREGS write setVREGS;
  5342. property WDTO : TBits_1 read getWDTO write setWDTO;
  5343. property w : TBits_32 read getw write setw;
  5344. end;
  5345. TRCON_RSWRST = record
  5346. private
  5347. function getSWRST : TBits_1; inline;
  5348. function getw : TBits_32; inline;
  5349. procedure setSWRST(thebits : TBits_1); inline;
  5350. procedure setw(thebits : TBits_32); inline;
  5351. public
  5352. procedure clearSWRST; inline;
  5353. procedure setSWRST; inline;
  5354. property SWRST : TBits_1 read getSWRST write setSWRST;
  5355. property w : TBits_32 read getw write setw;
  5356. end;
  5357. type
  5358. TRCONRegisters = record
  5359. RCONbits : TRCON_RCON;
  5360. RCON : longWord;
  5361. RCONCLR : longWord;
  5362. RCONSET : longWord;
  5363. RCONINV : longWord;
  5364. RSWRSTbits : TRCON_RSWRST;
  5365. RSWRST : longWord;
  5366. RSWRSTCLR : longWord;
  5367. RSWRSTSET : longWord;
  5368. RSWRSTINV : longWord;
  5369. INT1R : longWord;
  5370. INT2R : longWord;
  5371. INT3R : longWord;
  5372. INT4R : longWord;
  5373. T2CKR : longWord;
  5374. T3CKR : longWord;
  5375. T4CKR : longWord;
  5376. T5CKR : longWord;
  5377. IC1R : longWord;
  5378. IC2R : longWord;
  5379. IC3R : longWord;
  5380. IC4R : longWord;
  5381. IC5R : longWord;
  5382. OCFAR : longWord;
  5383. OCFBR : longWord;
  5384. U1RXR : longWord;
  5385. U1CTSR : longWord;
  5386. U2RXR : longWord;
  5387. U2CTSR : longWord;
  5388. SDI1R : longWord;
  5389. SS1R : longWord;
  5390. SDI2R : longWord;
  5391. SS2R : longWord;
  5392. REFCLKIR : longWord;
  5393. RPA0R : longWord;
  5394. RPA1R : longWord;
  5395. RPA2R : longWord;
  5396. RPA3R : longWord;
  5397. RPA4R : longWord;
  5398. RPA8R : longWord;
  5399. RPA9R : longWord;
  5400. RPB0R : longWord;
  5401. RPB1R : longWord;
  5402. RPB2R : longWord;
  5403. RPB3R : longWord;
  5404. RPB4R : longWord;
  5405. RPB5R : longWord;
  5406. RPB6R : longWord;
  5407. RPB7R : longWord;
  5408. RPB8R : longWord;
  5409. RPB9R : longWord;
  5410. RPB10R : longWord;
  5411. RPB11R : longWord;
  5412. RPB12R : longWord;
  5413. RPB13R : longWord;
  5414. RPB14R : longWord;
  5415. RPB15R : longWord;
  5416. RPC0R : longWord;
  5417. RPC1R : longWord;
  5418. RPC2R : longWord;
  5419. RPC3R : longWord;
  5420. RPC4R : longWord;
  5421. RPC5R : longWord;
  5422. RPC6R : longWord;
  5423. RPC7R : longWord;
  5424. RPC8R : longWord;
  5425. RPC9R : longWord;
  5426. end;
  5427. TINT_INTCON = record
  5428. private
  5429. function getINT0EP : TBits_1; inline;
  5430. function getINT1EP : TBits_1; inline;
  5431. function getINT2EP : TBits_1; inline;
  5432. function getINT3EP : TBits_1; inline;
  5433. function getINT4EP : TBits_1; inline;
  5434. function getMVEC : TBits_1; inline;
  5435. function getSS0 : TBits_1; inline;
  5436. function getTPC : TBits_3; inline;
  5437. function getw : TBits_32; inline;
  5438. procedure setINT0EP(thebits : TBits_1); inline;
  5439. procedure setINT1EP(thebits : TBits_1); inline;
  5440. procedure setINT2EP(thebits : TBits_1); inline;
  5441. procedure setINT3EP(thebits : TBits_1); inline;
  5442. procedure setINT4EP(thebits : TBits_1); inline;
  5443. procedure setMVEC(thebits : TBits_1); inline;
  5444. procedure setSS0(thebits : TBits_1); inline;
  5445. procedure setTPC(thebits : TBits_3); inline;
  5446. procedure setw(thebits : TBits_32); inline;
  5447. public
  5448. procedure clearINT0EP; inline;
  5449. procedure clearINT1EP; inline;
  5450. procedure clearINT2EP; inline;
  5451. procedure clearINT3EP; inline;
  5452. procedure clearINT4EP; inline;
  5453. procedure clearMVEC; inline;
  5454. procedure clearSS0; inline;
  5455. procedure setINT0EP; inline;
  5456. procedure setINT1EP; inline;
  5457. procedure setINT2EP; inline;
  5458. procedure setINT3EP; inline;
  5459. procedure setINT4EP; inline;
  5460. procedure setMVEC; inline;
  5461. procedure setSS0; inline;
  5462. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  5463. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  5464. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  5465. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  5466. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  5467. property MVEC : TBits_1 read getMVEC write setMVEC;
  5468. property SS0 : TBits_1 read getSS0 write setSS0;
  5469. property TPC : TBits_3 read getTPC write setTPC;
  5470. property w : TBits_32 read getw write setw;
  5471. end;
  5472. TINT_IFS0 = record
  5473. private
  5474. function getAD1IF : TBits_1; inline;
  5475. function getCS0IF : TBits_1; inline;
  5476. function getCS1IF : TBits_1; inline;
  5477. function getCTIF : TBits_1; inline;
  5478. function getFCEIF : TBits_1; inline;
  5479. function getFSCMIF : TBits_1; inline;
  5480. function getIC1EIF : TBits_1; inline;
  5481. function getIC1IF : TBits_1; inline;
  5482. function getIC2EIF : TBits_1; inline;
  5483. function getIC2IF : TBits_1; inline;
  5484. function getIC3EIF : TBits_1; inline;
  5485. function getIC3IF : TBits_1; inline;
  5486. function getIC4EIF : TBits_1; inline;
  5487. function getIC4IF : TBits_1; inline;
  5488. function getIC5EIF : TBits_1; inline;
  5489. function getIC5IF : TBits_1; inline;
  5490. function getINT0IF : TBits_1; inline;
  5491. function getINT1IF : TBits_1; inline;
  5492. function getINT2IF : TBits_1; inline;
  5493. function getINT3IF : TBits_1; inline;
  5494. function getINT4IF : TBits_1; inline;
  5495. function getOC1IF : TBits_1; inline;
  5496. function getOC2IF : TBits_1; inline;
  5497. function getOC3IF : TBits_1; inline;
  5498. function getOC4IF : TBits_1; inline;
  5499. function getOC5IF : TBits_1; inline;
  5500. function getRTCCIF : TBits_1; inline;
  5501. function getT1IF : TBits_1; inline;
  5502. function getT2IF : TBits_1; inline;
  5503. function getT3IF : TBits_1; inline;
  5504. function getT4IF : TBits_1; inline;
  5505. function getT5IF : TBits_1; inline;
  5506. function getw : TBits_32; inline;
  5507. procedure setAD1IF(thebits : TBits_1); inline;
  5508. procedure setCS0IF(thebits : TBits_1); inline;
  5509. procedure setCS1IF(thebits : TBits_1); inline;
  5510. procedure setCTIF(thebits : TBits_1); inline;
  5511. procedure setFCEIF(thebits : TBits_1); inline;
  5512. procedure setFSCMIF(thebits : TBits_1); inline;
  5513. procedure setIC1EIF(thebits : TBits_1); inline;
  5514. procedure setIC1IF(thebits : TBits_1); inline;
  5515. procedure setIC2EIF(thebits : TBits_1); inline;
  5516. procedure setIC2IF(thebits : TBits_1); inline;
  5517. procedure setIC3EIF(thebits : TBits_1); inline;
  5518. procedure setIC3IF(thebits : TBits_1); inline;
  5519. procedure setIC4EIF(thebits : TBits_1); inline;
  5520. procedure setIC4IF(thebits : TBits_1); inline;
  5521. procedure setIC5EIF(thebits : TBits_1); inline;
  5522. procedure setIC5IF(thebits : TBits_1); inline;
  5523. procedure setINT0IF(thebits : TBits_1); inline;
  5524. procedure setINT1IF(thebits : TBits_1); inline;
  5525. procedure setINT2IF(thebits : TBits_1); inline;
  5526. procedure setINT3IF(thebits : TBits_1); inline;
  5527. procedure setINT4IF(thebits : TBits_1); inline;
  5528. procedure setOC1IF(thebits : TBits_1); inline;
  5529. procedure setOC2IF(thebits : TBits_1); inline;
  5530. procedure setOC3IF(thebits : TBits_1); inline;
  5531. procedure setOC4IF(thebits : TBits_1); inline;
  5532. procedure setOC5IF(thebits : TBits_1); inline;
  5533. procedure setRTCCIF(thebits : TBits_1); inline;
  5534. procedure setT1IF(thebits : TBits_1); inline;
  5535. procedure setT2IF(thebits : TBits_1); inline;
  5536. procedure setT3IF(thebits : TBits_1); inline;
  5537. procedure setT4IF(thebits : TBits_1); inline;
  5538. procedure setT5IF(thebits : TBits_1); inline;
  5539. procedure setw(thebits : TBits_32); inline;
  5540. public
  5541. procedure clearAD1IF; inline;
  5542. procedure clearCS0IF; inline;
  5543. procedure clearCS1IF; inline;
  5544. procedure clearCTIF; inline;
  5545. procedure clearFCEIF; inline;
  5546. procedure clearFSCMIF; inline;
  5547. procedure clearIC1EIF; inline;
  5548. procedure clearIC1IF; inline;
  5549. procedure clearIC2EIF; inline;
  5550. procedure clearIC2IF; inline;
  5551. procedure clearIC3EIF; inline;
  5552. procedure clearIC3IF; inline;
  5553. procedure clearIC4EIF; inline;
  5554. procedure clearIC4IF; inline;
  5555. procedure clearIC5EIF; inline;
  5556. procedure clearIC5IF; inline;
  5557. procedure clearINT0IF; inline;
  5558. procedure clearINT1IF; inline;
  5559. procedure clearINT2IF; inline;
  5560. procedure clearINT3IF; inline;
  5561. procedure clearINT4IF; inline;
  5562. procedure clearOC1IF; inline;
  5563. procedure clearOC2IF; inline;
  5564. procedure clearOC3IF; inline;
  5565. procedure clearOC4IF; inline;
  5566. procedure clearOC5IF; inline;
  5567. procedure clearRTCCIF; inline;
  5568. procedure clearT1IF; inline;
  5569. procedure clearT2IF; inline;
  5570. procedure clearT3IF; inline;
  5571. procedure clearT4IF; inline;
  5572. procedure clearT5IF; inline;
  5573. procedure setAD1IF; inline;
  5574. procedure setCS0IF; inline;
  5575. procedure setCS1IF; inline;
  5576. procedure setCTIF; inline;
  5577. procedure setFCEIF; inline;
  5578. procedure setFSCMIF; inline;
  5579. procedure setIC1EIF; inline;
  5580. procedure setIC1IF; inline;
  5581. procedure setIC2EIF; inline;
  5582. procedure setIC2IF; inline;
  5583. procedure setIC3EIF; inline;
  5584. procedure setIC3IF; inline;
  5585. procedure setIC4EIF; inline;
  5586. procedure setIC4IF; inline;
  5587. procedure setIC5EIF; inline;
  5588. procedure setIC5IF; inline;
  5589. procedure setINT0IF; inline;
  5590. procedure setINT1IF; inline;
  5591. procedure setINT2IF; inline;
  5592. procedure setINT3IF; inline;
  5593. procedure setINT4IF; inline;
  5594. procedure setOC1IF; inline;
  5595. procedure setOC2IF; inline;
  5596. procedure setOC3IF; inline;
  5597. procedure setOC4IF; inline;
  5598. procedure setOC5IF; inline;
  5599. procedure setRTCCIF; inline;
  5600. procedure setT1IF; inline;
  5601. procedure setT2IF; inline;
  5602. procedure setT3IF; inline;
  5603. procedure setT4IF; inline;
  5604. procedure setT5IF; inline;
  5605. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  5606. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  5607. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  5608. property CTIF : TBits_1 read getCTIF write setCTIF;
  5609. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  5610. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  5611. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  5612. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  5613. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  5614. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  5615. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  5616. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  5617. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  5618. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  5619. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  5620. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  5621. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  5622. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  5623. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  5624. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  5625. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  5626. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  5627. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  5628. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  5629. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  5630. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  5631. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  5632. property T1IF : TBits_1 read getT1IF write setT1IF;
  5633. property T2IF : TBits_1 read getT2IF write setT2IF;
  5634. property T3IF : TBits_1 read getT3IF write setT3IF;
  5635. property T4IF : TBits_1 read getT4IF write setT4IF;
  5636. property T5IF : TBits_1 read getT5IF write setT5IF;
  5637. property w : TBits_32 read getw write setw;
  5638. end;
  5639. TINT_IFS1 = record
  5640. private
  5641. function getCMP1IF : TBits_1; inline;
  5642. function getCMP2IF : TBits_1; inline;
  5643. function getCMP3IF : TBits_1; inline;
  5644. function getCNAIF : TBits_1; inline;
  5645. function getCNBIF : TBits_1; inline;
  5646. function getCNCIF : TBits_1; inline;
  5647. function getCTMUIF : TBits_1; inline;
  5648. function getDMA0IF : TBits_1; inline;
  5649. function getDMA1IF : TBits_1; inline;
  5650. function getDMA2IF : TBits_1; inline;
  5651. function getDMA3IF : TBits_1; inline;
  5652. function getI2C1BIF : TBits_1; inline;
  5653. function getI2C1MIF : TBits_1; inline;
  5654. function getI2C1SIF : TBits_1; inline;
  5655. function getI2C2BIF : TBits_1; inline;
  5656. function getI2C2MIF : TBits_1; inline;
  5657. function getI2C2SIF : TBits_1; inline;
  5658. function getPMPEIF : TBits_1; inline;
  5659. function getPMPIF : TBits_1; inline;
  5660. function getSPI1EIF : TBits_1; inline;
  5661. function getSPI1RXIF : TBits_1; inline;
  5662. function getSPI1TXIF : TBits_1; inline;
  5663. function getSPI2EIF : TBits_1; inline;
  5664. function getSPI2RXIF : TBits_1; inline;
  5665. function getSPI2TXIF : TBits_1; inline;
  5666. function getU1EIF : TBits_1; inline;
  5667. function getU1RXIF : TBits_1; inline;
  5668. function getU1TXIF : TBits_1; inline;
  5669. function getU2EIF : TBits_1; inline;
  5670. function getU2RXIF : TBits_1; inline;
  5671. function getU2TXIF : TBits_1; inline;
  5672. function getw : TBits_32; inline;
  5673. procedure setCMP1IF(thebits : TBits_1); inline;
  5674. procedure setCMP2IF(thebits : TBits_1); inline;
  5675. procedure setCMP3IF(thebits : TBits_1); inline;
  5676. procedure setCNAIF(thebits : TBits_1); inline;
  5677. procedure setCNBIF(thebits : TBits_1); inline;
  5678. procedure setCNCIF(thebits : TBits_1); inline;
  5679. procedure setCTMUIF(thebits : TBits_1); inline;
  5680. procedure setDMA0IF(thebits : TBits_1); inline;
  5681. procedure setDMA1IF(thebits : TBits_1); inline;
  5682. procedure setDMA2IF(thebits : TBits_1); inline;
  5683. procedure setDMA3IF(thebits : TBits_1); inline;
  5684. procedure setI2C1BIF(thebits : TBits_1); inline;
  5685. procedure setI2C1MIF(thebits : TBits_1); inline;
  5686. procedure setI2C1SIF(thebits : TBits_1); inline;
  5687. procedure setI2C2BIF(thebits : TBits_1); inline;
  5688. procedure setI2C2MIF(thebits : TBits_1); inline;
  5689. procedure setI2C2SIF(thebits : TBits_1); inline;
  5690. procedure setPMPEIF(thebits : TBits_1); inline;
  5691. procedure setPMPIF(thebits : TBits_1); inline;
  5692. procedure setSPI1EIF(thebits : TBits_1); inline;
  5693. procedure setSPI1RXIF(thebits : TBits_1); inline;
  5694. procedure setSPI1TXIF(thebits : TBits_1); inline;
  5695. procedure setSPI2EIF(thebits : TBits_1); inline;
  5696. procedure setSPI2RXIF(thebits : TBits_1); inline;
  5697. procedure setSPI2TXIF(thebits : TBits_1); inline;
  5698. procedure setU1EIF(thebits : TBits_1); inline;
  5699. procedure setU1RXIF(thebits : TBits_1); inline;
  5700. procedure setU1TXIF(thebits : TBits_1); inline;
  5701. procedure setU2EIF(thebits : TBits_1); inline;
  5702. procedure setU2RXIF(thebits : TBits_1); inline;
  5703. procedure setU2TXIF(thebits : TBits_1); inline;
  5704. procedure setw(thebits : TBits_32); inline;
  5705. public
  5706. procedure clearCMP1IF; inline;
  5707. procedure clearCMP2IF; inline;
  5708. procedure clearCMP3IF; inline;
  5709. procedure clearCNAIF; inline;
  5710. procedure clearCNBIF; inline;
  5711. procedure clearCNCIF; inline;
  5712. procedure clearCTMUIF; inline;
  5713. procedure clearDMA0IF; inline;
  5714. procedure clearDMA1IF; inline;
  5715. procedure clearDMA2IF; inline;
  5716. procedure clearDMA3IF; inline;
  5717. procedure clearI2C1BIF; inline;
  5718. procedure clearI2C1MIF; inline;
  5719. procedure clearI2C1SIF; inline;
  5720. procedure clearI2C2BIF; inline;
  5721. procedure clearI2C2MIF; inline;
  5722. procedure clearI2C2SIF; inline;
  5723. procedure clearPMPEIF; inline;
  5724. procedure clearPMPIF; inline;
  5725. procedure clearSPI1EIF; inline;
  5726. procedure clearSPI1RXIF; inline;
  5727. procedure clearSPI1TXIF; inline;
  5728. procedure clearSPI2EIF; inline;
  5729. procedure clearSPI2RXIF; inline;
  5730. procedure clearSPI2TXIF; inline;
  5731. procedure clearU1EIF; inline;
  5732. procedure clearU1RXIF; inline;
  5733. procedure clearU1TXIF; inline;
  5734. procedure clearU2EIF; inline;
  5735. procedure clearU2RXIF; inline;
  5736. procedure clearU2TXIF; inline;
  5737. procedure setCMP1IF; inline;
  5738. procedure setCMP2IF; inline;
  5739. procedure setCMP3IF; inline;
  5740. procedure setCNAIF; inline;
  5741. procedure setCNBIF; inline;
  5742. procedure setCNCIF; inline;
  5743. procedure setCTMUIF; inline;
  5744. procedure setDMA0IF; inline;
  5745. procedure setDMA1IF; inline;
  5746. procedure setDMA2IF; inline;
  5747. procedure setDMA3IF; inline;
  5748. procedure setI2C1BIF; inline;
  5749. procedure setI2C1MIF; inline;
  5750. procedure setI2C1SIF; inline;
  5751. procedure setI2C2BIF; inline;
  5752. procedure setI2C2MIF; inline;
  5753. procedure setI2C2SIF; inline;
  5754. procedure setPMPEIF; inline;
  5755. procedure setPMPIF; inline;
  5756. procedure setSPI1EIF; inline;
  5757. procedure setSPI1RXIF; inline;
  5758. procedure setSPI1TXIF; inline;
  5759. procedure setSPI2EIF; inline;
  5760. procedure setSPI2RXIF; inline;
  5761. procedure setSPI2TXIF; inline;
  5762. procedure setU1EIF; inline;
  5763. procedure setU1RXIF; inline;
  5764. procedure setU1TXIF; inline;
  5765. procedure setU2EIF; inline;
  5766. procedure setU2RXIF; inline;
  5767. procedure setU2TXIF; inline;
  5768. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  5769. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  5770. property CMP3IF : TBits_1 read getCMP3IF write setCMP3IF;
  5771. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  5772. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  5773. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  5774. property CTMUIF : TBits_1 read getCTMUIF write setCTMUIF;
  5775. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  5776. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  5777. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  5778. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  5779. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  5780. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  5781. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  5782. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  5783. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  5784. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  5785. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  5786. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  5787. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  5788. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  5789. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  5790. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  5791. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  5792. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  5793. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  5794. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  5795. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  5796. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  5797. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  5798. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  5799. property w : TBits_32 read getw write setw;
  5800. end;
  5801. TINT_IEC0 = record
  5802. private
  5803. function getAD1IE : TBits_1; inline;
  5804. function getCS0IE : TBits_1; inline;
  5805. function getCS1IE : TBits_1; inline;
  5806. function getCTIE : TBits_1; inline;
  5807. function getFCEIE : TBits_1; inline;
  5808. function getFSCMIE : TBits_1; inline;
  5809. function getIC1EIE : TBits_1; inline;
  5810. function getIC1IE : TBits_1; inline;
  5811. function getIC2EIE : TBits_1; inline;
  5812. function getIC2IE : TBits_1; inline;
  5813. function getIC3EIE : TBits_1; inline;
  5814. function getIC3IE : TBits_1; inline;
  5815. function getIC4EIE : TBits_1; inline;
  5816. function getIC4IE : TBits_1; inline;
  5817. function getIC5EIE : TBits_1; inline;
  5818. function getIC5IE : TBits_1; inline;
  5819. function getINT0IE : TBits_1; inline;
  5820. function getINT1IE : TBits_1; inline;
  5821. function getINT2IE : TBits_1; inline;
  5822. function getINT3IE : TBits_1; inline;
  5823. function getINT4IE : TBits_1; inline;
  5824. function getOC1IE : TBits_1; inline;
  5825. function getOC2IE : TBits_1; inline;
  5826. function getOC3IE : TBits_1; inline;
  5827. function getOC4IE : TBits_1; inline;
  5828. function getOC5IE : TBits_1; inline;
  5829. function getRTCCIE : TBits_1; inline;
  5830. function getT1IE : TBits_1; inline;
  5831. function getT2IE : TBits_1; inline;
  5832. function getT3IE : TBits_1; inline;
  5833. function getT4IE : TBits_1; inline;
  5834. function getT5IE : TBits_1; inline;
  5835. function getw : TBits_32; inline;
  5836. procedure setAD1IE(thebits : TBits_1); inline;
  5837. procedure setCS0IE(thebits : TBits_1); inline;
  5838. procedure setCS1IE(thebits : TBits_1); inline;
  5839. procedure setCTIE(thebits : TBits_1); inline;
  5840. procedure setFCEIE(thebits : TBits_1); inline;
  5841. procedure setFSCMIE(thebits : TBits_1); inline;
  5842. procedure setIC1EIE(thebits : TBits_1); inline;
  5843. procedure setIC1IE(thebits : TBits_1); inline;
  5844. procedure setIC2EIE(thebits : TBits_1); inline;
  5845. procedure setIC2IE(thebits : TBits_1); inline;
  5846. procedure setIC3EIE(thebits : TBits_1); inline;
  5847. procedure setIC3IE(thebits : TBits_1); inline;
  5848. procedure setIC4EIE(thebits : TBits_1); inline;
  5849. procedure setIC4IE(thebits : TBits_1); inline;
  5850. procedure setIC5EIE(thebits : TBits_1); inline;
  5851. procedure setIC5IE(thebits : TBits_1); inline;
  5852. procedure setINT0IE(thebits : TBits_1); inline;
  5853. procedure setINT1IE(thebits : TBits_1); inline;
  5854. procedure setINT2IE(thebits : TBits_1); inline;
  5855. procedure setINT3IE(thebits : TBits_1); inline;
  5856. procedure setINT4IE(thebits : TBits_1); inline;
  5857. procedure setOC1IE(thebits : TBits_1); inline;
  5858. procedure setOC2IE(thebits : TBits_1); inline;
  5859. procedure setOC3IE(thebits : TBits_1); inline;
  5860. procedure setOC4IE(thebits : TBits_1); inline;
  5861. procedure setOC5IE(thebits : TBits_1); inline;
  5862. procedure setRTCCIE(thebits : TBits_1); inline;
  5863. procedure setT1IE(thebits : TBits_1); inline;
  5864. procedure setT2IE(thebits : TBits_1); inline;
  5865. procedure setT3IE(thebits : TBits_1); inline;
  5866. procedure setT4IE(thebits : TBits_1); inline;
  5867. procedure setT5IE(thebits : TBits_1); inline;
  5868. procedure setw(thebits : TBits_32); inline;
  5869. public
  5870. procedure clearAD1IE; inline;
  5871. procedure clearCS0IE; inline;
  5872. procedure clearCS1IE; inline;
  5873. procedure clearCTIE; inline;
  5874. procedure clearFCEIE; inline;
  5875. procedure clearFSCMIE; inline;
  5876. procedure clearIC1EIE; inline;
  5877. procedure clearIC1IE; inline;
  5878. procedure clearIC2EIE; inline;
  5879. procedure clearIC2IE; inline;
  5880. procedure clearIC3EIE; inline;
  5881. procedure clearIC3IE; inline;
  5882. procedure clearIC4EIE; inline;
  5883. procedure clearIC4IE; inline;
  5884. procedure clearIC5EIE; inline;
  5885. procedure clearIC5IE; inline;
  5886. procedure clearINT0IE; inline;
  5887. procedure clearINT1IE; inline;
  5888. procedure clearINT2IE; inline;
  5889. procedure clearINT3IE; inline;
  5890. procedure clearINT4IE; inline;
  5891. procedure clearOC1IE; inline;
  5892. procedure clearOC2IE; inline;
  5893. procedure clearOC3IE; inline;
  5894. procedure clearOC4IE; inline;
  5895. procedure clearOC5IE; inline;
  5896. procedure clearRTCCIE; inline;
  5897. procedure clearT1IE; inline;
  5898. procedure clearT2IE; inline;
  5899. procedure clearT3IE; inline;
  5900. procedure clearT4IE; inline;
  5901. procedure clearT5IE; inline;
  5902. procedure setAD1IE; inline;
  5903. procedure setCS0IE; inline;
  5904. procedure setCS1IE; inline;
  5905. procedure setCTIE; inline;
  5906. procedure setFCEIE; inline;
  5907. procedure setFSCMIE; inline;
  5908. procedure setIC1EIE; inline;
  5909. procedure setIC1IE; inline;
  5910. procedure setIC2EIE; inline;
  5911. procedure setIC2IE; inline;
  5912. procedure setIC3EIE; inline;
  5913. procedure setIC3IE; inline;
  5914. procedure setIC4EIE; inline;
  5915. procedure setIC4IE; inline;
  5916. procedure setIC5EIE; inline;
  5917. procedure setIC5IE; inline;
  5918. procedure setINT0IE; inline;
  5919. procedure setINT1IE; inline;
  5920. procedure setINT2IE; inline;
  5921. procedure setINT3IE; inline;
  5922. procedure setINT4IE; inline;
  5923. procedure setOC1IE; inline;
  5924. procedure setOC2IE; inline;
  5925. procedure setOC3IE; inline;
  5926. procedure setOC4IE; inline;
  5927. procedure setOC5IE; inline;
  5928. procedure setRTCCIE; inline;
  5929. procedure setT1IE; inline;
  5930. procedure setT2IE; inline;
  5931. procedure setT3IE; inline;
  5932. procedure setT4IE; inline;
  5933. procedure setT5IE; inline;
  5934. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  5935. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  5936. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  5937. property CTIE : TBits_1 read getCTIE write setCTIE;
  5938. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  5939. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  5940. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  5941. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  5942. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  5943. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  5944. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  5945. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  5946. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  5947. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  5948. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  5949. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  5950. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  5951. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  5952. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  5953. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  5954. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  5955. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  5956. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  5957. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  5958. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  5959. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  5960. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  5961. property T1IE : TBits_1 read getT1IE write setT1IE;
  5962. property T2IE : TBits_1 read getT2IE write setT2IE;
  5963. property T3IE : TBits_1 read getT3IE write setT3IE;
  5964. property T4IE : TBits_1 read getT4IE write setT4IE;
  5965. property T5IE : TBits_1 read getT5IE write setT5IE;
  5966. property w : TBits_32 read getw write setw;
  5967. end;
  5968. TINT_IEC1 = record
  5969. private
  5970. function getCMP1IE : TBits_1; inline;
  5971. function getCMP2IE : TBits_1; inline;
  5972. function getCMP3IE : TBits_1; inline;
  5973. function getCNAIE : TBits_1; inline;
  5974. function getCNBIE : TBits_1; inline;
  5975. function getCNCIE : TBits_1; inline;
  5976. function getCTMUIE : TBits_1; inline;
  5977. function getDMA0IE : TBits_1; inline;
  5978. function getDMA1IE : TBits_1; inline;
  5979. function getDMA2IE : TBits_1; inline;
  5980. function getDMA3IE : TBits_1; inline;
  5981. function getI2C1BIE : TBits_1; inline;
  5982. function getI2C1MIE : TBits_1; inline;
  5983. function getI2C1SIE : TBits_1; inline;
  5984. function getI2C2BIE : TBits_1; inline;
  5985. function getI2C2MIE : TBits_1; inline;
  5986. function getI2C2SIE : TBits_1; inline;
  5987. function getPMPEIE : TBits_1; inline;
  5988. function getPMPIE : TBits_1; inline;
  5989. function getSPI1EIE : TBits_1; inline;
  5990. function getSPI1RXIE : TBits_1; inline;
  5991. function getSPI1TXIE : TBits_1; inline;
  5992. function getSPI2EIE : TBits_1; inline;
  5993. function getSPI2RXIE : TBits_1; inline;
  5994. function getSPI2TXIE : TBits_1; inline;
  5995. function getU1EIE : TBits_1; inline;
  5996. function getU1RXIE : TBits_1; inline;
  5997. function getU1TXIE : TBits_1; inline;
  5998. function getU2EIE : TBits_1; inline;
  5999. function getU2RXIE : TBits_1; inline;
  6000. function getU2TXIE : TBits_1; inline;
  6001. function getw : TBits_32; inline;
  6002. procedure setCMP1IE(thebits : TBits_1); inline;
  6003. procedure setCMP2IE(thebits : TBits_1); inline;
  6004. procedure setCMP3IE(thebits : TBits_1); inline;
  6005. procedure setCNAIE(thebits : TBits_1); inline;
  6006. procedure setCNBIE(thebits : TBits_1); inline;
  6007. procedure setCNCIE(thebits : TBits_1); inline;
  6008. procedure setCTMUIE(thebits : TBits_1); inline;
  6009. procedure setDMA0IE(thebits : TBits_1); inline;
  6010. procedure setDMA1IE(thebits : TBits_1); inline;
  6011. procedure setDMA2IE(thebits : TBits_1); inline;
  6012. procedure setDMA3IE(thebits : TBits_1); inline;
  6013. procedure setI2C1BIE(thebits : TBits_1); inline;
  6014. procedure setI2C1MIE(thebits : TBits_1); inline;
  6015. procedure setI2C1SIE(thebits : TBits_1); inline;
  6016. procedure setI2C2BIE(thebits : TBits_1); inline;
  6017. procedure setI2C2MIE(thebits : TBits_1); inline;
  6018. procedure setI2C2SIE(thebits : TBits_1); inline;
  6019. procedure setPMPEIE(thebits : TBits_1); inline;
  6020. procedure setPMPIE(thebits : TBits_1); inline;
  6021. procedure setSPI1EIE(thebits : TBits_1); inline;
  6022. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6023. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6024. procedure setSPI2EIE(thebits : TBits_1); inline;
  6025. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6026. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6027. procedure setU1EIE(thebits : TBits_1); inline;
  6028. procedure setU1RXIE(thebits : TBits_1); inline;
  6029. procedure setU1TXIE(thebits : TBits_1); inline;
  6030. procedure setU2EIE(thebits : TBits_1); inline;
  6031. procedure setU2RXIE(thebits : TBits_1); inline;
  6032. procedure setU2TXIE(thebits : TBits_1); inline;
  6033. procedure setw(thebits : TBits_32); inline;
  6034. public
  6035. procedure clearCMP1IE; inline;
  6036. procedure clearCMP2IE; inline;
  6037. procedure clearCMP3IE; inline;
  6038. procedure clearCNAIE; inline;
  6039. procedure clearCNBIE; inline;
  6040. procedure clearCNCIE; inline;
  6041. procedure clearCTMUIE; inline;
  6042. procedure clearDMA0IE; inline;
  6043. procedure clearDMA1IE; inline;
  6044. procedure clearDMA2IE; inline;
  6045. procedure clearDMA3IE; inline;
  6046. procedure clearI2C1BIE; inline;
  6047. procedure clearI2C1MIE; inline;
  6048. procedure clearI2C1SIE; inline;
  6049. procedure clearI2C2BIE; inline;
  6050. procedure clearI2C2MIE; inline;
  6051. procedure clearI2C2SIE; inline;
  6052. procedure clearPMPEIE; inline;
  6053. procedure clearPMPIE; inline;
  6054. procedure clearSPI1EIE; inline;
  6055. procedure clearSPI1RXIE; inline;
  6056. procedure clearSPI1TXIE; inline;
  6057. procedure clearSPI2EIE; inline;
  6058. procedure clearSPI2RXIE; inline;
  6059. procedure clearSPI2TXIE; inline;
  6060. procedure clearU1EIE; inline;
  6061. procedure clearU1RXIE; inline;
  6062. procedure clearU1TXIE; inline;
  6063. procedure clearU2EIE; inline;
  6064. procedure clearU2RXIE; inline;
  6065. procedure clearU2TXIE; inline;
  6066. procedure setCMP1IE; inline;
  6067. procedure setCMP2IE; inline;
  6068. procedure setCMP3IE; inline;
  6069. procedure setCNAIE; inline;
  6070. procedure setCNBIE; inline;
  6071. procedure setCNCIE; inline;
  6072. procedure setCTMUIE; inline;
  6073. procedure setDMA0IE; inline;
  6074. procedure setDMA1IE; inline;
  6075. procedure setDMA2IE; inline;
  6076. procedure setDMA3IE; inline;
  6077. procedure setI2C1BIE; inline;
  6078. procedure setI2C1MIE; inline;
  6079. procedure setI2C1SIE; inline;
  6080. procedure setI2C2BIE; inline;
  6081. procedure setI2C2MIE; inline;
  6082. procedure setI2C2SIE; inline;
  6083. procedure setPMPEIE; inline;
  6084. procedure setPMPIE; inline;
  6085. procedure setSPI1EIE; inline;
  6086. procedure setSPI1RXIE; inline;
  6087. procedure setSPI1TXIE; inline;
  6088. procedure setSPI2EIE; inline;
  6089. procedure setSPI2RXIE; inline;
  6090. procedure setSPI2TXIE; inline;
  6091. procedure setU1EIE; inline;
  6092. procedure setU1RXIE; inline;
  6093. procedure setU1TXIE; inline;
  6094. procedure setU2EIE; inline;
  6095. procedure setU2RXIE; inline;
  6096. procedure setU2TXIE; inline;
  6097. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  6098. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  6099. property CMP3IE : TBits_1 read getCMP3IE write setCMP3IE;
  6100. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  6101. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  6102. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  6103. property CTMUIE : TBits_1 read getCTMUIE write setCTMUIE;
  6104. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  6105. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  6106. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  6107. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  6108. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  6109. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  6110. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  6111. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  6112. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  6113. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  6114. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  6115. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  6116. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  6117. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  6118. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  6119. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  6120. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  6121. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  6122. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  6123. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  6124. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  6125. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  6126. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  6127. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  6128. property w : TBits_32 read getw write setw;
  6129. end;
  6130. TINT_IPC0 = record
  6131. private
  6132. function getCS0IP : TBits_3; inline;
  6133. function getCS0IS : TBits_2; inline;
  6134. function getCS1IP : TBits_3; inline;
  6135. function getCS1IS : TBits_2; inline;
  6136. function getCTIP : TBits_3; inline;
  6137. function getCTIS : TBits_2; inline;
  6138. function getINT0IP : TBits_3; inline;
  6139. function getINT0IS : TBits_2; inline;
  6140. function getw : TBits_32; inline;
  6141. procedure setCS0IP(thebits : TBits_3); inline;
  6142. procedure setCS0IS(thebits : TBits_2); inline;
  6143. procedure setCS1IP(thebits : TBits_3); inline;
  6144. procedure setCS1IS(thebits : TBits_2); inline;
  6145. procedure setCTIP(thebits : TBits_3); inline;
  6146. procedure setCTIS(thebits : TBits_2); inline;
  6147. procedure setINT0IP(thebits : TBits_3); inline;
  6148. procedure setINT0IS(thebits : TBits_2); inline;
  6149. procedure setw(thebits : TBits_32); inline;
  6150. public
  6151. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  6152. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  6153. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  6154. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  6155. property CTIP : TBits_3 read getCTIP write setCTIP;
  6156. property CTIS : TBits_2 read getCTIS write setCTIS;
  6157. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  6158. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  6159. property w : TBits_32 read getw write setw;
  6160. end;
  6161. TINT_IPC1 = record
  6162. private
  6163. function getIC1IP : TBits_3; inline;
  6164. function getIC1IS : TBits_2; inline;
  6165. function getINT1IP : TBits_3; inline;
  6166. function getINT1IS : TBits_2; inline;
  6167. function getOC1IP : TBits_3; inline;
  6168. function getOC1IS : TBits_2; inline;
  6169. function getT1IP : TBits_3; inline;
  6170. function getT1IS : TBits_2; inline;
  6171. function getw : TBits_32; inline;
  6172. procedure setIC1IP(thebits : TBits_3); inline;
  6173. procedure setIC1IS(thebits : TBits_2); inline;
  6174. procedure setINT1IP(thebits : TBits_3); inline;
  6175. procedure setINT1IS(thebits : TBits_2); inline;
  6176. procedure setOC1IP(thebits : TBits_3); inline;
  6177. procedure setOC1IS(thebits : TBits_2); inline;
  6178. procedure setT1IP(thebits : TBits_3); inline;
  6179. procedure setT1IS(thebits : TBits_2); inline;
  6180. procedure setw(thebits : TBits_32); inline;
  6181. public
  6182. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  6183. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  6184. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  6185. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  6186. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  6187. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  6188. property T1IP : TBits_3 read getT1IP write setT1IP;
  6189. property T1IS : TBits_2 read getT1IS write setT1IS;
  6190. property w : TBits_32 read getw write setw;
  6191. end;
  6192. TINT_IPC2 = record
  6193. private
  6194. function getIC2IP : TBits_3; inline;
  6195. function getIC2IS : TBits_2; inline;
  6196. function getINT2IP : TBits_3; inline;
  6197. function getINT2IS : TBits_2; inline;
  6198. function getOC2IP : TBits_3; inline;
  6199. function getOC2IS : TBits_2; inline;
  6200. function getT2IP : TBits_3; inline;
  6201. function getT2IS : TBits_2; inline;
  6202. function getw : TBits_32; inline;
  6203. procedure setIC2IP(thebits : TBits_3); inline;
  6204. procedure setIC2IS(thebits : TBits_2); inline;
  6205. procedure setINT2IP(thebits : TBits_3); inline;
  6206. procedure setINT2IS(thebits : TBits_2); inline;
  6207. procedure setOC2IP(thebits : TBits_3); inline;
  6208. procedure setOC2IS(thebits : TBits_2); inline;
  6209. procedure setT2IP(thebits : TBits_3); inline;
  6210. procedure setT2IS(thebits : TBits_2); inline;
  6211. procedure setw(thebits : TBits_32); inline;
  6212. public
  6213. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  6214. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  6215. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  6216. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  6217. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  6218. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  6219. property T2IP : TBits_3 read getT2IP write setT2IP;
  6220. property T2IS : TBits_2 read getT2IS write setT2IS;
  6221. property w : TBits_32 read getw write setw;
  6222. end;
  6223. TINT_IPC3 = record
  6224. private
  6225. function getIC3IP : TBits_3; inline;
  6226. function getIC3IS : TBits_2; inline;
  6227. function getINT3IP : TBits_3; inline;
  6228. function getINT3IS : TBits_2; inline;
  6229. function getOC3IP : TBits_3; inline;
  6230. function getOC3IS : TBits_2; inline;
  6231. function getT3IP : TBits_3; inline;
  6232. function getT3IS : TBits_2; inline;
  6233. function getw : TBits_32; inline;
  6234. procedure setIC3IP(thebits : TBits_3); inline;
  6235. procedure setIC3IS(thebits : TBits_2); inline;
  6236. procedure setINT3IP(thebits : TBits_3); inline;
  6237. procedure setINT3IS(thebits : TBits_2); inline;
  6238. procedure setOC3IP(thebits : TBits_3); inline;
  6239. procedure setOC3IS(thebits : TBits_2); inline;
  6240. procedure setT3IP(thebits : TBits_3); inline;
  6241. procedure setT3IS(thebits : TBits_2); inline;
  6242. procedure setw(thebits : TBits_32); inline;
  6243. public
  6244. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  6245. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  6246. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  6247. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  6248. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  6249. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  6250. property T3IP : TBits_3 read getT3IP write setT3IP;
  6251. property T3IS : TBits_2 read getT3IS write setT3IS;
  6252. property w : TBits_32 read getw write setw;
  6253. end;
  6254. TINT_IPC4 = record
  6255. private
  6256. function getIC4IP : TBits_3; inline;
  6257. function getIC4IS : TBits_2; inline;
  6258. function getINT4IP : TBits_3; inline;
  6259. function getINT4IS : TBits_2; inline;
  6260. function getOC4IP : TBits_3; inline;
  6261. function getOC4IS : TBits_2; inline;
  6262. function getT4IP : TBits_3; inline;
  6263. function getT4IS : TBits_2; inline;
  6264. function getw : TBits_32; inline;
  6265. procedure setIC4IP(thebits : TBits_3); inline;
  6266. procedure setIC4IS(thebits : TBits_2); inline;
  6267. procedure setINT4IP(thebits : TBits_3); inline;
  6268. procedure setINT4IS(thebits : TBits_2); inline;
  6269. procedure setOC4IP(thebits : TBits_3); inline;
  6270. procedure setOC4IS(thebits : TBits_2); inline;
  6271. procedure setT4IP(thebits : TBits_3); inline;
  6272. procedure setT4IS(thebits : TBits_2); inline;
  6273. procedure setw(thebits : TBits_32); inline;
  6274. public
  6275. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  6276. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  6277. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  6278. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  6279. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  6280. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  6281. property T4IP : TBits_3 read getT4IP write setT4IP;
  6282. property T4IS : TBits_2 read getT4IS write setT4IS;
  6283. property w : TBits_32 read getw write setw;
  6284. end;
  6285. TINT_IPC5 = record
  6286. private
  6287. function getAD1IP : TBits_3; inline;
  6288. function getAD1IS : TBits_2; inline;
  6289. function getIC5IP : TBits_3; inline;
  6290. function getIC5IS : TBits_2; inline;
  6291. function getOC5IP : TBits_3; inline;
  6292. function getOC5IS : TBits_2; inline;
  6293. function getT5IP : TBits_3; inline;
  6294. function getT5IS : TBits_2; inline;
  6295. function getw : TBits_32; inline;
  6296. procedure setAD1IP(thebits : TBits_3); inline;
  6297. procedure setAD1IS(thebits : TBits_2); inline;
  6298. procedure setIC5IP(thebits : TBits_3); inline;
  6299. procedure setIC5IS(thebits : TBits_2); inline;
  6300. procedure setOC5IP(thebits : TBits_3); inline;
  6301. procedure setOC5IS(thebits : TBits_2); inline;
  6302. procedure setT5IP(thebits : TBits_3); inline;
  6303. procedure setT5IS(thebits : TBits_2); inline;
  6304. procedure setw(thebits : TBits_32); inline;
  6305. public
  6306. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  6307. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  6308. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  6309. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  6310. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  6311. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  6312. property T5IP : TBits_3 read getT5IP write setT5IP;
  6313. property T5IS : TBits_2 read getT5IS write setT5IS;
  6314. property w : TBits_32 read getw write setw;
  6315. end;
  6316. TINT_IPC6 = record
  6317. private
  6318. function getCMP1IP : TBits_3; inline;
  6319. function getCMP1IS : TBits_2; inline;
  6320. function getFCEIP : TBits_3; inline;
  6321. function getFCEIS : TBits_2; inline;
  6322. function getFSCMIP : TBits_3; inline;
  6323. function getFSCMIS : TBits_2; inline;
  6324. function getRTCCIP : TBits_3; inline;
  6325. function getRTCCIS : TBits_2; inline;
  6326. function getw : TBits_32; inline;
  6327. procedure setCMP1IP(thebits : TBits_3); inline;
  6328. procedure setCMP1IS(thebits : TBits_2); inline;
  6329. procedure setFCEIP(thebits : TBits_3); inline;
  6330. procedure setFCEIS(thebits : TBits_2); inline;
  6331. procedure setFSCMIP(thebits : TBits_3); inline;
  6332. procedure setFSCMIS(thebits : TBits_2); inline;
  6333. procedure setRTCCIP(thebits : TBits_3); inline;
  6334. procedure setRTCCIS(thebits : TBits_2); inline;
  6335. procedure setw(thebits : TBits_32); inline;
  6336. public
  6337. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  6338. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  6339. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  6340. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  6341. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  6342. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  6343. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  6344. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  6345. property w : TBits_32 read getw write setw;
  6346. end;
  6347. TINT_IPC7 = record
  6348. private
  6349. function getCMP2IP : TBits_3; inline;
  6350. function getCMP2IS : TBits_2; inline;
  6351. function getCMP3IP : TBits_3; inline;
  6352. function getCMP3IS : TBits_2; inline;
  6353. function getSPI1IP : TBits_3; inline;
  6354. function getSPI1IS : TBits_2; inline;
  6355. function getw : TBits_32; inline;
  6356. procedure setCMP2IP(thebits : TBits_3); inline;
  6357. procedure setCMP2IS(thebits : TBits_2); inline;
  6358. procedure setCMP3IP(thebits : TBits_3); inline;
  6359. procedure setCMP3IS(thebits : TBits_2); inline;
  6360. procedure setSPI1IP(thebits : TBits_3); inline;
  6361. procedure setSPI1IS(thebits : TBits_2); inline;
  6362. procedure setw(thebits : TBits_32); inline;
  6363. public
  6364. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  6365. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  6366. property CMP3IP : TBits_3 read getCMP3IP write setCMP3IP;
  6367. property CMP3IS : TBits_2 read getCMP3IS write setCMP3IS;
  6368. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  6369. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  6370. property w : TBits_32 read getw write setw;
  6371. end;
  6372. TINT_IPC8 = record
  6373. private
  6374. function getCNIP : TBits_3; inline;
  6375. function getCNIS : TBits_2; inline;
  6376. function getI2C1IP : TBits_3; inline;
  6377. function getI2C1IS : TBits_2; inline;
  6378. function getPMPIP : TBits_3; inline;
  6379. function getPMPIS : TBits_2; inline;
  6380. function getU1IP : TBits_3; inline;
  6381. function getU1IS : TBits_2; inline;
  6382. function getw : TBits_32; inline;
  6383. procedure setCNIP(thebits : TBits_3); inline;
  6384. procedure setCNIS(thebits : TBits_2); inline;
  6385. procedure setI2C1IP(thebits : TBits_3); inline;
  6386. procedure setI2C1IS(thebits : TBits_2); inline;
  6387. procedure setPMPIP(thebits : TBits_3); inline;
  6388. procedure setPMPIS(thebits : TBits_2); inline;
  6389. procedure setU1IP(thebits : TBits_3); inline;
  6390. procedure setU1IS(thebits : TBits_2); inline;
  6391. procedure setw(thebits : TBits_32); inline;
  6392. public
  6393. property CNIP : TBits_3 read getCNIP write setCNIP;
  6394. property CNIS : TBits_2 read getCNIS write setCNIS;
  6395. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  6396. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  6397. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  6398. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  6399. property U1IP : TBits_3 read getU1IP write setU1IP;
  6400. property U1IS : TBits_2 read getU1IS write setU1IS;
  6401. property w : TBits_32 read getw write setw;
  6402. end;
  6403. TINT_IPC9 = record
  6404. private
  6405. function getCTMUIP : TBits_3; inline;
  6406. function getCTMUIS : TBits_2; inline;
  6407. function getI2C2IP : TBits_3; inline;
  6408. function getI2C2IS : TBits_2; inline;
  6409. function getSPI2IP : TBits_3; inline;
  6410. function getSPI2IS : TBits_2; inline;
  6411. function getU2IP : TBits_3; inline;
  6412. function getU2IS : TBits_2; inline;
  6413. function getw : TBits_32; inline;
  6414. procedure setCTMUIP(thebits : TBits_3); inline;
  6415. procedure setCTMUIS(thebits : TBits_2); inline;
  6416. procedure setI2C2IP(thebits : TBits_3); inline;
  6417. procedure setI2C2IS(thebits : TBits_2); inline;
  6418. procedure setSPI2IP(thebits : TBits_3); inline;
  6419. procedure setSPI2IS(thebits : TBits_2); inline;
  6420. procedure setU2IP(thebits : TBits_3); inline;
  6421. procedure setU2IS(thebits : TBits_2); inline;
  6422. procedure setw(thebits : TBits_32); inline;
  6423. public
  6424. property CTMUIP : TBits_3 read getCTMUIP write setCTMUIP;
  6425. property CTMUIS : TBits_2 read getCTMUIS write setCTMUIS;
  6426. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  6427. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  6428. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  6429. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  6430. property U2IP : TBits_3 read getU2IP write setU2IP;
  6431. property U2IS : TBits_2 read getU2IS write setU2IS;
  6432. property w : TBits_32 read getw write setw;
  6433. end;
  6434. TINT_IPC10 = record
  6435. private
  6436. function getDMA0IP : TBits_3; inline;
  6437. function getDMA0IS : TBits_2; inline;
  6438. function getDMA1IP : TBits_3; inline;
  6439. function getDMA1IS : TBits_2; inline;
  6440. function getDMA2IP : TBits_3; inline;
  6441. function getDMA2IS : TBits_2; inline;
  6442. function getDMA3IP : TBits_3; inline;
  6443. function getDMA3IS : TBits_2; inline;
  6444. function getw : TBits_32; inline;
  6445. procedure setDMA0IP(thebits : TBits_3); inline;
  6446. procedure setDMA0IS(thebits : TBits_2); inline;
  6447. procedure setDMA1IP(thebits : TBits_3); inline;
  6448. procedure setDMA1IS(thebits : TBits_2); inline;
  6449. procedure setDMA2IP(thebits : TBits_3); inline;
  6450. procedure setDMA2IS(thebits : TBits_2); inline;
  6451. procedure setDMA3IP(thebits : TBits_3); inline;
  6452. procedure setDMA3IS(thebits : TBits_2); inline;
  6453. procedure setw(thebits : TBits_32); inline;
  6454. public
  6455. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  6456. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  6457. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  6458. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  6459. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  6460. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  6461. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  6462. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  6463. property w : TBits_32 read getw write setw;
  6464. end;
  6465. type
  6466. TINTRegisters = record
  6467. INTCONbits : TINT_INTCON;
  6468. INTCON : longWord;
  6469. INTCONCLR : longWord;
  6470. INTCONSET : longWord;
  6471. INTCONINV : longWord;
  6472. INTSTAT : longWord;
  6473. IPTMR : longWord;
  6474. IPTMRCLR : longWord;
  6475. IPTMRSET : longWord;
  6476. IPTMRINV : longWord;
  6477. IFS0bits : TINT_IFS0;
  6478. IFS0 : longWord;
  6479. IFS0CLR : longWord;
  6480. IFS0SET : longWord;
  6481. IFS0INV : longWord;
  6482. IFS1bits : TINT_IFS1;
  6483. IFS1 : longWord;
  6484. IFS1CLR : longWord;
  6485. IFS1SET : longWord;
  6486. IFS1INV : longWord;
  6487. IEC0bits : TINT_IEC0;
  6488. IEC0 : longWord;
  6489. IEC0CLR : longWord;
  6490. IEC0SET : longWord;
  6491. IEC0INV : longWord;
  6492. IEC1bits : TINT_IEC1;
  6493. IEC1 : longWord;
  6494. IEC1CLR : longWord;
  6495. IEC1SET : longWord;
  6496. IEC1INV : longWord;
  6497. IPC0bits : TINT_IPC0;
  6498. IPC0 : longWord;
  6499. IPC0CLR : longWord;
  6500. IPC0SET : longWord;
  6501. IPC0INV : longWord;
  6502. IPC1bits : TINT_IPC1;
  6503. IPC1 : longWord;
  6504. IPC1CLR : longWord;
  6505. IPC1SET : longWord;
  6506. IPC1INV : longWord;
  6507. IPC2bits : TINT_IPC2;
  6508. IPC2 : longWord;
  6509. IPC2CLR : longWord;
  6510. IPC2SET : longWord;
  6511. IPC2INV : longWord;
  6512. IPC3bits : TINT_IPC3;
  6513. IPC3 : longWord;
  6514. IPC3CLR : longWord;
  6515. IPC3SET : longWord;
  6516. IPC3INV : longWord;
  6517. IPC4bits : TINT_IPC4;
  6518. IPC4 : longWord;
  6519. IPC4CLR : longWord;
  6520. IPC4SET : longWord;
  6521. IPC4INV : longWord;
  6522. IPC5bits : TINT_IPC5;
  6523. IPC5 : longWord;
  6524. IPC5CLR : longWord;
  6525. IPC5SET : longWord;
  6526. IPC5INV : longWord;
  6527. IPC6bits : TINT_IPC6;
  6528. IPC6 : longWord;
  6529. IPC6CLR : longWord;
  6530. IPC6SET : longWord;
  6531. IPC6INV : longWord;
  6532. IPC7bits : TINT_IPC7;
  6533. IPC7 : longWord;
  6534. IPC7CLR : longWord;
  6535. IPC7SET : longWord;
  6536. IPC7INV : longWord;
  6537. IPC8bits : TINT_IPC8;
  6538. IPC8 : longWord;
  6539. IPC8CLR : longWord;
  6540. IPC8SET : longWord;
  6541. IPC8INV : longWord;
  6542. IPC9bits : TINT_IPC9;
  6543. IPC9 : longWord;
  6544. IPC9CLR : longWord;
  6545. IPC9SET : longWord;
  6546. IPC9INV : longWord;
  6547. IPC10bits : TINT_IPC10;
  6548. IPC10 : longWord;
  6549. IPC10CLR : longWord;
  6550. IPC10SET : longWord;
  6551. IPC10INV : longWord;
  6552. end;
  6553. TBMX_BMXCON = record
  6554. private
  6555. function getBMXARB : TBits_3; inline;
  6556. function getBMXCHEDMA : TBits_1; inline;
  6557. function getBMXERRDMA : TBits_1; inline;
  6558. function getBMXERRDS : TBits_1; inline;
  6559. function getBMXERRICD : TBits_1; inline;
  6560. function getBMXERRIS : TBits_1; inline;
  6561. function getBMXERRIXI : TBits_1; inline;
  6562. function getBMXWSDRM : TBits_1; inline;
  6563. function getw : TBits_32; inline;
  6564. procedure setBMXARB(thebits : TBits_3); inline;
  6565. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  6566. procedure setBMXERRDMA(thebits : TBits_1); inline;
  6567. procedure setBMXERRDS(thebits : TBits_1); inline;
  6568. procedure setBMXERRICD(thebits : TBits_1); inline;
  6569. procedure setBMXERRIS(thebits : TBits_1); inline;
  6570. procedure setBMXERRIXI(thebits : TBits_1); inline;
  6571. procedure setBMXWSDRM(thebits : TBits_1); inline;
  6572. procedure setw(thebits : TBits_32); inline;
  6573. public
  6574. procedure clearBMXCHEDMA; inline;
  6575. procedure clearBMXERRDMA; inline;
  6576. procedure clearBMXERRDS; inline;
  6577. procedure clearBMXERRICD; inline;
  6578. procedure clearBMXERRIS; inline;
  6579. procedure clearBMXERRIXI; inline;
  6580. procedure clearBMXWSDRM; inline;
  6581. procedure setBMXCHEDMA; inline;
  6582. procedure setBMXERRDMA; inline;
  6583. procedure setBMXERRDS; inline;
  6584. procedure setBMXERRICD; inline;
  6585. procedure setBMXERRIS; inline;
  6586. procedure setBMXERRIXI; inline;
  6587. procedure setBMXWSDRM; inline;
  6588. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  6589. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  6590. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  6591. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  6592. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  6593. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  6594. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  6595. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  6596. property w : TBits_32 read getw write setw;
  6597. end;
  6598. type
  6599. TBMXRegisters = record
  6600. BMXCONbits : TBMX_BMXCON;
  6601. BMXCON : longWord;
  6602. BMXCONCLR : longWord;
  6603. BMXCONSET : longWord;
  6604. BMXCONINV : longWord;
  6605. BMXDKPBA : longWord;
  6606. BMXDKPBACLR : longWord;
  6607. BMXDKPBASET : longWord;
  6608. BMXDKPBAINV : longWord;
  6609. BMXDUDBA : longWord;
  6610. BMXDUDBACLR : longWord;
  6611. BMXDUDBASET : longWord;
  6612. BMXDUDBAINV : longWord;
  6613. BMXDUPBA : longWord;
  6614. BMXDUPBACLR : longWord;
  6615. BMXDUPBASET : longWord;
  6616. BMXDUPBAINV : longWord;
  6617. BMXDRMSZ : longWord;
  6618. BMXPUPBA : longWord;
  6619. BMXPUPBACLR : longWord;
  6620. BMXPUPBASET : longWord;
  6621. BMXPUPBAINV : longWord;
  6622. BMXPFMSZ : longWord;
  6623. BMXBOOTSZ : longWord;
  6624. end;
  6625. TDMAC_DMACON = record
  6626. private
  6627. function getDMABUSY : TBits_1; inline;
  6628. function getON : TBits_1; inline;
  6629. function getSUSPEND : TBits_1; inline;
  6630. function getw : TBits_32; inline;
  6631. procedure setDMABUSY(thebits : TBits_1); inline;
  6632. procedure setON(thebits : TBits_1); inline;
  6633. procedure setSUSPEND(thebits : TBits_1); inline;
  6634. procedure setw(thebits : TBits_32); inline;
  6635. public
  6636. procedure clearDMABUSY; inline;
  6637. procedure clearON; inline;
  6638. procedure clearSUSPEND; inline;
  6639. procedure setDMABUSY; inline;
  6640. procedure setON; inline;
  6641. procedure setSUSPEND; inline;
  6642. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  6643. property ON : TBits_1 read getON write setON;
  6644. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  6645. property w : TBits_32 read getw write setw;
  6646. end;
  6647. TDMAC_DMASTAT = record
  6648. private
  6649. function getDMACH : TBits_3; inline;
  6650. function getRDWR : TBits_1; inline;
  6651. function getw : TBits_32; inline;
  6652. procedure setDMACH(thebits : TBits_3); inline;
  6653. procedure setRDWR(thebits : TBits_1); inline;
  6654. procedure setw(thebits : TBits_32); inline;
  6655. public
  6656. procedure clearRDWR; inline;
  6657. procedure setRDWR; inline;
  6658. property DMACH : TBits_3 read getDMACH write setDMACH;
  6659. property RDWR : TBits_1 read getRDWR write setRDWR;
  6660. property w : TBits_32 read getw write setw;
  6661. end;
  6662. TDMAC_DCRCCON = record
  6663. private
  6664. function getBITO : TBits_1; inline;
  6665. function getBYTO : TBits_2; inline;
  6666. function getCRCAPP : TBits_1; inline;
  6667. function getCRCCH : TBits_3; inline;
  6668. function getCRCEN : TBits_1; inline;
  6669. function getCRCTYP : TBits_1; inline;
  6670. function getPLEN : TBits_5; inline;
  6671. function getWBO : TBits_1; inline;
  6672. function getw : TBits_32; inline;
  6673. procedure setBITO(thebits : TBits_1); inline;
  6674. procedure setBYTO(thebits : TBits_2); inline;
  6675. procedure setCRCAPP(thebits : TBits_1); inline;
  6676. procedure setCRCCH(thebits : TBits_3); inline;
  6677. procedure setCRCEN(thebits : TBits_1); inline;
  6678. procedure setCRCTYP(thebits : TBits_1); inline;
  6679. procedure setPLEN(thebits : TBits_5); inline;
  6680. procedure setWBO(thebits : TBits_1); inline;
  6681. procedure setw(thebits : TBits_32); inline;
  6682. public
  6683. procedure clearBITO; inline;
  6684. procedure clearCRCAPP; inline;
  6685. procedure clearCRCEN; inline;
  6686. procedure clearCRCTYP; inline;
  6687. procedure clearWBO; inline;
  6688. procedure setBITO; inline;
  6689. procedure setCRCAPP; inline;
  6690. procedure setCRCEN; inline;
  6691. procedure setCRCTYP; inline;
  6692. procedure setWBO; inline;
  6693. property BITO : TBits_1 read getBITO write setBITO;
  6694. property BYTO : TBits_2 read getBYTO write setBYTO;
  6695. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  6696. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  6697. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  6698. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  6699. property PLEN : TBits_5 read getPLEN write setPLEN;
  6700. property WBO : TBits_1 read getWBO write setWBO;
  6701. property w : TBits_32 read getw write setw;
  6702. end;
  6703. type
  6704. TDMACRegisters = record
  6705. DMACONbits : TDMAC_DMACON;
  6706. DMACON : longWord;
  6707. DMACONCLR : longWord;
  6708. DMACONSET : longWord;
  6709. DMACONINV : longWord;
  6710. DMASTATbits : TDMAC_DMASTAT;
  6711. DMASTAT : longWord;
  6712. DMASTATCLR : longWord;
  6713. DMASTATSET : longWord;
  6714. DMASTATINV : longWord;
  6715. DMAADDR : longWord;
  6716. DMAADDRCLR : longWord;
  6717. DMAADDRSET : longWord;
  6718. DMAADDRINV : longWord;
  6719. DCRCCONbits : TDMAC_DCRCCON;
  6720. DCRCCON : longWord;
  6721. DCRCCONCLR : longWord;
  6722. DCRCCONSET : longWord;
  6723. DCRCCONINV : longWord;
  6724. DCRCDATA : longWord;
  6725. DCRCDATACLR : longWord;
  6726. DCRCDATASET : longWord;
  6727. DCRCDATAINV : longWord;
  6728. DCRCXOR : longWord;
  6729. DCRCXORCLR : longWord;
  6730. DCRCXORSET : longWord;
  6731. DCRCXORINV : longWord;
  6732. end;
  6733. TDMAC0_DCH0CON = record
  6734. private
  6735. function getCHAED : TBits_1; inline;
  6736. function getCHAEN : TBits_1; inline;
  6737. function getCHBUSY : TBits_1; inline;
  6738. function getCHCHN : TBits_1; inline;
  6739. function getCHCHNS : TBits_1; inline;
  6740. function getCHEDET : TBits_1; inline;
  6741. function getCHEN : TBits_1; inline;
  6742. function getCHPRI : TBits_2; inline;
  6743. function getw : TBits_32; inline;
  6744. procedure setCHAED(thebits : TBits_1); inline;
  6745. procedure setCHAEN(thebits : TBits_1); inline;
  6746. procedure setCHBUSY(thebits : TBits_1); inline;
  6747. procedure setCHCHN(thebits : TBits_1); inline;
  6748. procedure setCHCHNS(thebits : TBits_1); inline;
  6749. procedure setCHEDET(thebits : TBits_1); inline;
  6750. procedure setCHEN(thebits : TBits_1); inline;
  6751. procedure setCHPRI(thebits : TBits_2); inline;
  6752. procedure setw(thebits : TBits_32); inline;
  6753. public
  6754. procedure clearCHAED; inline;
  6755. procedure clearCHAEN; inline;
  6756. procedure clearCHBUSY; inline;
  6757. procedure clearCHCHN; inline;
  6758. procedure clearCHCHNS; inline;
  6759. procedure clearCHEDET; inline;
  6760. procedure clearCHEN; inline;
  6761. procedure setCHAED; inline;
  6762. procedure setCHAEN; inline;
  6763. procedure setCHBUSY; inline;
  6764. procedure setCHCHN; inline;
  6765. procedure setCHCHNS; inline;
  6766. procedure setCHEDET; inline;
  6767. procedure setCHEN; inline;
  6768. property CHAED : TBits_1 read getCHAED write setCHAED;
  6769. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6770. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6771. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6772. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6773. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6774. property CHEN : TBits_1 read getCHEN write setCHEN;
  6775. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  6776. property w : TBits_32 read getw write setw;
  6777. end;
  6778. TDMAC0_DCH0ECON = record
  6779. private
  6780. function getAIRQEN : TBits_1; inline;
  6781. function getCABORT : TBits_1; inline;
  6782. function getCFORCE : TBits_1; inline;
  6783. function getCHAIRQ : TBits_8; inline;
  6784. function getCHSIRQ : TBits_8; inline;
  6785. function getPATEN : TBits_1; inline;
  6786. function getSIRQEN : TBits_1; inline;
  6787. function getw : TBits_32; inline;
  6788. procedure setAIRQEN(thebits : TBits_1); inline;
  6789. procedure setCABORT(thebits : TBits_1); inline;
  6790. procedure setCFORCE(thebits : TBits_1); inline;
  6791. procedure setCHAIRQ(thebits : TBits_8); inline;
  6792. procedure setCHSIRQ(thebits : TBits_8); inline;
  6793. procedure setPATEN(thebits : TBits_1); inline;
  6794. procedure setSIRQEN(thebits : TBits_1); inline;
  6795. procedure setw(thebits : TBits_32); inline;
  6796. public
  6797. procedure clearAIRQEN; inline;
  6798. procedure clearCABORT; inline;
  6799. procedure clearCFORCE; inline;
  6800. procedure clearPATEN; inline;
  6801. procedure clearSIRQEN; inline;
  6802. procedure setAIRQEN; inline;
  6803. procedure setCABORT; inline;
  6804. procedure setCFORCE; inline;
  6805. procedure setPATEN; inline;
  6806. procedure setSIRQEN; inline;
  6807. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  6808. property CABORT : TBits_1 read getCABORT write setCABORT;
  6809. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  6810. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  6811. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  6812. property PATEN : TBits_1 read getPATEN write setPATEN;
  6813. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  6814. property w : TBits_32 read getw write setw;
  6815. end;
  6816. TDMAC0_DCH0INT = record
  6817. private
  6818. function getCHBCIE : TBits_1; inline;
  6819. function getCHBCIF : TBits_1; inline;
  6820. function getCHCCIE : TBits_1; inline;
  6821. function getCHCCIF : TBits_1; inline;
  6822. function getCHDDIE : TBits_1; inline;
  6823. function getCHDDIF : TBits_1; inline;
  6824. function getCHDHIE : TBits_1; inline;
  6825. function getCHDHIF : TBits_1; inline;
  6826. function getCHERIE : TBits_1; inline;
  6827. function getCHERIF : TBits_1; inline;
  6828. function getCHSDIE : TBits_1; inline;
  6829. function getCHSDIF : TBits_1; inline;
  6830. function getCHSHIE : TBits_1; inline;
  6831. function getCHSHIF : TBits_1; inline;
  6832. function getCHTAIE : TBits_1; inline;
  6833. function getCHTAIF : TBits_1; inline;
  6834. function getw : TBits_32; inline;
  6835. procedure setCHBCIE(thebits : TBits_1); inline;
  6836. procedure setCHBCIF(thebits : TBits_1); inline;
  6837. procedure setCHCCIE(thebits : TBits_1); inline;
  6838. procedure setCHCCIF(thebits : TBits_1); inline;
  6839. procedure setCHDDIE(thebits : TBits_1); inline;
  6840. procedure setCHDDIF(thebits : TBits_1); inline;
  6841. procedure setCHDHIE(thebits : TBits_1); inline;
  6842. procedure setCHDHIF(thebits : TBits_1); inline;
  6843. procedure setCHERIE(thebits : TBits_1); inline;
  6844. procedure setCHERIF(thebits : TBits_1); inline;
  6845. procedure setCHSDIE(thebits : TBits_1); inline;
  6846. procedure setCHSDIF(thebits : TBits_1); inline;
  6847. procedure setCHSHIE(thebits : TBits_1); inline;
  6848. procedure setCHSHIF(thebits : TBits_1); inline;
  6849. procedure setCHTAIE(thebits : TBits_1); inline;
  6850. procedure setCHTAIF(thebits : TBits_1); inline;
  6851. procedure setw(thebits : TBits_32); inline;
  6852. public
  6853. procedure clearCHBCIE; inline;
  6854. procedure clearCHBCIF; inline;
  6855. procedure clearCHCCIE; inline;
  6856. procedure clearCHCCIF; inline;
  6857. procedure clearCHDDIE; inline;
  6858. procedure clearCHDDIF; inline;
  6859. procedure clearCHDHIE; inline;
  6860. procedure clearCHDHIF; inline;
  6861. procedure clearCHERIE; inline;
  6862. procedure clearCHERIF; inline;
  6863. procedure clearCHSDIE; inline;
  6864. procedure clearCHSDIF; inline;
  6865. procedure clearCHSHIE; inline;
  6866. procedure clearCHSHIF; inline;
  6867. procedure clearCHTAIE; inline;
  6868. procedure clearCHTAIF; inline;
  6869. procedure setCHBCIE; inline;
  6870. procedure setCHBCIF; inline;
  6871. procedure setCHCCIE; inline;
  6872. procedure setCHCCIF; inline;
  6873. procedure setCHDDIE; inline;
  6874. procedure setCHDDIF; inline;
  6875. procedure setCHDHIE; inline;
  6876. procedure setCHDHIF; inline;
  6877. procedure setCHERIE; inline;
  6878. procedure setCHERIF; inline;
  6879. procedure setCHSDIE; inline;
  6880. procedure setCHSDIF; inline;
  6881. procedure setCHSHIE; inline;
  6882. procedure setCHSHIF; inline;
  6883. procedure setCHTAIE; inline;
  6884. procedure setCHTAIF; inline;
  6885. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  6886. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  6887. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  6888. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  6889. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  6890. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  6891. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  6892. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  6893. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  6894. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  6895. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  6896. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  6897. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  6898. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  6899. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  6900. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  6901. property w : TBits_32 read getw write setw;
  6902. end;
  6903. type
  6904. TDMAC0Registers = record
  6905. DCH0CONbits : TDMAC0_DCH0CON;
  6906. DCH0CON : longWord;
  6907. DCH0CONCLR : longWord;
  6908. DCH0CONSET : longWord;
  6909. DCH0CONINV : longWord;
  6910. DCH0ECONbits : TDMAC0_DCH0ECON;
  6911. DCH0ECON : longWord;
  6912. DCH0ECONCLR : longWord;
  6913. DCH0ECONSET : longWord;
  6914. DCH0ECONINV : longWord;
  6915. DCH0INTbits : TDMAC0_DCH0INT;
  6916. DCH0INT : longWord;
  6917. DCH0INTCLR : longWord;
  6918. DCH0INTSET : longWord;
  6919. DCH0INTINV : longWord;
  6920. DCH0SSA : longWord;
  6921. DCH0SSACLR : longWord;
  6922. DCH0SSASET : longWord;
  6923. DCH0SSAINV : longWord;
  6924. DCH0DSA : longWord;
  6925. DCH0DSACLR : longWord;
  6926. DCH0DSASET : longWord;
  6927. DCH0DSAINV : longWord;
  6928. DCH0SSIZ : longWord;
  6929. DCH0SSIZCLR : longWord;
  6930. DCH0SSIZSET : longWord;
  6931. DCH0SSIZINV : longWord;
  6932. DCH0DSIZ : longWord;
  6933. DCH0DSIZCLR : longWord;
  6934. DCH0DSIZSET : longWord;
  6935. DCH0DSIZINV : longWord;
  6936. DCH0SPTR : longWord;
  6937. DCH0SPTRCLR : longWord;
  6938. DCH0SPTRSET : longWord;
  6939. DCH0SPTRINV : longWord;
  6940. DCH0DPTR : longWord;
  6941. DCH0DPTRCLR : longWord;
  6942. DCH0DPTRSET : longWord;
  6943. DCH0DPTRINV : longWord;
  6944. DCH0CSIZ : longWord;
  6945. DCH0CSIZCLR : longWord;
  6946. DCH0CSIZSET : longWord;
  6947. DCH0CSIZINV : longWord;
  6948. DCH0CPTR : longWord;
  6949. DCH0CPTRCLR : longWord;
  6950. DCH0CPTRSET : longWord;
  6951. DCH0CPTRINV : longWord;
  6952. DCH0DAT : longWord;
  6953. DCH0DATCLR : longWord;
  6954. DCH0DATSET : longWord;
  6955. DCH0DATINV : longWord;
  6956. end;
  6957. TDMAC1_DCH1CON = record
  6958. private
  6959. function getCHAED : TBits_1; inline;
  6960. function getCHAEN : TBits_1; inline;
  6961. function getCHBUSY : TBits_1; inline;
  6962. function getCHCHN : TBits_1; inline;
  6963. function getCHCHNS : TBits_1; inline;
  6964. function getCHEDET : TBits_1; inline;
  6965. function getCHEN : TBits_1; inline;
  6966. function getCHPRI : TBits_2; inline;
  6967. function getw : TBits_32; inline;
  6968. procedure setCHAED(thebits : TBits_1); inline;
  6969. procedure setCHAEN(thebits : TBits_1); inline;
  6970. procedure setCHBUSY(thebits : TBits_1); inline;
  6971. procedure setCHCHN(thebits : TBits_1); inline;
  6972. procedure setCHCHNS(thebits : TBits_1); inline;
  6973. procedure setCHEDET(thebits : TBits_1); inline;
  6974. procedure setCHEN(thebits : TBits_1); inline;
  6975. procedure setCHPRI(thebits : TBits_2); inline;
  6976. procedure setw(thebits : TBits_32); inline;
  6977. public
  6978. procedure clearCHAED; inline;
  6979. procedure clearCHAEN; inline;
  6980. procedure clearCHBUSY; inline;
  6981. procedure clearCHCHN; inline;
  6982. procedure clearCHCHNS; inline;
  6983. procedure clearCHEDET; inline;
  6984. procedure clearCHEN; inline;
  6985. procedure setCHAED; inline;
  6986. procedure setCHAEN; inline;
  6987. procedure setCHBUSY; inline;
  6988. procedure setCHCHN; inline;
  6989. procedure setCHCHNS; inline;
  6990. procedure setCHEDET; inline;
  6991. procedure setCHEN; inline;
  6992. property CHAED : TBits_1 read getCHAED write setCHAED;
  6993. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6994. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6995. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6996. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6997. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6998. property CHEN : TBits_1 read getCHEN write setCHEN;
  6999. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7000. property w : TBits_32 read getw write setw;
  7001. end;
  7002. TDMAC1_DCH1ECON = record
  7003. private
  7004. function getAIRQEN : TBits_1; inline;
  7005. function getCABORT : TBits_1; inline;
  7006. function getCFORCE : TBits_1; inline;
  7007. function getCHAIRQ : TBits_8; inline;
  7008. function getCHSIRQ : TBits_8; inline;
  7009. function getPATEN : TBits_1; inline;
  7010. function getSIRQEN : TBits_1; inline;
  7011. function getw : TBits_32; inline;
  7012. procedure setAIRQEN(thebits : TBits_1); inline;
  7013. procedure setCABORT(thebits : TBits_1); inline;
  7014. procedure setCFORCE(thebits : TBits_1); inline;
  7015. procedure setCHAIRQ(thebits : TBits_8); inline;
  7016. procedure setCHSIRQ(thebits : TBits_8); inline;
  7017. procedure setPATEN(thebits : TBits_1); inline;
  7018. procedure setSIRQEN(thebits : TBits_1); inline;
  7019. procedure setw(thebits : TBits_32); inline;
  7020. public
  7021. procedure clearAIRQEN; inline;
  7022. procedure clearCABORT; inline;
  7023. procedure clearCFORCE; inline;
  7024. procedure clearPATEN; inline;
  7025. procedure clearSIRQEN; inline;
  7026. procedure setAIRQEN; inline;
  7027. procedure setCABORT; inline;
  7028. procedure setCFORCE; inline;
  7029. procedure setPATEN; inline;
  7030. procedure setSIRQEN; inline;
  7031. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7032. property CABORT : TBits_1 read getCABORT write setCABORT;
  7033. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7034. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7035. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7036. property PATEN : TBits_1 read getPATEN write setPATEN;
  7037. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7038. property w : TBits_32 read getw write setw;
  7039. end;
  7040. TDMAC1_DCH1INT = record
  7041. private
  7042. function getCHBCIE : TBits_1; inline;
  7043. function getCHBCIF : TBits_1; inline;
  7044. function getCHCCIE : TBits_1; inline;
  7045. function getCHCCIF : TBits_1; inline;
  7046. function getCHDDIE : TBits_1; inline;
  7047. function getCHDDIF : TBits_1; inline;
  7048. function getCHDHIE : TBits_1; inline;
  7049. function getCHDHIF : TBits_1; inline;
  7050. function getCHERIE : TBits_1; inline;
  7051. function getCHERIF : TBits_1; inline;
  7052. function getCHSDIE : TBits_1; inline;
  7053. function getCHSDIF : TBits_1; inline;
  7054. function getCHSHIE : TBits_1; inline;
  7055. function getCHSHIF : TBits_1; inline;
  7056. function getCHTAIE : TBits_1; inline;
  7057. function getCHTAIF : TBits_1; inline;
  7058. function getw : TBits_32; inline;
  7059. procedure setCHBCIE(thebits : TBits_1); inline;
  7060. procedure setCHBCIF(thebits : TBits_1); inline;
  7061. procedure setCHCCIE(thebits : TBits_1); inline;
  7062. procedure setCHCCIF(thebits : TBits_1); inline;
  7063. procedure setCHDDIE(thebits : TBits_1); inline;
  7064. procedure setCHDDIF(thebits : TBits_1); inline;
  7065. procedure setCHDHIE(thebits : TBits_1); inline;
  7066. procedure setCHDHIF(thebits : TBits_1); inline;
  7067. procedure setCHERIE(thebits : TBits_1); inline;
  7068. procedure setCHERIF(thebits : TBits_1); inline;
  7069. procedure setCHSDIE(thebits : TBits_1); inline;
  7070. procedure setCHSDIF(thebits : TBits_1); inline;
  7071. procedure setCHSHIE(thebits : TBits_1); inline;
  7072. procedure setCHSHIF(thebits : TBits_1); inline;
  7073. procedure setCHTAIE(thebits : TBits_1); inline;
  7074. procedure setCHTAIF(thebits : TBits_1); inline;
  7075. procedure setw(thebits : TBits_32); inline;
  7076. public
  7077. procedure clearCHBCIE; inline;
  7078. procedure clearCHBCIF; inline;
  7079. procedure clearCHCCIE; inline;
  7080. procedure clearCHCCIF; inline;
  7081. procedure clearCHDDIE; inline;
  7082. procedure clearCHDDIF; inline;
  7083. procedure clearCHDHIE; inline;
  7084. procedure clearCHDHIF; inline;
  7085. procedure clearCHERIE; inline;
  7086. procedure clearCHERIF; inline;
  7087. procedure clearCHSDIE; inline;
  7088. procedure clearCHSDIF; inline;
  7089. procedure clearCHSHIE; inline;
  7090. procedure clearCHSHIF; inline;
  7091. procedure clearCHTAIE; inline;
  7092. procedure clearCHTAIF; inline;
  7093. procedure setCHBCIE; inline;
  7094. procedure setCHBCIF; inline;
  7095. procedure setCHCCIE; inline;
  7096. procedure setCHCCIF; inline;
  7097. procedure setCHDDIE; inline;
  7098. procedure setCHDDIF; inline;
  7099. procedure setCHDHIE; inline;
  7100. procedure setCHDHIF; inline;
  7101. procedure setCHERIE; inline;
  7102. procedure setCHERIF; inline;
  7103. procedure setCHSDIE; inline;
  7104. procedure setCHSDIF; inline;
  7105. procedure setCHSHIE; inline;
  7106. procedure setCHSHIF; inline;
  7107. procedure setCHTAIE; inline;
  7108. procedure setCHTAIF; inline;
  7109. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7110. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7111. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7112. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7113. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7114. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7115. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7116. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7117. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7118. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7119. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7120. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7121. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7122. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7123. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7124. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7125. property w : TBits_32 read getw write setw;
  7126. end;
  7127. type
  7128. TDMAC1Registers = record
  7129. DCH1CONbits : TDMAC1_DCH1CON;
  7130. DCH1CON : longWord;
  7131. DCH1CONCLR : longWord;
  7132. DCH1CONSET : longWord;
  7133. DCH1CONINV : longWord;
  7134. DCH1ECONbits : TDMAC1_DCH1ECON;
  7135. DCH1ECON : longWord;
  7136. DCH1ECONCLR : longWord;
  7137. DCH1ECONSET : longWord;
  7138. DCH1ECONINV : longWord;
  7139. DCH1INTbits : TDMAC1_DCH1INT;
  7140. DCH1INT : longWord;
  7141. DCH1INTCLR : longWord;
  7142. DCH1INTSET : longWord;
  7143. DCH1INTINV : longWord;
  7144. DCH1SSA : longWord;
  7145. DCH1SSACLR : longWord;
  7146. DCH1SSASET : longWord;
  7147. DCH1SSAINV : longWord;
  7148. DCH1DSA : longWord;
  7149. DCH1DSACLR : longWord;
  7150. DCH1DSASET : longWord;
  7151. DCH1DSAINV : longWord;
  7152. DCH1SSIZ : longWord;
  7153. DCH1SSIZCLR : longWord;
  7154. DCH1SSIZSET : longWord;
  7155. DCH1SSIZINV : longWord;
  7156. DCH1DSIZ : longWord;
  7157. DCH1DSIZCLR : longWord;
  7158. DCH1DSIZSET : longWord;
  7159. DCH1DSIZINV : longWord;
  7160. DCH1SPTR : longWord;
  7161. DCH1SPTRCLR : longWord;
  7162. DCH1SPTRSET : longWord;
  7163. DCH1SPTRINV : longWord;
  7164. DCH1DPTR : longWord;
  7165. DCH1DPTRCLR : longWord;
  7166. DCH1DPTRSET : longWord;
  7167. DCH1DPTRINV : longWord;
  7168. DCH1CSIZ : longWord;
  7169. DCH1CSIZCLR : longWord;
  7170. DCH1CSIZSET : longWord;
  7171. DCH1CSIZINV : longWord;
  7172. DCH1CPTR : longWord;
  7173. DCH1CPTRCLR : longWord;
  7174. DCH1CPTRSET : longWord;
  7175. DCH1CPTRINV : longWord;
  7176. DCH1DAT : longWord;
  7177. DCH1DATCLR : longWord;
  7178. DCH1DATSET : longWord;
  7179. DCH1DATINV : longWord;
  7180. end;
  7181. TDMAC2_DCH2CON = record
  7182. private
  7183. function getCHAED : TBits_1; inline;
  7184. function getCHAEN : TBits_1; inline;
  7185. function getCHBUSY : TBits_1; inline;
  7186. function getCHCHN : TBits_1; inline;
  7187. function getCHCHNS : TBits_1; inline;
  7188. function getCHEDET : TBits_1; inline;
  7189. function getCHEN : TBits_1; inline;
  7190. function getCHPRI : TBits_2; inline;
  7191. function getw : TBits_32; inline;
  7192. procedure setCHAED(thebits : TBits_1); inline;
  7193. procedure setCHAEN(thebits : TBits_1); inline;
  7194. procedure setCHBUSY(thebits : TBits_1); inline;
  7195. procedure setCHCHN(thebits : TBits_1); inline;
  7196. procedure setCHCHNS(thebits : TBits_1); inline;
  7197. procedure setCHEDET(thebits : TBits_1); inline;
  7198. procedure setCHEN(thebits : TBits_1); inline;
  7199. procedure setCHPRI(thebits : TBits_2); inline;
  7200. procedure setw(thebits : TBits_32); inline;
  7201. public
  7202. procedure clearCHAED; inline;
  7203. procedure clearCHAEN; inline;
  7204. procedure clearCHBUSY; inline;
  7205. procedure clearCHCHN; inline;
  7206. procedure clearCHCHNS; inline;
  7207. procedure clearCHEDET; inline;
  7208. procedure clearCHEN; inline;
  7209. procedure setCHAED; inline;
  7210. procedure setCHAEN; inline;
  7211. procedure setCHBUSY; inline;
  7212. procedure setCHCHN; inline;
  7213. procedure setCHCHNS; inline;
  7214. procedure setCHEDET; inline;
  7215. procedure setCHEN; inline;
  7216. property CHAED : TBits_1 read getCHAED write setCHAED;
  7217. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7218. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7219. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7220. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7221. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7222. property CHEN : TBits_1 read getCHEN write setCHEN;
  7223. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7224. property w : TBits_32 read getw write setw;
  7225. end;
  7226. TDMAC2_DCH2ECON = record
  7227. private
  7228. function getAIRQEN : TBits_1; inline;
  7229. function getCABORT : TBits_1; inline;
  7230. function getCFORCE : TBits_1; inline;
  7231. function getCHAIRQ : TBits_8; inline;
  7232. function getCHSIRQ : TBits_8; inline;
  7233. function getPATEN : TBits_1; inline;
  7234. function getSIRQEN : TBits_1; inline;
  7235. function getw : TBits_32; inline;
  7236. procedure setAIRQEN(thebits : TBits_1); inline;
  7237. procedure setCABORT(thebits : TBits_1); inline;
  7238. procedure setCFORCE(thebits : TBits_1); inline;
  7239. procedure setCHAIRQ(thebits : TBits_8); inline;
  7240. procedure setCHSIRQ(thebits : TBits_8); inline;
  7241. procedure setPATEN(thebits : TBits_1); inline;
  7242. procedure setSIRQEN(thebits : TBits_1); inline;
  7243. procedure setw(thebits : TBits_32); inline;
  7244. public
  7245. procedure clearAIRQEN; inline;
  7246. procedure clearCABORT; inline;
  7247. procedure clearCFORCE; inline;
  7248. procedure clearPATEN; inline;
  7249. procedure clearSIRQEN; inline;
  7250. procedure setAIRQEN; inline;
  7251. procedure setCABORT; inline;
  7252. procedure setCFORCE; inline;
  7253. procedure setPATEN; inline;
  7254. procedure setSIRQEN; inline;
  7255. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7256. property CABORT : TBits_1 read getCABORT write setCABORT;
  7257. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7258. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7259. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7260. property PATEN : TBits_1 read getPATEN write setPATEN;
  7261. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7262. property w : TBits_32 read getw write setw;
  7263. end;
  7264. TDMAC2_DCH2INT = record
  7265. private
  7266. function getCHBCIE : TBits_1; inline;
  7267. function getCHBCIF : TBits_1; inline;
  7268. function getCHCCIE : TBits_1; inline;
  7269. function getCHCCIF : TBits_1; inline;
  7270. function getCHDDIE : TBits_1; inline;
  7271. function getCHDDIF : TBits_1; inline;
  7272. function getCHDHIE : TBits_1; inline;
  7273. function getCHDHIF : TBits_1; inline;
  7274. function getCHERIE : TBits_1; inline;
  7275. function getCHERIF : TBits_1; inline;
  7276. function getCHSDIE : TBits_1; inline;
  7277. function getCHSDIF : TBits_1; inline;
  7278. function getCHSHIE : TBits_1; inline;
  7279. function getCHSHIF : TBits_1; inline;
  7280. function getCHTAIE : TBits_1; inline;
  7281. function getCHTAIF : TBits_1; inline;
  7282. function getw : TBits_32; inline;
  7283. procedure setCHBCIE(thebits : TBits_1); inline;
  7284. procedure setCHBCIF(thebits : TBits_1); inline;
  7285. procedure setCHCCIE(thebits : TBits_1); inline;
  7286. procedure setCHCCIF(thebits : TBits_1); inline;
  7287. procedure setCHDDIE(thebits : TBits_1); inline;
  7288. procedure setCHDDIF(thebits : TBits_1); inline;
  7289. procedure setCHDHIE(thebits : TBits_1); inline;
  7290. procedure setCHDHIF(thebits : TBits_1); inline;
  7291. procedure setCHERIE(thebits : TBits_1); inline;
  7292. procedure setCHERIF(thebits : TBits_1); inline;
  7293. procedure setCHSDIE(thebits : TBits_1); inline;
  7294. procedure setCHSDIF(thebits : TBits_1); inline;
  7295. procedure setCHSHIE(thebits : TBits_1); inline;
  7296. procedure setCHSHIF(thebits : TBits_1); inline;
  7297. procedure setCHTAIE(thebits : TBits_1); inline;
  7298. procedure setCHTAIF(thebits : TBits_1); inline;
  7299. procedure setw(thebits : TBits_32); inline;
  7300. public
  7301. procedure clearCHBCIE; inline;
  7302. procedure clearCHBCIF; inline;
  7303. procedure clearCHCCIE; inline;
  7304. procedure clearCHCCIF; inline;
  7305. procedure clearCHDDIE; inline;
  7306. procedure clearCHDDIF; inline;
  7307. procedure clearCHDHIE; inline;
  7308. procedure clearCHDHIF; inline;
  7309. procedure clearCHERIE; inline;
  7310. procedure clearCHERIF; inline;
  7311. procedure clearCHSDIE; inline;
  7312. procedure clearCHSDIF; inline;
  7313. procedure clearCHSHIE; inline;
  7314. procedure clearCHSHIF; inline;
  7315. procedure clearCHTAIE; inline;
  7316. procedure clearCHTAIF; inline;
  7317. procedure setCHBCIE; inline;
  7318. procedure setCHBCIF; inline;
  7319. procedure setCHCCIE; inline;
  7320. procedure setCHCCIF; inline;
  7321. procedure setCHDDIE; inline;
  7322. procedure setCHDDIF; inline;
  7323. procedure setCHDHIE; inline;
  7324. procedure setCHDHIF; inline;
  7325. procedure setCHERIE; inline;
  7326. procedure setCHERIF; inline;
  7327. procedure setCHSDIE; inline;
  7328. procedure setCHSDIF; inline;
  7329. procedure setCHSHIE; inline;
  7330. procedure setCHSHIF; inline;
  7331. procedure setCHTAIE; inline;
  7332. procedure setCHTAIF; inline;
  7333. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7334. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7335. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7336. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7337. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7338. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7339. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7340. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7341. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7342. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7343. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7344. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7345. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7346. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7347. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7348. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7349. property w : TBits_32 read getw write setw;
  7350. end;
  7351. type
  7352. TDMAC2Registers = record
  7353. DCH2CONbits : TDMAC2_DCH2CON;
  7354. DCH2CON : longWord;
  7355. DCH2CONCLR : longWord;
  7356. DCH2CONSET : longWord;
  7357. DCH2CONINV : longWord;
  7358. DCH2ECONbits : TDMAC2_DCH2ECON;
  7359. DCH2ECON : longWord;
  7360. DCH2ECONCLR : longWord;
  7361. DCH2ECONSET : longWord;
  7362. DCH2ECONINV : longWord;
  7363. DCH2INTbits : TDMAC2_DCH2INT;
  7364. DCH2INT : longWord;
  7365. DCH2INTCLR : longWord;
  7366. DCH2INTSET : longWord;
  7367. DCH2INTINV : longWord;
  7368. DCH2SSA : longWord;
  7369. DCH2SSACLR : longWord;
  7370. DCH2SSASET : longWord;
  7371. DCH2SSAINV : longWord;
  7372. DCH2DSA : longWord;
  7373. DCH2DSACLR : longWord;
  7374. DCH2DSASET : longWord;
  7375. DCH2DSAINV : longWord;
  7376. DCH2SSIZ : longWord;
  7377. DCH2SSIZCLR : longWord;
  7378. DCH2SSIZSET : longWord;
  7379. DCH2SSIZINV : longWord;
  7380. DCH2DSIZ : longWord;
  7381. DCH2DSIZCLR : longWord;
  7382. DCH2DSIZSET : longWord;
  7383. DCH2DSIZINV : longWord;
  7384. DCH2SPTR : longWord;
  7385. DCH2SPTRCLR : longWord;
  7386. DCH2SPTRSET : longWord;
  7387. DCH2SPTRINV : longWord;
  7388. DCH2DPTR : longWord;
  7389. DCH2DPTRCLR : longWord;
  7390. DCH2DPTRSET : longWord;
  7391. DCH2DPTRINV : longWord;
  7392. DCH2CSIZ : longWord;
  7393. DCH2CSIZCLR : longWord;
  7394. DCH2CSIZSET : longWord;
  7395. DCH2CSIZINV : longWord;
  7396. DCH2CPTR : longWord;
  7397. DCH2CPTRCLR : longWord;
  7398. DCH2CPTRSET : longWord;
  7399. DCH2CPTRINV : longWord;
  7400. DCH2DAT : longWord;
  7401. DCH2DATCLR : longWord;
  7402. DCH2DATSET : longWord;
  7403. DCH2DATINV : longWord;
  7404. end;
  7405. TDMAC3_DCH3CON = record
  7406. private
  7407. function getCHAED : TBits_1; inline;
  7408. function getCHAEN : TBits_1; inline;
  7409. function getCHBUSY : TBits_1; inline;
  7410. function getCHCHN : TBits_1; inline;
  7411. function getCHCHNS : TBits_1; inline;
  7412. function getCHEDET : TBits_1; inline;
  7413. function getCHEN : TBits_1; inline;
  7414. function getCHPRI : TBits_2; inline;
  7415. function getw : TBits_32; inline;
  7416. procedure setCHAED(thebits : TBits_1); inline;
  7417. procedure setCHAEN(thebits : TBits_1); inline;
  7418. procedure setCHBUSY(thebits : TBits_1); inline;
  7419. procedure setCHCHN(thebits : TBits_1); inline;
  7420. procedure setCHCHNS(thebits : TBits_1); inline;
  7421. procedure setCHEDET(thebits : TBits_1); inline;
  7422. procedure setCHEN(thebits : TBits_1); inline;
  7423. procedure setCHPRI(thebits : TBits_2); inline;
  7424. procedure setw(thebits : TBits_32); inline;
  7425. public
  7426. procedure clearCHAED; inline;
  7427. procedure clearCHAEN; inline;
  7428. procedure clearCHBUSY; inline;
  7429. procedure clearCHCHN; inline;
  7430. procedure clearCHCHNS; inline;
  7431. procedure clearCHEDET; inline;
  7432. procedure clearCHEN; inline;
  7433. procedure setCHAED; inline;
  7434. procedure setCHAEN; inline;
  7435. procedure setCHBUSY; inline;
  7436. procedure setCHCHN; inline;
  7437. procedure setCHCHNS; inline;
  7438. procedure setCHEDET; inline;
  7439. procedure setCHEN; inline;
  7440. property CHAED : TBits_1 read getCHAED write setCHAED;
  7441. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7442. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7443. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7444. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7445. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7446. property CHEN : TBits_1 read getCHEN write setCHEN;
  7447. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7448. property w : TBits_32 read getw write setw;
  7449. end;
  7450. TDMAC3_DCH3ECON = record
  7451. private
  7452. function getAIRQEN : TBits_1; inline;
  7453. function getCABORT : TBits_1; inline;
  7454. function getCFORCE : TBits_1; inline;
  7455. function getCHAIRQ : TBits_8; inline;
  7456. function getCHSIRQ : TBits_8; inline;
  7457. function getPATEN : TBits_1; inline;
  7458. function getSIRQEN : TBits_1; inline;
  7459. function getw : TBits_32; inline;
  7460. procedure setAIRQEN(thebits : TBits_1); inline;
  7461. procedure setCABORT(thebits : TBits_1); inline;
  7462. procedure setCFORCE(thebits : TBits_1); inline;
  7463. procedure setCHAIRQ(thebits : TBits_8); inline;
  7464. procedure setCHSIRQ(thebits : TBits_8); inline;
  7465. procedure setPATEN(thebits : TBits_1); inline;
  7466. procedure setSIRQEN(thebits : TBits_1); inline;
  7467. procedure setw(thebits : TBits_32); inline;
  7468. public
  7469. procedure clearAIRQEN; inline;
  7470. procedure clearCABORT; inline;
  7471. procedure clearCFORCE; inline;
  7472. procedure clearPATEN; inline;
  7473. procedure clearSIRQEN; inline;
  7474. procedure setAIRQEN; inline;
  7475. procedure setCABORT; inline;
  7476. procedure setCFORCE; inline;
  7477. procedure setPATEN; inline;
  7478. procedure setSIRQEN; inline;
  7479. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7480. property CABORT : TBits_1 read getCABORT write setCABORT;
  7481. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7482. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7483. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7484. property PATEN : TBits_1 read getPATEN write setPATEN;
  7485. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7486. property w : TBits_32 read getw write setw;
  7487. end;
  7488. TDMAC3_DCH3INT = record
  7489. private
  7490. function getCHBCIE : TBits_1; inline;
  7491. function getCHBCIF : TBits_1; inline;
  7492. function getCHCCIE : TBits_1; inline;
  7493. function getCHCCIF : TBits_1; inline;
  7494. function getCHDDIE : TBits_1; inline;
  7495. function getCHDDIF : TBits_1; inline;
  7496. function getCHDHIE : TBits_1; inline;
  7497. function getCHDHIF : TBits_1; inline;
  7498. function getCHERIE : TBits_1; inline;
  7499. function getCHERIF : TBits_1; inline;
  7500. function getCHSDIE : TBits_1; inline;
  7501. function getCHSDIF : TBits_1; inline;
  7502. function getCHSHIE : TBits_1; inline;
  7503. function getCHSHIF : TBits_1; inline;
  7504. function getCHTAIE : TBits_1; inline;
  7505. function getCHTAIF : TBits_1; inline;
  7506. function getw : TBits_32; inline;
  7507. procedure setCHBCIE(thebits : TBits_1); inline;
  7508. procedure setCHBCIF(thebits : TBits_1); inline;
  7509. procedure setCHCCIE(thebits : TBits_1); inline;
  7510. procedure setCHCCIF(thebits : TBits_1); inline;
  7511. procedure setCHDDIE(thebits : TBits_1); inline;
  7512. procedure setCHDDIF(thebits : TBits_1); inline;
  7513. procedure setCHDHIE(thebits : TBits_1); inline;
  7514. procedure setCHDHIF(thebits : TBits_1); inline;
  7515. procedure setCHERIE(thebits : TBits_1); inline;
  7516. procedure setCHERIF(thebits : TBits_1); inline;
  7517. procedure setCHSDIE(thebits : TBits_1); inline;
  7518. procedure setCHSDIF(thebits : TBits_1); inline;
  7519. procedure setCHSHIE(thebits : TBits_1); inline;
  7520. procedure setCHSHIF(thebits : TBits_1); inline;
  7521. procedure setCHTAIE(thebits : TBits_1); inline;
  7522. procedure setCHTAIF(thebits : TBits_1); inline;
  7523. procedure setw(thebits : TBits_32); inline;
  7524. public
  7525. procedure clearCHBCIE; inline;
  7526. procedure clearCHBCIF; inline;
  7527. procedure clearCHCCIE; inline;
  7528. procedure clearCHCCIF; inline;
  7529. procedure clearCHDDIE; inline;
  7530. procedure clearCHDDIF; inline;
  7531. procedure clearCHDHIE; inline;
  7532. procedure clearCHDHIF; inline;
  7533. procedure clearCHERIE; inline;
  7534. procedure clearCHERIF; inline;
  7535. procedure clearCHSDIE; inline;
  7536. procedure clearCHSDIF; inline;
  7537. procedure clearCHSHIE; inline;
  7538. procedure clearCHSHIF; inline;
  7539. procedure clearCHTAIE; inline;
  7540. procedure clearCHTAIF; inline;
  7541. procedure setCHBCIE; inline;
  7542. procedure setCHBCIF; inline;
  7543. procedure setCHCCIE; inline;
  7544. procedure setCHCCIF; inline;
  7545. procedure setCHDDIE; inline;
  7546. procedure setCHDDIF; inline;
  7547. procedure setCHDHIE; inline;
  7548. procedure setCHDHIF; inline;
  7549. procedure setCHERIE; inline;
  7550. procedure setCHERIF; inline;
  7551. procedure setCHSDIE; inline;
  7552. procedure setCHSDIF; inline;
  7553. procedure setCHSHIE; inline;
  7554. procedure setCHSHIF; inline;
  7555. procedure setCHTAIE; inline;
  7556. procedure setCHTAIF; inline;
  7557. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7558. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7559. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7560. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7561. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7562. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7563. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7564. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7565. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7566. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7567. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7568. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7569. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7570. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7571. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7572. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7573. property w : TBits_32 read getw write setw;
  7574. end;
  7575. TDMAC3_U1IR = record
  7576. private
  7577. function getATTACHIF : TBits_1; inline;
  7578. function getDETACHIF : TBits_1; inline;
  7579. function getIDLEIF : TBits_1; inline;
  7580. function getRESUMEIF : TBits_1; inline;
  7581. function getSOFIF : TBits_1; inline;
  7582. function getSTALLIF : TBits_1; inline;
  7583. function getTRNIF : TBits_1; inline;
  7584. function getUERRIF : TBits_1; inline;
  7585. function getURSTIF : TBits_1; inline;
  7586. function getURSTIF_DETACHIF : TBits_1; inline;
  7587. procedure setATTACHIF(thebits : TBits_1); inline;
  7588. procedure setDETACHIF(thebits : TBits_1); inline;
  7589. procedure setIDLEIF(thebits : TBits_1); inline;
  7590. procedure setRESUMEIF(thebits : TBits_1); inline;
  7591. procedure setSOFIF(thebits : TBits_1); inline;
  7592. procedure setSTALLIF(thebits : TBits_1); inline;
  7593. procedure setTRNIF(thebits : TBits_1); inline;
  7594. procedure setUERRIF(thebits : TBits_1); inline;
  7595. procedure setURSTIF(thebits : TBits_1); inline;
  7596. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  7597. public
  7598. procedure clearATTACHIF; inline;
  7599. procedure clearDETACHIF; inline;
  7600. procedure clearIDLEIF; inline;
  7601. procedure clearRESUMEIF; inline;
  7602. procedure clearSOFIF; inline;
  7603. procedure clearSTALLIF; inline;
  7604. procedure clearTRNIF; inline;
  7605. procedure clearUERRIF; inline;
  7606. procedure clearURSTIF; inline;
  7607. procedure clearURSTIF_DETACHIF; inline;
  7608. procedure setATTACHIF; inline;
  7609. procedure setDETACHIF; inline;
  7610. procedure setIDLEIF; inline;
  7611. procedure setRESUMEIF; inline;
  7612. procedure setSOFIF; inline;
  7613. procedure setSTALLIF; inline;
  7614. procedure setTRNIF; inline;
  7615. procedure setUERRIF; inline;
  7616. procedure setURSTIF; inline;
  7617. procedure setURSTIF_DETACHIF; inline;
  7618. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  7619. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  7620. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  7621. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  7622. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  7623. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  7624. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  7625. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  7626. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  7627. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  7628. end;
  7629. TDMAC3_U1IE = record
  7630. private
  7631. function getATTACHIE : TBits_1; inline;
  7632. function getDETACHIE : TBits_1; inline;
  7633. function getIDLEIE : TBits_1; inline;
  7634. function getRESUMEIE : TBits_1; inline;
  7635. function getSOFIE : TBits_1; inline;
  7636. function getSTALLIE : TBits_1; inline;
  7637. function getTRNIE : TBits_1; inline;
  7638. function getUERRIE : TBits_1; inline;
  7639. function getURSTIE : TBits_1; inline;
  7640. function getURSTIE_DETACHIE : TBits_1; inline;
  7641. procedure setATTACHIE(thebits : TBits_1); inline;
  7642. procedure setDETACHIE(thebits : TBits_1); inline;
  7643. procedure setIDLEIE(thebits : TBits_1); inline;
  7644. procedure setRESUMEIE(thebits : TBits_1); inline;
  7645. procedure setSOFIE(thebits : TBits_1); inline;
  7646. procedure setSTALLIE(thebits : TBits_1); inline;
  7647. procedure setTRNIE(thebits : TBits_1); inline;
  7648. procedure setUERRIE(thebits : TBits_1); inline;
  7649. procedure setURSTIE(thebits : TBits_1); inline;
  7650. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  7651. public
  7652. procedure clearATTACHIE; inline;
  7653. procedure clearDETACHIE; inline;
  7654. procedure clearIDLEIE; inline;
  7655. procedure clearRESUMEIE; inline;
  7656. procedure clearSOFIE; inline;
  7657. procedure clearSTALLIE; inline;
  7658. procedure clearTRNIE; inline;
  7659. procedure clearUERRIE; inline;
  7660. procedure clearURSTIE; inline;
  7661. procedure clearURSTIE_DETACHIE; inline;
  7662. procedure setATTACHIE; inline;
  7663. procedure setDETACHIE; inline;
  7664. procedure setIDLEIE; inline;
  7665. procedure setRESUMEIE; inline;
  7666. procedure setSOFIE; inline;
  7667. procedure setSTALLIE; inline;
  7668. procedure setTRNIE; inline;
  7669. procedure setUERRIE; inline;
  7670. procedure setURSTIE; inline;
  7671. procedure setURSTIE_DETACHIE; inline;
  7672. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  7673. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  7674. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  7675. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  7676. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  7677. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  7678. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  7679. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  7680. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  7681. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  7682. end;
  7683. TDMAC3_U1EIR = record
  7684. private
  7685. function getBMXEF : TBits_1; inline;
  7686. function getBTOEF : TBits_1; inline;
  7687. function getBTSEF : TBits_1; inline;
  7688. function getCRC16EF : TBits_1; inline;
  7689. function getCRC5EF : TBits_1; inline;
  7690. function getCRC5EF_EOFEF : TBits_1; inline;
  7691. function getDFN8EF : TBits_1; inline;
  7692. function getDMAEF : TBits_1; inline;
  7693. function getEOFEF : TBits_1; inline;
  7694. function getPIDEF : TBits_1; inline;
  7695. procedure setBMXEF(thebits : TBits_1); inline;
  7696. procedure setBTOEF(thebits : TBits_1); inline;
  7697. procedure setBTSEF(thebits : TBits_1); inline;
  7698. procedure setCRC16EF(thebits : TBits_1); inline;
  7699. procedure setCRC5EF(thebits : TBits_1); inline;
  7700. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  7701. procedure setDFN8EF(thebits : TBits_1); inline;
  7702. procedure setDMAEF(thebits : TBits_1); inline;
  7703. procedure setEOFEF(thebits : TBits_1); inline;
  7704. procedure setPIDEF(thebits : TBits_1); inline;
  7705. public
  7706. procedure clearBMXEF; inline;
  7707. procedure clearBTOEF; inline;
  7708. procedure clearBTSEF; inline;
  7709. procedure clearCRC16EF; inline;
  7710. procedure clearCRC5EF; inline;
  7711. procedure clearCRC5EF_EOFEF; inline;
  7712. procedure clearDFN8EF; inline;
  7713. procedure clearDMAEF; inline;
  7714. procedure clearEOFEF; inline;
  7715. procedure clearPIDEF; inline;
  7716. procedure setBMXEF; inline;
  7717. procedure setBTOEF; inline;
  7718. procedure setBTSEF; inline;
  7719. procedure setCRC16EF; inline;
  7720. procedure setCRC5EF; inline;
  7721. procedure setCRC5EF_EOFEF; inline;
  7722. procedure setDFN8EF; inline;
  7723. procedure setDMAEF; inline;
  7724. procedure setEOFEF; inline;
  7725. procedure setPIDEF; inline;
  7726. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  7727. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  7728. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  7729. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  7730. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  7731. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  7732. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  7733. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  7734. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  7735. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  7736. end;
  7737. TDMAC3_U1EIE = record
  7738. private
  7739. function getBMXEE : TBits_1; inline;
  7740. function getBTOEE : TBits_1; inline;
  7741. function getBTSEE : TBits_1; inline;
  7742. function getCRC16EE : TBits_1; inline;
  7743. function getCRC5EE : TBits_1; inline;
  7744. function getCRC5EE_EOFEE : TBits_1; inline;
  7745. function getDFN8EE : TBits_1; inline;
  7746. function getDMAEE : TBits_1; inline;
  7747. function getEOFEE : TBits_1; inline;
  7748. function getPIDEE : TBits_1; inline;
  7749. procedure setBMXEE(thebits : TBits_1); inline;
  7750. procedure setBTOEE(thebits : TBits_1); inline;
  7751. procedure setBTSEE(thebits : TBits_1); inline;
  7752. procedure setCRC16EE(thebits : TBits_1); inline;
  7753. procedure setCRC5EE(thebits : TBits_1); inline;
  7754. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  7755. procedure setDFN8EE(thebits : TBits_1); inline;
  7756. procedure setDMAEE(thebits : TBits_1); inline;
  7757. procedure setEOFEE(thebits : TBits_1); inline;
  7758. procedure setPIDEE(thebits : TBits_1); inline;
  7759. public
  7760. procedure clearBMXEE; inline;
  7761. procedure clearBTOEE; inline;
  7762. procedure clearBTSEE; inline;
  7763. procedure clearCRC16EE; inline;
  7764. procedure clearCRC5EE; inline;
  7765. procedure clearCRC5EE_EOFEE; inline;
  7766. procedure clearDFN8EE; inline;
  7767. procedure clearDMAEE; inline;
  7768. procedure clearEOFEE; inline;
  7769. procedure clearPIDEE; inline;
  7770. procedure setBMXEE; inline;
  7771. procedure setBTOEE; inline;
  7772. procedure setBTSEE; inline;
  7773. procedure setCRC16EE; inline;
  7774. procedure setCRC5EE; inline;
  7775. procedure setCRC5EE_EOFEE; inline;
  7776. procedure setDFN8EE; inline;
  7777. procedure setDMAEE; inline;
  7778. procedure setEOFEE; inline;
  7779. procedure setPIDEE; inline;
  7780. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  7781. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  7782. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  7783. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  7784. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  7785. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  7786. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  7787. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  7788. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  7789. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  7790. end;
  7791. TDMAC3_U1STAT = record
  7792. private
  7793. function getDIR : TBits_1; inline;
  7794. function getENDPT : TBits_4; inline;
  7795. function getENDPT0 : TBits_1; inline;
  7796. function getENDPT1 : TBits_1; inline;
  7797. function getENDPT2 : TBits_1; inline;
  7798. function getENDPT3 : TBits_1; inline;
  7799. function getPPBI : TBits_1; inline;
  7800. procedure setDIR(thebits : TBits_1); inline;
  7801. procedure setENDPT(thebits : TBits_4); inline;
  7802. procedure setENDPT0(thebits : TBits_1); inline;
  7803. procedure setENDPT1(thebits : TBits_1); inline;
  7804. procedure setENDPT2(thebits : TBits_1); inline;
  7805. procedure setENDPT3(thebits : TBits_1); inline;
  7806. procedure setPPBI(thebits : TBits_1); inline;
  7807. public
  7808. procedure clearDIR; inline;
  7809. procedure clearENDPT0; inline;
  7810. procedure clearENDPT1; inline;
  7811. procedure clearENDPT2; inline;
  7812. procedure clearENDPT3; inline;
  7813. procedure clearPPBI; inline;
  7814. procedure setDIR; inline;
  7815. procedure setENDPT0; inline;
  7816. procedure setENDPT1; inline;
  7817. procedure setENDPT2; inline;
  7818. procedure setENDPT3; inline;
  7819. procedure setPPBI; inline;
  7820. property DIR : TBits_1 read getDIR write setDIR;
  7821. property ENDPT : TBits_4 read getENDPT write setENDPT;
  7822. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  7823. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  7824. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  7825. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  7826. property PPBI : TBits_1 read getPPBI write setPPBI;
  7827. end;
  7828. TDMAC3_U1CON = record
  7829. private
  7830. function getHOSTEN : TBits_1; inline;
  7831. function getJSTATE : TBits_1; inline;
  7832. function getPKTDIS : TBits_1; inline;
  7833. function getPKTDIS_TOKBUSY : TBits_1; inline;
  7834. function getPPBRST : TBits_1; inline;
  7835. function getRESUME : TBits_1; inline;
  7836. function getSE0 : TBits_1; inline;
  7837. function getSOFEN : TBits_1; inline;
  7838. function getTOKBUSY : TBits_1; inline;
  7839. function getUSBEN : TBits_1; inline;
  7840. function getUSBEN_SOFEN : TBits_1; inline;
  7841. function getUSBRST : TBits_1; inline;
  7842. procedure setHOSTEN(thebits : TBits_1); inline;
  7843. procedure setJSTATE(thebits : TBits_1); inline;
  7844. procedure setPKTDIS(thebits : TBits_1); inline;
  7845. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  7846. procedure setPPBRST(thebits : TBits_1); inline;
  7847. procedure setRESUME(thebits : TBits_1); inline;
  7848. procedure setSE0(thebits : TBits_1); inline;
  7849. procedure setSOFEN(thebits : TBits_1); inline;
  7850. procedure setTOKBUSY(thebits : TBits_1); inline;
  7851. procedure setUSBEN(thebits : TBits_1); inline;
  7852. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  7853. procedure setUSBRST(thebits : TBits_1); inline;
  7854. public
  7855. procedure clearHOSTEN; inline;
  7856. procedure clearJSTATE; inline;
  7857. procedure clearPKTDIS; inline;
  7858. procedure clearPKTDIS_TOKBUSY; inline;
  7859. procedure clearPPBRST; inline;
  7860. procedure clearRESUME; inline;
  7861. procedure clearSE0; inline;
  7862. procedure clearSOFEN; inline;
  7863. procedure clearTOKBUSY; inline;
  7864. procedure clearUSBEN; inline;
  7865. procedure clearUSBEN_SOFEN; inline;
  7866. procedure clearUSBRST; inline;
  7867. procedure setHOSTEN; inline;
  7868. procedure setJSTATE; inline;
  7869. procedure setPKTDIS; inline;
  7870. procedure setPKTDIS_TOKBUSY; inline;
  7871. procedure setPPBRST; inline;
  7872. procedure setRESUME; inline;
  7873. procedure setSE0; inline;
  7874. procedure setSOFEN; inline;
  7875. procedure setTOKBUSY; inline;
  7876. procedure setUSBEN; inline;
  7877. procedure setUSBEN_SOFEN; inline;
  7878. procedure setUSBRST; inline;
  7879. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  7880. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  7881. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  7882. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  7883. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  7884. property RESUME : TBits_1 read getRESUME write setRESUME;
  7885. property SE0 : TBits_1 read getSE0 write setSE0;
  7886. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  7887. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  7888. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  7889. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  7890. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  7891. end;
  7892. TDMAC3_U1ADDR = record
  7893. private
  7894. function getDEVADDR : TBits_7; inline;
  7895. function getDEVADDR0 : TBits_1; inline;
  7896. function getDEVADDR1 : TBits_1; inline;
  7897. function getDEVADDR2 : TBits_1; inline;
  7898. function getDEVADDR3 : TBits_1; inline;
  7899. function getDEVADDR4 : TBits_1; inline;
  7900. function getDEVADDR5 : TBits_1; inline;
  7901. function getDEVADDR6 : TBits_1; inline;
  7902. function getLSPDEN : TBits_1; inline;
  7903. procedure setDEVADDR(thebits : TBits_7); inline;
  7904. procedure setDEVADDR0(thebits : TBits_1); inline;
  7905. procedure setDEVADDR1(thebits : TBits_1); inline;
  7906. procedure setDEVADDR2(thebits : TBits_1); inline;
  7907. procedure setDEVADDR3(thebits : TBits_1); inline;
  7908. procedure setDEVADDR4(thebits : TBits_1); inline;
  7909. procedure setDEVADDR5(thebits : TBits_1); inline;
  7910. procedure setDEVADDR6(thebits : TBits_1); inline;
  7911. procedure setLSPDEN(thebits : TBits_1); inline;
  7912. public
  7913. procedure clearDEVADDR0; inline;
  7914. procedure clearDEVADDR1; inline;
  7915. procedure clearDEVADDR2; inline;
  7916. procedure clearDEVADDR3; inline;
  7917. procedure clearDEVADDR4; inline;
  7918. procedure clearDEVADDR5; inline;
  7919. procedure clearDEVADDR6; inline;
  7920. procedure clearLSPDEN; inline;
  7921. procedure setDEVADDR0; inline;
  7922. procedure setDEVADDR1; inline;
  7923. procedure setDEVADDR2; inline;
  7924. procedure setDEVADDR3; inline;
  7925. procedure setDEVADDR4; inline;
  7926. procedure setDEVADDR5; inline;
  7927. procedure setDEVADDR6; inline;
  7928. procedure setLSPDEN; inline;
  7929. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  7930. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  7931. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  7932. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  7933. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  7934. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  7935. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  7936. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  7937. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  7938. end;
  7939. TDMAC3_U1FRML = record
  7940. private
  7941. function getFRM0 : TBits_1; inline;
  7942. function getFRM1 : TBits_1; inline;
  7943. function getFRM2 : TBits_1; inline;
  7944. function getFRM3 : TBits_1; inline;
  7945. function getFRM4 : TBits_1; inline;
  7946. function getFRM5 : TBits_1; inline;
  7947. function getFRM6 : TBits_1; inline;
  7948. function getFRM7 : TBits_1; inline;
  7949. function getFRML : TBits_8; inline;
  7950. procedure setFRM0(thebits : TBits_1); inline;
  7951. procedure setFRM1(thebits : TBits_1); inline;
  7952. procedure setFRM2(thebits : TBits_1); inline;
  7953. procedure setFRM3(thebits : TBits_1); inline;
  7954. procedure setFRM4(thebits : TBits_1); inline;
  7955. procedure setFRM5(thebits : TBits_1); inline;
  7956. procedure setFRM6(thebits : TBits_1); inline;
  7957. procedure setFRM7(thebits : TBits_1); inline;
  7958. procedure setFRML(thebits : TBits_8); inline;
  7959. public
  7960. procedure clearFRM0; inline;
  7961. procedure clearFRM1; inline;
  7962. procedure clearFRM2; inline;
  7963. procedure clearFRM3; inline;
  7964. procedure clearFRM4; inline;
  7965. procedure clearFRM5; inline;
  7966. procedure clearFRM6; inline;
  7967. procedure clearFRM7; inline;
  7968. procedure setFRM0; inline;
  7969. procedure setFRM1; inline;
  7970. procedure setFRM2; inline;
  7971. procedure setFRM3; inline;
  7972. procedure setFRM4; inline;
  7973. procedure setFRM5; inline;
  7974. procedure setFRM6; inline;
  7975. procedure setFRM7; inline;
  7976. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  7977. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  7978. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  7979. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  7980. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  7981. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  7982. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  7983. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  7984. property FRML : TBits_8 read getFRML write setFRML;
  7985. end;
  7986. TDMAC3_U1FRMH = record
  7987. private
  7988. function getFRM10 : TBits_1; inline;
  7989. function getFRM8 : TBits_1; inline;
  7990. function getFRM9 : TBits_1; inline;
  7991. function getFRMH : TBits_3; inline;
  7992. procedure setFRM10(thebits : TBits_1); inline;
  7993. procedure setFRM8(thebits : TBits_1); inline;
  7994. procedure setFRM9(thebits : TBits_1); inline;
  7995. procedure setFRMH(thebits : TBits_3); inline;
  7996. public
  7997. procedure clearFRM10; inline;
  7998. procedure clearFRM8; inline;
  7999. procedure clearFRM9; inline;
  8000. procedure setFRM10; inline;
  8001. procedure setFRM8; inline;
  8002. procedure setFRM9; inline;
  8003. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  8004. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  8005. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  8006. property FRMH : TBits_3 read getFRMH write setFRMH;
  8007. end;
  8008. TDMAC3_U1TOK = record
  8009. private
  8010. function getEP : TBits_4; inline;
  8011. function getEP0 : TBits_1; inline;
  8012. function getEP1 : TBits_1; inline;
  8013. function getEP2 : TBits_1; inline;
  8014. function getEP3 : TBits_1; inline;
  8015. function getPID : TBits_4; inline;
  8016. function getPID0 : TBits_1; inline;
  8017. function getPID1 : TBits_1; inline;
  8018. function getPID2 : TBits_1; inline;
  8019. function getPID3 : TBits_1; inline;
  8020. procedure setEP(thebits : TBits_4); inline;
  8021. procedure setEP0(thebits : TBits_1); inline;
  8022. procedure setEP1(thebits : TBits_1); inline;
  8023. procedure setEP2(thebits : TBits_1); inline;
  8024. procedure setEP3(thebits : TBits_1); inline;
  8025. procedure setPID(thebits : TBits_4); inline;
  8026. procedure setPID0(thebits : TBits_1); inline;
  8027. procedure setPID1(thebits : TBits_1); inline;
  8028. procedure setPID2(thebits : TBits_1); inline;
  8029. procedure setPID3(thebits : TBits_1); inline;
  8030. public
  8031. procedure clearEP0; inline;
  8032. procedure clearEP1; inline;
  8033. procedure clearEP2; inline;
  8034. procedure clearEP3; inline;
  8035. procedure clearPID0; inline;
  8036. procedure clearPID1; inline;
  8037. procedure clearPID2; inline;
  8038. procedure clearPID3; inline;
  8039. procedure setEP0; inline;
  8040. procedure setEP1; inline;
  8041. procedure setEP2; inline;
  8042. procedure setEP3; inline;
  8043. procedure setPID0; inline;
  8044. procedure setPID1; inline;
  8045. procedure setPID2; inline;
  8046. procedure setPID3; inline;
  8047. property EP : TBits_4 read getEP write setEP;
  8048. property EP0 : TBits_1 read getEP0 write setEP0;
  8049. property EP1 : TBits_1 read getEP1 write setEP1;
  8050. property EP2 : TBits_1 read getEP2 write setEP2;
  8051. property EP3 : TBits_1 read getEP3 write setEP3;
  8052. property PID : TBits_4 read getPID write setPID;
  8053. property PID0 : TBits_1 read getPID0 write setPID0;
  8054. property PID1 : TBits_1 read getPID1 write setPID1;
  8055. property PID2 : TBits_1 read getPID2 write setPID2;
  8056. property PID3 : TBits_1 read getPID3 write setPID3;
  8057. end;
  8058. type
  8059. TDMAC3Registers = record
  8060. DCH3CONbits : TDMAC3_DCH3CON;
  8061. DCH3CON : longWord;
  8062. DCH3CONCLR : longWord;
  8063. DCH3CONSET : longWord;
  8064. DCH3CONINV : longWord;
  8065. DCH3ECONbits : TDMAC3_DCH3ECON;
  8066. DCH3ECON : longWord;
  8067. DCH3ECONCLR : longWord;
  8068. DCH3ECONSET : longWord;
  8069. DCH3ECONINV : longWord;
  8070. DCH3INTbits : TDMAC3_DCH3INT;
  8071. DCH3INT : longWord;
  8072. DCH3INTCLR : longWord;
  8073. DCH3INTSET : longWord;
  8074. DCH3INTINV : longWord;
  8075. DCH3SSA : longWord;
  8076. DCH3SSACLR : longWord;
  8077. DCH3SSASET : longWord;
  8078. DCH3SSAINV : longWord;
  8079. DCH3DSA : longWord;
  8080. DCH3DSACLR : longWord;
  8081. DCH3DSASET : longWord;
  8082. DCH3DSAINV : longWord;
  8083. DCH3SSIZ : longWord;
  8084. DCH3SSIZCLR : longWord;
  8085. DCH3SSIZSET : longWord;
  8086. DCH3SSIZINV : longWord;
  8087. DCH3DSIZ : longWord;
  8088. DCH3DSIZCLR : longWord;
  8089. DCH3DSIZSET : longWord;
  8090. DCH3DSIZINV : longWord;
  8091. DCH3SPTR : longWord;
  8092. DCH3SPTRCLR : longWord;
  8093. DCH3SPTRSET : longWord;
  8094. DCH3SPTRINV : longWord;
  8095. DCH3DPTR : longWord;
  8096. DCH3DPTRCLR : longWord;
  8097. DCH3DPTRSET : longWord;
  8098. DCH3DPTRINV : longWord;
  8099. DCH3CSIZ : longWord;
  8100. DCH3CSIZCLR : longWord;
  8101. DCH3CSIZSET : longWord;
  8102. DCH3CSIZINV : longWord;
  8103. DCH3CPTR : longWord;
  8104. DCH3CPTRCLR : longWord;
  8105. DCH3CPTRSET : longWord;
  8106. DCH3CPTRINV : longWord;
  8107. DCH3DAT : longWord;
  8108. DCH3DATCLR : longWord;
  8109. DCH3DATSET : longWord;
  8110. DCH3DATINV : longWord;
  8111. U1OTGIR : longWord;
  8112. U1OTGIRCLR : longWord;
  8113. U1OTGIE : longWord;
  8114. U1OTGIECLR : longWord;
  8115. U1OTGIESET : longWord;
  8116. U1OTGIEINV : longWord;
  8117. U1OTGSTAT : longWord;
  8118. U1OTGCON : longWord;
  8119. U1OTGCONCLR : longWord;
  8120. U1OTGCONSET : longWord;
  8121. U1OTGCONINV : longWord;
  8122. U1PWRC : longWord;
  8123. U1PWRCCLR : longWord;
  8124. U1PWRCSET : longWord;
  8125. U1PWRCINV : longWord;
  8126. U1IRbits : TDMAC3_U1IR;
  8127. U1IR : longWord;
  8128. U1IRCLR : longWord;
  8129. U1IEbits : TDMAC3_U1IE;
  8130. U1IE : longWord;
  8131. U1IECLR : longWord;
  8132. U1IESET : longWord;
  8133. U1IEINV : longWord;
  8134. U1EIRbits : TDMAC3_U1EIR;
  8135. U1EIR : longWord;
  8136. U1EIRCLR : longWord;
  8137. U1EIEbits : TDMAC3_U1EIE;
  8138. U1EIE : longWord;
  8139. U1EIECLR : longWord;
  8140. U1EIESET : longWord;
  8141. U1EIEINV : longWord;
  8142. U1STATbits : TDMAC3_U1STAT;
  8143. U1STAT : longWord;
  8144. U1CONbits : TDMAC3_U1CON;
  8145. U1CON : longWord;
  8146. U1CONCLR : longWord;
  8147. U1CONSET : longWord;
  8148. U1CONINV : longWord;
  8149. U1ADDRbits : TDMAC3_U1ADDR;
  8150. U1ADDR : longWord;
  8151. U1ADDRCLR : longWord;
  8152. U1ADDRSET : longWord;
  8153. U1ADDRINV : longWord;
  8154. U1BDTP1 : longWord;
  8155. U1BDTP1CLR : longWord;
  8156. U1BDTP1SET : longWord;
  8157. U1BDTP1INV : longWord;
  8158. U1FRMLbits : TDMAC3_U1FRML;
  8159. U1FRML : longWord;
  8160. U1FRMHbits : TDMAC3_U1FRMH;
  8161. U1FRMH : longWord;
  8162. U1TOKbits : TDMAC3_U1TOK;
  8163. U1TOK : longWord;
  8164. U1TOKCLR : longWord;
  8165. U1TOKSET : longWord;
  8166. U1TOKINV : longWord;
  8167. U1SOF : longWord;
  8168. U1SOFCLR : longWord;
  8169. U1SOFSET : longWord;
  8170. U1SOFINV : longWord;
  8171. U1BDTP2 : longWord;
  8172. U1BDTP2CLR : longWord;
  8173. U1BDTP2SET : longWord;
  8174. U1BDTP2INV : longWord;
  8175. U1BDTP3 : longWord;
  8176. U1BDTP3CLR : longWord;
  8177. U1BDTP3SET : longWord;
  8178. U1BDTP3INV : longWord;
  8179. U1CNFG1 : longWord;
  8180. U1CNFG1CLR : longWord;
  8181. U1CNFG1SET : longWord;
  8182. U1CNFG1INV : longWord;
  8183. U1EP0 : longWord;
  8184. U1EP0CLR : longWord;
  8185. U1EP0SET : longWord;
  8186. U1EP0INV : longWord;
  8187. U1EP1 : longWord;
  8188. U1EP1CLR : longWord;
  8189. U1EP1SET : longWord;
  8190. U1EP1INV : longWord;
  8191. U1EP2 : longWord;
  8192. U1EP2CLR : longWord;
  8193. U1EP2SET : longWord;
  8194. U1EP2INV : longWord;
  8195. U1EP3 : longWord;
  8196. U1EP3CLR : longWord;
  8197. U1EP3SET : longWord;
  8198. U1EP3INV : longWord;
  8199. U1EP4 : longWord;
  8200. U1EP4CLR : longWord;
  8201. U1EP4SET : longWord;
  8202. U1EP4INV : longWord;
  8203. U1EP5 : longWord;
  8204. U1EP5CLR : longWord;
  8205. U1EP5SET : longWord;
  8206. U1EP5INV : longWord;
  8207. U1EP6 : longWord;
  8208. U1EP6CLR : longWord;
  8209. U1EP6SET : longWord;
  8210. U1EP6INV : longWord;
  8211. U1EP7 : longWord;
  8212. U1EP7CLR : longWord;
  8213. U1EP7SET : longWord;
  8214. U1EP7INV : longWord;
  8215. U1EP8 : longWord;
  8216. U1EP8CLR : longWord;
  8217. U1EP8SET : longWord;
  8218. U1EP8INV : longWord;
  8219. U1EP9 : longWord;
  8220. U1EP9CLR : longWord;
  8221. U1EP9SET : longWord;
  8222. U1EP9INV : longWord;
  8223. U1EP10 : longWord;
  8224. U1EP10CLR : longWord;
  8225. U1EP10SET : longWord;
  8226. U1EP10INV : longWord;
  8227. U1EP11 : longWord;
  8228. U1EP11CLR : longWord;
  8229. U1EP11SET : longWord;
  8230. U1EP11INV : longWord;
  8231. U1EP12 : longWord;
  8232. U1EP12CLR : longWord;
  8233. U1EP12SET : longWord;
  8234. U1EP12INV : longWord;
  8235. U1EP13 : longWord;
  8236. U1EP13CLR : longWord;
  8237. U1EP13SET : longWord;
  8238. U1EP13INV : longWord;
  8239. U1EP14 : longWord;
  8240. U1EP14CLR : longWord;
  8241. U1EP14SET : longWord;
  8242. U1EP14INV : longWord;
  8243. U1EP15 : longWord;
  8244. U1EP15CLR : longWord;
  8245. U1EP15SET : longWord;
  8246. U1EP15INV : longWord;
  8247. end;
  8248. TPORTA_ANSELA = record
  8249. private
  8250. function getANSA0 : TBits_1; inline;
  8251. function getANSA1 : TBits_1; inline;
  8252. function getw : TBits_32; inline;
  8253. procedure setANSA0(thebits : TBits_1); inline;
  8254. procedure setANSA1(thebits : TBits_1); inline;
  8255. procedure setw(thebits : TBits_32); inline;
  8256. public
  8257. procedure clearANSA0; inline;
  8258. procedure clearANSA1; inline;
  8259. procedure setANSA0; inline;
  8260. procedure setANSA1; inline;
  8261. property ANSA0 : TBits_1 read getANSA0 write setANSA0;
  8262. property ANSA1 : TBits_1 read getANSA1 write setANSA1;
  8263. property w : TBits_32 read getw write setw;
  8264. end;
  8265. TPORTA_TRISA = record
  8266. private
  8267. function getTRISA0 : TBits_1; inline;
  8268. function getTRISA1 : TBits_1; inline;
  8269. function getTRISA2 : TBits_1; inline;
  8270. function getTRISA3 : TBits_1; inline;
  8271. function getTRISA4 : TBits_1; inline;
  8272. function getw : TBits_32; inline;
  8273. procedure setTRISA0(thebits : TBits_1); inline;
  8274. procedure setTRISA1(thebits : TBits_1); inline;
  8275. procedure setTRISA2(thebits : TBits_1); inline;
  8276. procedure setTRISA3(thebits : TBits_1); inline;
  8277. procedure setTRISA4(thebits : TBits_1); inline;
  8278. procedure setw(thebits : TBits_32); inline;
  8279. public
  8280. procedure clearTRISA0; inline;
  8281. procedure clearTRISA1; inline;
  8282. procedure clearTRISA2; inline;
  8283. procedure clearTRISA3; inline;
  8284. procedure clearTRISA4; inline;
  8285. procedure setTRISA0; inline;
  8286. procedure setTRISA1; inline;
  8287. procedure setTRISA2; inline;
  8288. procedure setTRISA3; inline;
  8289. procedure setTRISA4; inline;
  8290. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8291. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8292. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8293. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8294. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8295. property w : TBits_32 read getw write setw;
  8296. end;
  8297. TPORTA_PORTA = record
  8298. private
  8299. function getRA0 : TBits_1; inline;
  8300. function getRA1 : TBits_1; inline;
  8301. function getRA2 : TBits_1; inline;
  8302. function getRA3 : TBits_1; inline;
  8303. function getRA4 : TBits_1; inline;
  8304. function getw : TBits_32; inline;
  8305. procedure setRA0(thebits : TBits_1); inline;
  8306. procedure setRA1(thebits : TBits_1); inline;
  8307. procedure setRA2(thebits : TBits_1); inline;
  8308. procedure setRA3(thebits : TBits_1); inline;
  8309. procedure setRA4(thebits : TBits_1); inline;
  8310. procedure setw(thebits : TBits_32); inline;
  8311. public
  8312. procedure clearRA0; inline;
  8313. procedure clearRA1; inline;
  8314. procedure clearRA2; inline;
  8315. procedure clearRA3; inline;
  8316. procedure clearRA4; inline;
  8317. procedure setRA0; inline;
  8318. procedure setRA1; inline;
  8319. procedure setRA2; inline;
  8320. procedure setRA3; inline;
  8321. procedure setRA4; inline;
  8322. property RA0 : TBits_1 read getRA0 write setRA0;
  8323. property RA1 : TBits_1 read getRA1 write setRA1;
  8324. property RA2 : TBits_1 read getRA2 write setRA2;
  8325. property RA3 : TBits_1 read getRA3 write setRA3;
  8326. property RA4 : TBits_1 read getRA4 write setRA4;
  8327. property w : TBits_32 read getw write setw;
  8328. end;
  8329. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4);
  8330. TPortA_bitset = set of TPortA_bits;
  8331. TPORTA_LATA = record
  8332. private
  8333. function getLATA0 : TBits_1; inline;
  8334. function getLATA1 : TBits_1; inline;
  8335. function getLATA2 : TBits_1; inline;
  8336. function getLATA3 : TBits_1; inline;
  8337. function getLATA4 : TBits_1; inline;
  8338. function getw : TBits_32; inline;
  8339. procedure setLATA0(thebits : TBits_1); inline;
  8340. procedure setLATA1(thebits : TBits_1); inline;
  8341. procedure setLATA2(thebits : TBits_1); inline;
  8342. procedure setLATA3(thebits : TBits_1); inline;
  8343. procedure setLATA4(thebits : TBits_1); inline;
  8344. procedure setw(thebits : TBits_32); inline;
  8345. public
  8346. procedure clearLATA0; inline;
  8347. procedure clearLATA1; inline;
  8348. procedure clearLATA2; inline;
  8349. procedure clearLATA3; inline;
  8350. procedure clearLATA4; inline;
  8351. procedure setLATA0; inline;
  8352. procedure setLATA1; inline;
  8353. procedure setLATA2; inline;
  8354. procedure setLATA3; inline;
  8355. procedure setLATA4; inline;
  8356. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8357. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8358. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8359. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8360. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8361. property w : TBits_32 read getw write setw;
  8362. end;
  8363. TPORTA_CNPUA = record
  8364. private
  8365. function getCNPUA0 : TBits_1; inline;
  8366. function getCNPUA1 : TBits_1; inline;
  8367. function getCNPUA2 : TBits_1; inline;
  8368. function getCNPUA3 : TBits_1; inline;
  8369. function getCNPUA4 : TBits_1; inline;
  8370. function getw : TBits_32; inline;
  8371. procedure setCNPUA0(thebits : TBits_1); inline;
  8372. procedure setCNPUA1(thebits : TBits_1); inline;
  8373. procedure setCNPUA2(thebits : TBits_1); inline;
  8374. procedure setCNPUA3(thebits : TBits_1); inline;
  8375. procedure setCNPUA4(thebits : TBits_1); inline;
  8376. procedure setw(thebits : TBits_32); inline;
  8377. public
  8378. procedure clearCNPUA0; inline;
  8379. procedure clearCNPUA1; inline;
  8380. procedure clearCNPUA2; inline;
  8381. procedure clearCNPUA3; inline;
  8382. procedure clearCNPUA4; inline;
  8383. procedure setCNPUA0; inline;
  8384. procedure setCNPUA1; inline;
  8385. procedure setCNPUA2; inline;
  8386. procedure setCNPUA3; inline;
  8387. procedure setCNPUA4; inline;
  8388. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8389. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8390. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8391. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8392. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8393. property w : TBits_32 read getw write setw;
  8394. end;
  8395. TPORTA_CNPDA = record
  8396. private
  8397. function getCNPDA0 : TBits_1; inline;
  8398. function getCNPDA1 : TBits_1; inline;
  8399. function getCNPDA2 : TBits_1; inline;
  8400. function getCNPDA3 : TBits_1; inline;
  8401. function getCNPDA4 : TBits_1; inline;
  8402. function getw : TBits_32; inline;
  8403. procedure setCNPDA0(thebits : TBits_1); inline;
  8404. procedure setCNPDA1(thebits : TBits_1); inline;
  8405. procedure setCNPDA2(thebits : TBits_1); inline;
  8406. procedure setCNPDA3(thebits : TBits_1); inline;
  8407. procedure setCNPDA4(thebits : TBits_1); inline;
  8408. procedure setw(thebits : TBits_32); inline;
  8409. public
  8410. procedure clearCNPDA0; inline;
  8411. procedure clearCNPDA1; inline;
  8412. procedure clearCNPDA2; inline;
  8413. procedure clearCNPDA3; inline;
  8414. procedure clearCNPDA4; inline;
  8415. procedure setCNPDA0; inline;
  8416. procedure setCNPDA1; inline;
  8417. procedure setCNPDA2; inline;
  8418. procedure setCNPDA3; inline;
  8419. procedure setCNPDA4; inline;
  8420. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8421. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8422. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8423. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8424. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8425. property w : TBits_32 read getw write setw;
  8426. end;
  8427. TPORTA_CNCONA = record
  8428. private
  8429. function getON : TBits_1; inline;
  8430. function getSIDL : TBits_1; inline;
  8431. function getw : TBits_32; inline;
  8432. procedure setON(thebits : TBits_1); inline;
  8433. procedure setSIDL(thebits : TBits_1); inline;
  8434. procedure setw(thebits : TBits_32); inline;
  8435. public
  8436. procedure clearON; inline;
  8437. procedure clearSIDL; inline;
  8438. procedure setON; inline;
  8439. procedure setSIDL; inline;
  8440. property ON : TBits_1 read getON write setON;
  8441. property SIDL : TBits_1 read getSIDL write setSIDL;
  8442. property w : TBits_32 read getw write setw;
  8443. end;
  8444. TPORTA_CNENA = record
  8445. private
  8446. function getCNIEA0 : TBits_1; inline;
  8447. function getCNIEA1 : TBits_1; inline;
  8448. function getCNIEA2 : TBits_1; inline;
  8449. function getCNIEA3 : TBits_1; inline;
  8450. function getCNIEA4 : TBits_1; inline;
  8451. function getw : TBits_32; inline;
  8452. procedure setCNIEA0(thebits : TBits_1); inline;
  8453. procedure setCNIEA1(thebits : TBits_1); inline;
  8454. procedure setCNIEA2(thebits : TBits_1); inline;
  8455. procedure setCNIEA3(thebits : TBits_1); inline;
  8456. procedure setCNIEA4(thebits : TBits_1); inline;
  8457. procedure setw(thebits : TBits_32); inline;
  8458. public
  8459. procedure clearCNIEA0; inline;
  8460. procedure clearCNIEA1; inline;
  8461. procedure clearCNIEA2; inline;
  8462. procedure clearCNIEA3; inline;
  8463. procedure clearCNIEA4; inline;
  8464. procedure setCNIEA0; inline;
  8465. procedure setCNIEA1; inline;
  8466. procedure setCNIEA2; inline;
  8467. procedure setCNIEA3; inline;
  8468. procedure setCNIEA4; inline;
  8469. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8470. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8471. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8472. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8473. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8474. property w : TBits_32 read getw write setw;
  8475. end;
  8476. TPORTA_CNSTATA = record
  8477. private
  8478. function getCNSTATA0 : TBits_1; inline;
  8479. function getCNSTATA1 : TBits_1; inline;
  8480. function getCNSTATA2 : TBits_1; inline;
  8481. function getCNSTATA3 : TBits_1; inline;
  8482. function getCNSTATA4 : TBits_1; inline;
  8483. function getw : TBits_32; inline;
  8484. procedure setCNSTATA0(thebits : TBits_1); inline;
  8485. procedure setCNSTATA1(thebits : TBits_1); inline;
  8486. procedure setCNSTATA2(thebits : TBits_1); inline;
  8487. procedure setCNSTATA3(thebits : TBits_1); inline;
  8488. procedure setCNSTATA4(thebits : TBits_1); inline;
  8489. procedure setw(thebits : TBits_32); inline;
  8490. public
  8491. procedure clearCNSTATA0; inline;
  8492. procedure clearCNSTATA1; inline;
  8493. procedure clearCNSTATA2; inline;
  8494. procedure clearCNSTATA3; inline;
  8495. procedure clearCNSTATA4; inline;
  8496. procedure setCNSTATA0; inline;
  8497. procedure setCNSTATA1; inline;
  8498. procedure setCNSTATA2; inline;
  8499. procedure setCNSTATA3; inline;
  8500. procedure setCNSTATA4; inline;
  8501. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8502. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8503. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8504. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8505. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8506. property w : TBits_32 read getw write setw;
  8507. end;
  8508. type
  8509. TPORTARegisters = record
  8510. ANSELAbits : TPORTA_ANSELA;
  8511. ANSELA : longWord;
  8512. ANSELACLR : longWord;
  8513. ANSELASET : longWord;
  8514. ANSELAINV : longWord;
  8515. TRISAbits : TPORTA_TRISA;
  8516. TRISA : longWord;
  8517. TRISACLR : longWord;
  8518. TRISASET : longWord;
  8519. TRISAINV : longWord;
  8520. PORTAbits : TPORTA_PORTA;
  8521. PORTA : longWord;
  8522. PORTACLR : longWord;
  8523. PORTASET : longWord;
  8524. PORTAINV : longWord;
  8525. LATAbits : TPORTA_LATA;
  8526. LATA : longWord;
  8527. LATACLR : longWord;
  8528. LATASET : longWord;
  8529. LATAINV : longWord;
  8530. ODCA : longWord;
  8531. ODCACLR : longWord;
  8532. ODCASET : longWord;
  8533. ODCAINV : longWord;
  8534. CNPUAbits : TPORTA_CNPUA;
  8535. CNPUA : longWord;
  8536. CNPUACLR : longWord;
  8537. CNPUASET : longWord;
  8538. CNPUAINV : longWord;
  8539. CNPDAbits : TPORTA_CNPDA;
  8540. CNPDA : longWord;
  8541. CNPDACLR : longWord;
  8542. CNPDASET : longWord;
  8543. CNPDAINV : longWord;
  8544. CNCONAbits : TPORTA_CNCONA;
  8545. CNCONA : longWord;
  8546. CNCONACLR : longWord;
  8547. CNCONASET : longWord;
  8548. CNCONAINV : longWord;
  8549. CNENAbits : TPORTA_CNENA;
  8550. CNENA : longWord;
  8551. CNENACLR : longWord;
  8552. CNENASET : longWord;
  8553. CNENAINV : longWord;
  8554. CNSTATAbits : TPORTA_CNSTATA;
  8555. CNSTATA : longWord;
  8556. CNSTATACLR : longWord;
  8557. CNSTATASET : longWord;
  8558. CNSTATAINV : longWord;
  8559. end;
  8560. TPORTB_ANSELB = record
  8561. private
  8562. function getANSB0 : TBits_1; inline;
  8563. function getANSB1 : TBits_1; inline;
  8564. function getANSB12 : TBits_1; inline;
  8565. function getANSB13 : TBits_1; inline;
  8566. function getANSB14 : TBits_1; inline;
  8567. function getANSB15 : TBits_1; inline;
  8568. function getANSB2 : TBits_1; inline;
  8569. function getANSB3 : TBits_1; inline;
  8570. function getw : TBits_32; inline;
  8571. procedure setANSB0(thebits : TBits_1); inline;
  8572. procedure setANSB1(thebits : TBits_1); inline;
  8573. procedure setANSB12(thebits : TBits_1); inline;
  8574. procedure setANSB13(thebits : TBits_1); inline;
  8575. procedure setANSB14(thebits : TBits_1); inline;
  8576. procedure setANSB15(thebits : TBits_1); inline;
  8577. procedure setANSB2(thebits : TBits_1); inline;
  8578. procedure setANSB3(thebits : TBits_1); inline;
  8579. procedure setw(thebits : TBits_32); inline;
  8580. public
  8581. procedure clearANSB0; inline;
  8582. procedure clearANSB12; inline;
  8583. procedure clearANSB13; inline;
  8584. procedure clearANSB14; inline;
  8585. procedure clearANSB15; inline;
  8586. procedure clearANSB1; inline;
  8587. procedure clearANSB2; inline;
  8588. procedure clearANSB3; inline;
  8589. procedure setANSB0; inline;
  8590. procedure setANSB12; inline;
  8591. procedure setANSB13; inline;
  8592. procedure setANSB14; inline;
  8593. procedure setANSB15; inline;
  8594. procedure setANSB1; inline;
  8595. procedure setANSB2; inline;
  8596. procedure setANSB3; inline;
  8597. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8598. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8599. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  8600. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8601. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8602. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8603. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8604. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8605. property w : TBits_32 read getw write setw;
  8606. end;
  8607. TPORTB_TRISB = record
  8608. private
  8609. function getTRISB0 : TBits_1; inline;
  8610. function getTRISB1 : TBits_1; inline;
  8611. function getTRISB10 : TBits_1; inline;
  8612. function getTRISB11 : TBits_1; inline;
  8613. function getTRISB12 : TBits_1; inline;
  8614. function getTRISB13 : TBits_1; inline;
  8615. function getTRISB14 : TBits_1; inline;
  8616. function getTRISB15 : TBits_1; inline;
  8617. function getTRISB2 : TBits_1; inline;
  8618. function getTRISB3 : TBits_1; inline;
  8619. function getTRISB4 : TBits_1; inline;
  8620. function getTRISB5 : TBits_1; inline;
  8621. function getTRISB6 : TBits_1; inline;
  8622. function getTRISB7 : TBits_1; inline;
  8623. function getTRISB8 : TBits_1; inline;
  8624. function getTRISB9 : TBits_1; inline;
  8625. function getw : TBits_32; inline;
  8626. procedure setTRISB0(thebits : TBits_1); inline;
  8627. procedure setTRISB1(thebits : TBits_1); inline;
  8628. procedure setTRISB10(thebits : TBits_1); inline;
  8629. procedure setTRISB11(thebits : TBits_1); inline;
  8630. procedure setTRISB12(thebits : TBits_1); inline;
  8631. procedure setTRISB13(thebits : TBits_1); inline;
  8632. procedure setTRISB14(thebits : TBits_1); inline;
  8633. procedure setTRISB15(thebits : TBits_1); inline;
  8634. procedure setTRISB2(thebits : TBits_1); inline;
  8635. procedure setTRISB3(thebits : TBits_1); inline;
  8636. procedure setTRISB4(thebits : TBits_1); inline;
  8637. procedure setTRISB5(thebits : TBits_1); inline;
  8638. procedure setTRISB6(thebits : TBits_1); inline;
  8639. procedure setTRISB7(thebits : TBits_1); inline;
  8640. procedure setTRISB8(thebits : TBits_1); inline;
  8641. procedure setTRISB9(thebits : TBits_1); inline;
  8642. procedure setw(thebits : TBits_32); inline;
  8643. public
  8644. procedure clearTRISB0; inline;
  8645. procedure clearTRISB10; inline;
  8646. procedure clearTRISB11; inline;
  8647. procedure clearTRISB12; inline;
  8648. procedure clearTRISB13; inline;
  8649. procedure clearTRISB14; inline;
  8650. procedure clearTRISB15; inline;
  8651. procedure clearTRISB1; inline;
  8652. procedure clearTRISB2; inline;
  8653. procedure clearTRISB3; inline;
  8654. procedure clearTRISB4; inline;
  8655. procedure clearTRISB5; inline;
  8656. procedure clearTRISB6; inline;
  8657. procedure clearTRISB7; inline;
  8658. procedure clearTRISB8; inline;
  8659. procedure clearTRISB9; inline;
  8660. procedure setTRISB0; inline;
  8661. procedure setTRISB10; inline;
  8662. procedure setTRISB11; inline;
  8663. procedure setTRISB12; inline;
  8664. procedure setTRISB13; inline;
  8665. procedure setTRISB14; inline;
  8666. procedure setTRISB15; inline;
  8667. procedure setTRISB1; inline;
  8668. procedure setTRISB2; inline;
  8669. procedure setTRISB3; inline;
  8670. procedure setTRISB4; inline;
  8671. procedure setTRISB5; inline;
  8672. procedure setTRISB6; inline;
  8673. procedure setTRISB7; inline;
  8674. procedure setTRISB8; inline;
  8675. procedure setTRISB9; inline;
  8676. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8677. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8678. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8679. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8680. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  8681. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8682. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8683. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8684. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8685. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8686. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8687. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8688. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  8689. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8690. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8691. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8692. property w : TBits_32 read getw write setw;
  8693. end;
  8694. TPORTB_PORTB = record
  8695. private
  8696. function getRB0 : TBits_1; inline;
  8697. function getRB1 : TBits_1; inline;
  8698. function getRB10 : TBits_1; inline;
  8699. function getRB11 : TBits_1; inline;
  8700. function getRB12 : TBits_1; inline;
  8701. function getRB13 : TBits_1; inline;
  8702. function getRB14 : TBits_1; inline;
  8703. function getRB15 : TBits_1; inline;
  8704. function getRB2 : TBits_1; inline;
  8705. function getRB3 : TBits_1; inline;
  8706. function getRB4 : TBits_1; inline;
  8707. function getRB5 : TBits_1; inline;
  8708. function getRB6 : TBits_1; inline;
  8709. function getRB7 : TBits_1; inline;
  8710. function getRB8 : TBits_1; inline;
  8711. function getRB9 : TBits_1; inline;
  8712. function getw : TBits_32; inline;
  8713. procedure setRB0(thebits : TBits_1); inline;
  8714. procedure setRB1(thebits : TBits_1); inline;
  8715. procedure setRB10(thebits : TBits_1); inline;
  8716. procedure setRB11(thebits : TBits_1); inline;
  8717. procedure setRB12(thebits : TBits_1); inline;
  8718. procedure setRB13(thebits : TBits_1); inline;
  8719. procedure setRB14(thebits : TBits_1); inline;
  8720. procedure setRB15(thebits : TBits_1); inline;
  8721. procedure setRB2(thebits : TBits_1); inline;
  8722. procedure setRB3(thebits : TBits_1); inline;
  8723. procedure setRB4(thebits : TBits_1); inline;
  8724. procedure setRB5(thebits : TBits_1); inline;
  8725. procedure setRB6(thebits : TBits_1); inline;
  8726. procedure setRB7(thebits : TBits_1); inline;
  8727. procedure setRB8(thebits : TBits_1); inline;
  8728. procedure setRB9(thebits : TBits_1); inline;
  8729. procedure setw(thebits : TBits_32); inline;
  8730. public
  8731. procedure clearRB0; inline;
  8732. procedure clearRB10; inline;
  8733. procedure clearRB11; inline;
  8734. procedure clearRB12; inline;
  8735. procedure clearRB13; inline;
  8736. procedure clearRB14; inline;
  8737. procedure clearRB15; inline;
  8738. procedure clearRB1; inline;
  8739. procedure clearRB2; inline;
  8740. procedure clearRB3; inline;
  8741. procedure clearRB4; inline;
  8742. procedure clearRB5; inline;
  8743. procedure clearRB6; inline;
  8744. procedure clearRB7; inline;
  8745. procedure clearRB8; inline;
  8746. procedure clearRB9; inline;
  8747. procedure setRB0; inline;
  8748. procedure setRB10; inline;
  8749. procedure setRB11; inline;
  8750. procedure setRB12; inline;
  8751. procedure setRB13; inline;
  8752. procedure setRB14; inline;
  8753. procedure setRB15; inline;
  8754. procedure setRB1; inline;
  8755. procedure setRB2; inline;
  8756. procedure setRB3; inline;
  8757. procedure setRB4; inline;
  8758. procedure setRB5; inline;
  8759. procedure setRB6; inline;
  8760. procedure setRB7; inline;
  8761. procedure setRB8; inline;
  8762. procedure setRB9; inline;
  8763. property RB0 : TBits_1 read getRB0 write setRB0;
  8764. property RB1 : TBits_1 read getRB1 write setRB1;
  8765. property RB10 : TBits_1 read getRB10 write setRB10;
  8766. property RB11 : TBits_1 read getRB11 write setRB11;
  8767. property RB12 : TBits_1 read getRB12 write setRB12;
  8768. property RB13 : TBits_1 read getRB13 write setRB13;
  8769. property RB14 : TBits_1 read getRB14 write setRB14;
  8770. property RB15 : TBits_1 read getRB15 write setRB15;
  8771. property RB2 : TBits_1 read getRB2 write setRB2;
  8772. property RB3 : TBits_1 read getRB3 write setRB3;
  8773. property RB4 : TBits_1 read getRB4 write setRB4;
  8774. property RB5 : TBits_1 read getRB5 write setRB5;
  8775. property RB6 : TBits_1 read getRB6 write setRB6;
  8776. property RB7 : TBits_1 read getRB7 write setRB7;
  8777. property RB8 : TBits_1 read getRB8 write setRB8;
  8778. property RB9 : TBits_1 read getRB9 write setRB9;
  8779. property w : TBits_32 read getw write setw;
  8780. end;
  8781. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB6=6,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB12=12,RB13=13,RB14=14,RB15=15);
  8782. TPortB_bitset = set of TPortB_bits;
  8783. TPORTB_LATB = record
  8784. private
  8785. function getLATB0 : TBits_1; inline;
  8786. function getLATB1 : TBits_1; inline;
  8787. function getLATB10 : TBits_1; inline;
  8788. function getLATB11 : TBits_1; inline;
  8789. function getLATB12 : TBits_1; inline;
  8790. function getLATB13 : TBits_1; inline;
  8791. function getLATB14 : TBits_1; inline;
  8792. function getLATB15 : TBits_1; inline;
  8793. function getLATB2 : TBits_1; inline;
  8794. function getLATB3 : TBits_1; inline;
  8795. function getLATB4 : TBits_1; inline;
  8796. function getLATB5 : TBits_1; inline;
  8797. function getLATB6 : TBits_1; inline;
  8798. function getLATB7 : TBits_1; inline;
  8799. function getLATB8 : TBits_1; inline;
  8800. function getLATB9 : TBits_1; inline;
  8801. function getw : TBits_32; inline;
  8802. procedure setLATB0(thebits : TBits_1); inline;
  8803. procedure setLATB1(thebits : TBits_1); inline;
  8804. procedure setLATB10(thebits : TBits_1); inline;
  8805. procedure setLATB11(thebits : TBits_1); inline;
  8806. procedure setLATB12(thebits : TBits_1); inline;
  8807. procedure setLATB13(thebits : TBits_1); inline;
  8808. procedure setLATB14(thebits : TBits_1); inline;
  8809. procedure setLATB15(thebits : TBits_1); inline;
  8810. procedure setLATB2(thebits : TBits_1); inline;
  8811. procedure setLATB3(thebits : TBits_1); inline;
  8812. procedure setLATB4(thebits : TBits_1); inline;
  8813. procedure setLATB5(thebits : TBits_1); inline;
  8814. procedure setLATB6(thebits : TBits_1); inline;
  8815. procedure setLATB7(thebits : TBits_1); inline;
  8816. procedure setLATB8(thebits : TBits_1); inline;
  8817. procedure setLATB9(thebits : TBits_1); inline;
  8818. procedure setw(thebits : TBits_32); inline;
  8819. public
  8820. procedure clearLATB0; inline;
  8821. procedure clearLATB10; inline;
  8822. procedure clearLATB11; inline;
  8823. procedure clearLATB12; inline;
  8824. procedure clearLATB13; inline;
  8825. procedure clearLATB14; inline;
  8826. procedure clearLATB15; inline;
  8827. procedure clearLATB1; inline;
  8828. procedure clearLATB2; inline;
  8829. procedure clearLATB3; inline;
  8830. procedure clearLATB4; inline;
  8831. procedure clearLATB5; inline;
  8832. procedure clearLATB6; inline;
  8833. procedure clearLATB7; inline;
  8834. procedure clearLATB8; inline;
  8835. procedure clearLATB9; inline;
  8836. procedure setLATB0; inline;
  8837. procedure setLATB10; inline;
  8838. procedure setLATB11; inline;
  8839. procedure setLATB12; inline;
  8840. procedure setLATB13; inline;
  8841. procedure setLATB14; inline;
  8842. procedure setLATB15; inline;
  8843. procedure setLATB1; inline;
  8844. procedure setLATB2; inline;
  8845. procedure setLATB3; inline;
  8846. procedure setLATB4; inline;
  8847. procedure setLATB5; inline;
  8848. procedure setLATB6; inline;
  8849. procedure setLATB7; inline;
  8850. procedure setLATB8; inline;
  8851. procedure setLATB9; inline;
  8852. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  8853. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  8854. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  8855. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  8856. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  8857. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  8858. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  8859. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  8860. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  8861. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  8862. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  8863. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  8864. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  8865. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  8866. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  8867. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  8868. property w : TBits_32 read getw write setw;
  8869. end;
  8870. TPORTB_ODCB = record
  8871. private
  8872. function getODCB10 : TBits_1; inline;
  8873. function getODCB11 : TBits_1; inline;
  8874. function getODCB4 : TBits_1; inline;
  8875. function getODCB5 : TBits_1; inline;
  8876. function getODCB6 : TBits_1; inline;
  8877. function getODCB7 : TBits_1; inline;
  8878. function getODCB8 : TBits_1; inline;
  8879. function getODCB9 : TBits_1; inline;
  8880. function getw : TBits_32; inline;
  8881. procedure setODCB10(thebits : TBits_1); inline;
  8882. procedure setODCB11(thebits : TBits_1); inline;
  8883. procedure setODCB4(thebits : TBits_1); inline;
  8884. procedure setODCB5(thebits : TBits_1); inline;
  8885. procedure setODCB6(thebits : TBits_1); inline;
  8886. procedure setODCB7(thebits : TBits_1); inline;
  8887. procedure setODCB8(thebits : TBits_1); inline;
  8888. procedure setODCB9(thebits : TBits_1); inline;
  8889. procedure setw(thebits : TBits_32); inline;
  8890. public
  8891. procedure clearODCB10; inline;
  8892. procedure clearODCB11; inline;
  8893. procedure clearODCB4; inline;
  8894. procedure clearODCB5; inline;
  8895. procedure clearODCB6; inline;
  8896. procedure clearODCB7; inline;
  8897. procedure clearODCB8; inline;
  8898. procedure clearODCB9; inline;
  8899. procedure setODCB10; inline;
  8900. procedure setODCB11; inline;
  8901. procedure setODCB4; inline;
  8902. procedure setODCB5; inline;
  8903. procedure setODCB6; inline;
  8904. procedure setODCB7; inline;
  8905. procedure setODCB8; inline;
  8906. procedure setODCB9; inline;
  8907. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  8908. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  8909. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  8910. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  8911. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  8912. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  8913. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  8914. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  8915. property w : TBits_32 read getw write setw;
  8916. end;
  8917. TPORTB_CNPUB = record
  8918. private
  8919. function getCNPUB0 : TBits_1; inline;
  8920. function getCNPUB1 : TBits_1; inline;
  8921. function getCNPUB10 : TBits_1; inline;
  8922. function getCNPUB11 : TBits_1; inline;
  8923. function getCNPUB12 : TBits_1; inline;
  8924. function getCNPUB13 : TBits_1; inline;
  8925. function getCNPUB14 : TBits_1; inline;
  8926. function getCNPUB15 : TBits_1; inline;
  8927. function getCNPUB2 : TBits_1; inline;
  8928. function getCNPUB3 : TBits_1; inline;
  8929. function getCNPUB4 : TBits_1; inline;
  8930. function getCNPUB5 : TBits_1; inline;
  8931. function getCNPUB6 : TBits_1; inline;
  8932. function getCNPUB7 : TBits_1; inline;
  8933. function getCNPUB8 : TBits_1; inline;
  8934. function getCNPUB9 : TBits_1; inline;
  8935. function getw : TBits_32; inline;
  8936. procedure setCNPUB0(thebits : TBits_1); inline;
  8937. procedure setCNPUB1(thebits : TBits_1); inline;
  8938. procedure setCNPUB10(thebits : TBits_1); inline;
  8939. procedure setCNPUB11(thebits : TBits_1); inline;
  8940. procedure setCNPUB12(thebits : TBits_1); inline;
  8941. procedure setCNPUB13(thebits : TBits_1); inline;
  8942. procedure setCNPUB14(thebits : TBits_1); inline;
  8943. procedure setCNPUB15(thebits : TBits_1); inline;
  8944. procedure setCNPUB2(thebits : TBits_1); inline;
  8945. procedure setCNPUB3(thebits : TBits_1); inline;
  8946. procedure setCNPUB4(thebits : TBits_1); inline;
  8947. procedure setCNPUB5(thebits : TBits_1); inline;
  8948. procedure setCNPUB6(thebits : TBits_1); inline;
  8949. procedure setCNPUB7(thebits : TBits_1); inline;
  8950. procedure setCNPUB8(thebits : TBits_1); inline;
  8951. procedure setCNPUB9(thebits : TBits_1); inline;
  8952. procedure setw(thebits : TBits_32); inline;
  8953. public
  8954. procedure clearCNPUB0; inline;
  8955. procedure clearCNPUB10; inline;
  8956. procedure clearCNPUB11; inline;
  8957. procedure clearCNPUB12; inline;
  8958. procedure clearCNPUB13; inline;
  8959. procedure clearCNPUB14; inline;
  8960. procedure clearCNPUB15; inline;
  8961. procedure clearCNPUB1; inline;
  8962. procedure clearCNPUB2; inline;
  8963. procedure clearCNPUB3; inline;
  8964. procedure clearCNPUB4; inline;
  8965. procedure clearCNPUB5; inline;
  8966. procedure clearCNPUB6; inline;
  8967. procedure clearCNPUB7; inline;
  8968. procedure clearCNPUB8; inline;
  8969. procedure clearCNPUB9; inline;
  8970. procedure setCNPUB0; inline;
  8971. procedure setCNPUB10; inline;
  8972. procedure setCNPUB11; inline;
  8973. procedure setCNPUB12; inline;
  8974. procedure setCNPUB13; inline;
  8975. procedure setCNPUB14; inline;
  8976. procedure setCNPUB15; inline;
  8977. procedure setCNPUB1; inline;
  8978. procedure setCNPUB2; inline;
  8979. procedure setCNPUB3; inline;
  8980. procedure setCNPUB4; inline;
  8981. procedure setCNPUB5; inline;
  8982. procedure setCNPUB6; inline;
  8983. procedure setCNPUB7; inline;
  8984. procedure setCNPUB8; inline;
  8985. procedure setCNPUB9; inline;
  8986. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  8987. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  8988. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  8989. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  8990. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  8991. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  8992. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  8993. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  8994. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  8995. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  8996. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  8997. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  8998. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  8999. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9000. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9001. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9002. property w : TBits_32 read getw write setw;
  9003. end;
  9004. TPORTB_CNPDB = record
  9005. private
  9006. function getCNPDB0 : TBits_1; inline;
  9007. function getCNPDB1 : TBits_1; inline;
  9008. function getCNPDB10 : TBits_1; inline;
  9009. function getCNPDB11 : TBits_1; inline;
  9010. function getCNPDB12 : TBits_1; inline;
  9011. function getCNPDB13 : TBits_1; inline;
  9012. function getCNPDB14 : TBits_1; inline;
  9013. function getCNPDB15 : TBits_1; inline;
  9014. function getCNPDB2 : TBits_1; inline;
  9015. function getCNPDB3 : TBits_1; inline;
  9016. function getCNPDB4 : TBits_1; inline;
  9017. function getCNPDB5 : TBits_1; inline;
  9018. function getCNPDB6 : TBits_1; inline;
  9019. function getCNPDB7 : TBits_1; inline;
  9020. function getCNPDB8 : TBits_1; inline;
  9021. function getCNPDB9 : TBits_1; inline;
  9022. function getw : TBits_32; inline;
  9023. procedure setCNPDB0(thebits : TBits_1); inline;
  9024. procedure setCNPDB1(thebits : TBits_1); inline;
  9025. procedure setCNPDB10(thebits : TBits_1); inline;
  9026. procedure setCNPDB11(thebits : TBits_1); inline;
  9027. procedure setCNPDB12(thebits : TBits_1); inline;
  9028. procedure setCNPDB13(thebits : TBits_1); inline;
  9029. procedure setCNPDB14(thebits : TBits_1); inline;
  9030. procedure setCNPDB15(thebits : TBits_1); inline;
  9031. procedure setCNPDB2(thebits : TBits_1); inline;
  9032. procedure setCNPDB3(thebits : TBits_1); inline;
  9033. procedure setCNPDB4(thebits : TBits_1); inline;
  9034. procedure setCNPDB5(thebits : TBits_1); inline;
  9035. procedure setCNPDB6(thebits : TBits_1); inline;
  9036. procedure setCNPDB7(thebits : TBits_1); inline;
  9037. procedure setCNPDB8(thebits : TBits_1); inline;
  9038. procedure setCNPDB9(thebits : TBits_1); inline;
  9039. procedure setw(thebits : TBits_32); inline;
  9040. public
  9041. procedure clearCNPDB0; inline;
  9042. procedure clearCNPDB10; inline;
  9043. procedure clearCNPDB11; inline;
  9044. procedure clearCNPDB12; inline;
  9045. procedure clearCNPDB13; inline;
  9046. procedure clearCNPDB14; inline;
  9047. procedure clearCNPDB15; inline;
  9048. procedure clearCNPDB1; inline;
  9049. procedure clearCNPDB2; inline;
  9050. procedure clearCNPDB3; inline;
  9051. procedure clearCNPDB4; inline;
  9052. procedure clearCNPDB5; inline;
  9053. procedure clearCNPDB6; inline;
  9054. procedure clearCNPDB7; inline;
  9055. procedure clearCNPDB8; inline;
  9056. procedure clearCNPDB9; inline;
  9057. procedure setCNPDB0; inline;
  9058. procedure setCNPDB10; inline;
  9059. procedure setCNPDB11; inline;
  9060. procedure setCNPDB12; inline;
  9061. procedure setCNPDB13; inline;
  9062. procedure setCNPDB14; inline;
  9063. procedure setCNPDB15; inline;
  9064. procedure setCNPDB1; inline;
  9065. procedure setCNPDB2; inline;
  9066. procedure setCNPDB3; inline;
  9067. procedure setCNPDB4; inline;
  9068. procedure setCNPDB5; inline;
  9069. procedure setCNPDB6; inline;
  9070. procedure setCNPDB7; inline;
  9071. procedure setCNPDB8; inline;
  9072. procedure setCNPDB9; inline;
  9073. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9074. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9075. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9076. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9077. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  9078. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9079. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9080. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9081. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9082. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9083. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9084. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9085. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  9086. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9087. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9088. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9089. property w : TBits_32 read getw write setw;
  9090. end;
  9091. TPORTB_CNCONB = record
  9092. private
  9093. function getON : TBits_1; inline;
  9094. function getSIDL : TBits_1; inline;
  9095. function getw : TBits_32; inline;
  9096. procedure setON(thebits : TBits_1); inline;
  9097. procedure setSIDL(thebits : TBits_1); inline;
  9098. procedure setw(thebits : TBits_32); inline;
  9099. public
  9100. procedure clearON; inline;
  9101. procedure clearSIDL; inline;
  9102. procedure setON; inline;
  9103. procedure setSIDL; inline;
  9104. property ON : TBits_1 read getON write setON;
  9105. property SIDL : TBits_1 read getSIDL write setSIDL;
  9106. property w : TBits_32 read getw write setw;
  9107. end;
  9108. TPORTB_CNENB = record
  9109. private
  9110. function getCNIEB0 : TBits_1; inline;
  9111. function getCNIEB1 : TBits_1; inline;
  9112. function getCNIEB10 : TBits_1; inline;
  9113. function getCNIEB11 : TBits_1; inline;
  9114. function getCNIEB12 : TBits_1; inline;
  9115. function getCNIEB13 : TBits_1; inline;
  9116. function getCNIEB14 : TBits_1; inline;
  9117. function getCNIEB15 : TBits_1; inline;
  9118. function getCNIEB2 : TBits_1; inline;
  9119. function getCNIEB3 : TBits_1; inline;
  9120. function getCNIEB4 : TBits_1; inline;
  9121. function getCNIEB5 : TBits_1; inline;
  9122. function getCNIEB6 : 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 setCNIEB12(thebits : TBits_1); inline;
  9132. procedure setCNIEB13(thebits : TBits_1); inline;
  9133. procedure setCNIEB14(thebits : TBits_1); inline;
  9134. procedure setCNIEB15(thebits : TBits_1); inline;
  9135. procedure setCNIEB2(thebits : TBits_1); inline;
  9136. procedure setCNIEB3(thebits : TBits_1); inline;
  9137. procedure setCNIEB4(thebits : TBits_1); inline;
  9138. procedure setCNIEB5(thebits : TBits_1); inline;
  9139. procedure setCNIEB6(thebits : TBits_1); inline;
  9140. procedure setCNIEB7(thebits : TBits_1); inline;
  9141. procedure setCNIEB8(thebits : TBits_1); inline;
  9142. procedure setCNIEB9(thebits : TBits_1); inline;
  9143. procedure setw(thebits : TBits_32); inline;
  9144. public
  9145. procedure clearCNIEB0; inline;
  9146. procedure clearCNIEB10; inline;
  9147. procedure clearCNIEB11; inline;
  9148. procedure clearCNIEB12; inline;
  9149. procedure clearCNIEB13; inline;
  9150. procedure clearCNIEB14; inline;
  9151. procedure clearCNIEB15; inline;
  9152. procedure clearCNIEB1; inline;
  9153. procedure clearCNIEB2; inline;
  9154. procedure clearCNIEB3; inline;
  9155. procedure clearCNIEB4; inline;
  9156. procedure clearCNIEB5; inline;
  9157. procedure clearCNIEB6; inline;
  9158. procedure clearCNIEB7; inline;
  9159. procedure clearCNIEB8; inline;
  9160. procedure clearCNIEB9; inline;
  9161. procedure setCNIEB0; inline;
  9162. procedure setCNIEB10; inline;
  9163. procedure setCNIEB11; inline;
  9164. procedure setCNIEB12; inline;
  9165. procedure setCNIEB13; inline;
  9166. procedure setCNIEB14; inline;
  9167. procedure setCNIEB15; inline;
  9168. procedure setCNIEB1; inline;
  9169. procedure setCNIEB2; inline;
  9170. procedure setCNIEB3; inline;
  9171. procedure setCNIEB4; inline;
  9172. procedure setCNIEB5; inline;
  9173. procedure setCNIEB6; inline;
  9174. procedure setCNIEB7; inline;
  9175. procedure setCNIEB8; inline;
  9176. procedure setCNIEB9; inline;
  9177. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9178. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9179. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9180. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9181. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  9182. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9183. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9184. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9185. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9186. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9187. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9188. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9189. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  9190. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9191. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9192. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9193. property w : TBits_32 read getw write setw;
  9194. end;
  9195. TPORTB_CNSTATB = record
  9196. private
  9197. function getCNSTATB0 : TBits_1; inline;
  9198. function getCNSTATB1 : TBits_1; inline;
  9199. function getCNSTATB10 : TBits_1; inline;
  9200. function getCNSTATB11 : TBits_1; inline;
  9201. function getCNSTATB12 : TBits_1; inline;
  9202. function getCNSTATB13 : TBits_1; inline;
  9203. function getCNSTATB14 : TBits_1; inline;
  9204. function getCNSTATB15 : TBits_1; inline;
  9205. function getCNSTATB2 : TBits_1; inline;
  9206. function getCNSTATB3 : TBits_1; inline;
  9207. function getCNSTATB4 : TBits_1; inline;
  9208. function getCNSTATB5 : TBits_1; inline;
  9209. function getCNSTATB6 : TBits_1; inline;
  9210. function getCNSTATB7 : TBits_1; inline;
  9211. function getCNSTATB8 : TBits_1; inline;
  9212. function getCNSTATB9 : TBits_1; inline;
  9213. function getw : TBits_32; inline;
  9214. procedure setCNSTATB0(thebits : TBits_1); inline;
  9215. procedure setCNSTATB1(thebits : TBits_1); inline;
  9216. procedure setCNSTATB10(thebits : TBits_1); inline;
  9217. procedure setCNSTATB11(thebits : TBits_1); inline;
  9218. procedure setCNSTATB12(thebits : TBits_1); inline;
  9219. procedure setCNSTATB13(thebits : TBits_1); inline;
  9220. procedure setCNSTATB14(thebits : TBits_1); inline;
  9221. procedure setCNSTATB15(thebits : TBits_1); inline;
  9222. procedure setCNSTATB2(thebits : TBits_1); inline;
  9223. procedure setCNSTATB3(thebits : TBits_1); inline;
  9224. procedure setCNSTATB4(thebits : TBits_1); inline;
  9225. procedure setCNSTATB5(thebits : TBits_1); inline;
  9226. procedure setCNSTATB6(thebits : TBits_1); inline;
  9227. procedure setCNSTATB7(thebits : TBits_1); inline;
  9228. procedure setCNSTATB8(thebits : TBits_1); inline;
  9229. procedure setCNSTATB9(thebits : TBits_1); inline;
  9230. procedure setw(thebits : TBits_32); inline;
  9231. public
  9232. procedure clearCNSTATB0; inline;
  9233. procedure clearCNSTATB10; inline;
  9234. procedure clearCNSTATB11; inline;
  9235. procedure clearCNSTATB12; inline;
  9236. procedure clearCNSTATB13; inline;
  9237. procedure clearCNSTATB14; inline;
  9238. procedure clearCNSTATB15; inline;
  9239. procedure clearCNSTATB1; inline;
  9240. procedure clearCNSTATB2; inline;
  9241. procedure clearCNSTATB3; inline;
  9242. procedure clearCNSTATB4; inline;
  9243. procedure clearCNSTATB5; inline;
  9244. procedure clearCNSTATB6; inline;
  9245. procedure clearCNSTATB7; inline;
  9246. procedure clearCNSTATB8; inline;
  9247. procedure clearCNSTATB9; inline;
  9248. procedure setCNSTATB0; inline;
  9249. procedure setCNSTATB10; inline;
  9250. procedure setCNSTATB11; inline;
  9251. procedure setCNSTATB12; inline;
  9252. procedure setCNSTATB13; inline;
  9253. procedure setCNSTATB14; inline;
  9254. procedure setCNSTATB15; inline;
  9255. procedure setCNSTATB1; inline;
  9256. procedure setCNSTATB2; inline;
  9257. procedure setCNSTATB3; inline;
  9258. procedure setCNSTATB4; inline;
  9259. procedure setCNSTATB5; inline;
  9260. procedure setCNSTATB6; inline;
  9261. procedure setCNSTATB7; inline;
  9262. procedure setCNSTATB8; inline;
  9263. procedure setCNSTATB9; inline;
  9264. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9265. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9266. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9267. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9268. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  9269. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9270. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9271. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9272. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9273. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9274. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9275. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9276. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  9277. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9278. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9279. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9280. property w : TBits_32 read getw write setw;
  9281. end;
  9282. type
  9283. TPORTBRegisters = record
  9284. ANSELBbits : TPORTB_ANSELB;
  9285. ANSELB : longWord;
  9286. ANSELBCLR : longWord;
  9287. ANSELBSET : longWord;
  9288. ANSELBINV : longWord;
  9289. TRISBbits : TPORTB_TRISB;
  9290. TRISB : longWord;
  9291. TRISBCLR : longWord;
  9292. TRISBSET : longWord;
  9293. TRISBINV : longWord;
  9294. PORTBbits : TPORTB_PORTB;
  9295. PORTB : longWord;
  9296. PORTBCLR : longWord;
  9297. PORTBSET : longWord;
  9298. PORTBINV : longWord;
  9299. LATBbits : TPORTB_LATB;
  9300. LATB : longWord;
  9301. LATBCLR : longWord;
  9302. LATBSET : longWord;
  9303. LATBINV : longWord;
  9304. ODCBbits : TPORTB_ODCB;
  9305. ODCB : longWord;
  9306. ODCBCLR : longWord;
  9307. ODCBSET : longWord;
  9308. ODCBINV : longWord;
  9309. CNPUBbits : TPORTB_CNPUB;
  9310. CNPUB : longWord;
  9311. CNPUBCLR : longWord;
  9312. CNPUBSET : longWord;
  9313. CNPUBINV : longWord;
  9314. CNPDBbits : TPORTB_CNPDB;
  9315. CNPDB : longWord;
  9316. CNPDBCLR : longWord;
  9317. CNPDBSET : longWord;
  9318. CNPDBINV : longWord;
  9319. CNCONBbits : TPORTB_CNCONB;
  9320. CNCONB : longWord;
  9321. CNCONBCLR : longWord;
  9322. CNCONBSET : longWord;
  9323. CNCONBINV : longWord;
  9324. CNENBbits : TPORTB_CNENB;
  9325. CNENB : longWord;
  9326. CNENBCLR : longWord;
  9327. CNENBSET : longWord;
  9328. CNENBINV : longWord;
  9329. CNSTATBbits : TPORTB_CNSTATB;
  9330. CNSTATB : longWord;
  9331. CNSTATBCLR : longWord;
  9332. CNSTATBSET : longWord;
  9333. CNSTATBINV : longWord;
  9334. end;
  9335. TPORTC_ANSELC = record
  9336. private
  9337. function getANSC0 : TBits_1; inline;
  9338. function getANSC1 : TBits_1; inline;
  9339. function getANSC3 : TBits_1; inline;
  9340. function getw : TBits_32; inline;
  9341. procedure setANSC0(thebits : TBits_1); inline;
  9342. procedure setANSC1(thebits : TBits_1); inline;
  9343. procedure setANSC3(thebits : TBits_1); inline;
  9344. procedure setw(thebits : TBits_32); inline;
  9345. public
  9346. procedure clearANSC0; inline;
  9347. procedure clearANSC1; inline;
  9348. procedure clearANSC3; inline;
  9349. procedure setANSC0; inline;
  9350. procedure setANSC1; inline;
  9351. procedure setANSC3; inline;
  9352. property ANSC0 : TBits_1 read getANSC0 write setANSC0;
  9353. property ANSC1 : TBits_1 read getANSC1 write setANSC1;
  9354. property ANSC3 : TBits_1 read getANSC3 write setANSC3;
  9355. property w : TBits_32 read getw write setw;
  9356. end;
  9357. TPORTC_TRISC = record
  9358. private
  9359. function getTRISC0 : TBits_1; inline;
  9360. function getTRISC1 : TBits_1; inline;
  9361. function getTRISC3 : TBits_1; inline;
  9362. function getTRISC9 : TBits_1; inline;
  9363. function getw : TBits_32; inline;
  9364. procedure setTRISC0(thebits : TBits_1); inline;
  9365. procedure setTRISC1(thebits : TBits_1); inline;
  9366. procedure setTRISC3(thebits : TBits_1); inline;
  9367. procedure setTRISC9(thebits : TBits_1); inline;
  9368. procedure setw(thebits : TBits_32); inline;
  9369. public
  9370. procedure clearTRISC0; inline;
  9371. procedure clearTRISC1; inline;
  9372. procedure clearTRISC3; inline;
  9373. procedure clearTRISC9; inline;
  9374. procedure setTRISC0; inline;
  9375. procedure setTRISC1; inline;
  9376. procedure setTRISC3; inline;
  9377. procedure setTRISC9; inline;
  9378. property TRISC0 : TBits_1 read getTRISC0 write setTRISC0;
  9379. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  9380. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  9381. property TRISC9 : TBits_1 read getTRISC9 write setTRISC9;
  9382. property w : TBits_32 read getw write setw;
  9383. end;
  9384. TPORTC_PORTC = record
  9385. private
  9386. function getRC0 : TBits_1; inline;
  9387. function getRC1 : TBits_1; inline;
  9388. function getRC3 : TBits_1; inline;
  9389. function getRC9 : TBits_1; inline;
  9390. function getw : TBits_32; inline;
  9391. procedure setRC0(thebits : TBits_1); inline;
  9392. procedure setRC1(thebits : TBits_1); inline;
  9393. procedure setRC3(thebits : TBits_1); inline;
  9394. procedure setRC9(thebits : TBits_1); inline;
  9395. procedure setw(thebits : TBits_32); inline;
  9396. public
  9397. procedure clearRC0; inline;
  9398. procedure clearRC1; inline;
  9399. procedure clearRC3; inline;
  9400. procedure clearRC9; inline;
  9401. procedure setRC0; inline;
  9402. procedure setRC1; inline;
  9403. procedure setRC3; inline;
  9404. procedure setRC9; inline;
  9405. property RC0 : TBits_1 read getRC0 write setRC0;
  9406. property RC1 : TBits_1 read getRC1 write setRC1;
  9407. property RC3 : TBits_1 read getRC3 write setRC3;
  9408. property RC9 : TBits_1 read getRC9 write setRC9;
  9409. property w : TBits_32 read getw write setw;
  9410. end;
  9411. TPortC_bits=(RC0=0,RC1=1,RC3=3,RC9=9);
  9412. TPortC_bitset = set of TPortC_bits;
  9413. TPORTC_LATC = record
  9414. private
  9415. function getLATC0 : TBits_1; inline;
  9416. function getLATC1 : TBits_1; inline;
  9417. function getLATC3 : TBits_1; inline;
  9418. function getLATC9 : TBits_1; inline;
  9419. function getw : TBits_32; inline;
  9420. procedure setLATC0(thebits : TBits_1); inline;
  9421. procedure setLATC1(thebits : TBits_1); inline;
  9422. procedure setLATC3(thebits : TBits_1); inline;
  9423. procedure setLATC9(thebits : TBits_1); inline;
  9424. procedure setw(thebits : TBits_32); inline;
  9425. public
  9426. procedure clearLATC0; inline;
  9427. procedure clearLATC1; inline;
  9428. procedure clearLATC3; inline;
  9429. procedure clearLATC9; inline;
  9430. procedure setLATC0; inline;
  9431. procedure setLATC1; inline;
  9432. procedure setLATC3; inline;
  9433. procedure setLATC9; inline;
  9434. property LATC0 : TBits_1 read getLATC0 write setLATC0;
  9435. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  9436. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  9437. property LATC9 : TBits_1 read getLATC9 write setLATC9;
  9438. property w : TBits_32 read getw write setw;
  9439. end;
  9440. TPORTC_ODCC = record
  9441. private
  9442. function getODCC9 : TBits_1; inline;
  9443. function getw : TBits_32; inline;
  9444. procedure setODCC9(thebits : TBits_1); inline;
  9445. procedure setw(thebits : TBits_32); inline;
  9446. public
  9447. procedure clearODCC9; inline;
  9448. procedure setODCC9; inline;
  9449. property ODCC9 : TBits_1 read getODCC9 write setODCC9;
  9450. property w : TBits_32 read getw write setw;
  9451. end;
  9452. TPORTC_CNPUC = record
  9453. private
  9454. function getCNPUC0 : TBits_1; inline;
  9455. function getCNPUC1 : TBits_1; inline;
  9456. function getCNPUC3 : TBits_1; inline;
  9457. function getCNPUC9 : TBits_1; inline;
  9458. function getw : TBits_32; inline;
  9459. procedure setCNPUC0(thebits : TBits_1); inline;
  9460. procedure setCNPUC1(thebits : TBits_1); inline;
  9461. procedure setCNPUC3(thebits : TBits_1); inline;
  9462. procedure setCNPUC9(thebits : TBits_1); inline;
  9463. procedure setw(thebits : TBits_32); inline;
  9464. public
  9465. procedure clearCNPUC0; inline;
  9466. procedure clearCNPUC1; inline;
  9467. procedure clearCNPUC3; inline;
  9468. procedure clearCNPUC9; inline;
  9469. procedure setCNPUC0; inline;
  9470. procedure setCNPUC1; inline;
  9471. procedure setCNPUC3; inline;
  9472. procedure setCNPUC9; inline;
  9473. property CNPUC0 : TBits_1 read getCNPUC0 write setCNPUC0;
  9474. property CNPUC1 : TBits_1 read getCNPUC1 write setCNPUC1;
  9475. property CNPUC3 : TBits_1 read getCNPUC3 write setCNPUC3;
  9476. property CNPUC9 : TBits_1 read getCNPUC9 write setCNPUC9;
  9477. property w : TBits_32 read getw write setw;
  9478. end;
  9479. TPORTC_CNPDC = record
  9480. private
  9481. function getCNPDC0 : TBits_1; inline;
  9482. function getCNPDC1 : TBits_1; inline;
  9483. function getCNPDC3 : TBits_1; inline;
  9484. function getCNPDC9 : TBits_1; inline;
  9485. function getw : TBits_32; inline;
  9486. procedure setCNPDC0(thebits : TBits_1); inline;
  9487. procedure setCNPDC1(thebits : TBits_1); inline;
  9488. procedure setCNPDC3(thebits : TBits_1); inline;
  9489. procedure setCNPDC9(thebits : TBits_1); inline;
  9490. procedure setw(thebits : TBits_32); inline;
  9491. public
  9492. procedure clearCNPDC0; inline;
  9493. procedure clearCNPDC1; inline;
  9494. procedure clearCNPDC3; inline;
  9495. procedure clearCNPDC9; inline;
  9496. procedure setCNPDC0; inline;
  9497. procedure setCNPDC1; inline;
  9498. procedure setCNPDC3; inline;
  9499. procedure setCNPDC9; inline;
  9500. property CNPDC0 : TBits_1 read getCNPDC0 write setCNPDC0;
  9501. property CNPDC1 : TBits_1 read getCNPDC1 write setCNPDC1;
  9502. property CNPDC3 : TBits_1 read getCNPDC3 write setCNPDC3;
  9503. property CNPDC9 : TBits_1 read getCNPDC9 write setCNPDC9;
  9504. property w : TBits_32 read getw write setw;
  9505. end;
  9506. TPORTC_CNCONC = record
  9507. private
  9508. function getON : TBits_1; inline;
  9509. function getSIDL : TBits_1; inline;
  9510. function getw : TBits_32; inline;
  9511. procedure setON(thebits : TBits_1); inline;
  9512. procedure setSIDL(thebits : TBits_1); inline;
  9513. procedure setw(thebits : TBits_32); inline;
  9514. public
  9515. procedure clearON; inline;
  9516. procedure clearSIDL; inline;
  9517. procedure setON; inline;
  9518. procedure setSIDL; inline;
  9519. property ON : TBits_1 read getON write setON;
  9520. property SIDL : TBits_1 read getSIDL write setSIDL;
  9521. property w : TBits_32 read getw write setw;
  9522. end;
  9523. TPORTC_CNENC = record
  9524. private
  9525. function getCNIEC0 : TBits_1; inline;
  9526. function getCNIEC1 : TBits_1; inline;
  9527. function getCNIEC3 : TBits_1; inline;
  9528. function getCNIEC9 : TBits_1; inline;
  9529. function getw : TBits_32; inline;
  9530. procedure setCNIEC0(thebits : TBits_1); inline;
  9531. procedure setCNIEC1(thebits : TBits_1); inline;
  9532. procedure setCNIEC3(thebits : TBits_1); inline;
  9533. procedure setCNIEC9(thebits : TBits_1); inline;
  9534. procedure setw(thebits : TBits_32); inline;
  9535. public
  9536. procedure clearCNIEC0; inline;
  9537. procedure clearCNIEC1; inline;
  9538. procedure clearCNIEC3; inline;
  9539. procedure clearCNIEC9; inline;
  9540. procedure setCNIEC0; inline;
  9541. procedure setCNIEC1; inline;
  9542. procedure setCNIEC3; inline;
  9543. procedure setCNIEC9; inline;
  9544. property CNIEC0 : TBits_1 read getCNIEC0 write setCNIEC0;
  9545. property CNIEC1 : TBits_1 read getCNIEC1 write setCNIEC1;
  9546. property CNIEC3 : TBits_1 read getCNIEC3 write setCNIEC3;
  9547. property CNIEC9 : TBits_1 read getCNIEC9 write setCNIEC9;
  9548. property w : TBits_32 read getw write setw;
  9549. end;
  9550. TPORTC_CNSTATC = record
  9551. private
  9552. function getCNSTATC0 : TBits_1; inline;
  9553. function getCNSTATC1 : TBits_1; inline;
  9554. function getCNSTATC3 : TBits_1; inline;
  9555. function getCNSTATC9 : TBits_1; inline;
  9556. function getw : TBits_32; inline;
  9557. procedure setCNSTATC0(thebits : TBits_1); inline;
  9558. procedure setCNSTATC1(thebits : TBits_1); inline;
  9559. procedure setCNSTATC3(thebits : TBits_1); inline;
  9560. procedure setCNSTATC9(thebits : TBits_1); inline;
  9561. procedure setw(thebits : TBits_32); inline;
  9562. public
  9563. procedure clearCNSTATC0; inline;
  9564. procedure clearCNSTATC1; inline;
  9565. procedure clearCNSTATC3; inline;
  9566. procedure clearCNSTATC9; inline;
  9567. procedure setCNSTATC0; inline;
  9568. procedure setCNSTATC1; inline;
  9569. procedure setCNSTATC3; inline;
  9570. procedure setCNSTATC9; inline;
  9571. property CNSTATC0 : TBits_1 read getCNSTATC0 write setCNSTATC0;
  9572. property CNSTATC1 : TBits_1 read getCNSTATC1 write setCNSTATC1;
  9573. property CNSTATC3 : TBits_1 read getCNSTATC3 write setCNSTATC3;
  9574. property CNSTATC9 : TBits_1 read getCNSTATC9 write setCNSTATC9;
  9575. property w : TBits_32 read getw write setw;
  9576. end;
  9577. type
  9578. TPORTCRegisters = record
  9579. ANSELCbits : TPORTC_ANSELC;
  9580. ANSELC : longWord;
  9581. ANSELCCLR : longWord;
  9582. ANSELCSET : longWord;
  9583. ANSELCINV : longWord;
  9584. TRISCbits : TPORTC_TRISC;
  9585. TRISC : longWord;
  9586. TRISCCLR : longWord;
  9587. TRISCSET : longWord;
  9588. TRISCINV : longWord;
  9589. PORTCbits : TPORTC_PORTC;
  9590. PORTC : longWord;
  9591. PORTCCLR : longWord;
  9592. PORTCSET : longWord;
  9593. PORTCINV : longWord;
  9594. LATCbits : TPORTC_LATC;
  9595. LATC : longWord;
  9596. LATCCLR : longWord;
  9597. LATCSET : longWord;
  9598. LATCINV : longWord;
  9599. ODCCbits : TPORTC_ODCC;
  9600. ODCC : longWord;
  9601. ODCCCLR : longWord;
  9602. ODCCSET : longWord;
  9603. ODCCINV : longWord;
  9604. CNPUCbits : TPORTC_CNPUC;
  9605. CNPUC : longWord;
  9606. CNPUCCLR : longWord;
  9607. CNPUCSET : longWord;
  9608. CNPUCINV : longWord;
  9609. CNPDCbits : TPORTC_CNPDC;
  9610. CNPDC : longWord;
  9611. CNPDCCLR : longWord;
  9612. CNPDCSET : longWord;
  9613. CNPDCINV : longWord;
  9614. CNCONCbits : TPORTC_CNCONC;
  9615. CNCONC : longWord;
  9616. CNCONCCLR : longWord;
  9617. CNCONCSET : longWord;
  9618. CNCONCINV : longWord;
  9619. CNENCbits : TPORTC_CNENC;
  9620. CNENC : longWord;
  9621. CNENCCLR : longWord;
  9622. CNENCSET : longWord;
  9623. CNENCINV : longWord;
  9624. CNSTATCbits : TPORTC_CNSTATC;
  9625. CNSTATC : longWord;
  9626. CNSTATCCLR : longWord;
  9627. CNSTATCSET : longWord;
  9628. CNSTATCINV : longWord;
  9629. end;
  9630. TDEVCFG_DEVCFG3 = record
  9631. private
  9632. function getFUSBIDIO : TBits_1; inline;
  9633. function getFVBUSONIO : TBits_1; inline;
  9634. function getIOL1WAY : TBits_1; inline;
  9635. function getPMDL1WAY : TBits_1; inline;
  9636. function getUSERID : TBits_16; inline;
  9637. function getw : TBits_32; inline;
  9638. procedure setFUSBIDIO(thebits : TBits_1); inline;
  9639. procedure setFVBUSONIO(thebits : TBits_1); inline;
  9640. procedure setIOL1WAY(thebits : TBits_1); inline;
  9641. procedure setPMDL1WAY(thebits : TBits_1); inline;
  9642. procedure setUSERID(thebits : TBits_16); inline;
  9643. procedure setw(thebits : TBits_32); inline;
  9644. public
  9645. procedure clearFUSBIDIO; inline;
  9646. procedure clearFVBUSONIO; inline;
  9647. procedure clearIOL1WAY; inline;
  9648. procedure clearPMDL1WAY; inline;
  9649. procedure setFUSBIDIO; inline;
  9650. procedure setFVBUSONIO; inline;
  9651. procedure setIOL1WAY; inline;
  9652. procedure setPMDL1WAY; inline;
  9653. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  9654. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  9655. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  9656. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  9657. property USERID : TBits_16 read getUSERID write setUSERID;
  9658. property w : TBits_32 read getw write setw;
  9659. end;
  9660. TDEVCFG_DEVCFG2 = record
  9661. private
  9662. function getFPLLIDIV : TBits_3; inline;
  9663. function getFPLLMUL : TBits_3; inline;
  9664. function getFPLLODIV : TBits_3; inline;
  9665. function getw : TBits_32; inline;
  9666. procedure setFPLLIDIV(thebits : TBits_3); inline;
  9667. procedure setFPLLMUL(thebits : TBits_3); inline;
  9668. procedure setFPLLODIV(thebits : TBits_3); inline;
  9669. procedure setw(thebits : TBits_32); inline;
  9670. public
  9671. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  9672. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  9673. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  9674. property w : TBits_32 read getw write setw;
  9675. end;
  9676. TDEVCFG_DEVCFG1 = record
  9677. private
  9678. function getFCKSM : TBits_2; inline;
  9679. function getFNOSC : TBits_3; inline;
  9680. function getFPBDIV : TBits_2; inline;
  9681. function getFSOSCEN : TBits_1; inline;
  9682. function getFWDTEN : TBits_1; inline;
  9683. function getFWDTWINSZ : TBits_2; inline;
  9684. function getIESO : TBits_1; inline;
  9685. function getOSCIOFNC : TBits_1; inline;
  9686. function getPOSCMOD : TBits_2; inline;
  9687. function getWDTPS : TBits_5; inline;
  9688. function getWINDIS : TBits_1; inline;
  9689. function getw : TBits_32; inline;
  9690. procedure setFCKSM(thebits : TBits_2); inline;
  9691. procedure setFNOSC(thebits : TBits_3); inline;
  9692. procedure setFPBDIV(thebits : TBits_2); inline;
  9693. procedure setFSOSCEN(thebits : TBits_1); inline;
  9694. procedure setFWDTEN(thebits : TBits_1); inline;
  9695. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  9696. procedure setIESO(thebits : TBits_1); inline;
  9697. procedure setOSCIOFNC(thebits : TBits_1); inline;
  9698. procedure setPOSCMOD(thebits : TBits_2); inline;
  9699. procedure setWDTPS(thebits : TBits_5); inline;
  9700. procedure setWINDIS(thebits : TBits_1); inline;
  9701. procedure setw(thebits : TBits_32); inline;
  9702. public
  9703. procedure clearFSOSCEN; inline;
  9704. procedure clearFWDTEN; inline;
  9705. procedure clearIESO; inline;
  9706. procedure clearOSCIOFNC; inline;
  9707. procedure clearWINDIS; inline;
  9708. procedure setFSOSCEN; inline;
  9709. procedure setFWDTEN; inline;
  9710. procedure setIESO; inline;
  9711. procedure setOSCIOFNC; inline;
  9712. procedure setWINDIS; inline;
  9713. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  9714. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  9715. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  9716. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  9717. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  9718. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  9719. property IESO : TBits_1 read getIESO write setIESO;
  9720. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  9721. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  9722. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  9723. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  9724. property w : TBits_32 read getw write setw;
  9725. end;
  9726. TDEVCFG_DEVCFG0 = record
  9727. private
  9728. function getBWP : TBits_1; inline;
  9729. function getCP : TBits_1; inline;
  9730. function getDEBUG : TBits_2; inline;
  9731. function getFDEBUG : TBits_2; inline;
  9732. function getICESEL : TBits_2; inline;
  9733. function getJTAGEN : TBits_1; inline;
  9734. function getPWP : TBits_6; inline;
  9735. function getw : TBits_32; inline;
  9736. procedure setBWP(thebits : TBits_1); inline;
  9737. procedure setCP(thebits : TBits_1); inline;
  9738. procedure setDEBUG(thebits : TBits_2); inline;
  9739. procedure setFDEBUG(thebits : TBits_2); inline;
  9740. procedure setICESEL(thebits : TBits_2); inline;
  9741. procedure setJTAGEN(thebits : TBits_1); inline;
  9742. procedure setPWP(thebits : TBits_6); inline;
  9743. procedure setw(thebits : TBits_32); inline;
  9744. public
  9745. procedure clearBWP; inline;
  9746. procedure clearCP; inline;
  9747. procedure clearJTAGEN; inline;
  9748. procedure setBWP; inline;
  9749. procedure setCP; inline;
  9750. procedure setJTAGEN; inline;
  9751. property BWP : TBits_1 read getBWP write setBWP;
  9752. property CP : TBits_1 read getCP write setCP;
  9753. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  9754. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  9755. property ICESEL : TBits_2 read getICESEL write setICESEL;
  9756. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  9757. property PWP : TBits_6 read getPWP write setPWP;
  9758. property w : TBits_32 read getw write setw;
  9759. end;
  9760. const
  9761. _CORE_TIMER_IRQ = 0;
  9762. _CORE_SOFTWARE_0_IRQ = 1;
  9763. _CORE_SOFTWARE_1_IRQ = 2;
  9764. _EXTERNAL_0_IRQ = 3;
  9765. _TIMER_1_IRQ = 4;
  9766. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  9767. _INPUT_CAPTURE_1_IRQ = 6;
  9768. _OUTPUT_COMPARE_1_IRQ = 7;
  9769. _EXTERNAL_1_IRQ = 8;
  9770. _TIMER_2_IRQ = 9;
  9771. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  9772. _INPUT_CAPTURE_2_IRQ = 11;
  9773. _OUTPUT_COMPARE_2_IRQ = 12;
  9774. _EXTERNAL_2_IRQ = 13;
  9775. _TIMER_3_IRQ = 14;
  9776. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  9777. _INPUT_CAPTURE_3_IRQ = 16;
  9778. _OUTPUT_COMPARE_3_IRQ = 17;
  9779. _EXTERNAL_3_IRQ = 18;
  9780. _TIMER_4_IRQ = 19;
  9781. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  9782. _INPUT_CAPTURE_4_IRQ = 21;
  9783. _OUTPUT_COMPARE_4_IRQ = 22;
  9784. _EXTERNAL_4_IRQ = 23;
  9785. _TIMER_5_IRQ = 24;
  9786. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  9787. _INPUT_CAPTURE_5_IRQ = 26;
  9788. _OUTPUT_COMPARE_5_IRQ = 27;
  9789. _ADC_IRQ = 28;
  9790. _FAIL_SAFE_MONITOR_IRQ = 29;
  9791. _RTCC_IRQ = 30;
  9792. _FLASH_CONTROL_IRQ = 31;
  9793. _COMPARATOR_1_IRQ = 32;
  9794. _COMPARATOR_2_IRQ = 33;
  9795. _COMPARATOR_3_IRQ = 34;
  9796. _USB_IRQ = 35;
  9797. _SPI1_ERR_IRQ = 36;
  9798. _SPI1_RX_IRQ = 37;
  9799. _SPI1_TX_IRQ = 38;
  9800. _UART1_ERR_IRQ = 39;
  9801. _UART1_RX_IRQ = 40;
  9802. _UART1_TX_IRQ = 41;
  9803. _I2C1_BUS_IRQ = 42;
  9804. _I2C1_SLAVE_IRQ = 43;
  9805. _I2C1_MASTER_IRQ = 44;
  9806. _CHANGE_NOTICE_A_IRQ = 45;
  9807. _CHANGE_NOTICE_B_IRQ = 46;
  9808. _CHANGE_NOTICE_C_IRQ = 47;
  9809. _PMP_IRQ = 48;
  9810. _PMP_ERROR_IRQ = 49;
  9811. _SPI2_ERR_IRQ = 50;
  9812. _SPI2_RX_IRQ = 51;
  9813. _SPI2_TX_IRQ = 52;
  9814. _UART2_ERR_IRQ = 53;
  9815. _UART2_RX_IRQ = 54;
  9816. _UART2_TX_IRQ = 55;
  9817. _I2C2_BUS_IRQ = 56;
  9818. _I2C2_SLAVE_IRQ = 57;
  9819. _I2C2_MASTER_IRQ = 58;
  9820. _CTMU_IRQ = 59;
  9821. _DMA0_IRQ = 60;
  9822. _DMA1_IRQ = 61;
  9823. _DMA2_IRQ = 62;
  9824. _DMA3_IRQ = 63;
  9825. const
  9826. ADC10_BASE_ADDRESS = $BF809000;
  9827. var
  9828. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  9829. const
  9830. BMX_BASE_ADDRESS = $BF882000;
  9831. var
  9832. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  9833. const
  9834. CFG_BASE_ADDRESS = $BF80F200;
  9835. var
  9836. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  9837. const
  9838. CMP_BASE_ADDRESS = $BF80A000;
  9839. var
  9840. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  9841. const
  9842. CVR_BASE_ADDRESS = $BF809800;
  9843. var
  9844. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  9845. const
  9846. DMAC_BASE_ADDRESS = $BF883000;
  9847. var
  9848. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  9849. const
  9850. DMAC0_BASE_ADDRESS = $BF883060;
  9851. var
  9852. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  9853. const
  9854. DMAC1_BASE_ADDRESS = $BF883120;
  9855. var
  9856. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  9857. const
  9858. DMAC2_BASE_ADDRESS = $BF8831E0;
  9859. var
  9860. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  9861. const
  9862. DMAC3_BASE_ADDRESS = $BF8832A0;
  9863. var
  9864. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  9865. const
  9866. I2C1_BASE_ADDRESS = $BF805000;
  9867. var
  9868. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  9869. const
  9870. I2C2_BASE_ADDRESS = $BF805100;
  9871. var
  9872. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  9873. const
  9874. ICAP1_BASE_ADDRESS = $BF802000;
  9875. var
  9876. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  9877. const
  9878. ICAP2_BASE_ADDRESS = $BF802200;
  9879. var
  9880. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  9881. const
  9882. ICAP3_BASE_ADDRESS = $BF802400;
  9883. var
  9884. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  9885. const
  9886. ICAP4_BASE_ADDRESS = $BF802600;
  9887. var
  9888. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  9889. const
  9890. ICAP5_BASE_ADDRESS = $BF802800;
  9891. var
  9892. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  9893. const
  9894. INT_BASE_ADDRESS = $BF881000;
  9895. var
  9896. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  9897. const
  9898. NVM_BASE_ADDRESS = $BF80F400;
  9899. var
  9900. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  9901. const
  9902. OCMP1_BASE_ADDRESS = $BF803000;
  9903. var
  9904. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  9905. const
  9906. OCMP2_BASE_ADDRESS = $BF803200;
  9907. var
  9908. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  9909. const
  9910. OCMP3_BASE_ADDRESS = $BF803400;
  9911. var
  9912. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  9913. const
  9914. OCMP4_BASE_ADDRESS = $BF803600;
  9915. var
  9916. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  9917. const
  9918. OCMP5_BASE_ADDRESS = $BF803800;
  9919. var
  9920. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  9921. const
  9922. OSC_BASE_ADDRESS = $BF80F000;
  9923. var
  9924. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  9925. const
  9926. PMP_BASE_ADDRESS = $BF807000;
  9927. var
  9928. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  9929. const
  9930. PORTA_BASE_ADDRESS = $BF886000;
  9931. var
  9932. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  9933. const
  9934. PORTB_BASE_ADDRESS = $BF886100;
  9935. var
  9936. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  9937. const
  9938. PORTC_BASE_ADDRESS = $BF886200;
  9939. var
  9940. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  9941. const
  9942. RCON_BASE_ADDRESS = $BF80F600;
  9943. var
  9944. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  9945. const
  9946. RTCC_BASE_ADDRESS = $BF800200;
  9947. var
  9948. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  9949. const
  9950. SPI1_BASE_ADDRESS = $BF805800;
  9951. var
  9952. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  9953. const
  9954. SPI2_BASE_ADDRESS = $BF805A00;
  9955. var
  9956. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  9957. const
  9958. TMR1_BASE_ADDRESS = $BF800600;
  9959. var
  9960. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  9961. const
  9962. TMR2_BASE_ADDRESS = $BF800800;
  9963. var
  9964. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  9965. const
  9966. TMR3_BASE_ADDRESS = $BF800A00;
  9967. var
  9968. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  9969. const
  9970. TMR4_BASE_ADDRESS = $BF800C00;
  9971. var
  9972. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  9973. const
  9974. TMR5_BASE_ADDRESS = $BF800E00;
  9975. var
  9976. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  9977. const
  9978. UART1_BASE_ADDRESS = $BF806000;
  9979. var
  9980. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  9981. const
  9982. UART2_BASE_ADDRESS = $BF806200;
  9983. var
  9984. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  9985. const
  9986. WDT_BASE_ADDRESS = $BF800000;
  9987. var
  9988. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  9989. implementation
  9990. type
  9991. TDefRegMap = record
  9992. val : longWord;
  9993. clr : longWord;
  9994. &set : longWord;
  9995. inv : longWord;
  9996. end;
  9997. pTDefRegMap = ^TDefRegMap;
  9998. procedure TWDT_WDTCON.setWDTCLR; inline;
  9999. begin
  10000. pTDefRegMap(@Self)^.&set := $00000001;
  10001. end;
  10002. procedure TWDT_WDTCON.clearWDTCLR; inline;
  10003. begin
  10004. pTDefRegMap(@Self)^.clr := $00000001;
  10005. end;
  10006. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  10007. begin
  10008. if thebits = 0 then
  10009. pTDefRegMap(@Self)^.clr := $00000001
  10010. else
  10011. pTDefRegMap(@Self)^.&set := $00000001;
  10012. end;
  10013. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  10014. begin
  10015. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10016. end;
  10017. procedure TWDT_WDTCON.setWDTWINEN; inline;
  10018. begin
  10019. pTDefRegMap(@Self)^.&set := $00000002;
  10020. end;
  10021. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  10022. begin
  10023. pTDefRegMap(@Self)^.clr := $00000002;
  10024. end;
  10025. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  10026. begin
  10027. if thebits = 0 then
  10028. pTDefRegMap(@Self)^.clr := $00000002
  10029. else
  10030. pTDefRegMap(@Self)^.&set := $00000002;
  10031. end;
  10032. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  10033. begin
  10034. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10035. end;
  10036. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  10037. begin
  10038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10039. end;
  10040. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  10041. begin
  10042. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10043. end;
  10044. procedure TWDT_WDTCON.setON; inline;
  10045. begin
  10046. pTDefRegMap(@Self)^.&set := $00008000;
  10047. end;
  10048. procedure TWDT_WDTCON.clearON; inline;
  10049. begin
  10050. pTDefRegMap(@Self)^.clr := $00008000;
  10051. end;
  10052. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  10053. begin
  10054. if thebits = 0 then
  10055. pTDefRegMap(@Self)^.clr := $00008000
  10056. else
  10057. pTDefRegMap(@Self)^.&set := $00008000;
  10058. end;
  10059. function TWDT_WDTCON.getON : TBits_1; inline;
  10060. begin
  10061. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10062. end;
  10063. procedure TWDT_WDTCON.setSWDTPS0; inline;
  10064. begin
  10065. pTDefRegMap(@Self)^.&set := $00000004;
  10066. end;
  10067. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  10068. begin
  10069. pTDefRegMap(@Self)^.clr := $00000004;
  10070. end;
  10071. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  10072. begin
  10073. if thebits = 0 then
  10074. pTDefRegMap(@Self)^.clr := $00000004
  10075. else
  10076. pTDefRegMap(@Self)^.&set := $00000004;
  10077. end;
  10078. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  10079. begin
  10080. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10081. end;
  10082. procedure TWDT_WDTCON.setSWDTPS1; inline;
  10083. begin
  10084. pTDefRegMap(@Self)^.&set := $00000008;
  10085. end;
  10086. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  10087. begin
  10088. pTDefRegMap(@Self)^.clr := $00000008;
  10089. end;
  10090. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  10091. begin
  10092. if thebits = 0 then
  10093. pTDefRegMap(@Self)^.clr := $00000008
  10094. else
  10095. pTDefRegMap(@Self)^.&set := $00000008;
  10096. end;
  10097. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  10098. begin
  10099. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10100. end;
  10101. procedure TWDT_WDTCON.setSWDTPS2; inline;
  10102. begin
  10103. pTDefRegMap(@Self)^.&set := $00000010;
  10104. end;
  10105. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  10106. begin
  10107. pTDefRegMap(@Self)^.clr := $00000010;
  10108. end;
  10109. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  10110. begin
  10111. if thebits = 0 then
  10112. pTDefRegMap(@Self)^.clr := $00000010
  10113. else
  10114. pTDefRegMap(@Self)^.&set := $00000010;
  10115. end;
  10116. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  10117. begin
  10118. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10119. end;
  10120. procedure TWDT_WDTCON.setSWDTPS3; inline;
  10121. begin
  10122. pTDefRegMap(@Self)^.&set := $00000020;
  10123. end;
  10124. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  10125. begin
  10126. pTDefRegMap(@Self)^.clr := $00000020;
  10127. end;
  10128. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  10129. begin
  10130. if thebits = 0 then
  10131. pTDefRegMap(@Self)^.clr := $00000020
  10132. else
  10133. pTDefRegMap(@Self)^.&set := $00000020;
  10134. end;
  10135. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  10136. begin
  10137. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10138. end;
  10139. procedure TWDT_WDTCON.setSWDTPS4; inline;
  10140. begin
  10141. pTDefRegMap(@Self)^.&set := $00000040;
  10142. end;
  10143. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  10144. begin
  10145. pTDefRegMap(@Self)^.clr := $00000040;
  10146. end;
  10147. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  10148. begin
  10149. if thebits = 0 then
  10150. pTDefRegMap(@Self)^.clr := $00000040
  10151. else
  10152. pTDefRegMap(@Self)^.&set := $00000040;
  10153. end;
  10154. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  10155. begin
  10156. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10157. end;
  10158. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  10159. begin
  10160. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10161. end;
  10162. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  10163. begin
  10164. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10165. end;
  10166. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  10167. begin
  10168. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10169. end;
  10170. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  10171. begin
  10172. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10173. end;
  10174. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  10175. begin
  10176. pTDefRegMap(@Self)^.val := thebits;
  10177. end;
  10178. function TWDT_WDTCON.getw : TBits_32; inline;
  10179. begin
  10180. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10181. end;
  10182. procedure TRTCC_RTCCON.setRTCOE; inline;
  10183. begin
  10184. pTDefRegMap(@Self)^.&set := $00000001;
  10185. end;
  10186. procedure TRTCC_RTCCON.clearRTCOE; inline;
  10187. begin
  10188. pTDefRegMap(@Self)^.clr := $00000001;
  10189. end;
  10190. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  10191. begin
  10192. if thebits = 0 then
  10193. pTDefRegMap(@Self)^.clr := $00000001
  10194. else
  10195. pTDefRegMap(@Self)^.&set := $00000001;
  10196. end;
  10197. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  10198. begin
  10199. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10200. end;
  10201. procedure TRTCC_RTCCON.setHALFSEC; inline;
  10202. begin
  10203. pTDefRegMap(@Self)^.&set := $00000002;
  10204. end;
  10205. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  10206. begin
  10207. pTDefRegMap(@Self)^.clr := $00000002;
  10208. end;
  10209. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  10210. begin
  10211. if thebits = 0 then
  10212. pTDefRegMap(@Self)^.clr := $00000002
  10213. else
  10214. pTDefRegMap(@Self)^.&set := $00000002;
  10215. end;
  10216. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  10217. begin
  10218. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10219. end;
  10220. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  10221. begin
  10222. pTDefRegMap(@Self)^.&set := $00000004;
  10223. end;
  10224. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  10225. begin
  10226. pTDefRegMap(@Self)^.clr := $00000004;
  10227. end;
  10228. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  10229. begin
  10230. if thebits = 0 then
  10231. pTDefRegMap(@Self)^.clr := $00000004
  10232. else
  10233. pTDefRegMap(@Self)^.&set := $00000004;
  10234. end;
  10235. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  10236. begin
  10237. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10238. end;
  10239. procedure TRTCC_RTCCON.setRTCWREN; inline;
  10240. begin
  10241. pTDefRegMap(@Self)^.&set := $00000008;
  10242. end;
  10243. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  10244. begin
  10245. pTDefRegMap(@Self)^.clr := $00000008;
  10246. end;
  10247. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  10248. begin
  10249. if thebits = 0 then
  10250. pTDefRegMap(@Self)^.clr := $00000008
  10251. else
  10252. pTDefRegMap(@Self)^.&set := $00000008;
  10253. end;
  10254. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  10255. begin
  10256. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10257. end;
  10258. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  10259. begin
  10260. pTDefRegMap(@Self)^.&set := $00000040;
  10261. end;
  10262. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  10263. begin
  10264. pTDefRegMap(@Self)^.clr := $00000040;
  10265. end;
  10266. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  10267. begin
  10268. if thebits = 0 then
  10269. pTDefRegMap(@Self)^.clr := $00000040
  10270. else
  10271. pTDefRegMap(@Self)^.&set := $00000040;
  10272. end;
  10273. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  10274. begin
  10275. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10276. end;
  10277. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  10278. begin
  10279. pTDefRegMap(@Self)^.&set := $00000080;
  10280. end;
  10281. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  10282. begin
  10283. pTDefRegMap(@Self)^.clr := $00000080;
  10284. end;
  10285. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  10286. begin
  10287. if thebits = 0 then
  10288. pTDefRegMap(@Self)^.clr := $00000080
  10289. else
  10290. pTDefRegMap(@Self)^.&set := $00000080;
  10291. end;
  10292. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  10293. begin
  10294. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10295. end;
  10296. procedure TRTCC_RTCCON.setSIDL; inline;
  10297. begin
  10298. pTDefRegMap(@Self)^.&set := $00002000;
  10299. end;
  10300. procedure TRTCC_RTCCON.clearSIDL; inline;
  10301. begin
  10302. pTDefRegMap(@Self)^.clr := $00002000;
  10303. end;
  10304. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10305. begin
  10306. if thebits = 0 then
  10307. pTDefRegMap(@Self)^.clr := $00002000
  10308. else
  10309. pTDefRegMap(@Self)^.&set := $00002000;
  10310. end;
  10311. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10312. begin
  10313. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10314. end;
  10315. procedure TRTCC_RTCCON.setON; inline;
  10316. begin
  10317. pTDefRegMap(@Self)^.&set := $00008000;
  10318. end;
  10319. procedure TRTCC_RTCCON.clearON; inline;
  10320. begin
  10321. pTDefRegMap(@Self)^.clr := $00008000;
  10322. end;
  10323. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10324. begin
  10325. if thebits = 0 then
  10326. pTDefRegMap(@Self)^.clr := $00008000
  10327. else
  10328. pTDefRegMap(@Self)^.&set := $00008000;
  10329. end;
  10330. function TRTCC_RTCCON.getON : TBits_1; inline;
  10331. begin
  10332. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10333. end;
  10334. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10335. begin
  10336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10337. end;
  10338. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10339. begin
  10340. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10341. end;
  10342. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10343. begin
  10344. pTDefRegMap(@Self)^.val := thebits;
  10345. end;
  10346. function TRTCC_RTCCON.getw : TBits_32; inline;
  10347. begin
  10348. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10349. end;
  10350. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10351. begin
  10352. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10353. end;
  10354. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10355. begin
  10356. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10357. end;
  10358. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10359. begin
  10360. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10361. end;
  10362. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10363. begin
  10364. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10365. end;
  10366. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10367. begin
  10368. pTDefRegMap(@Self)^.&set := $00001000;
  10369. end;
  10370. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10371. begin
  10372. pTDefRegMap(@Self)^.clr := $00001000;
  10373. end;
  10374. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10375. begin
  10376. if thebits = 0 then
  10377. pTDefRegMap(@Self)^.clr := $00001000
  10378. else
  10379. pTDefRegMap(@Self)^.&set := $00001000;
  10380. end;
  10381. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10382. begin
  10383. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10384. end;
  10385. procedure TRTCC_RTCALRM.setPIV; inline;
  10386. begin
  10387. pTDefRegMap(@Self)^.&set := $00002000;
  10388. end;
  10389. procedure TRTCC_RTCALRM.clearPIV; inline;
  10390. begin
  10391. pTDefRegMap(@Self)^.clr := $00002000;
  10392. end;
  10393. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10394. begin
  10395. if thebits = 0 then
  10396. pTDefRegMap(@Self)^.clr := $00002000
  10397. else
  10398. pTDefRegMap(@Self)^.&set := $00002000;
  10399. end;
  10400. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10401. begin
  10402. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10403. end;
  10404. procedure TRTCC_RTCALRM.setCHIME; inline;
  10405. begin
  10406. pTDefRegMap(@Self)^.&set := $00004000;
  10407. end;
  10408. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10409. begin
  10410. pTDefRegMap(@Self)^.clr := $00004000;
  10411. end;
  10412. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10413. begin
  10414. if thebits = 0 then
  10415. pTDefRegMap(@Self)^.clr := $00004000
  10416. else
  10417. pTDefRegMap(@Self)^.&set := $00004000;
  10418. end;
  10419. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10420. begin
  10421. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10422. end;
  10423. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10424. begin
  10425. pTDefRegMap(@Self)^.&set := $00008000;
  10426. end;
  10427. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10428. begin
  10429. pTDefRegMap(@Self)^.clr := $00008000;
  10430. end;
  10431. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10432. begin
  10433. if thebits = 0 then
  10434. pTDefRegMap(@Self)^.clr := $00008000
  10435. else
  10436. pTDefRegMap(@Self)^.&set := $00008000;
  10437. end;
  10438. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10439. begin
  10440. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10441. end;
  10442. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10443. begin
  10444. pTDefRegMap(@Self)^.val := thebits;
  10445. end;
  10446. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10447. begin
  10448. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10449. end;
  10450. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10451. begin
  10452. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10453. end;
  10454. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10455. begin
  10456. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10457. end;
  10458. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10459. begin
  10460. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10461. end;
  10462. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10463. begin
  10464. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10465. end;
  10466. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10467. begin
  10468. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10469. end;
  10470. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10471. begin
  10472. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10473. end;
  10474. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10475. begin
  10476. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10477. end;
  10478. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10479. begin
  10480. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10481. end;
  10482. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10483. begin
  10484. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10485. end;
  10486. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10487. begin
  10488. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10489. end;
  10490. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10491. begin
  10492. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10493. end;
  10494. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10495. begin
  10496. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10497. end;
  10498. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10499. begin
  10500. pTDefRegMap(@Self)^.val := thebits;
  10501. end;
  10502. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10503. begin
  10504. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10505. end;
  10506. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10507. begin
  10508. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10509. end;
  10510. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10511. begin
  10512. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10513. end;
  10514. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10515. begin
  10516. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10517. end;
  10518. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  10519. begin
  10520. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10521. end;
  10522. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  10523. begin
  10524. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10525. end;
  10526. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  10527. begin
  10528. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10529. end;
  10530. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  10531. begin
  10532. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10533. end;
  10534. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  10535. begin
  10536. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10537. end;
  10538. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  10539. begin
  10540. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10541. end;
  10542. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  10543. begin
  10544. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10545. end;
  10546. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  10547. begin
  10548. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10549. end;
  10550. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  10551. begin
  10552. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10553. end;
  10554. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  10555. begin
  10556. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10557. end;
  10558. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  10559. begin
  10560. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10561. end;
  10562. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  10563. begin
  10564. pTDefRegMap(@Self)^.val := thebits;
  10565. end;
  10566. function TRTCC_RTCDATE.getw : TBits_32; inline;
  10567. begin
  10568. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10569. end;
  10570. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  10571. begin
  10572. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10573. end;
  10574. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  10575. begin
  10576. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10577. end;
  10578. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  10579. begin
  10580. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10581. end;
  10582. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  10583. begin
  10584. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10585. end;
  10586. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  10587. begin
  10588. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10589. end;
  10590. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  10591. begin
  10592. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10593. end;
  10594. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  10595. begin
  10596. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10597. end;
  10598. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  10599. begin
  10600. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10601. end;
  10602. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  10603. begin
  10604. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10605. end;
  10606. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  10607. begin
  10608. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10609. end;
  10610. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  10611. begin
  10612. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10613. end;
  10614. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  10615. begin
  10616. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10617. end;
  10618. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  10619. begin
  10620. pTDefRegMap(@Self)^.val := thebits;
  10621. end;
  10622. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  10623. begin
  10624. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10625. end;
  10626. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  10627. begin
  10628. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10629. end;
  10630. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  10631. begin
  10632. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10633. end;
  10634. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  10635. begin
  10636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10637. end;
  10638. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  10639. begin
  10640. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10641. end;
  10642. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  10643. begin
  10644. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10645. end;
  10646. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  10647. begin
  10648. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10649. end;
  10650. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  10651. begin
  10652. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10653. end;
  10654. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  10655. begin
  10656. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10657. end;
  10658. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  10659. begin
  10660. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10661. end;
  10662. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  10663. begin
  10664. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10665. end;
  10666. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  10667. begin
  10668. pTDefRegMap(@Self)^.val := thebits;
  10669. end;
  10670. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  10671. begin
  10672. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10673. end;
  10674. procedure TTMR1_T1CON.setTCS; inline;
  10675. begin
  10676. pTDefRegMap(@Self)^.&set := $00000002;
  10677. end;
  10678. procedure TTMR1_T1CON.clearTCS; inline;
  10679. begin
  10680. pTDefRegMap(@Self)^.clr := $00000002;
  10681. end;
  10682. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  10683. begin
  10684. if thebits = 0 then
  10685. pTDefRegMap(@Self)^.clr := $00000002
  10686. else
  10687. pTDefRegMap(@Self)^.&set := $00000002;
  10688. end;
  10689. function TTMR1_T1CON.getTCS : TBits_1; inline;
  10690. begin
  10691. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10692. end;
  10693. procedure TTMR1_T1CON.setTSYNC; inline;
  10694. begin
  10695. pTDefRegMap(@Self)^.&set := $00000004;
  10696. end;
  10697. procedure TTMR1_T1CON.clearTSYNC; inline;
  10698. begin
  10699. pTDefRegMap(@Self)^.clr := $00000004;
  10700. end;
  10701. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  10702. begin
  10703. if thebits = 0 then
  10704. pTDefRegMap(@Self)^.clr := $00000004
  10705. else
  10706. pTDefRegMap(@Self)^.&set := $00000004;
  10707. end;
  10708. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  10709. begin
  10710. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10711. end;
  10712. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  10713. begin
  10714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  10715. end;
  10716. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  10717. begin
  10718. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  10719. end;
  10720. procedure TTMR1_T1CON.setTGATE; inline;
  10721. begin
  10722. pTDefRegMap(@Self)^.&set := $00000080;
  10723. end;
  10724. procedure TTMR1_T1CON.clearTGATE; inline;
  10725. begin
  10726. pTDefRegMap(@Self)^.clr := $00000080;
  10727. end;
  10728. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  10729. begin
  10730. if thebits = 0 then
  10731. pTDefRegMap(@Self)^.clr := $00000080
  10732. else
  10733. pTDefRegMap(@Self)^.&set := $00000080;
  10734. end;
  10735. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  10736. begin
  10737. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10738. end;
  10739. procedure TTMR1_T1CON.setTWIP; inline;
  10740. begin
  10741. pTDefRegMap(@Self)^.&set := $00000800;
  10742. end;
  10743. procedure TTMR1_T1CON.clearTWIP; inline;
  10744. begin
  10745. pTDefRegMap(@Self)^.clr := $00000800;
  10746. end;
  10747. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  10748. begin
  10749. if thebits = 0 then
  10750. pTDefRegMap(@Self)^.clr := $00000800
  10751. else
  10752. pTDefRegMap(@Self)^.&set := $00000800;
  10753. end;
  10754. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  10755. begin
  10756. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  10757. end;
  10758. procedure TTMR1_T1CON.setTWDIS; inline;
  10759. begin
  10760. pTDefRegMap(@Self)^.&set := $00001000;
  10761. end;
  10762. procedure TTMR1_T1CON.clearTWDIS; inline;
  10763. begin
  10764. pTDefRegMap(@Self)^.clr := $00001000;
  10765. end;
  10766. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  10767. begin
  10768. if thebits = 0 then
  10769. pTDefRegMap(@Self)^.clr := $00001000
  10770. else
  10771. pTDefRegMap(@Self)^.&set := $00001000;
  10772. end;
  10773. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  10774. begin
  10775. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10776. end;
  10777. procedure TTMR1_T1CON.setSIDL; inline;
  10778. begin
  10779. pTDefRegMap(@Self)^.&set := $00002000;
  10780. end;
  10781. procedure TTMR1_T1CON.clearSIDL; inline;
  10782. begin
  10783. pTDefRegMap(@Self)^.clr := $00002000;
  10784. end;
  10785. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  10786. begin
  10787. if thebits = 0 then
  10788. pTDefRegMap(@Self)^.clr := $00002000
  10789. else
  10790. pTDefRegMap(@Self)^.&set := $00002000;
  10791. end;
  10792. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  10793. begin
  10794. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10795. end;
  10796. procedure TTMR1_T1CON.setON; inline;
  10797. begin
  10798. pTDefRegMap(@Self)^.&set := $00008000;
  10799. end;
  10800. procedure TTMR1_T1CON.clearON; inline;
  10801. begin
  10802. pTDefRegMap(@Self)^.clr := $00008000;
  10803. end;
  10804. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  10805. begin
  10806. if thebits = 0 then
  10807. pTDefRegMap(@Self)^.clr := $00008000
  10808. else
  10809. pTDefRegMap(@Self)^.&set := $00008000;
  10810. end;
  10811. function TTMR1_T1CON.getON : TBits_1; inline;
  10812. begin
  10813. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10814. end;
  10815. procedure TTMR1_T1CON.setTCKPS0; inline;
  10816. begin
  10817. pTDefRegMap(@Self)^.&set := $00000010;
  10818. end;
  10819. procedure TTMR1_T1CON.clearTCKPS0; inline;
  10820. begin
  10821. pTDefRegMap(@Self)^.clr := $00000010;
  10822. end;
  10823. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  10824. begin
  10825. if thebits = 0 then
  10826. pTDefRegMap(@Self)^.clr := $00000010
  10827. else
  10828. pTDefRegMap(@Self)^.&set := $00000010;
  10829. end;
  10830. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  10831. begin
  10832. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10833. end;
  10834. procedure TTMR1_T1CON.setTCKPS1; inline;
  10835. begin
  10836. pTDefRegMap(@Self)^.&set := $00000020;
  10837. end;
  10838. procedure TTMR1_T1CON.clearTCKPS1; inline;
  10839. begin
  10840. pTDefRegMap(@Self)^.clr := $00000020;
  10841. end;
  10842. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  10843. begin
  10844. if thebits = 0 then
  10845. pTDefRegMap(@Self)^.clr := $00000020
  10846. else
  10847. pTDefRegMap(@Self)^.&set := $00000020;
  10848. end;
  10849. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  10850. begin
  10851. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10852. end;
  10853. procedure TTMR1_T1CON.setTSIDL; inline;
  10854. begin
  10855. pTDefRegMap(@Self)^.&set := $00002000;
  10856. end;
  10857. procedure TTMR1_T1CON.clearTSIDL; inline;
  10858. begin
  10859. pTDefRegMap(@Self)^.clr := $00002000;
  10860. end;
  10861. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  10862. begin
  10863. if thebits = 0 then
  10864. pTDefRegMap(@Self)^.clr := $00002000
  10865. else
  10866. pTDefRegMap(@Self)^.&set := $00002000;
  10867. end;
  10868. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  10869. begin
  10870. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10871. end;
  10872. procedure TTMR1_T1CON.setTON; inline;
  10873. begin
  10874. pTDefRegMap(@Self)^.&set := $00008000;
  10875. end;
  10876. procedure TTMR1_T1CON.clearTON; inline;
  10877. begin
  10878. pTDefRegMap(@Self)^.clr := $00008000;
  10879. end;
  10880. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  10881. begin
  10882. if thebits = 0 then
  10883. pTDefRegMap(@Self)^.clr := $00008000
  10884. else
  10885. pTDefRegMap(@Self)^.&set := $00008000;
  10886. end;
  10887. function TTMR1_T1CON.getTON : TBits_1; inline;
  10888. begin
  10889. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10890. end;
  10891. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  10892. begin
  10893. pTDefRegMap(@Self)^.val := thebits;
  10894. end;
  10895. function TTMR1_T1CON.getw : TBits_32; inline;
  10896. begin
  10897. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10898. end;
  10899. procedure TTMR2_T2CON.setTCS; inline;
  10900. begin
  10901. pTDefRegMap(@Self)^.&set := $00000002;
  10902. end;
  10903. procedure TTMR2_T2CON.clearTCS; inline;
  10904. begin
  10905. pTDefRegMap(@Self)^.clr := $00000002;
  10906. end;
  10907. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  10908. begin
  10909. if thebits = 0 then
  10910. pTDefRegMap(@Self)^.clr := $00000002
  10911. else
  10912. pTDefRegMap(@Self)^.&set := $00000002;
  10913. end;
  10914. function TTMR2_T2CON.getTCS : TBits_1; inline;
  10915. begin
  10916. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10917. end;
  10918. procedure TTMR2_T2CON.setT32; inline;
  10919. begin
  10920. pTDefRegMap(@Self)^.&set := $00000008;
  10921. end;
  10922. procedure TTMR2_T2CON.clearT32; inline;
  10923. begin
  10924. pTDefRegMap(@Self)^.clr := $00000008;
  10925. end;
  10926. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  10927. begin
  10928. if thebits = 0 then
  10929. pTDefRegMap(@Self)^.clr := $00000008
  10930. else
  10931. pTDefRegMap(@Self)^.&set := $00000008;
  10932. end;
  10933. function TTMR2_T2CON.getT32 : TBits_1; inline;
  10934. begin
  10935. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10936. end;
  10937. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  10938. begin
  10939. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10940. end;
  10941. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  10942. begin
  10943. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10944. end;
  10945. procedure TTMR2_T2CON.setTGATE; inline;
  10946. begin
  10947. pTDefRegMap(@Self)^.&set := $00000080;
  10948. end;
  10949. procedure TTMR2_T2CON.clearTGATE; inline;
  10950. begin
  10951. pTDefRegMap(@Self)^.clr := $00000080;
  10952. end;
  10953. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  10954. begin
  10955. if thebits = 0 then
  10956. pTDefRegMap(@Self)^.clr := $00000080
  10957. else
  10958. pTDefRegMap(@Self)^.&set := $00000080;
  10959. end;
  10960. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  10961. begin
  10962. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10963. end;
  10964. procedure TTMR2_T2CON.setSIDL; inline;
  10965. begin
  10966. pTDefRegMap(@Self)^.&set := $00002000;
  10967. end;
  10968. procedure TTMR2_T2CON.clearSIDL; inline;
  10969. begin
  10970. pTDefRegMap(@Self)^.clr := $00002000;
  10971. end;
  10972. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  10973. begin
  10974. if thebits = 0 then
  10975. pTDefRegMap(@Self)^.clr := $00002000
  10976. else
  10977. pTDefRegMap(@Self)^.&set := $00002000;
  10978. end;
  10979. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  10980. begin
  10981. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10982. end;
  10983. procedure TTMR2_T2CON.setON; inline;
  10984. begin
  10985. pTDefRegMap(@Self)^.&set := $00008000;
  10986. end;
  10987. procedure TTMR2_T2CON.clearON; inline;
  10988. begin
  10989. pTDefRegMap(@Self)^.clr := $00008000;
  10990. end;
  10991. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  10992. begin
  10993. if thebits = 0 then
  10994. pTDefRegMap(@Self)^.clr := $00008000
  10995. else
  10996. pTDefRegMap(@Self)^.&set := $00008000;
  10997. end;
  10998. function TTMR2_T2CON.getON : TBits_1; inline;
  10999. begin
  11000. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11001. end;
  11002. procedure TTMR2_T2CON.setTCKPS0; inline;
  11003. begin
  11004. pTDefRegMap(@Self)^.&set := $00000010;
  11005. end;
  11006. procedure TTMR2_T2CON.clearTCKPS0; inline;
  11007. begin
  11008. pTDefRegMap(@Self)^.clr := $00000010;
  11009. end;
  11010. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  11011. begin
  11012. if thebits = 0 then
  11013. pTDefRegMap(@Self)^.clr := $00000010
  11014. else
  11015. pTDefRegMap(@Self)^.&set := $00000010;
  11016. end;
  11017. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  11018. begin
  11019. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11020. end;
  11021. procedure TTMR2_T2CON.setTCKPS1; inline;
  11022. begin
  11023. pTDefRegMap(@Self)^.&set := $00000020;
  11024. end;
  11025. procedure TTMR2_T2CON.clearTCKPS1; inline;
  11026. begin
  11027. pTDefRegMap(@Self)^.clr := $00000020;
  11028. end;
  11029. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  11030. begin
  11031. if thebits = 0 then
  11032. pTDefRegMap(@Self)^.clr := $00000020
  11033. else
  11034. pTDefRegMap(@Self)^.&set := $00000020;
  11035. end;
  11036. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  11037. begin
  11038. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11039. end;
  11040. procedure TTMR2_T2CON.setTCKPS2; inline;
  11041. begin
  11042. pTDefRegMap(@Self)^.&set := $00000040;
  11043. end;
  11044. procedure TTMR2_T2CON.clearTCKPS2; inline;
  11045. begin
  11046. pTDefRegMap(@Self)^.clr := $00000040;
  11047. end;
  11048. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  11049. begin
  11050. if thebits = 0 then
  11051. pTDefRegMap(@Self)^.clr := $00000040
  11052. else
  11053. pTDefRegMap(@Self)^.&set := $00000040;
  11054. end;
  11055. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  11056. begin
  11057. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11058. end;
  11059. procedure TTMR2_T2CON.setTSIDL; inline;
  11060. begin
  11061. pTDefRegMap(@Self)^.&set := $00002000;
  11062. end;
  11063. procedure TTMR2_T2CON.clearTSIDL; inline;
  11064. begin
  11065. pTDefRegMap(@Self)^.clr := $00002000;
  11066. end;
  11067. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  11068. begin
  11069. if thebits = 0 then
  11070. pTDefRegMap(@Self)^.clr := $00002000
  11071. else
  11072. pTDefRegMap(@Self)^.&set := $00002000;
  11073. end;
  11074. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  11075. begin
  11076. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11077. end;
  11078. procedure TTMR2_T2CON.setTON; inline;
  11079. begin
  11080. pTDefRegMap(@Self)^.&set := $00008000;
  11081. end;
  11082. procedure TTMR2_T2CON.clearTON; inline;
  11083. begin
  11084. pTDefRegMap(@Self)^.clr := $00008000;
  11085. end;
  11086. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  11087. begin
  11088. if thebits = 0 then
  11089. pTDefRegMap(@Self)^.clr := $00008000
  11090. else
  11091. pTDefRegMap(@Self)^.&set := $00008000;
  11092. end;
  11093. function TTMR2_T2CON.getTON : TBits_1; inline;
  11094. begin
  11095. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11096. end;
  11097. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  11098. begin
  11099. pTDefRegMap(@Self)^.val := thebits;
  11100. end;
  11101. function TTMR2_T2CON.getw : TBits_32; inline;
  11102. begin
  11103. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11104. end;
  11105. procedure TTMR3_T3CON.setTCS; inline;
  11106. begin
  11107. pTDefRegMap(@Self)^.&set := $00000002;
  11108. end;
  11109. procedure TTMR3_T3CON.clearTCS; inline;
  11110. begin
  11111. pTDefRegMap(@Self)^.clr := $00000002;
  11112. end;
  11113. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  11114. begin
  11115. if thebits = 0 then
  11116. pTDefRegMap(@Self)^.clr := $00000002
  11117. else
  11118. pTDefRegMap(@Self)^.&set := $00000002;
  11119. end;
  11120. function TTMR3_T3CON.getTCS : TBits_1; inline;
  11121. begin
  11122. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11123. end;
  11124. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  11125. begin
  11126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11127. end;
  11128. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  11129. begin
  11130. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11131. end;
  11132. procedure TTMR3_T3CON.setTGATE; inline;
  11133. begin
  11134. pTDefRegMap(@Self)^.&set := $00000080;
  11135. end;
  11136. procedure TTMR3_T3CON.clearTGATE; inline;
  11137. begin
  11138. pTDefRegMap(@Self)^.clr := $00000080;
  11139. end;
  11140. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  11141. begin
  11142. if thebits = 0 then
  11143. pTDefRegMap(@Self)^.clr := $00000080
  11144. else
  11145. pTDefRegMap(@Self)^.&set := $00000080;
  11146. end;
  11147. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  11148. begin
  11149. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11150. end;
  11151. procedure TTMR3_T3CON.setSIDL; inline;
  11152. begin
  11153. pTDefRegMap(@Self)^.&set := $00002000;
  11154. end;
  11155. procedure TTMR3_T3CON.clearSIDL; inline;
  11156. begin
  11157. pTDefRegMap(@Self)^.clr := $00002000;
  11158. end;
  11159. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  11160. begin
  11161. if thebits = 0 then
  11162. pTDefRegMap(@Self)^.clr := $00002000
  11163. else
  11164. pTDefRegMap(@Self)^.&set := $00002000;
  11165. end;
  11166. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  11167. begin
  11168. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11169. end;
  11170. procedure TTMR3_T3CON.setON; inline;
  11171. begin
  11172. pTDefRegMap(@Self)^.&set := $00008000;
  11173. end;
  11174. procedure TTMR3_T3CON.clearON; inline;
  11175. begin
  11176. pTDefRegMap(@Self)^.clr := $00008000;
  11177. end;
  11178. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  11179. begin
  11180. if thebits = 0 then
  11181. pTDefRegMap(@Self)^.clr := $00008000
  11182. else
  11183. pTDefRegMap(@Self)^.&set := $00008000;
  11184. end;
  11185. function TTMR3_T3CON.getON : TBits_1; inline;
  11186. begin
  11187. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11188. end;
  11189. procedure TTMR3_T3CON.setTCKPS0; inline;
  11190. begin
  11191. pTDefRegMap(@Self)^.&set := $00000010;
  11192. end;
  11193. procedure TTMR3_T3CON.clearTCKPS0; inline;
  11194. begin
  11195. pTDefRegMap(@Self)^.clr := $00000010;
  11196. end;
  11197. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  11198. begin
  11199. if thebits = 0 then
  11200. pTDefRegMap(@Self)^.clr := $00000010
  11201. else
  11202. pTDefRegMap(@Self)^.&set := $00000010;
  11203. end;
  11204. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  11205. begin
  11206. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11207. end;
  11208. procedure TTMR3_T3CON.setTCKPS1; inline;
  11209. begin
  11210. pTDefRegMap(@Self)^.&set := $00000020;
  11211. end;
  11212. procedure TTMR3_T3CON.clearTCKPS1; inline;
  11213. begin
  11214. pTDefRegMap(@Self)^.clr := $00000020;
  11215. end;
  11216. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  11217. begin
  11218. if thebits = 0 then
  11219. pTDefRegMap(@Self)^.clr := $00000020
  11220. else
  11221. pTDefRegMap(@Self)^.&set := $00000020;
  11222. end;
  11223. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  11224. begin
  11225. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11226. end;
  11227. procedure TTMR3_T3CON.setTCKPS2; inline;
  11228. begin
  11229. pTDefRegMap(@Self)^.&set := $00000040;
  11230. end;
  11231. procedure TTMR3_T3CON.clearTCKPS2; inline;
  11232. begin
  11233. pTDefRegMap(@Self)^.clr := $00000040;
  11234. end;
  11235. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  11236. begin
  11237. if thebits = 0 then
  11238. pTDefRegMap(@Self)^.clr := $00000040
  11239. else
  11240. pTDefRegMap(@Self)^.&set := $00000040;
  11241. end;
  11242. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  11243. begin
  11244. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11245. end;
  11246. procedure TTMR3_T3CON.setTSIDL; inline;
  11247. begin
  11248. pTDefRegMap(@Self)^.&set := $00002000;
  11249. end;
  11250. procedure TTMR3_T3CON.clearTSIDL; inline;
  11251. begin
  11252. pTDefRegMap(@Self)^.clr := $00002000;
  11253. end;
  11254. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  11255. begin
  11256. if thebits = 0 then
  11257. pTDefRegMap(@Self)^.clr := $00002000
  11258. else
  11259. pTDefRegMap(@Self)^.&set := $00002000;
  11260. end;
  11261. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  11262. begin
  11263. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11264. end;
  11265. procedure TTMR3_T3CON.setTON; inline;
  11266. begin
  11267. pTDefRegMap(@Self)^.&set := $00008000;
  11268. end;
  11269. procedure TTMR3_T3CON.clearTON; inline;
  11270. begin
  11271. pTDefRegMap(@Self)^.clr := $00008000;
  11272. end;
  11273. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  11274. begin
  11275. if thebits = 0 then
  11276. pTDefRegMap(@Self)^.clr := $00008000
  11277. else
  11278. pTDefRegMap(@Self)^.&set := $00008000;
  11279. end;
  11280. function TTMR3_T3CON.getTON : TBits_1; inline;
  11281. begin
  11282. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11283. end;
  11284. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  11285. begin
  11286. pTDefRegMap(@Self)^.val := thebits;
  11287. end;
  11288. function TTMR3_T3CON.getw : TBits_32; inline;
  11289. begin
  11290. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11291. end;
  11292. procedure TTMR4_T4CON.setTCS; inline;
  11293. begin
  11294. pTDefRegMap(@Self)^.&set := $00000002;
  11295. end;
  11296. procedure TTMR4_T4CON.clearTCS; inline;
  11297. begin
  11298. pTDefRegMap(@Self)^.clr := $00000002;
  11299. end;
  11300. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11301. begin
  11302. if thebits = 0 then
  11303. pTDefRegMap(@Self)^.clr := $00000002
  11304. else
  11305. pTDefRegMap(@Self)^.&set := $00000002;
  11306. end;
  11307. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11308. begin
  11309. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11310. end;
  11311. procedure TTMR4_T4CON.setT32; inline;
  11312. begin
  11313. pTDefRegMap(@Self)^.&set := $00000008;
  11314. end;
  11315. procedure TTMR4_T4CON.clearT32; inline;
  11316. begin
  11317. pTDefRegMap(@Self)^.clr := $00000008;
  11318. end;
  11319. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11320. begin
  11321. if thebits = 0 then
  11322. pTDefRegMap(@Self)^.clr := $00000008
  11323. else
  11324. pTDefRegMap(@Self)^.&set := $00000008;
  11325. end;
  11326. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11327. begin
  11328. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11329. end;
  11330. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11331. begin
  11332. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11333. end;
  11334. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11335. begin
  11336. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11337. end;
  11338. procedure TTMR4_T4CON.setTGATE; inline;
  11339. begin
  11340. pTDefRegMap(@Self)^.&set := $00000080;
  11341. end;
  11342. procedure TTMR4_T4CON.clearTGATE; inline;
  11343. begin
  11344. pTDefRegMap(@Self)^.clr := $00000080;
  11345. end;
  11346. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11347. begin
  11348. if thebits = 0 then
  11349. pTDefRegMap(@Self)^.clr := $00000080
  11350. else
  11351. pTDefRegMap(@Self)^.&set := $00000080;
  11352. end;
  11353. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11354. begin
  11355. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11356. end;
  11357. procedure TTMR4_T4CON.setSIDL; inline;
  11358. begin
  11359. pTDefRegMap(@Self)^.&set := $00002000;
  11360. end;
  11361. procedure TTMR4_T4CON.clearSIDL; inline;
  11362. begin
  11363. pTDefRegMap(@Self)^.clr := $00002000;
  11364. end;
  11365. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11366. begin
  11367. if thebits = 0 then
  11368. pTDefRegMap(@Self)^.clr := $00002000
  11369. else
  11370. pTDefRegMap(@Self)^.&set := $00002000;
  11371. end;
  11372. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11373. begin
  11374. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11375. end;
  11376. procedure TTMR4_T4CON.setON; inline;
  11377. begin
  11378. pTDefRegMap(@Self)^.&set := $00008000;
  11379. end;
  11380. procedure TTMR4_T4CON.clearON; inline;
  11381. begin
  11382. pTDefRegMap(@Self)^.clr := $00008000;
  11383. end;
  11384. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11385. begin
  11386. if thebits = 0 then
  11387. pTDefRegMap(@Self)^.clr := $00008000
  11388. else
  11389. pTDefRegMap(@Self)^.&set := $00008000;
  11390. end;
  11391. function TTMR4_T4CON.getON : TBits_1; inline;
  11392. begin
  11393. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11394. end;
  11395. procedure TTMR4_T4CON.setTCKPS0; inline;
  11396. begin
  11397. pTDefRegMap(@Self)^.&set := $00000010;
  11398. end;
  11399. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11400. begin
  11401. pTDefRegMap(@Self)^.clr := $00000010;
  11402. end;
  11403. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11404. begin
  11405. if thebits = 0 then
  11406. pTDefRegMap(@Self)^.clr := $00000010
  11407. else
  11408. pTDefRegMap(@Self)^.&set := $00000010;
  11409. end;
  11410. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11411. begin
  11412. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11413. end;
  11414. procedure TTMR4_T4CON.setTCKPS1; inline;
  11415. begin
  11416. pTDefRegMap(@Self)^.&set := $00000020;
  11417. end;
  11418. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11419. begin
  11420. pTDefRegMap(@Self)^.clr := $00000020;
  11421. end;
  11422. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11423. begin
  11424. if thebits = 0 then
  11425. pTDefRegMap(@Self)^.clr := $00000020
  11426. else
  11427. pTDefRegMap(@Self)^.&set := $00000020;
  11428. end;
  11429. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11430. begin
  11431. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11432. end;
  11433. procedure TTMR4_T4CON.setTCKPS2; inline;
  11434. begin
  11435. pTDefRegMap(@Self)^.&set := $00000040;
  11436. end;
  11437. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11438. begin
  11439. pTDefRegMap(@Self)^.clr := $00000040;
  11440. end;
  11441. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11442. begin
  11443. if thebits = 0 then
  11444. pTDefRegMap(@Self)^.clr := $00000040
  11445. else
  11446. pTDefRegMap(@Self)^.&set := $00000040;
  11447. end;
  11448. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11449. begin
  11450. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11451. end;
  11452. procedure TTMR4_T4CON.setTSIDL; inline;
  11453. begin
  11454. pTDefRegMap(@Self)^.&set := $00002000;
  11455. end;
  11456. procedure TTMR4_T4CON.clearTSIDL; inline;
  11457. begin
  11458. pTDefRegMap(@Self)^.clr := $00002000;
  11459. end;
  11460. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11461. begin
  11462. if thebits = 0 then
  11463. pTDefRegMap(@Self)^.clr := $00002000
  11464. else
  11465. pTDefRegMap(@Self)^.&set := $00002000;
  11466. end;
  11467. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11468. begin
  11469. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11470. end;
  11471. procedure TTMR4_T4CON.setTON; inline;
  11472. begin
  11473. pTDefRegMap(@Self)^.&set := $00008000;
  11474. end;
  11475. procedure TTMR4_T4CON.clearTON; inline;
  11476. begin
  11477. pTDefRegMap(@Self)^.clr := $00008000;
  11478. end;
  11479. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11480. begin
  11481. if thebits = 0 then
  11482. pTDefRegMap(@Self)^.clr := $00008000
  11483. else
  11484. pTDefRegMap(@Self)^.&set := $00008000;
  11485. end;
  11486. function TTMR4_T4CON.getTON : TBits_1; inline;
  11487. begin
  11488. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11489. end;
  11490. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11491. begin
  11492. pTDefRegMap(@Self)^.val := thebits;
  11493. end;
  11494. function TTMR4_T4CON.getw : TBits_32; inline;
  11495. begin
  11496. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11497. end;
  11498. procedure TTMR5_T5CON.setTCS; inline;
  11499. begin
  11500. pTDefRegMap(@Self)^.&set := $00000002;
  11501. end;
  11502. procedure TTMR5_T5CON.clearTCS; inline;
  11503. begin
  11504. pTDefRegMap(@Self)^.clr := $00000002;
  11505. end;
  11506. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11507. begin
  11508. if thebits = 0 then
  11509. pTDefRegMap(@Self)^.clr := $00000002
  11510. else
  11511. pTDefRegMap(@Self)^.&set := $00000002;
  11512. end;
  11513. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11514. begin
  11515. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11516. end;
  11517. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  11518. begin
  11519. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11520. end;
  11521. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  11522. begin
  11523. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11524. end;
  11525. procedure TTMR5_T5CON.setTGATE; inline;
  11526. begin
  11527. pTDefRegMap(@Self)^.&set := $00000080;
  11528. end;
  11529. procedure TTMR5_T5CON.clearTGATE; inline;
  11530. begin
  11531. pTDefRegMap(@Self)^.clr := $00000080;
  11532. end;
  11533. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  11534. begin
  11535. if thebits = 0 then
  11536. pTDefRegMap(@Self)^.clr := $00000080
  11537. else
  11538. pTDefRegMap(@Self)^.&set := $00000080;
  11539. end;
  11540. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  11541. begin
  11542. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11543. end;
  11544. procedure TTMR5_T5CON.setSIDL; inline;
  11545. begin
  11546. pTDefRegMap(@Self)^.&set := $00002000;
  11547. end;
  11548. procedure TTMR5_T5CON.clearSIDL; inline;
  11549. begin
  11550. pTDefRegMap(@Self)^.clr := $00002000;
  11551. end;
  11552. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  11553. begin
  11554. if thebits = 0 then
  11555. pTDefRegMap(@Self)^.clr := $00002000
  11556. else
  11557. pTDefRegMap(@Self)^.&set := $00002000;
  11558. end;
  11559. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  11560. begin
  11561. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11562. end;
  11563. procedure TTMR5_T5CON.setON; inline;
  11564. begin
  11565. pTDefRegMap(@Self)^.&set := $00008000;
  11566. end;
  11567. procedure TTMR5_T5CON.clearON; inline;
  11568. begin
  11569. pTDefRegMap(@Self)^.clr := $00008000;
  11570. end;
  11571. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  11572. begin
  11573. if thebits = 0 then
  11574. pTDefRegMap(@Self)^.clr := $00008000
  11575. else
  11576. pTDefRegMap(@Self)^.&set := $00008000;
  11577. end;
  11578. function TTMR5_T5CON.getON : TBits_1; inline;
  11579. begin
  11580. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11581. end;
  11582. procedure TTMR5_T5CON.setTCKPS0; inline;
  11583. begin
  11584. pTDefRegMap(@Self)^.&set := $00000010;
  11585. end;
  11586. procedure TTMR5_T5CON.clearTCKPS0; inline;
  11587. begin
  11588. pTDefRegMap(@Self)^.clr := $00000010;
  11589. end;
  11590. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  11591. begin
  11592. if thebits = 0 then
  11593. pTDefRegMap(@Self)^.clr := $00000010
  11594. else
  11595. pTDefRegMap(@Self)^.&set := $00000010;
  11596. end;
  11597. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  11598. begin
  11599. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11600. end;
  11601. procedure TTMR5_T5CON.setTCKPS1; inline;
  11602. begin
  11603. pTDefRegMap(@Self)^.&set := $00000020;
  11604. end;
  11605. procedure TTMR5_T5CON.clearTCKPS1; inline;
  11606. begin
  11607. pTDefRegMap(@Self)^.clr := $00000020;
  11608. end;
  11609. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  11610. begin
  11611. if thebits = 0 then
  11612. pTDefRegMap(@Self)^.clr := $00000020
  11613. else
  11614. pTDefRegMap(@Self)^.&set := $00000020;
  11615. end;
  11616. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  11617. begin
  11618. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11619. end;
  11620. procedure TTMR5_T5CON.setTCKPS2; inline;
  11621. begin
  11622. pTDefRegMap(@Self)^.&set := $00000040;
  11623. end;
  11624. procedure TTMR5_T5CON.clearTCKPS2; inline;
  11625. begin
  11626. pTDefRegMap(@Self)^.clr := $00000040;
  11627. end;
  11628. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  11629. begin
  11630. if thebits = 0 then
  11631. pTDefRegMap(@Self)^.clr := $00000040
  11632. else
  11633. pTDefRegMap(@Self)^.&set := $00000040;
  11634. end;
  11635. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  11636. begin
  11637. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11638. end;
  11639. procedure TTMR5_T5CON.setTSIDL; inline;
  11640. begin
  11641. pTDefRegMap(@Self)^.&set := $00002000;
  11642. end;
  11643. procedure TTMR5_T5CON.clearTSIDL; inline;
  11644. begin
  11645. pTDefRegMap(@Self)^.clr := $00002000;
  11646. end;
  11647. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  11648. begin
  11649. if thebits = 0 then
  11650. pTDefRegMap(@Self)^.clr := $00002000
  11651. else
  11652. pTDefRegMap(@Self)^.&set := $00002000;
  11653. end;
  11654. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  11655. begin
  11656. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11657. end;
  11658. procedure TTMR5_T5CON.setTON; inline;
  11659. begin
  11660. pTDefRegMap(@Self)^.&set := $00008000;
  11661. end;
  11662. procedure TTMR5_T5CON.clearTON; inline;
  11663. begin
  11664. pTDefRegMap(@Self)^.clr := $00008000;
  11665. end;
  11666. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  11667. begin
  11668. if thebits = 0 then
  11669. pTDefRegMap(@Self)^.clr := $00008000
  11670. else
  11671. pTDefRegMap(@Self)^.&set := $00008000;
  11672. end;
  11673. function TTMR5_T5CON.getTON : TBits_1; inline;
  11674. begin
  11675. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11676. end;
  11677. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  11678. begin
  11679. pTDefRegMap(@Self)^.val := thebits;
  11680. end;
  11681. function TTMR5_T5CON.getw : TBits_32; inline;
  11682. begin
  11683. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11684. end;
  11685. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  11686. begin
  11687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11688. end;
  11689. function TICAP1_IC1CON.getICM : TBits_3; inline;
  11690. begin
  11691. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11692. end;
  11693. procedure TICAP1_IC1CON.setICBNE; inline;
  11694. begin
  11695. pTDefRegMap(@Self)^.&set := $00000008;
  11696. end;
  11697. procedure TICAP1_IC1CON.clearICBNE; inline;
  11698. begin
  11699. pTDefRegMap(@Self)^.clr := $00000008;
  11700. end;
  11701. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  11702. begin
  11703. if thebits = 0 then
  11704. pTDefRegMap(@Self)^.clr := $00000008
  11705. else
  11706. pTDefRegMap(@Self)^.&set := $00000008;
  11707. end;
  11708. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  11709. begin
  11710. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11711. end;
  11712. procedure TICAP1_IC1CON.setICOV; inline;
  11713. begin
  11714. pTDefRegMap(@Self)^.&set := $00000010;
  11715. end;
  11716. procedure TICAP1_IC1CON.clearICOV; inline;
  11717. begin
  11718. pTDefRegMap(@Self)^.clr := $00000010;
  11719. end;
  11720. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  11721. begin
  11722. if thebits = 0 then
  11723. pTDefRegMap(@Self)^.clr := $00000010
  11724. else
  11725. pTDefRegMap(@Self)^.&set := $00000010;
  11726. end;
  11727. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  11728. begin
  11729. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11730. end;
  11731. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  11732. begin
  11733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11734. end;
  11735. function TICAP1_IC1CON.getICI : TBits_2; inline;
  11736. begin
  11737. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11738. end;
  11739. procedure TICAP1_IC1CON.setICTMR; inline;
  11740. begin
  11741. pTDefRegMap(@Self)^.&set := $00000080;
  11742. end;
  11743. procedure TICAP1_IC1CON.clearICTMR; inline;
  11744. begin
  11745. pTDefRegMap(@Self)^.clr := $00000080;
  11746. end;
  11747. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  11748. begin
  11749. if thebits = 0 then
  11750. pTDefRegMap(@Self)^.clr := $00000080
  11751. else
  11752. pTDefRegMap(@Self)^.&set := $00000080;
  11753. end;
  11754. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  11755. begin
  11756. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11757. end;
  11758. procedure TICAP1_IC1CON.setC32; inline;
  11759. begin
  11760. pTDefRegMap(@Self)^.&set := $00000100;
  11761. end;
  11762. procedure TICAP1_IC1CON.clearC32; inline;
  11763. begin
  11764. pTDefRegMap(@Self)^.clr := $00000100;
  11765. end;
  11766. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  11767. begin
  11768. if thebits = 0 then
  11769. pTDefRegMap(@Self)^.clr := $00000100
  11770. else
  11771. pTDefRegMap(@Self)^.&set := $00000100;
  11772. end;
  11773. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  11774. begin
  11775. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11776. end;
  11777. procedure TICAP1_IC1CON.setFEDGE; inline;
  11778. begin
  11779. pTDefRegMap(@Self)^.&set := $00000200;
  11780. end;
  11781. procedure TICAP1_IC1CON.clearFEDGE; inline;
  11782. begin
  11783. pTDefRegMap(@Self)^.clr := $00000200;
  11784. end;
  11785. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  11786. begin
  11787. if thebits = 0 then
  11788. pTDefRegMap(@Self)^.clr := $00000200
  11789. else
  11790. pTDefRegMap(@Self)^.&set := $00000200;
  11791. end;
  11792. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  11793. begin
  11794. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11795. end;
  11796. procedure TICAP1_IC1CON.setSIDL; inline;
  11797. begin
  11798. pTDefRegMap(@Self)^.&set := $00002000;
  11799. end;
  11800. procedure TICAP1_IC1CON.clearSIDL; inline;
  11801. begin
  11802. pTDefRegMap(@Self)^.clr := $00002000;
  11803. end;
  11804. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  11805. begin
  11806. if thebits = 0 then
  11807. pTDefRegMap(@Self)^.clr := $00002000
  11808. else
  11809. pTDefRegMap(@Self)^.&set := $00002000;
  11810. end;
  11811. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  11812. begin
  11813. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11814. end;
  11815. procedure TICAP1_IC1CON.setON; inline;
  11816. begin
  11817. pTDefRegMap(@Self)^.&set := $00008000;
  11818. end;
  11819. procedure TICAP1_IC1CON.clearON; inline;
  11820. begin
  11821. pTDefRegMap(@Self)^.clr := $00008000;
  11822. end;
  11823. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  11824. begin
  11825. if thebits = 0 then
  11826. pTDefRegMap(@Self)^.clr := $00008000
  11827. else
  11828. pTDefRegMap(@Self)^.&set := $00008000;
  11829. end;
  11830. function TICAP1_IC1CON.getON : TBits_1; inline;
  11831. begin
  11832. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11833. end;
  11834. procedure TICAP1_IC1CON.setICM0; inline;
  11835. begin
  11836. pTDefRegMap(@Self)^.&set := $00000001;
  11837. end;
  11838. procedure TICAP1_IC1CON.clearICM0; inline;
  11839. begin
  11840. pTDefRegMap(@Self)^.clr := $00000001;
  11841. end;
  11842. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  11843. begin
  11844. if thebits = 0 then
  11845. pTDefRegMap(@Self)^.clr := $00000001
  11846. else
  11847. pTDefRegMap(@Self)^.&set := $00000001;
  11848. end;
  11849. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  11850. begin
  11851. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11852. end;
  11853. procedure TICAP1_IC1CON.setICM1; inline;
  11854. begin
  11855. pTDefRegMap(@Self)^.&set := $00000002;
  11856. end;
  11857. procedure TICAP1_IC1CON.clearICM1; inline;
  11858. begin
  11859. pTDefRegMap(@Self)^.clr := $00000002;
  11860. end;
  11861. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  11862. begin
  11863. if thebits = 0 then
  11864. pTDefRegMap(@Self)^.clr := $00000002
  11865. else
  11866. pTDefRegMap(@Self)^.&set := $00000002;
  11867. end;
  11868. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  11869. begin
  11870. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11871. end;
  11872. procedure TICAP1_IC1CON.setICM2; inline;
  11873. begin
  11874. pTDefRegMap(@Self)^.&set := $00000004;
  11875. end;
  11876. procedure TICAP1_IC1CON.clearICM2; inline;
  11877. begin
  11878. pTDefRegMap(@Self)^.clr := $00000004;
  11879. end;
  11880. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  11881. begin
  11882. if thebits = 0 then
  11883. pTDefRegMap(@Self)^.clr := $00000004
  11884. else
  11885. pTDefRegMap(@Self)^.&set := $00000004;
  11886. end;
  11887. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  11888. begin
  11889. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11890. end;
  11891. procedure TICAP1_IC1CON.setICI0; inline;
  11892. begin
  11893. pTDefRegMap(@Self)^.&set := $00000020;
  11894. end;
  11895. procedure TICAP1_IC1CON.clearICI0; inline;
  11896. begin
  11897. pTDefRegMap(@Self)^.clr := $00000020;
  11898. end;
  11899. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  11900. begin
  11901. if thebits = 0 then
  11902. pTDefRegMap(@Self)^.clr := $00000020
  11903. else
  11904. pTDefRegMap(@Self)^.&set := $00000020;
  11905. end;
  11906. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  11907. begin
  11908. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11909. end;
  11910. procedure TICAP1_IC1CON.setICI1; inline;
  11911. begin
  11912. pTDefRegMap(@Self)^.&set := $00000040;
  11913. end;
  11914. procedure TICAP1_IC1CON.clearICI1; inline;
  11915. begin
  11916. pTDefRegMap(@Self)^.clr := $00000040;
  11917. end;
  11918. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  11919. begin
  11920. if thebits = 0 then
  11921. pTDefRegMap(@Self)^.clr := $00000040
  11922. else
  11923. pTDefRegMap(@Self)^.&set := $00000040;
  11924. end;
  11925. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  11926. begin
  11927. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11928. end;
  11929. procedure TICAP1_IC1CON.setICSIDL; inline;
  11930. begin
  11931. pTDefRegMap(@Self)^.&set := $00002000;
  11932. end;
  11933. procedure TICAP1_IC1CON.clearICSIDL; inline;
  11934. begin
  11935. pTDefRegMap(@Self)^.clr := $00002000;
  11936. end;
  11937. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  11938. begin
  11939. if thebits = 0 then
  11940. pTDefRegMap(@Self)^.clr := $00002000
  11941. else
  11942. pTDefRegMap(@Self)^.&set := $00002000;
  11943. end;
  11944. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  11945. begin
  11946. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11947. end;
  11948. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  11949. begin
  11950. pTDefRegMap(@Self)^.val := thebits;
  11951. end;
  11952. function TICAP1_IC1CON.getw : TBits_32; inline;
  11953. begin
  11954. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11955. end;
  11956. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  11957. begin
  11958. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11959. end;
  11960. function TICAP2_IC2CON.getICM : TBits_3; inline;
  11961. begin
  11962. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11963. end;
  11964. procedure TICAP2_IC2CON.setICBNE; inline;
  11965. begin
  11966. pTDefRegMap(@Self)^.&set := $00000008;
  11967. end;
  11968. procedure TICAP2_IC2CON.clearICBNE; inline;
  11969. begin
  11970. pTDefRegMap(@Self)^.clr := $00000008;
  11971. end;
  11972. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  11973. begin
  11974. if thebits = 0 then
  11975. pTDefRegMap(@Self)^.clr := $00000008
  11976. else
  11977. pTDefRegMap(@Self)^.&set := $00000008;
  11978. end;
  11979. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  11980. begin
  11981. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11982. end;
  11983. procedure TICAP2_IC2CON.setICOV; inline;
  11984. begin
  11985. pTDefRegMap(@Self)^.&set := $00000010;
  11986. end;
  11987. procedure TICAP2_IC2CON.clearICOV; inline;
  11988. begin
  11989. pTDefRegMap(@Self)^.clr := $00000010;
  11990. end;
  11991. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  11992. begin
  11993. if thebits = 0 then
  11994. pTDefRegMap(@Self)^.clr := $00000010
  11995. else
  11996. pTDefRegMap(@Self)^.&set := $00000010;
  11997. end;
  11998. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  11999. begin
  12000. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12001. end;
  12002. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  12003. begin
  12004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12005. end;
  12006. function TICAP2_IC2CON.getICI : TBits_2; inline;
  12007. begin
  12008. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12009. end;
  12010. procedure TICAP2_IC2CON.setICTMR; inline;
  12011. begin
  12012. pTDefRegMap(@Self)^.&set := $00000080;
  12013. end;
  12014. procedure TICAP2_IC2CON.clearICTMR; inline;
  12015. begin
  12016. pTDefRegMap(@Self)^.clr := $00000080;
  12017. end;
  12018. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  12019. begin
  12020. if thebits = 0 then
  12021. pTDefRegMap(@Self)^.clr := $00000080
  12022. else
  12023. pTDefRegMap(@Self)^.&set := $00000080;
  12024. end;
  12025. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  12026. begin
  12027. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12028. end;
  12029. procedure TICAP2_IC2CON.setC32; inline;
  12030. begin
  12031. pTDefRegMap(@Self)^.&set := $00000100;
  12032. end;
  12033. procedure TICAP2_IC2CON.clearC32; inline;
  12034. begin
  12035. pTDefRegMap(@Self)^.clr := $00000100;
  12036. end;
  12037. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  12038. begin
  12039. if thebits = 0 then
  12040. pTDefRegMap(@Self)^.clr := $00000100
  12041. else
  12042. pTDefRegMap(@Self)^.&set := $00000100;
  12043. end;
  12044. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  12045. begin
  12046. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12047. end;
  12048. procedure TICAP2_IC2CON.setFEDGE; inline;
  12049. begin
  12050. pTDefRegMap(@Self)^.&set := $00000200;
  12051. end;
  12052. procedure TICAP2_IC2CON.clearFEDGE; inline;
  12053. begin
  12054. pTDefRegMap(@Self)^.clr := $00000200;
  12055. end;
  12056. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  12057. begin
  12058. if thebits = 0 then
  12059. pTDefRegMap(@Self)^.clr := $00000200
  12060. else
  12061. pTDefRegMap(@Self)^.&set := $00000200;
  12062. end;
  12063. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  12064. begin
  12065. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12066. end;
  12067. procedure TICAP2_IC2CON.setSIDL; inline;
  12068. begin
  12069. pTDefRegMap(@Self)^.&set := $00002000;
  12070. end;
  12071. procedure TICAP2_IC2CON.clearSIDL; inline;
  12072. begin
  12073. pTDefRegMap(@Self)^.clr := $00002000;
  12074. end;
  12075. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  12076. begin
  12077. if thebits = 0 then
  12078. pTDefRegMap(@Self)^.clr := $00002000
  12079. else
  12080. pTDefRegMap(@Self)^.&set := $00002000;
  12081. end;
  12082. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  12083. begin
  12084. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12085. end;
  12086. procedure TICAP2_IC2CON.setON; inline;
  12087. begin
  12088. pTDefRegMap(@Self)^.&set := $00008000;
  12089. end;
  12090. procedure TICAP2_IC2CON.clearON; inline;
  12091. begin
  12092. pTDefRegMap(@Self)^.clr := $00008000;
  12093. end;
  12094. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  12095. begin
  12096. if thebits = 0 then
  12097. pTDefRegMap(@Self)^.clr := $00008000
  12098. else
  12099. pTDefRegMap(@Self)^.&set := $00008000;
  12100. end;
  12101. function TICAP2_IC2CON.getON : TBits_1; inline;
  12102. begin
  12103. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12104. end;
  12105. procedure TICAP2_IC2CON.setICM0; inline;
  12106. begin
  12107. pTDefRegMap(@Self)^.&set := $00000001;
  12108. end;
  12109. procedure TICAP2_IC2CON.clearICM0; inline;
  12110. begin
  12111. pTDefRegMap(@Self)^.clr := $00000001;
  12112. end;
  12113. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  12114. begin
  12115. if thebits = 0 then
  12116. pTDefRegMap(@Self)^.clr := $00000001
  12117. else
  12118. pTDefRegMap(@Self)^.&set := $00000001;
  12119. end;
  12120. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  12121. begin
  12122. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12123. end;
  12124. procedure TICAP2_IC2CON.setICM1; inline;
  12125. begin
  12126. pTDefRegMap(@Self)^.&set := $00000002;
  12127. end;
  12128. procedure TICAP2_IC2CON.clearICM1; inline;
  12129. begin
  12130. pTDefRegMap(@Self)^.clr := $00000002;
  12131. end;
  12132. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  12133. begin
  12134. if thebits = 0 then
  12135. pTDefRegMap(@Self)^.clr := $00000002
  12136. else
  12137. pTDefRegMap(@Self)^.&set := $00000002;
  12138. end;
  12139. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  12140. begin
  12141. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12142. end;
  12143. procedure TICAP2_IC2CON.setICM2; inline;
  12144. begin
  12145. pTDefRegMap(@Self)^.&set := $00000004;
  12146. end;
  12147. procedure TICAP2_IC2CON.clearICM2; inline;
  12148. begin
  12149. pTDefRegMap(@Self)^.clr := $00000004;
  12150. end;
  12151. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  12152. begin
  12153. if thebits = 0 then
  12154. pTDefRegMap(@Self)^.clr := $00000004
  12155. else
  12156. pTDefRegMap(@Self)^.&set := $00000004;
  12157. end;
  12158. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  12159. begin
  12160. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12161. end;
  12162. procedure TICAP2_IC2CON.setICI0; inline;
  12163. begin
  12164. pTDefRegMap(@Self)^.&set := $00000020;
  12165. end;
  12166. procedure TICAP2_IC2CON.clearICI0; inline;
  12167. begin
  12168. pTDefRegMap(@Self)^.clr := $00000020;
  12169. end;
  12170. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  12171. begin
  12172. if thebits = 0 then
  12173. pTDefRegMap(@Self)^.clr := $00000020
  12174. else
  12175. pTDefRegMap(@Self)^.&set := $00000020;
  12176. end;
  12177. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  12178. begin
  12179. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12180. end;
  12181. procedure TICAP2_IC2CON.setICI1; inline;
  12182. begin
  12183. pTDefRegMap(@Self)^.&set := $00000040;
  12184. end;
  12185. procedure TICAP2_IC2CON.clearICI1; inline;
  12186. begin
  12187. pTDefRegMap(@Self)^.clr := $00000040;
  12188. end;
  12189. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  12190. begin
  12191. if thebits = 0 then
  12192. pTDefRegMap(@Self)^.clr := $00000040
  12193. else
  12194. pTDefRegMap(@Self)^.&set := $00000040;
  12195. end;
  12196. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  12197. begin
  12198. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12199. end;
  12200. procedure TICAP2_IC2CON.setICSIDL; inline;
  12201. begin
  12202. pTDefRegMap(@Self)^.&set := $00002000;
  12203. end;
  12204. procedure TICAP2_IC2CON.clearICSIDL; inline;
  12205. begin
  12206. pTDefRegMap(@Self)^.clr := $00002000;
  12207. end;
  12208. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  12209. begin
  12210. if thebits = 0 then
  12211. pTDefRegMap(@Self)^.clr := $00002000
  12212. else
  12213. pTDefRegMap(@Self)^.&set := $00002000;
  12214. end;
  12215. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  12216. begin
  12217. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12218. end;
  12219. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  12220. begin
  12221. pTDefRegMap(@Self)^.val := thebits;
  12222. end;
  12223. function TICAP2_IC2CON.getw : TBits_32; inline;
  12224. begin
  12225. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12226. end;
  12227. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  12228. begin
  12229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12230. end;
  12231. function TICAP3_IC3CON.getICM : TBits_3; inline;
  12232. begin
  12233. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12234. end;
  12235. procedure TICAP3_IC3CON.setICBNE; inline;
  12236. begin
  12237. pTDefRegMap(@Self)^.&set := $00000008;
  12238. end;
  12239. procedure TICAP3_IC3CON.clearICBNE; inline;
  12240. begin
  12241. pTDefRegMap(@Self)^.clr := $00000008;
  12242. end;
  12243. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  12244. begin
  12245. if thebits = 0 then
  12246. pTDefRegMap(@Self)^.clr := $00000008
  12247. else
  12248. pTDefRegMap(@Self)^.&set := $00000008;
  12249. end;
  12250. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  12251. begin
  12252. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12253. end;
  12254. procedure TICAP3_IC3CON.setICOV; inline;
  12255. begin
  12256. pTDefRegMap(@Self)^.&set := $00000010;
  12257. end;
  12258. procedure TICAP3_IC3CON.clearICOV; inline;
  12259. begin
  12260. pTDefRegMap(@Self)^.clr := $00000010;
  12261. end;
  12262. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  12263. begin
  12264. if thebits = 0 then
  12265. pTDefRegMap(@Self)^.clr := $00000010
  12266. else
  12267. pTDefRegMap(@Self)^.&set := $00000010;
  12268. end;
  12269. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  12270. begin
  12271. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12272. end;
  12273. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  12274. begin
  12275. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12276. end;
  12277. function TICAP3_IC3CON.getICI : TBits_2; inline;
  12278. begin
  12279. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12280. end;
  12281. procedure TICAP3_IC3CON.setICTMR; inline;
  12282. begin
  12283. pTDefRegMap(@Self)^.&set := $00000080;
  12284. end;
  12285. procedure TICAP3_IC3CON.clearICTMR; inline;
  12286. begin
  12287. pTDefRegMap(@Self)^.clr := $00000080;
  12288. end;
  12289. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  12290. begin
  12291. if thebits = 0 then
  12292. pTDefRegMap(@Self)^.clr := $00000080
  12293. else
  12294. pTDefRegMap(@Self)^.&set := $00000080;
  12295. end;
  12296. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  12297. begin
  12298. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12299. end;
  12300. procedure TICAP3_IC3CON.setC32; inline;
  12301. begin
  12302. pTDefRegMap(@Self)^.&set := $00000100;
  12303. end;
  12304. procedure TICAP3_IC3CON.clearC32; inline;
  12305. begin
  12306. pTDefRegMap(@Self)^.clr := $00000100;
  12307. end;
  12308. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12309. begin
  12310. if thebits = 0 then
  12311. pTDefRegMap(@Self)^.clr := $00000100
  12312. else
  12313. pTDefRegMap(@Self)^.&set := $00000100;
  12314. end;
  12315. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12316. begin
  12317. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12318. end;
  12319. procedure TICAP3_IC3CON.setFEDGE; inline;
  12320. begin
  12321. pTDefRegMap(@Self)^.&set := $00000200;
  12322. end;
  12323. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12324. begin
  12325. pTDefRegMap(@Self)^.clr := $00000200;
  12326. end;
  12327. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12328. begin
  12329. if thebits = 0 then
  12330. pTDefRegMap(@Self)^.clr := $00000200
  12331. else
  12332. pTDefRegMap(@Self)^.&set := $00000200;
  12333. end;
  12334. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12335. begin
  12336. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12337. end;
  12338. procedure TICAP3_IC3CON.setSIDL; inline;
  12339. begin
  12340. pTDefRegMap(@Self)^.&set := $00002000;
  12341. end;
  12342. procedure TICAP3_IC3CON.clearSIDL; inline;
  12343. begin
  12344. pTDefRegMap(@Self)^.clr := $00002000;
  12345. end;
  12346. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12347. begin
  12348. if thebits = 0 then
  12349. pTDefRegMap(@Self)^.clr := $00002000
  12350. else
  12351. pTDefRegMap(@Self)^.&set := $00002000;
  12352. end;
  12353. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12354. begin
  12355. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12356. end;
  12357. procedure TICAP3_IC3CON.setON; inline;
  12358. begin
  12359. pTDefRegMap(@Self)^.&set := $00008000;
  12360. end;
  12361. procedure TICAP3_IC3CON.clearON; inline;
  12362. begin
  12363. pTDefRegMap(@Self)^.clr := $00008000;
  12364. end;
  12365. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12366. begin
  12367. if thebits = 0 then
  12368. pTDefRegMap(@Self)^.clr := $00008000
  12369. else
  12370. pTDefRegMap(@Self)^.&set := $00008000;
  12371. end;
  12372. function TICAP3_IC3CON.getON : TBits_1; inline;
  12373. begin
  12374. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12375. end;
  12376. procedure TICAP3_IC3CON.setICM0; inline;
  12377. begin
  12378. pTDefRegMap(@Self)^.&set := $00000001;
  12379. end;
  12380. procedure TICAP3_IC3CON.clearICM0; inline;
  12381. begin
  12382. pTDefRegMap(@Self)^.clr := $00000001;
  12383. end;
  12384. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12385. begin
  12386. if thebits = 0 then
  12387. pTDefRegMap(@Self)^.clr := $00000001
  12388. else
  12389. pTDefRegMap(@Self)^.&set := $00000001;
  12390. end;
  12391. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12392. begin
  12393. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12394. end;
  12395. procedure TICAP3_IC3CON.setICM1; inline;
  12396. begin
  12397. pTDefRegMap(@Self)^.&set := $00000002;
  12398. end;
  12399. procedure TICAP3_IC3CON.clearICM1; inline;
  12400. begin
  12401. pTDefRegMap(@Self)^.clr := $00000002;
  12402. end;
  12403. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12404. begin
  12405. if thebits = 0 then
  12406. pTDefRegMap(@Self)^.clr := $00000002
  12407. else
  12408. pTDefRegMap(@Self)^.&set := $00000002;
  12409. end;
  12410. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12411. begin
  12412. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12413. end;
  12414. procedure TICAP3_IC3CON.setICM2; inline;
  12415. begin
  12416. pTDefRegMap(@Self)^.&set := $00000004;
  12417. end;
  12418. procedure TICAP3_IC3CON.clearICM2; inline;
  12419. begin
  12420. pTDefRegMap(@Self)^.clr := $00000004;
  12421. end;
  12422. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12423. begin
  12424. if thebits = 0 then
  12425. pTDefRegMap(@Self)^.clr := $00000004
  12426. else
  12427. pTDefRegMap(@Self)^.&set := $00000004;
  12428. end;
  12429. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12430. begin
  12431. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12432. end;
  12433. procedure TICAP3_IC3CON.setICI0; inline;
  12434. begin
  12435. pTDefRegMap(@Self)^.&set := $00000020;
  12436. end;
  12437. procedure TICAP3_IC3CON.clearICI0; inline;
  12438. begin
  12439. pTDefRegMap(@Self)^.clr := $00000020;
  12440. end;
  12441. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12442. begin
  12443. if thebits = 0 then
  12444. pTDefRegMap(@Self)^.clr := $00000020
  12445. else
  12446. pTDefRegMap(@Self)^.&set := $00000020;
  12447. end;
  12448. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12449. begin
  12450. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12451. end;
  12452. procedure TICAP3_IC3CON.setICI1; inline;
  12453. begin
  12454. pTDefRegMap(@Self)^.&set := $00000040;
  12455. end;
  12456. procedure TICAP3_IC3CON.clearICI1; inline;
  12457. begin
  12458. pTDefRegMap(@Self)^.clr := $00000040;
  12459. end;
  12460. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12461. begin
  12462. if thebits = 0 then
  12463. pTDefRegMap(@Self)^.clr := $00000040
  12464. else
  12465. pTDefRegMap(@Self)^.&set := $00000040;
  12466. end;
  12467. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12468. begin
  12469. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12470. end;
  12471. procedure TICAP3_IC3CON.setICSIDL; inline;
  12472. begin
  12473. pTDefRegMap(@Self)^.&set := $00002000;
  12474. end;
  12475. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12476. begin
  12477. pTDefRegMap(@Self)^.clr := $00002000;
  12478. end;
  12479. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12480. begin
  12481. if thebits = 0 then
  12482. pTDefRegMap(@Self)^.clr := $00002000
  12483. else
  12484. pTDefRegMap(@Self)^.&set := $00002000;
  12485. end;
  12486. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12487. begin
  12488. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12489. end;
  12490. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12491. begin
  12492. pTDefRegMap(@Self)^.val := thebits;
  12493. end;
  12494. function TICAP3_IC3CON.getw : TBits_32; inline;
  12495. begin
  12496. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12497. end;
  12498. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12499. begin
  12500. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12501. end;
  12502. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12503. begin
  12504. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12505. end;
  12506. procedure TICAP4_IC4CON.setICBNE; inline;
  12507. begin
  12508. pTDefRegMap(@Self)^.&set := $00000008;
  12509. end;
  12510. procedure TICAP4_IC4CON.clearICBNE; inline;
  12511. begin
  12512. pTDefRegMap(@Self)^.clr := $00000008;
  12513. end;
  12514. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12515. begin
  12516. if thebits = 0 then
  12517. pTDefRegMap(@Self)^.clr := $00000008
  12518. else
  12519. pTDefRegMap(@Self)^.&set := $00000008;
  12520. end;
  12521. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  12522. begin
  12523. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12524. end;
  12525. procedure TICAP4_IC4CON.setICOV; inline;
  12526. begin
  12527. pTDefRegMap(@Self)^.&set := $00000010;
  12528. end;
  12529. procedure TICAP4_IC4CON.clearICOV; inline;
  12530. begin
  12531. pTDefRegMap(@Self)^.clr := $00000010;
  12532. end;
  12533. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  12534. begin
  12535. if thebits = 0 then
  12536. pTDefRegMap(@Self)^.clr := $00000010
  12537. else
  12538. pTDefRegMap(@Self)^.&set := $00000010;
  12539. end;
  12540. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  12541. begin
  12542. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12543. end;
  12544. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  12545. begin
  12546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12547. end;
  12548. function TICAP4_IC4CON.getICI : TBits_2; inline;
  12549. begin
  12550. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12551. end;
  12552. procedure TICAP4_IC4CON.setICTMR; inline;
  12553. begin
  12554. pTDefRegMap(@Self)^.&set := $00000080;
  12555. end;
  12556. procedure TICAP4_IC4CON.clearICTMR; inline;
  12557. begin
  12558. pTDefRegMap(@Self)^.clr := $00000080;
  12559. end;
  12560. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  12561. begin
  12562. if thebits = 0 then
  12563. pTDefRegMap(@Self)^.clr := $00000080
  12564. else
  12565. pTDefRegMap(@Self)^.&set := $00000080;
  12566. end;
  12567. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  12568. begin
  12569. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12570. end;
  12571. procedure TICAP4_IC4CON.setC32; inline;
  12572. begin
  12573. pTDefRegMap(@Self)^.&set := $00000100;
  12574. end;
  12575. procedure TICAP4_IC4CON.clearC32; inline;
  12576. begin
  12577. pTDefRegMap(@Self)^.clr := $00000100;
  12578. end;
  12579. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  12580. begin
  12581. if thebits = 0 then
  12582. pTDefRegMap(@Self)^.clr := $00000100
  12583. else
  12584. pTDefRegMap(@Self)^.&set := $00000100;
  12585. end;
  12586. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  12587. begin
  12588. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12589. end;
  12590. procedure TICAP4_IC4CON.setFEDGE; inline;
  12591. begin
  12592. pTDefRegMap(@Self)^.&set := $00000200;
  12593. end;
  12594. procedure TICAP4_IC4CON.clearFEDGE; inline;
  12595. begin
  12596. pTDefRegMap(@Self)^.clr := $00000200;
  12597. end;
  12598. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  12599. begin
  12600. if thebits = 0 then
  12601. pTDefRegMap(@Self)^.clr := $00000200
  12602. else
  12603. pTDefRegMap(@Self)^.&set := $00000200;
  12604. end;
  12605. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  12606. begin
  12607. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12608. end;
  12609. procedure TICAP4_IC4CON.setSIDL; inline;
  12610. begin
  12611. pTDefRegMap(@Self)^.&set := $00002000;
  12612. end;
  12613. procedure TICAP4_IC4CON.clearSIDL; inline;
  12614. begin
  12615. pTDefRegMap(@Self)^.clr := $00002000;
  12616. end;
  12617. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  12618. begin
  12619. if thebits = 0 then
  12620. pTDefRegMap(@Self)^.clr := $00002000
  12621. else
  12622. pTDefRegMap(@Self)^.&set := $00002000;
  12623. end;
  12624. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  12625. begin
  12626. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12627. end;
  12628. procedure TICAP4_IC4CON.setON; inline;
  12629. begin
  12630. pTDefRegMap(@Self)^.&set := $00008000;
  12631. end;
  12632. procedure TICAP4_IC4CON.clearON; inline;
  12633. begin
  12634. pTDefRegMap(@Self)^.clr := $00008000;
  12635. end;
  12636. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  12637. begin
  12638. if thebits = 0 then
  12639. pTDefRegMap(@Self)^.clr := $00008000
  12640. else
  12641. pTDefRegMap(@Self)^.&set := $00008000;
  12642. end;
  12643. function TICAP4_IC4CON.getON : TBits_1; inline;
  12644. begin
  12645. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12646. end;
  12647. procedure TICAP4_IC4CON.setICM0; inline;
  12648. begin
  12649. pTDefRegMap(@Self)^.&set := $00000001;
  12650. end;
  12651. procedure TICAP4_IC4CON.clearICM0; inline;
  12652. begin
  12653. pTDefRegMap(@Self)^.clr := $00000001;
  12654. end;
  12655. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  12656. begin
  12657. if thebits = 0 then
  12658. pTDefRegMap(@Self)^.clr := $00000001
  12659. else
  12660. pTDefRegMap(@Self)^.&set := $00000001;
  12661. end;
  12662. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  12663. begin
  12664. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12665. end;
  12666. procedure TICAP4_IC4CON.setICM1; inline;
  12667. begin
  12668. pTDefRegMap(@Self)^.&set := $00000002;
  12669. end;
  12670. procedure TICAP4_IC4CON.clearICM1; inline;
  12671. begin
  12672. pTDefRegMap(@Self)^.clr := $00000002;
  12673. end;
  12674. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  12675. begin
  12676. if thebits = 0 then
  12677. pTDefRegMap(@Self)^.clr := $00000002
  12678. else
  12679. pTDefRegMap(@Self)^.&set := $00000002;
  12680. end;
  12681. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  12682. begin
  12683. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12684. end;
  12685. procedure TICAP4_IC4CON.setICM2; inline;
  12686. begin
  12687. pTDefRegMap(@Self)^.&set := $00000004;
  12688. end;
  12689. procedure TICAP4_IC4CON.clearICM2; inline;
  12690. begin
  12691. pTDefRegMap(@Self)^.clr := $00000004;
  12692. end;
  12693. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  12694. begin
  12695. if thebits = 0 then
  12696. pTDefRegMap(@Self)^.clr := $00000004
  12697. else
  12698. pTDefRegMap(@Self)^.&set := $00000004;
  12699. end;
  12700. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  12701. begin
  12702. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12703. end;
  12704. procedure TICAP4_IC4CON.setICI0; inline;
  12705. begin
  12706. pTDefRegMap(@Self)^.&set := $00000020;
  12707. end;
  12708. procedure TICAP4_IC4CON.clearICI0; inline;
  12709. begin
  12710. pTDefRegMap(@Self)^.clr := $00000020;
  12711. end;
  12712. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  12713. begin
  12714. if thebits = 0 then
  12715. pTDefRegMap(@Self)^.clr := $00000020
  12716. else
  12717. pTDefRegMap(@Self)^.&set := $00000020;
  12718. end;
  12719. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  12720. begin
  12721. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12722. end;
  12723. procedure TICAP4_IC4CON.setICI1; inline;
  12724. begin
  12725. pTDefRegMap(@Self)^.&set := $00000040;
  12726. end;
  12727. procedure TICAP4_IC4CON.clearICI1; inline;
  12728. begin
  12729. pTDefRegMap(@Self)^.clr := $00000040;
  12730. end;
  12731. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  12732. begin
  12733. if thebits = 0 then
  12734. pTDefRegMap(@Self)^.clr := $00000040
  12735. else
  12736. pTDefRegMap(@Self)^.&set := $00000040;
  12737. end;
  12738. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  12739. begin
  12740. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12741. end;
  12742. procedure TICAP4_IC4CON.setICSIDL; inline;
  12743. begin
  12744. pTDefRegMap(@Self)^.&set := $00002000;
  12745. end;
  12746. procedure TICAP4_IC4CON.clearICSIDL; inline;
  12747. begin
  12748. pTDefRegMap(@Self)^.clr := $00002000;
  12749. end;
  12750. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  12751. begin
  12752. if thebits = 0 then
  12753. pTDefRegMap(@Self)^.clr := $00002000
  12754. else
  12755. pTDefRegMap(@Self)^.&set := $00002000;
  12756. end;
  12757. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  12758. begin
  12759. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12760. end;
  12761. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  12762. begin
  12763. pTDefRegMap(@Self)^.val := thebits;
  12764. end;
  12765. function TICAP4_IC4CON.getw : TBits_32; inline;
  12766. begin
  12767. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12768. end;
  12769. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  12770. begin
  12771. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12772. end;
  12773. function TICAP5_IC5CON.getICM : TBits_3; inline;
  12774. begin
  12775. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12776. end;
  12777. procedure TICAP5_IC5CON.setICBNE; inline;
  12778. begin
  12779. pTDefRegMap(@Self)^.&set := $00000008;
  12780. end;
  12781. procedure TICAP5_IC5CON.clearICBNE; inline;
  12782. begin
  12783. pTDefRegMap(@Self)^.clr := $00000008;
  12784. end;
  12785. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  12786. begin
  12787. if thebits = 0 then
  12788. pTDefRegMap(@Self)^.clr := $00000008
  12789. else
  12790. pTDefRegMap(@Self)^.&set := $00000008;
  12791. end;
  12792. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  12793. begin
  12794. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12795. end;
  12796. procedure TICAP5_IC5CON.setICOV; inline;
  12797. begin
  12798. pTDefRegMap(@Self)^.&set := $00000010;
  12799. end;
  12800. procedure TICAP5_IC5CON.clearICOV; inline;
  12801. begin
  12802. pTDefRegMap(@Self)^.clr := $00000010;
  12803. end;
  12804. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  12805. begin
  12806. if thebits = 0 then
  12807. pTDefRegMap(@Self)^.clr := $00000010
  12808. else
  12809. pTDefRegMap(@Self)^.&set := $00000010;
  12810. end;
  12811. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  12812. begin
  12813. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12814. end;
  12815. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  12816. begin
  12817. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12818. end;
  12819. function TICAP5_IC5CON.getICI : TBits_2; inline;
  12820. begin
  12821. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12822. end;
  12823. procedure TICAP5_IC5CON.setICTMR; inline;
  12824. begin
  12825. pTDefRegMap(@Self)^.&set := $00000080;
  12826. end;
  12827. procedure TICAP5_IC5CON.clearICTMR; inline;
  12828. begin
  12829. pTDefRegMap(@Self)^.clr := $00000080;
  12830. end;
  12831. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  12832. begin
  12833. if thebits = 0 then
  12834. pTDefRegMap(@Self)^.clr := $00000080
  12835. else
  12836. pTDefRegMap(@Self)^.&set := $00000080;
  12837. end;
  12838. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  12839. begin
  12840. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12841. end;
  12842. procedure TICAP5_IC5CON.setC32; inline;
  12843. begin
  12844. pTDefRegMap(@Self)^.&set := $00000100;
  12845. end;
  12846. procedure TICAP5_IC5CON.clearC32; inline;
  12847. begin
  12848. pTDefRegMap(@Self)^.clr := $00000100;
  12849. end;
  12850. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  12851. begin
  12852. if thebits = 0 then
  12853. pTDefRegMap(@Self)^.clr := $00000100
  12854. else
  12855. pTDefRegMap(@Self)^.&set := $00000100;
  12856. end;
  12857. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  12858. begin
  12859. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12860. end;
  12861. procedure TICAP5_IC5CON.setFEDGE; inline;
  12862. begin
  12863. pTDefRegMap(@Self)^.&set := $00000200;
  12864. end;
  12865. procedure TICAP5_IC5CON.clearFEDGE; inline;
  12866. begin
  12867. pTDefRegMap(@Self)^.clr := $00000200;
  12868. end;
  12869. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  12870. begin
  12871. if thebits = 0 then
  12872. pTDefRegMap(@Self)^.clr := $00000200
  12873. else
  12874. pTDefRegMap(@Self)^.&set := $00000200;
  12875. end;
  12876. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  12877. begin
  12878. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12879. end;
  12880. procedure TICAP5_IC5CON.setSIDL; inline;
  12881. begin
  12882. pTDefRegMap(@Self)^.&set := $00002000;
  12883. end;
  12884. procedure TICAP5_IC5CON.clearSIDL; inline;
  12885. begin
  12886. pTDefRegMap(@Self)^.clr := $00002000;
  12887. end;
  12888. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  12889. begin
  12890. if thebits = 0 then
  12891. pTDefRegMap(@Self)^.clr := $00002000
  12892. else
  12893. pTDefRegMap(@Self)^.&set := $00002000;
  12894. end;
  12895. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  12896. begin
  12897. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12898. end;
  12899. procedure TICAP5_IC5CON.setON; inline;
  12900. begin
  12901. pTDefRegMap(@Self)^.&set := $00008000;
  12902. end;
  12903. procedure TICAP5_IC5CON.clearON; inline;
  12904. begin
  12905. pTDefRegMap(@Self)^.clr := $00008000;
  12906. end;
  12907. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  12908. begin
  12909. if thebits = 0 then
  12910. pTDefRegMap(@Self)^.clr := $00008000
  12911. else
  12912. pTDefRegMap(@Self)^.&set := $00008000;
  12913. end;
  12914. function TICAP5_IC5CON.getON : TBits_1; inline;
  12915. begin
  12916. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12917. end;
  12918. procedure TICAP5_IC5CON.setICM0; inline;
  12919. begin
  12920. pTDefRegMap(@Self)^.&set := $00000001;
  12921. end;
  12922. procedure TICAP5_IC5CON.clearICM0; inline;
  12923. begin
  12924. pTDefRegMap(@Self)^.clr := $00000001;
  12925. end;
  12926. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  12927. begin
  12928. if thebits = 0 then
  12929. pTDefRegMap(@Self)^.clr := $00000001
  12930. else
  12931. pTDefRegMap(@Self)^.&set := $00000001;
  12932. end;
  12933. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  12934. begin
  12935. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12936. end;
  12937. procedure TICAP5_IC5CON.setICM1; inline;
  12938. begin
  12939. pTDefRegMap(@Self)^.&set := $00000002;
  12940. end;
  12941. procedure TICAP5_IC5CON.clearICM1; inline;
  12942. begin
  12943. pTDefRegMap(@Self)^.clr := $00000002;
  12944. end;
  12945. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  12946. begin
  12947. if thebits = 0 then
  12948. pTDefRegMap(@Self)^.clr := $00000002
  12949. else
  12950. pTDefRegMap(@Self)^.&set := $00000002;
  12951. end;
  12952. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  12953. begin
  12954. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12955. end;
  12956. procedure TICAP5_IC5CON.setICM2; inline;
  12957. begin
  12958. pTDefRegMap(@Self)^.&set := $00000004;
  12959. end;
  12960. procedure TICAP5_IC5CON.clearICM2; inline;
  12961. begin
  12962. pTDefRegMap(@Self)^.clr := $00000004;
  12963. end;
  12964. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  12965. begin
  12966. if thebits = 0 then
  12967. pTDefRegMap(@Self)^.clr := $00000004
  12968. else
  12969. pTDefRegMap(@Self)^.&set := $00000004;
  12970. end;
  12971. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  12972. begin
  12973. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12974. end;
  12975. procedure TICAP5_IC5CON.setICI0; inline;
  12976. begin
  12977. pTDefRegMap(@Self)^.&set := $00000020;
  12978. end;
  12979. procedure TICAP5_IC5CON.clearICI0; inline;
  12980. begin
  12981. pTDefRegMap(@Self)^.clr := $00000020;
  12982. end;
  12983. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  12984. begin
  12985. if thebits = 0 then
  12986. pTDefRegMap(@Self)^.clr := $00000020
  12987. else
  12988. pTDefRegMap(@Self)^.&set := $00000020;
  12989. end;
  12990. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  12991. begin
  12992. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12993. end;
  12994. procedure TICAP5_IC5CON.setICI1; inline;
  12995. begin
  12996. pTDefRegMap(@Self)^.&set := $00000040;
  12997. end;
  12998. procedure TICAP5_IC5CON.clearICI1; inline;
  12999. begin
  13000. pTDefRegMap(@Self)^.clr := $00000040;
  13001. end;
  13002. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  13003. begin
  13004. if thebits = 0 then
  13005. pTDefRegMap(@Self)^.clr := $00000040
  13006. else
  13007. pTDefRegMap(@Self)^.&set := $00000040;
  13008. end;
  13009. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  13010. begin
  13011. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13012. end;
  13013. procedure TICAP5_IC5CON.setICSIDL; inline;
  13014. begin
  13015. pTDefRegMap(@Self)^.&set := $00002000;
  13016. end;
  13017. procedure TICAP5_IC5CON.clearICSIDL; inline;
  13018. begin
  13019. pTDefRegMap(@Self)^.clr := $00002000;
  13020. end;
  13021. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  13022. begin
  13023. if thebits = 0 then
  13024. pTDefRegMap(@Self)^.clr := $00002000
  13025. else
  13026. pTDefRegMap(@Self)^.&set := $00002000;
  13027. end;
  13028. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  13029. begin
  13030. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13031. end;
  13032. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  13033. begin
  13034. pTDefRegMap(@Self)^.val := thebits;
  13035. end;
  13036. function TICAP5_IC5CON.getw : TBits_32; inline;
  13037. begin
  13038. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13039. end;
  13040. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  13041. begin
  13042. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13043. end;
  13044. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  13045. begin
  13046. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13047. end;
  13048. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  13049. begin
  13050. pTDefRegMap(@Self)^.&set := $00000008;
  13051. end;
  13052. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  13053. begin
  13054. pTDefRegMap(@Self)^.clr := $00000008;
  13055. end;
  13056. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  13057. begin
  13058. if thebits = 0 then
  13059. pTDefRegMap(@Self)^.clr := $00000008
  13060. else
  13061. pTDefRegMap(@Self)^.&set := $00000008;
  13062. end;
  13063. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  13064. begin
  13065. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13066. end;
  13067. procedure TOCMP1_OC1CON.setOCFLT; inline;
  13068. begin
  13069. pTDefRegMap(@Self)^.&set := $00000010;
  13070. end;
  13071. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  13072. begin
  13073. pTDefRegMap(@Self)^.clr := $00000010;
  13074. end;
  13075. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  13076. begin
  13077. if thebits = 0 then
  13078. pTDefRegMap(@Self)^.clr := $00000010
  13079. else
  13080. pTDefRegMap(@Self)^.&set := $00000010;
  13081. end;
  13082. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  13083. begin
  13084. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13085. end;
  13086. procedure TOCMP1_OC1CON.setOC32; inline;
  13087. begin
  13088. pTDefRegMap(@Self)^.&set := $00000020;
  13089. end;
  13090. procedure TOCMP1_OC1CON.clearOC32; inline;
  13091. begin
  13092. pTDefRegMap(@Self)^.clr := $00000020;
  13093. end;
  13094. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  13095. begin
  13096. if thebits = 0 then
  13097. pTDefRegMap(@Self)^.clr := $00000020
  13098. else
  13099. pTDefRegMap(@Self)^.&set := $00000020;
  13100. end;
  13101. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  13102. begin
  13103. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13104. end;
  13105. procedure TOCMP1_OC1CON.setSIDL; inline;
  13106. begin
  13107. pTDefRegMap(@Self)^.&set := $00002000;
  13108. end;
  13109. procedure TOCMP1_OC1CON.clearSIDL; inline;
  13110. begin
  13111. pTDefRegMap(@Self)^.clr := $00002000;
  13112. end;
  13113. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  13114. begin
  13115. if thebits = 0 then
  13116. pTDefRegMap(@Self)^.clr := $00002000
  13117. else
  13118. pTDefRegMap(@Self)^.&set := $00002000;
  13119. end;
  13120. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  13121. begin
  13122. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13123. end;
  13124. procedure TOCMP1_OC1CON.setON; inline;
  13125. begin
  13126. pTDefRegMap(@Self)^.&set := $00008000;
  13127. end;
  13128. procedure TOCMP1_OC1CON.clearON; inline;
  13129. begin
  13130. pTDefRegMap(@Self)^.clr := $00008000;
  13131. end;
  13132. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  13133. begin
  13134. if thebits = 0 then
  13135. pTDefRegMap(@Self)^.clr := $00008000
  13136. else
  13137. pTDefRegMap(@Self)^.&set := $00008000;
  13138. end;
  13139. function TOCMP1_OC1CON.getON : TBits_1; inline;
  13140. begin
  13141. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13142. end;
  13143. procedure TOCMP1_OC1CON.setOCM0; inline;
  13144. begin
  13145. pTDefRegMap(@Self)^.&set := $00000001;
  13146. end;
  13147. procedure TOCMP1_OC1CON.clearOCM0; inline;
  13148. begin
  13149. pTDefRegMap(@Self)^.clr := $00000001;
  13150. end;
  13151. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  13152. begin
  13153. if thebits = 0 then
  13154. pTDefRegMap(@Self)^.clr := $00000001
  13155. else
  13156. pTDefRegMap(@Self)^.&set := $00000001;
  13157. end;
  13158. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  13159. begin
  13160. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13161. end;
  13162. procedure TOCMP1_OC1CON.setOCM1; inline;
  13163. begin
  13164. pTDefRegMap(@Self)^.&set := $00000002;
  13165. end;
  13166. procedure TOCMP1_OC1CON.clearOCM1; inline;
  13167. begin
  13168. pTDefRegMap(@Self)^.clr := $00000002;
  13169. end;
  13170. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  13171. begin
  13172. if thebits = 0 then
  13173. pTDefRegMap(@Self)^.clr := $00000002
  13174. else
  13175. pTDefRegMap(@Self)^.&set := $00000002;
  13176. end;
  13177. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  13178. begin
  13179. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13180. end;
  13181. procedure TOCMP1_OC1CON.setOCM2; inline;
  13182. begin
  13183. pTDefRegMap(@Self)^.&set := $00000004;
  13184. end;
  13185. procedure TOCMP1_OC1CON.clearOCM2; inline;
  13186. begin
  13187. pTDefRegMap(@Self)^.clr := $00000004;
  13188. end;
  13189. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  13190. begin
  13191. if thebits = 0 then
  13192. pTDefRegMap(@Self)^.clr := $00000004
  13193. else
  13194. pTDefRegMap(@Self)^.&set := $00000004;
  13195. end;
  13196. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  13197. begin
  13198. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13199. end;
  13200. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  13201. begin
  13202. pTDefRegMap(@Self)^.&set := $00002000;
  13203. end;
  13204. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  13205. begin
  13206. pTDefRegMap(@Self)^.clr := $00002000;
  13207. end;
  13208. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  13209. begin
  13210. if thebits = 0 then
  13211. pTDefRegMap(@Self)^.clr := $00002000
  13212. else
  13213. pTDefRegMap(@Self)^.&set := $00002000;
  13214. end;
  13215. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  13216. begin
  13217. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13218. end;
  13219. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  13220. begin
  13221. pTDefRegMap(@Self)^.val := thebits;
  13222. end;
  13223. function TOCMP1_OC1CON.getw : TBits_32; inline;
  13224. begin
  13225. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13226. end;
  13227. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  13228. begin
  13229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13230. end;
  13231. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  13232. begin
  13233. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13234. end;
  13235. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  13236. begin
  13237. pTDefRegMap(@Self)^.&set := $00000008;
  13238. end;
  13239. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  13240. begin
  13241. pTDefRegMap(@Self)^.clr := $00000008;
  13242. end;
  13243. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  13244. begin
  13245. if thebits = 0 then
  13246. pTDefRegMap(@Self)^.clr := $00000008
  13247. else
  13248. pTDefRegMap(@Self)^.&set := $00000008;
  13249. end;
  13250. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  13251. begin
  13252. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13253. end;
  13254. procedure TOCMP2_OC2CON.setOCFLT; inline;
  13255. begin
  13256. pTDefRegMap(@Self)^.&set := $00000010;
  13257. end;
  13258. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  13259. begin
  13260. pTDefRegMap(@Self)^.clr := $00000010;
  13261. end;
  13262. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  13263. begin
  13264. if thebits = 0 then
  13265. pTDefRegMap(@Self)^.clr := $00000010
  13266. else
  13267. pTDefRegMap(@Self)^.&set := $00000010;
  13268. end;
  13269. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  13270. begin
  13271. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13272. end;
  13273. procedure TOCMP2_OC2CON.setOC32; inline;
  13274. begin
  13275. pTDefRegMap(@Self)^.&set := $00000020;
  13276. end;
  13277. procedure TOCMP2_OC2CON.clearOC32; inline;
  13278. begin
  13279. pTDefRegMap(@Self)^.clr := $00000020;
  13280. end;
  13281. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  13282. begin
  13283. if thebits = 0 then
  13284. pTDefRegMap(@Self)^.clr := $00000020
  13285. else
  13286. pTDefRegMap(@Self)^.&set := $00000020;
  13287. end;
  13288. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  13289. begin
  13290. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13291. end;
  13292. procedure TOCMP2_OC2CON.setSIDL; inline;
  13293. begin
  13294. pTDefRegMap(@Self)^.&set := $00002000;
  13295. end;
  13296. procedure TOCMP2_OC2CON.clearSIDL; inline;
  13297. begin
  13298. pTDefRegMap(@Self)^.clr := $00002000;
  13299. end;
  13300. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13301. begin
  13302. if thebits = 0 then
  13303. pTDefRegMap(@Self)^.clr := $00002000
  13304. else
  13305. pTDefRegMap(@Self)^.&set := $00002000;
  13306. end;
  13307. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13308. begin
  13309. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13310. end;
  13311. procedure TOCMP2_OC2CON.setON; inline;
  13312. begin
  13313. pTDefRegMap(@Self)^.&set := $00008000;
  13314. end;
  13315. procedure TOCMP2_OC2CON.clearON; inline;
  13316. begin
  13317. pTDefRegMap(@Self)^.clr := $00008000;
  13318. end;
  13319. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13320. begin
  13321. if thebits = 0 then
  13322. pTDefRegMap(@Self)^.clr := $00008000
  13323. else
  13324. pTDefRegMap(@Self)^.&set := $00008000;
  13325. end;
  13326. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13327. begin
  13328. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13329. end;
  13330. procedure TOCMP2_OC2CON.setOCM0; inline;
  13331. begin
  13332. pTDefRegMap(@Self)^.&set := $00000001;
  13333. end;
  13334. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13335. begin
  13336. pTDefRegMap(@Self)^.clr := $00000001;
  13337. end;
  13338. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13339. begin
  13340. if thebits = 0 then
  13341. pTDefRegMap(@Self)^.clr := $00000001
  13342. else
  13343. pTDefRegMap(@Self)^.&set := $00000001;
  13344. end;
  13345. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13346. begin
  13347. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13348. end;
  13349. procedure TOCMP2_OC2CON.setOCM1; inline;
  13350. begin
  13351. pTDefRegMap(@Self)^.&set := $00000002;
  13352. end;
  13353. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13354. begin
  13355. pTDefRegMap(@Self)^.clr := $00000002;
  13356. end;
  13357. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13358. begin
  13359. if thebits = 0 then
  13360. pTDefRegMap(@Self)^.clr := $00000002
  13361. else
  13362. pTDefRegMap(@Self)^.&set := $00000002;
  13363. end;
  13364. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13365. begin
  13366. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13367. end;
  13368. procedure TOCMP2_OC2CON.setOCM2; inline;
  13369. begin
  13370. pTDefRegMap(@Self)^.&set := $00000004;
  13371. end;
  13372. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13373. begin
  13374. pTDefRegMap(@Self)^.clr := $00000004;
  13375. end;
  13376. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13377. begin
  13378. if thebits = 0 then
  13379. pTDefRegMap(@Self)^.clr := $00000004
  13380. else
  13381. pTDefRegMap(@Self)^.&set := $00000004;
  13382. end;
  13383. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13384. begin
  13385. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13386. end;
  13387. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13388. begin
  13389. pTDefRegMap(@Self)^.&set := $00002000;
  13390. end;
  13391. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13392. begin
  13393. pTDefRegMap(@Self)^.clr := $00002000;
  13394. end;
  13395. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13396. begin
  13397. if thebits = 0 then
  13398. pTDefRegMap(@Self)^.clr := $00002000
  13399. else
  13400. pTDefRegMap(@Self)^.&set := $00002000;
  13401. end;
  13402. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13403. begin
  13404. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13405. end;
  13406. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13407. begin
  13408. pTDefRegMap(@Self)^.val := thebits;
  13409. end;
  13410. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13411. begin
  13412. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13413. end;
  13414. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13415. begin
  13416. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13417. end;
  13418. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13419. begin
  13420. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13421. end;
  13422. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13423. begin
  13424. pTDefRegMap(@Self)^.&set := $00000008;
  13425. end;
  13426. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13427. begin
  13428. pTDefRegMap(@Self)^.clr := $00000008;
  13429. end;
  13430. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13431. begin
  13432. if thebits = 0 then
  13433. pTDefRegMap(@Self)^.clr := $00000008
  13434. else
  13435. pTDefRegMap(@Self)^.&set := $00000008;
  13436. end;
  13437. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13438. begin
  13439. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13440. end;
  13441. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13442. begin
  13443. pTDefRegMap(@Self)^.&set := $00000010;
  13444. end;
  13445. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13446. begin
  13447. pTDefRegMap(@Self)^.clr := $00000010;
  13448. end;
  13449. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13450. begin
  13451. if thebits = 0 then
  13452. pTDefRegMap(@Self)^.clr := $00000010
  13453. else
  13454. pTDefRegMap(@Self)^.&set := $00000010;
  13455. end;
  13456. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13457. begin
  13458. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13459. end;
  13460. procedure TOCMP3_OC3CON.setOC32; inline;
  13461. begin
  13462. pTDefRegMap(@Self)^.&set := $00000020;
  13463. end;
  13464. procedure TOCMP3_OC3CON.clearOC32; inline;
  13465. begin
  13466. pTDefRegMap(@Self)^.clr := $00000020;
  13467. end;
  13468. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13469. begin
  13470. if thebits = 0 then
  13471. pTDefRegMap(@Self)^.clr := $00000020
  13472. else
  13473. pTDefRegMap(@Self)^.&set := $00000020;
  13474. end;
  13475. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13476. begin
  13477. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13478. end;
  13479. procedure TOCMP3_OC3CON.setSIDL; inline;
  13480. begin
  13481. pTDefRegMap(@Self)^.&set := $00002000;
  13482. end;
  13483. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13484. begin
  13485. pTDefRegMap(@Self)^.clr := $00002000;
  13486. end;
  13487. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13488. begin
  13489. if thebits = 0 then
  13490. pTDefRegMap(@Self)^.clr := $00002000
  13491. else
  13492. pTDefRegMap(@Self)^.&set := $00002000;
  13493. end;
  13494. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13495. begin
  13496. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13497. end;
  13498. procedure TOCMP3_OC3CON.setON; inline;
  13499. begin
  13500. pTDefRegMap(@Self)^.&set := $00008000;
  13501. end;
  13502. procedure TOCMP3_OC3CON.clearON; inline;
  13503. begin
  13504. pTDefRegMap(@Self)^.clr := $00008000;
  13505. end;
  13506. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13507. begin
  13508. if thebits = 0 then
  13509. pTDefRegMap(@Self)^.clr := $00008000
  13510. else
  13511. pTDefRegMap(@Self)^.&set := $00008000;
  13512. end;
  13513. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13514. begin
  13515. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13516. end;
  13517. procedure TOCMP3_OC3CON.setOCM0; inline;
  13518. begin
  13519. pTDefRegMap(@Self)^.&set := $00000001;
  13520. end;
  13521. procedure TOCMP3_OC3CON.clearOCM0; inline;
  13522. begin
  13523. pTDefRegMap(@Self)^.clr := $00000001;
  13524. end;
  13525. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  13526. begin
  13527. if thebits = 0 then
  13528. pTDefRegMap(@Self)^.clr := $00000001
  13529. else
  13530. pTDefRegMap(@Self)^.&set := $00000001;
  13531. end;
  13532. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  13533. begin
  13534. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13535. end;
  13536. procedure TOCMP3_OC3CON.setOCM1; inline;
  13537. begin
  13538. pTDefRegMap(@Self)^.&set := $00000002;
  13539. end;
  13540. procedure TOCMP3_OC3CON.clearOCM1; inline;
  13541. begin
  13542. pTDefRegMap(@Self)^.clr := $00000002;
  13543. end;
  13544. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  13545. begin
  13546. if thebits = 0 then
  13547. pTDefRegMap(@Self)^.clr := $00000002
  13548. else
  13549. pTDefRegMap(@Self)^.&set := $00000002;
  13550. end;
  13551. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  13552. begin
  13553. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13554. end;
  13555. procedure TOCMP3_OC3CON.setOCM2; inline;
  13556. begin
  13557. pTDefRegMap(@Self)^.&set := $00000004;
  13558. end;
  13559. procedure TOCMP3_OC3CON.clearOCM2; inline;
  13560. begin
  13561. pTDefRegMap(@Self)^.clr := $00000004;
  13562. end;
  13563. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  13564. begin
  13565. if thebits = 0 then
  13566. pTDefRegMap(@Self)^.clr := $00000004
  13567. else
  13568. pTDefRegMap(@Self)^.&set := $00000004;
  13569. end;
  13570. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  13571. begin
  13572. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13573. end;
  13574. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  13575. begin
  13576. pTDefRegMap(@Self)^.&set := $00002000;
  13577. end;
  13578. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  13579. begin
  13580. pTDefRegMap(@Self)^.clr := $00002000;
  13581. end;
  13582. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  13583. begin
  13584. if thebits = 0 then
  13585. pTDefRegMap(@Self)^.clr := $00002000
  13586. else
  13587. pTDefRegMap(@Self)^.&set := $00002000;
  13588. end;
  13589. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  13590. begin
  13591. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13592. end;
  13593. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  13594. begin
  13595. pTDefRegMap(@Self)^.val := thebits;
  13596. end;
  13597. function TOCMP3_OC3CON.getw : TBits_32; inline;
  13598. begin
  13599. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13600. end;
  13601. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  13602. begin
  13603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13604. end;
  13605. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  13606. begin
  13607. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13608. end;
  13609. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  13610. begin
  13611. pTDefRegMap(@Self)^.&set := $00000008;
  13612. end;
  13613. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  13614. begin
  13615. pTDefRegMap(@Self)^.clr := $00000008;
  13616. end;
  13617. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  13618. begin
  13619. if thebits = 0 then
  13620. pTDefRegMap(@Self)^.clr := $00000008
  13621. else
  13622. pTDefRegMap(@Self)^.&set := $00000008;
  13623. end;
  13624. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  13625. begin
  13626. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13627. end;
  13628. procedure TOCMP4_OC4CON.setOCFLT; inline;
  13629. begin
  13630. pTDefRegMap(@Self)^.&set := $00000010;
  13631. end;
  13632. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  13633. begin
  13634. pTDefRegMap(@Self)^.clr := $00000010;
  13635. end;
  13636. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  13637. begin
  13638. if thebits = 0 then
  13639. pTDefRegMap(@Self)^.clr := $00000010
  13640. else
  13641. pTDefRegMap(@Self)^.&set := $00000010;
  13642. end;
  13643. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  13644. begin
  13645. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13646. end;
  13647. procedure TOCMP4_OC4CON.setOC32; inline;
  13648. begin
  13649. pTDefRegMap(@Self)^.&set := $00000020;
  13650. end;
  13651. procedure TOCMP4_OC4CON.clearOC32; inline;
  13652. begin
  13653. pTDefRegMap(@Self)^.clr := $00000020;
  13654. end;
  13655. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  13656. begin
  13657. if thebits = 0 then
  13658. pTDefRegMap(@Self)^.clr := $00000020
  13659. else
  13660. pTDefRegMap(@Self)^.&set := $00000020;
  13661. end;
  13662. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  13663. begin
  13664. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13665. end;
  13666. procedure TOCMP4_OC4CON.setSIDL; inline;
  13667. begin
  13668. pTDefRegMap(@Self)^.&set := $00002000;
  13669. end;
  13670. procedure TOCMP4_OC4CON.clearSIDL; inline;
  13671. begin
  13672. pTDefRegMap(@Self)^.clr := $00002000;
  13673. end;
  13674. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  13675. begin
  13676. if thebits = 0 then
  13677. pTDefRegMap(@Self)^.clr := $00002000
  13678. else
  13679. pTDefRegMap(@Self)^.&set := $00002000;
  13680. end;
  13681. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  13682. begin
  13683. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13684. end;
  13685. procedure TOCMP4_OC4CON.setON; inline;
  13686. begin
  13687. pTDefRegMap(@Self)^.&set := $00008000;
  13688. end;
  13689. procedure TOCMP4_OC4CON.clearON; inline;
  13690. begin
  13691. pTDefRegMap(@Self)^.clr := $00008000;
  13692. end;
  13693. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  13694. begin
  13695. if thebits = 0 then
  13696. pTDefRegMap(@Self)^.clr := $00008000
  13697. else
  13698. pTDefRegMap(@Self)^.&set := $00008000;
  13699. end;
  13700. function TOCMP4_OC4CON.getON : TBits_1; inline;
  13701. begin
  13702. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13703. end;
  13704. procedure TOCMP4_OC4CON.setOCM0; inline;
  13705. begin
  13706. pTDefRegMap(@Self)^.&set := $00000001;
  13707. end;
  13708. procedure TOCMP4_OC4CON.clearOCM0; inline;
  13709. begin
  13710. pTDefRegMap(@Self)^.clr := $00000001;
  13711. end;
  13712. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  13713. begin
  13714. if thebits = 0 then
  13715. pTDefRegMap(@Self)^.clr := $00000001
  13716. else
  13717. pTDefRegMap(@Self)^.&set := $00000001;
  13718. end;
  13719. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  13720. begin
  13721. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13722. end;
  13723. procedure TOCMP4_OC4CON.setOCM1; inline;
  13724. begin
  13725. pTDefRegMap(@Self)^.&set := $00000002;
  13726. end;
  13727. procedure TOCMP4_OC4CON.clearOCM1; inline;
  13728. begin
  13729. pTDefRegMap(@Self)^.clr := $00000002;
  13730. end;
  13731. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  13732. begin
  13733. if thebits = 0 then
  13734. pTDefRegMap(@Self)^.clr := $00000002
  13735. else
  13736. pTDefRegMap(@Self)^.&set := $00000002;
  13737. end;
  13738. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  13739. begin
  13740. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13741. end;
  13742. procedure TOCMP4_OC4CON.setOCM2; inline;
  13743. begin
  13744. pTDefRegMap(@Self)^.&set := $00000004;
  13745. end;
  13746. procedure TOCMP4_OC4CON.clearOCM2; inline;
  13747. begin
  13748. pTDefRegMap(@Self)^.clr := $00000004;
  13749. end;
  13750. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  13751. begin
  13752. if thebits = 0 then
  13753. pTDefRegMap(@Self)^.clr := $00000004
  13754. else
  13755. pTDefRegMap(@Self)^.&set := $00000004;
  13756. end;
  13757. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  13758. begin
  13759. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13760. end;
  13761. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  13762. begin
  13763. pTDefRegMap(@Self)^.&set := $00002000;
  13764. end;
  13765. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  13766. begin
  13767. pTDefRegMap(@Self)^.clr := $00002000;
  13768. end;
  13769. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  13770. begin
  13771. if thebits = 0 then
  13772. pTDefRegMap(@Self)^.clr := $00002000
  13773. else
  13774. pTDefRegMap(@Self)^.&set := $00002000;
  13775. end;
  13776. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  13777. begin
  13778. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13779. end;
  13780. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  13781. begin
  13782. pTDefRegMap(@Self)^.val := thebits;
  13783. end;
  13784. function TOCMP4_OC4CON.getw : TBits_32; inline;
  13785. begin
  13786. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13787. end;
  13788. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  13789. begin
  13790. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13791. end;
  13792. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  13793. begin
  13794. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13795. end;
  13796. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  13797. begin
  13798. pTDefRegMap(@Self)^.&set := $00000008;
  13799. end;
  13800. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  13801. begin
  13802. pTDefRegMap(@Self)^.clr := $00000008;
  13803. end;
  13804. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  13805. begin
  13806. if thebits = 0 then
  13807. pTDefRegMap(@Self)^.clr := $00000008
  13808. else
  13809. pTDefRegMap(@Self)^.&set := $00000008;
  13810. end;
  13811. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  13812. begin
  13813. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13814. end;
  13815. procedure TOCMP5_OC5CON.setOCFLT; inline;
  13816. begin
  13817. pTDefRegMap(@Self)^.&set := $00000010;
  13818. end;
  13819. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  13820. begin
  13821. pTDefRegMap(@Self)^.clr := $00000010;
  13822. end;
  13823. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  13824. begin
  13825. if thebits = 0 then
  13826. pTDefRegMap(@Self)^.clr := $00000010
  13827. else
  13828. pTDefRegMap(@Self)^.&set := $00000010;
  13829. end;
  13830. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  13831. begin
  13832. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13833. end;
  13834. procedure TOCMP5_OC5CON.setOC32; inline;
  13835. begin
  13836. pTDefRegMap(@Self)^.&set := $00000020;
  13837. end;
  13838. procedure TOCMP5_OC5CON.clearOC32; inline;
  13839. begin
  13840. pTDefRegMap(@Self)^.clr := $00000020;
  13841. end;
  13842. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  13843. begin
  13844. if thebits = 0 then
  13845. pTDefRegMap(@Self)^.clr := $00000020
  13846. else
  13847. pTDefRegMap(@Self)^.&set := $00000020;
  13848. end;
  13849. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  13850. begin
  13851. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13852. end;
  13853. procedure TOCMP5_OC5CON.setSIDL; inline;
  13854. begin
  13855. pTDefRegMap(@Self)^.&set := $00002000;
  13856. end;
  13857. procedure TOCMP5_OC5CON.clearSIDL; inline;
  13858. begin
  13859. pTDefRegMap(@Self)^.clr := $00002000;
  13860. end;
  13861. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  13862. begin
  13863. if thebits = 0 then
  13864. pTDefRegMap(@Self)^.clr := $00002000
  13865. else
  13866. pTDefRegMap(@Self)^.&set := $00002000;
  13867. end;
  13868. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  13869. begin
  13870. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13871. end;
  13872. procedure TOCMP5_OC5CON.setON; inline;
  13873. begin
  13874. pTDefRegMap(@Self)^.&set := $00008000;
  13875. end;
  13876. procedure TOCMP5_OC5CON.clearON; inline;
  13877. begin
  13878. pTDefRegMap(@Self)^.clr := $00008000;
  13879. end;
  13880. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  13881. begin
  13882. if thebits = 0 then
  13883. pTDefRegMap(@Self)^.clr := $00008000
  13884. else
  13885. pTDefRegMap(@Self)^.&set := $00008000;
  13886. end;
  13887. function TOCMP5_OC5CON.getON : TBits_1; inline;
  13888. begin
  13889. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13890. end;
  13891. procedure TOCMP5_OC5CON.setOCM0; inline;
  13892. begin
  13893. pTDefRegMap(@Self)^.&set := $00000001;
  13894. end;
  13895. procedure TOCMP5_OC5CON.clearOCM0; inline;
  13896. begin
  13897. pTDefRegMap(@Self)^.clr := $00000001;
  13898. end;
  13899. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  13900. begin
  13901. if thebits = 0 then
  13902. pTDefRegMap(@Self)^.clr := $00000001
  13903. else
  13904. pTDefRegMap(@Self)^.&set := $00000001;
  13905. end;
  13906. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  13907. begin
  13908. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13909. end;
  13910. procedure TOCMP5_OC5CON.setOCM1; inline;
  13911. begin
  13912. pTDefRegMap(@Self)^.&set := $00000002;
  13913. end;
  13914. procedure TOCMP5_OC5CON.clearOCM1; inline;
  13915. begin
  13916. pTDefRegMap(@Self)^.clr := $00000002;
  13917. end;
  13918. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  13919. begin
  13920. if thebits = 0 then
  13921. pTDefRegMap(@Self)^.clr := $00000002
  13922. else
  13923. pTDefRegMap(@Self)^.&set := $00000002;
  13924. end;
  13925. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  13926. begin
  13927. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13928. end;
  13929. procedure TOCMP5_OC5CON.setOCM2; inline;
  13930. begin
  13931. pTDefRegMap(@Self)^.&set := $00000004;
  13932. end;
  13933. procedure TOCMP5_OC5CON.clearOCM2; inline;
  13934. begin
  13935. pTDefRegMap(@Self)^.clr := $00000004;
  13936. end;
  13937. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  13938. begin
  13939. if thebits = 0 then
  13940. pTDefRegMap(@Self)^.clr := $00000004
  13941. else
  13942. pTDefRegMap(@Self)^.&set := $00000004;
  13943. end;
  13944. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  13945. begin
  13946. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13947. end;
  13948. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  13949. begin
  13950. pTDefRegMap(@Self)^.&set := $00002000;
  13951. end;
  13952. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  13953. begin
  13954. pTDefRegMap(@Self)^.clr := $00002000;
  13955. end;
  13956. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  13957. begin
  13958. if thebits = 0 then
  13959. pTDefRegMap(@Self)^.clr := $00002000
  13960. else
  13961. pTDefRegMap(@Self)^.&set := $00002000;
  13962. end;
  13963. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  13964. begin
  13965. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13966. end;
  13967. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  13968. begin
  13969. pTDefRegMap(@Self)^.val := thebits;
  13970. end;
  13971. function TOCMP5_OC5CON.getw : TBits_32; inline;
  13972. begin
  13973. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13974. end;
  13975. procedure TI2C1_I2C1ACON.setSEN; inline;
  13976. begin
  13977. pTDefRegMap(@Self)^.&set := $00000001;
  13978. end;
  13979. procedure TI2C1_I2C1ACON.clearSEN; inline;
  13980. begin
  13981. pTDefRegMap(@Self)^.clr := $00000001;
  13982. end;
  13983. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  13984. begin
  13985. if thebits = 0 then
  13986. pTDefRegMap(@Self)^.clr := $00000001
  13987. else
  13988. pTDefRegMap(@Self)^.&set := $00000001;
  13989. end;
  13990. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  13991. begin
  13992. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13993. end;
  13994. procedure TI2C1_I2C1ACON.setRSEN; inline;
  13995. begin
  13996. pTDefRegMap(@Self)^.&set := $00000002;
  13997. end;
  13998. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  13999. begin
  14000. pTDefRegMap(@Self)^.clr := $00000002;
  14001. end;
  14002. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  14003. begin
  14004. if thebits = 0 then
  14005. pTDefRegMap(@Self)^.clr := $00000002
  14006. else
  14007. pTDefRegMap(@Self)^.&set := $00000002;
  14008. end;
  14009. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  14010. begin
  14011. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14012. end;
  14013. procedure TI2C1_I2C1ACON.setPEN; inline;
  14014. begin
  14015. pTDefRegMap(@Self)^.&set := $00000004;
  14016. end;
  14017. procedure TI2C1_I2C1ACON.clearPEN; inline;
  14018. begin
  14019. pTDefRegMap(@Self)^.clr := $00000004;
  14020. end;
  14021. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  14022. begin
  14023. if thebits = 0 then
  14024. pTDefRegMap(@Self)^.clr := $00000004
  14025. else
  14026. pTDefRegMap(@Self)^.&set := $00000004;
  14027. end;
  14028. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  14029. begin
  14030. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14031. end;
  14032. procedure TI2C1_I2C1ACON.setRCEN; inline;
  14033. begin
  14034. pTDefRegMap(@Self)^.&set := $00000008;
  14035. end;
  14036. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  14037. begin
  14038. pTDefRegMap(@Self)^.clr := $00000008;
  14039. end;
  14040. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  14041. begin
  14042. if thebits = 0 then
  14043. pTDefRegMap(@Self)^.clr := $00000008
  14044. else
  14045. pTDefRegMap(@Self)^.&set := $00000008;
  14046. end;
  14047. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  14048. begin
  14049. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14050. end;
  14051. procedure TI2C1_I2C1ACON.setACKEN; inline;
  14052. begin
  14053. pTDefRegMap(@Self)^.&set := $00000010;
  14054. end;
  14055. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  14056. begin
  14057. pTDefRegMap(@Self)^.clr := $00000010;
  14058. end;
  14059. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  14060. begin
  14061. if thebits = 0 then
  14062. pTDefRegMap(@Self)^.clr := $00000010
  14063. else
  14064. pTDefRegMap(@Self)^.&set := $00000010;
  14065. end;
  14066. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  14067. begin
  14068. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14069. end;
  14070. procedure TI2C1_I2C1ACON.setACKDT; inline;
  14071. begin
  14072. pTDefRegMap(@Self)^.&set := $00000020;
  14073. end;
  14074. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  14075. begin
  14076. pTDefRegMap(@Self)^.clr := $00000020;
  14077. end;
  14078. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  14079. begin
  14080. if thebits = 0 then
  14081. pTDefRegMap(@Self)^.clr := $00000020
  14082. else
  14083. pTDefRegMap(@Self)^.&set := $00000020;
  14084. end;
  14085. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  14086. begin
  14087. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14088. end;
  14089. procedure TI2C1_I2C1ACON.setSTREN; inline;
  14090. begin
  14091. pTDefRegMap(@Self)^.&set := $00000040;
  14092. end;
  14093. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  14094. begin
  14095. pTDefRegMap(@Self)^.clr := $00000040;
  14096. end;
  14097. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  14098. begin
  14099. if thebits = 0 then
  14100. pTDefRegMap(@Self)^.clr := $00000040
  14101. else
  14102. pTDefRegMap(@Self)^.&set := $00000040;
  14103. end;
  14104. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  14105. begin
  14106. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14107. end;
  14108. procedure TI2C1_I2C1ACON.setGCEN; inline;
  14109. begin
  14110. pTDefRegMap(@Self)^.&set := $00000080;
  14111. end;
  14112. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  14113. begin
  14114. pTDefRegMap(@Self)^.clr := $00000080;
  14115. end;
  14116. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  14117. begin
  14118. if thebits = 0 then
  14119. pTDefRegMap(@Self)^.clr := $00000080
  14120. else
  14121. pTDefRegMap(@Self)^.&set := $00000080;
  14122. end;
  14123. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  14124. begin
  14125. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14126. end;
  14127. procedure TI2C1_I2C1ACON.setSMEN; inline;
  14128. begin
  14129. pTDefRegMap(@Self)^.&set := $00000100;
  14130. end;
  14131. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  14132. begin
  14133. pTDefRegMap(@Self)^.clr := $00000100;
  14134. end;
  14135. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  14136. begin
  14137. if thebits = 0 then
  14138. pTDefRegMap(@Self)^.clr := $00000100
  14139. else
  14140. pTDefRegMap(@Self)^.&set := $00000100;
  14141. end;
  14142. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  14143. begin
  14144. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14145. end;
  14146. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  14147. begin
  14148. pTDefRegMap(@Self)^.&set := $00000200;
  14149. end;
  14150. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  14151. begin
  14152. pTDefRegMap(@Self)^.clr := $00000200;
  14153. end;
  14154. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  14155. begin
  14156. if thebits = 0 then
  14157. pTDefRegMap(@Self)^.clr := $00000200
  14158. else
  14159. pTDefRegMap(@Self)^.&set := $00000200;
  14160. end;
  14161. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  14162. begin
  14163. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14164. end;
  14165. procedure TI2C1_I2C1ACON.setA10M; inline;
  14166. begin
  14167. pTDefRegMap(@Self)^.&set := $00000400;
  14168. end;
  14169. procedure TI2C1_I2C1ACON.clearA10M; inline;
  14170. begin
  14171. pTDefRegMap(@Self)^.clr := $00000400;
  14172. end;
  14173. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  14174. begin
  14175. if thebits = 0 then
  14176. pTDefRegMap(@Self)^.clr := $00000400
  14177. else
  14178. pTDefRegMap(@Self)^.&set := $00000400;
  14179. end;
  14180. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  14181. begin
  14182. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14183. end;
  14184. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  14185. begin
  14186. pTDefRegMap(@Self)^.&set := $00000800;
  14187. end;
  14188. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  14189. begin
  14190. pTDefRegMap(@Self)^.clr := $00000800;
  14191. end;
  14192. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  14193. begin
  14194. if thebits = 0 then
  14195. pTDefRegMap(@Self)^.clr := $00000800
  14196. else
  14197. pTDefRegMap(@Self)^.&set := $00000800;
  14198. end;
  14199. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  14200. begin
  14201. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14202. end;
  14203. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  14204. begin
  14205. pTDefRegMap(@Self)^.&set := $00001000;
  14206. end;
  14207. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  14208. begin
  14209. pTDefRegMap(@Self)^.clr := $00001000;
  14210. end;
  14211. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  14212. begin
  14213. if thebits = 0 then
  14214. pTDefRegMap(@Self)^.clr := $00001000
  14215. else
  14216. pTDefRegMap(@Self)^.&set := $00001000;
  14217. end;
  14218. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  14219. begin
  14220. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14221. end;
  14222. procedure TI2C1_I2C1ACON.setSIDL; inline;
  14223. begin
  14224. pTDefRegMap(@Self)^.&set := $00002000;
  14225. end;
  14226. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  14227. begin
  14228. pTDefRegMap(@Self)^.clr := $00002000;
  14229. end;
  14230. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  14231. begin
  14232. if thebits = 0 then
  14233. pTDefRegMap(@Self)^.clr := $00002000
  14234. else
  14235. pTDefRegMap(@Self)^.&set := $00002000;
  14236. end;
  14237. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  14238. begin
  14239. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14240. end;
  14241. procedure TI2C1_I2C1ACON.setON; inline;
  14242. begin
  14243. pTDefRegMap(@Self)^.&set := $00008000;
  14244. end;
  14245. procedure TI2C1_I2C1ACON.clearON; inline;
  14246. begin
  14247. pTDefRegMap(@Self)^.clr := $00008000;
  14248. end;
  14249. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  14250. begin
  14251. if thebits = 0 then
  14252. pTDefRegMap(@Self)^.clr := $00008000
  14253. else
  14254. pTDefRegMap(@Self)^.&set := $00008000;
  14255. end;
  14256. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  14257. begin
  14258. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14259. end;
  14260. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  14261. begin
  14262. pTDefRegMap(@Self)^.&set := $00000800;
  14263. end;
  14264. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  14265. begin
  14266. pTDefRegMap(@Self)^.clr := $00000800;
  14267. end;
  14268. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  14269. begin
  14270. if thebits = 0 then
  14271. pTDefRegMap(@Self)^.clr := $00000800
  14272. else
  14273. pTDefRegMap(@Self)^.&set := $00000800;
  14274. end;
  14275. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  14276. begin
  14277. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14278. end;
  14279. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  14280. begin
  14281. pTDefRegMap(@Self)^.&set := $00002000;
  14282. end;
  14283. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  14284. begin
  14285. pTDefRegMap(@Self)^.clr := $00002000;
  14286. end;
  14287. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  14288. begin
  14289. if thebits = 0 then
  14290. pTDefRegMap(@Self)^.clr := $00002000
  14291. else
  14292. pTDefRegMap(@Self)^.&set := $00002000;
  14293. end;
  14294. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  14295. begin
  14296. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14297. end;
  14298. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14299. begin
  14300. pTDefRegMap(@Self)^.&set := $00008000;
  14301. end;
  14302. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14303. begin
  14304. pTDefRegMap(@Self)^.clr := $00008000;
  14305. end;
  14306. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14307. begin
  14308. if thebits = 0 then
  14309. pTDefRegMap(@Self)^.clr := $00008000
  14310. else
  14311. pTDefRegMap(@Self)^.&set := $00008000;
  14312. end;
  14313. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14314. begin
  14315. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14316. end;
  14317. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14318. begin
  14319. pTDefRegMap(@Self)^.val := thebits;
  14320. end;
  14321. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14322. begin
  14323. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14324. end;
  14325. procedure TI2C1_I2C1CON.setSEN; inline;
  14326. begin
  14327. pTDefRegMap(@Self)^.&set := $00000001;
  14328. end;
  14329. procedure TI2C1_I2C1CON.clearSEN; inline;
  14330. begin
  14331. pTDefRegMap(@Self)^.clr := $00000001;
  14332. end;
  14333. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14334. begin
  14335. if thebits = 0 then
  14336. pTDefRegMap(@Self)^.clr := $00000001
  14337. else
  14338. pTDefRegMap(@Self)^.&set := $00000001;
  14339. end;
  14340. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14341. begin
  14342. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14343. end;
  14344. procedure TI2C1_I2C1CON.setRSEN; inline;
  14345. begin
  14346. pTDefRegMap(@Self)^.&set := $00000002;
  14347. end;
  14348. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14349. begin
  14350. pTDefRegMap(@Self)^.clr := $00000002;
  14351. end;
  14352. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14353. begin
  14354. if thebits = 0 then
  14355. pTDefRegMap(@Self)^.clr := $00000002
  14356. else
  14357. pTDefRegMap(@Self)^.&set := $00000002;
  14358. end;
  14359. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14360. begin
  14361. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14362. end;
  14363. procedure TI2C1_I2C1CON.setPEN; inline;
  14364. begin
  14365. pTDefRegMap(@Self)^.&set := $00000004;
  14366. end;
  14367. procedure TI2C1_I2C1CON.clearPEN; inline;
  14368. begin
  14369. pTDefRegMap(@Self)^.clr := $00000004;
  14370. end;
  14371. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14372. begin
  14373. if thebits = 0 then
  14374. pTDefRegMap(@Self)^.clr := $00000004
  14375. else
  14376. pTDefRegMap(@Self)^.&set := $00000004;
  14377. end;
  14378. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14379. begin
  14380. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14381. end;
  14382. procedure TI2C1_I2C1CON.setRCEN; inline;
  14383. begin
  14384. pTDefRegMap(@Self)^.&set := $00000008;
  14385. end;
  14386. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14387. begin
  14388. pTDefRegMap(@Self)^.clr := $00000008;
  14389. end;
  14390. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14391. begin
  14392. if thebits = 0 then
  14393. pTDefRegMap(@Self)^.clr := $00000008
  14394. else
  14395. pTDefRegMap(@Self)^.&set := $00000008;
  14396. end;
  14397. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14398. begin
  14399. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14400. end;
  14401. procedure TI2C1_I2C1CON.setACKEN; inline;
  14402. begin
  14403. pTDefRegMap(@Self)^.&set := $00000010;
  14404. end;
  14405. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14406. begin
  14407. pTDefRegMap(@Self)^.clr := $00000010;
  14408. end;
  14409. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14410. begin
  14411. if thebits = 0 then
  14412. pTDefRegMap(@Self)^.clr := $00000010
  14413. else
  14414. pTDefRegMap(@Self)^.&set := $00000010;
  14415. end;
  14416. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14417. begin
  14418. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14419. end;
  14420. procedure TI2C1_I2C1CON.setACKDT; inline;
  14421. begin
  14422. pTDefRegMap(@Self)^.&set := $00000020;
  14423. end;
  14424. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14425. begin
  14426. pTDefRegMap(@Self)^.clr := $00000020;
  14427. end;
  14428. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14429. begin
  14430. if thebits = 0 then
  14431. pTDefRegMap(@Self)^.clr := $00000020
  14432. else
  14433. pTDefRegMap(@Self)^.&set := $00000020;
  14434. end;
  14435. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14436. begin
  14437. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14438. end;
  14439. procedure TI2C1_I2C1CON.setSTREN; inline;
  14440. begin
  14441. pTDefRegMap(@Self)^.&set := $00000040;
  14442. end;
  14443. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14444. begin
  14445. pTDefRegMap(@Self)^.clr := $00000040;
  14446. end;
  14447. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14448. begin
  14449. if thebits = 0 then
  14450. pTDefRegMap(@Self)^.clr := $00000040
  14451. else
  14452. pTDefRegMap(@Self)^.&set := $00000040;
  14453. end;
  14454. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14455. begin
  14456. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14457. end;
  14458. procedure TI2C1_I2C1CON.setGCEN; inline;
  14459. begin
  14460. pTDefRegMap(@Self)^.&set := $00000080;
  14461. end;
  14462. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14463. begin
  14464. pTDefRegMap(@Self)^.clr := $00000080;
  14465. end;
  14466. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14467. begin
  14468. if thebits = 0 then
  14469. pTDefRegMap(@Self)^.clr := $00000080
  14470. else
  14471. pTDefRegMap(@Self)^.&set := $00000080;
  14472. end;
  14473. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14474. begin
  14475. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14476. end;
  14477. procedure TI2C1_I2C1CON.setSMEN; inline;
  14478. begin
  14479. pTDefRegMap(@Self)^.&set := $00000100;
  14480. end;
  14481. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14482. begin
  14483. pTDefRegMap(@Self)^.clr := $00000100;
  14484. end;
  14485. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14486. begin
  14487. if thebits = 0 then
  14488. pTDefRegMap(@Self)^.clr := $00000100
  14489. else
  14490. pTDefRegMap(@Self)^.&set := $00000100;
  14491. end;
  14492. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14493. begin
  14494. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14495. end;
  14496. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14497. begin
  14498. pTDefRegMap(@Self)^.&set := $00000200;
  14499. end;
  14500. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14501. begin
  14502. pTDefRegMap(@Self)^.clr := $00000200;
  14503. end;
  14504. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14505. begin
  14506. if thebits = 0 then
  14507. pTDefRegMap(@Self)^.clr := $00000200
  14508. else
  14509. pTDefRegMap(@Self)^.&set := $00000200;
  14510. end;
  14511. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14512. begin
  14513. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14514. end;
  14515. procedure TI2C1_I2C1CON.setA10M; inline;
  14516. begin
  14517. pTDefRegMap(@Self)^.&set := $00000400;
  14518. end;
  14519. procedure TI2C1_I2C1CON.clearA10M; inline;
  14520. begin
  14521. pTDefRegMap(@Self)^.clr := $00000400;
  14522. end;
  14523. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  14524. begin
  14525. if thebits = 0 then
  14526. pTDefRegMap(@Self)^.clr := $00000400
  14527. else
  14528. pTDefRegMap(@Self)^.&set := $00000400;
  14529. end;
  14530. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  14531. begin
  14532. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14533. end;
  14534. procedure TI2C1_I2C1CON.setSTRICT; inline;
  14535. begin
  14536. pTDefRegMap(@Self)^.&set := $00000800;
  14537. end;
  14538. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  14539. begin
  14540. pTDefRegMap(@Self)^.clr := $00000800;
  14541. end;
  14542. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  14543. begin
  14544. if thebits = 0 then
  14545. pTDefRegMap(@Self)^.clr := $00000800
  14546. else
  14547. pTDefRegMap(@Self)^.&set := $00000800;
  14548. end;
  14549. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  14550. begin
  14551. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14552. end;
  14553. procedure TI2C1_I2C1CON.setSCLREL; inline;
  14554. begin
  14555. pTDefRegMap(@Self)^.&set := $00001000;
  14556. end;
  14557. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  14558. begin
  14559. pTDefRegMap(@Self)^.clr := $00001000;
  14560. end;
  14561. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  14562. begin
  14563. if thebits = 0 then
  14564. pTDefRegMap(@Self)^.clr := $00001000
  14565. else
  14566. pTDefRegMap(@Self)^.&set := $00001000;
  14567. end;
  14568. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  14569. begin
  14570. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14571. end;
  14572. procedure TI2C1_I2C1CON.setSIDL; inline;
  14573. begin
  14574. pTDefRegMap(@Self)^.&set := $00002000;
  14575. end;
  14576. procedure TI2C1_I2C1CON.clearSIDL; inline;
  14577. begin
  14578. pTDefRegMap(@Self)^.clr := $00002000;
  14579. end;
  14580. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  14581. begin
  14582. if thebits = 0 then
  14583. pTDefRegMap(@Self)^.clr := $00002000
  14584. else
  14585. pTDefRegMap(@Self)^.&set := $00002000;
  14586. end;
  14587. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  14588. begin
  14589. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14590. end;
  14591. procedure TI2C1_I2C1CON.setON; inline;
  14592. begin
  14593. pTDefRegMap(@Self)^.&set := $00008000;
  14594. end;
  14595. procedure TI2C1_I2C1CON.clearON; inline;
  14596. begin
  14597. pTDefRegMap(@Self)^.clr := $00008000;
  14598. end;
  14599. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  14600. begin
  14601. if thebits = 0 then
  14602. pTDefRegMap(@Self)^.clr := $00008000
  14603. else
  14604. pTDefRegMap(@Self)^.&set := $00008000;
  14605. end;
  14606. function TI2C1_I2C1CON.getON : TBits_1; inline;
  14607. begin
  14608. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14609. end;
  14610. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  14611. begin
  14612. pTDefRegMap(@Self)^.&set := $00000800;
  14613. end;
  14614. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  14615. begin
  14616. pTDefRegMap(@Self)^.clr := $00000800;
  14617. end;
  14618. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  14619. begin
  14620. if thebits = 0 then
  14621. pTDefRegMap(@Self)^.clr := $00000800
  14622. else
  14623. pTDefRegMap(@Self)^.&set := $00000800;
  14624. end;
  14625. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  14626. begin
  14627. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14628. end;
  14629. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  14630. begin
  14631. pTDefRegMap(@Self)^.&set := $00002000;
  14632. end;
  14633. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  14634. begin
  14635. pTDefRegMap(@Self)^.clr := $00002000;
  14636. end;
  14637. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  14638. begin
  14639. if thebits = 0 then
  14640. pTDefRegMap(@Self)^.clr := $00002000
  14641. else
  14642. pTDefRegMap(@Self)^.&set := $00002000;
  14643. end;
  14644. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  14645. begin
  14646. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14647. end;
  14648. procedure TI2C1_I2C1CON.setI2CEN; inline;
  14649. begin
  14650. pTDefRegMap(@Self)^.&set := $00008000;
  14651. end;
  14652. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  14653. begin
  14654. pTDefRegMap(@Self)^.clr := $00008000;
  14655. end;
  14656. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  14657. begin
  14658. if thebits = 0 then
  14659. pTDefRegMap(@Self)^.clr := $00008000
  14660. else
  14661. pTDefRegMap(@Self)^.&set := $00008000;
  14662. end;
  14663. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  14664. begin
  14665. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14666. end;
  14667. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  14668. begin
  14669. pTDefRegMap(@Self)^.val := thebits;
  14670. end;
  14671. function TI2C1_I2C1CON.getw : TBits_32; inline;
  14672. begin
  14673. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14674. end;
  14675. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  14676. begin
  14677. pTDefRegMap(@Self)^.&set := $00000001;
  14678. end;
  14679. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  14680. begin
  14681. pTDefRegMap(@Self)^.clr := $00000001;
  14682. end;
  14683. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  14684. begin
  14685. if thebits = 0 then
  14686. pTDefRegMap(@Self)^.clr := $00000001
  14687. else
  14688. pTDefRegMap(@Self)^.&set := $00000001;
  14689. end;
  14690. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  14691. begin
  14692. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14693. end;
  14694. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  14695. begin
  14696. pTDefRegMap(@Self)^.&set := $00000002;
  14697. end;
  14698. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  14699. begin
  14700. pTDefRegMap(@Self)^.clr := $00000002;
  14701. end;
  14702. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  14703. begin
  14704. if thebits = 0 then
  14705. pTDefRegMap(@Self)^.clr := $00000002
  14706. else
  14707. pTDefRegMap(@Self)^.&set := $00000002;
  14708. end;
  14709. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  14710. begin
  14711. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14712. end;
  14713. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  14714. begin
  14715. pTDefRegMap(@Self)^.&set := $00000004;
  14716. end;
  14717. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  14718. begin
  14719. pTDefRegMap(@Self)^.clr := $00000004;
  14720. end;
  14721. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  14722. begin
  14723. if thebits = 0 then
  14724. pTDefRegMap(@Self)^.clr := $00000004
  14725. else
  14726. pTDefRegMap(@Self)^.&set := $00000004;
  14727. end;
  14728. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  14729. begin
  14730. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14731. end;
  14732. procedure TI2C1_I2C1ASTAT.setS; inline;
  14733. begin
  14734. pTDefRegMap(@Self)^.&set := $00000008;
  14735. end;
  14736. procedure TI2C1_I2C1ASTAT.clearS; inline;
  14737. begin
  14738. pTDefRegMap(@Self)^.clr := $00000008;
  14739. end;
  14740. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  14741. begin
  14742. if thebits = 0 then
  14743. pTDefRegMap(@Self)^.clr := $00000008
  14744. else
  14745. pTDefRegMap(@Self)^.&set := $00000008;
  14746. end;
  14747. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  14748. begin
  14749. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14750. end;
  14751. procedure TI2C1_I2C1ASTAT.setP; inline;
  14752. begin
  14753. pTDefRegMap(@Self)^.&set := $00000010;
  14754. end;
  14755. procedure TI2C1_I2C1ASTAT.clearP; inline;
  14756. begin
  14757. pTDefRegMap(@Self)^.clr := $00000010;
  14758. end;
  14759. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  14760. begin
  14761. if thebits = 0 then
  14762. pTDefRegMap(@Self)^.clr := $00000010
  14763. else
  14764. pTDefRegMap(@Self)^.&set := $00000010;
  14765. end;
  14766. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  14767. begin
  14768. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14769. end;
  14770. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  14771. begin
  14772. pTDefRegMap(@Self)^.&set := $00000020;
  14773. end;
  14774. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  14775. begin
  14776. pTDefRegMap(@Self)^.clr := $00000020;
  14777. end;
  14778. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  14779. begin
  14780. if thebits = 0 then
  14781. pTDefRegMap(@Self)^.clr := $00000020
  14782. else
  14783. pTDefRegMap(@Self)^.&set := $00000020;
  14784. end;
  14785. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  14786. begin
  14787. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14788. end;
  14789. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  14790. begin
  14791. pTDefRegMap(@Self)^.&set := $00000040;
  14792. end;
  14793. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  14794. begin
  14795. pTDefRegMap(@Self)^.clr := $00000040;
  14796. end;
  14797. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  14798. begin
  14799. if thebits = 0 then
  14800. pTDefRegMap(@Self)^.clr := $00000040
  14801. else
  14802. pTDefRegMap(@Self)^.&set := $00000040;
  14803. end;
  14804. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  14805. begin
  14806. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14807. end;
  14808. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  14809. begin
  14810. pTDefRegMap(@Self)^.&set := $00000080;
  14811. end;
  14812. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  14813. begin
  14814. pTDefRegMap(@Self)^.clr := $00000080;
  14815. end;
  14816. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  14817. begin
  14818. if thebits = 0 then
  14819. pTDefRegMap(@Self)^.clr := $00000080
  14820. else
  14821. pTDefRegMap(@Self)^.&set := $00000080;
  14822. end;
  14823. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  14824. begin
  14825. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14826. end;
  14827. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  14828. begin
  14829. pTDefRegMap(@Self)^.&set := $00000100;
  14830. end;
  14831. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  14832. begin
  14833. pTDefRegMap(@Self)^.clr := $00000100;
  14834. end;
  14835. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  14836. begin
  14837. if thebits = 0 then
  14838. pTDefRegMap(@Self)^.clr := $00000100
  14839. else
  14840. pTDefRegMap(@Self)^.&set := $00000100;
  14841. end;
  14842. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  14843. begin
  14844. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14845. end;
  14846. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  14847. begin
  14848. pTDefRegMap(@Self)^.&set := $00000200;
  14849. end;
  14850. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  14851. begin
  14852. pTDefRegMap(@Self)^.clr := $00000200;
  14853. end;
  14854. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  14855. begin
  14856. if thebits = 0 then
  14857. pTDefRegMap(@Self)^.clr := $00000200
  14858. else
  14859. pTDefRegMap(@Self)^.&set := $00000200;
  14860. end;
  14861. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  14862. begin
  14863. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14864. end;
  14865. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  14866. begin
  14867. pTDefRegMap(@Self)^.&set := $00000400;
  14868. end;
  14869. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  14870. begin
  14871. pTDefRegMap(@Self)^.clr := $00000400;
  14872. end;
  14873. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  14874. begin
  14875. if thebits = 0 then
  14876. pTDefRegMap(@Self)^.clr := $00000400
  14877. else
  14878. pTDefRegMap(@Self)^.&set := $00000400;
  14879. end;
  14880. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  14881. begin
  14882. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14883. end;
  14884. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  14885. begin
  14886. pTDefRegMap(@Self)^.&set := $00004000;
  14887. end;
  14888. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  14889. begin
  14890. pTDefRegMap(@Self)^.clr := $00004000;
  14891. end;
  14892. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  14893. begin
  14894. if thebits = 0 then
  14895. pTDefRegMap(@Self)^.clr := $00004000
  14896. else
  14897. pTDefRegMap(@Self)^.&set := $00004000;
  14898. end;
  14899. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  14900. begin
  14901. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14902. end;
  14903. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  14904. begin
  14905. pTDefRegMap(@Self)^.&set := $00008000;
  14906. end;
  14907. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  14908. begin
  14909. pTDefRegMap(@Self)^.clr := $00008000;
  14910. end;
  14911. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  14912. begin
  14913. if thebits = 0 then
  14914. pTDefRegMap(@Self)^.clr := $00008000
  14915. else
  14916. pTDefRegMap(@Self)^.&set := $00008000;
  14917. end;
  14918. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  14919. begin
  14920. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14921. end;
  14922. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  14923. begin
  14924. pTDefRegMap(@Self)^.&set := $00000040;
  14925. end;
  14926. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  14927. begin
  14928. pTDefRegMap(@Self)^.clr := $00000040;
  14929. end;
  14930. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  14931. begin
  14932. if thebits = 0 then
  14933. pTDefRegMap(@Self)^.clr := $00000040
  14934. else
  14935. pTDefRegMap(@Self)^.&set := $00000040;
  14936. end;
  14937. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  14938. begin
  14939. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14940. end;
  14941. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  14942. begin
  14943. pTDefRegMap(@Self)^.val := thebits;
  14944. end;
  14945. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  14946. begin
  14947. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14948. end;
  14949. procedure TI2C1_I2C1STAT.setTBF; inline;
  14950. begin
  14951. pTDefRegMap(@Self)^.&set := $00000001;
  14952. end;
  14953. procedure TI2C1_I2C1STAT.clearTBF; inline;
  14954. begin
  14955. pTDefRegMap(@Self)^.clr := $00000001;
  14956. end;
  14957. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  14958. begin
  14959. if thebits = 0 then
  14960. pTDefRegMap(@Self)^.clr := $00000001
  14961. else
  14962. pTDefRegMap(@Self)^.&set := $00000001;
  14963. end;
  14964. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  14965. begin
  14966. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14967. end;
  14968. procedure TI2C1_I2C1STAT.setRBF; inline;
  14969. begin
  14970. pTDefRegMap(@Self)^.&set := $00000002;
  14971. end;
  14972. procedure TI2C1_I2C1STAT.clearRBF; inline;
  14973. begin
  14974. pTDefRegMap(@Self)^.clr := $00000002;
  14975. end;
  14976. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  14977. begin
  14978. if thebits = 0 then
  14979. pTDefRegMap(@Self)^.clr := $00000002
  14980. else
  14981. pTDefRegMap(@Self)^.&set := $00000002;
  14982. end;
  14983. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  14984. begin
  14985. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14986. end;
  14987. procedure TI2C1_I2C1STAT.setR_W; inline;
  14988. begin
  14989. pTDefRegMap(@Self)^.&set := $00000004;
  14990. end;
  14991. procedure TI2C1_I2C1STAT.clearR_W; inline;
  14992. begin
  14993. pTDefRegMap(@Self)^.clr := $00000004;
  14994. end;
  14995. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  14996. begin
  14997. if thebits = 0 then
  14998. pTDefRegMap(@Self)^.clr := $00000004
  14999. else
  15000. pTDefRegMap(@Self)^.&set := $00000004;
  15001. end;
  15002. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  15003. begin
  15004. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15005. end;
  15006. procedure TI2C1_I2C1STAT.setS; inline;
  15007. begin
  15008. pTDefRegMap(@Self)^.&set := $00000008;
  15009. end;
  15010. procedure TI2C1_I2C1STAT.clearS; inline;
  15011. begin
  15012. pTDefRegMap(@Self)^.clr := $00000008;
  15013. end;
  15014. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  15015. begin
  15016. if thebits = 0 then
  15017. pTDefRegMap(@Self)^.clr := $00000008
  15018. else
  15019. pTDefRegMap(@Self)^.&set := $00000008;
  15020. end;
  15021. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  15022. begin
  15023. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15024. end;
  15025. procedure TI2C1_I2C1STAT.setP; inline;
  15026. begin
  15027. pTDefRegMap(@Self)^.&set := $00000010;
  15028. end;
  15029. procedure TI2C1_I2C1STAT.clearP; inline;
  15030. begin
  15031. pTDefRegMap(@Self)^.clr := $00000010;
  15032. end;
  15033. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  15034. begin
  15035. if thebits = 0 then
  15036. pTDefRegMap(@Self)^.clr := $00000010
  15037. else
  15038. pTDefRegMap(@Self)^.&set := $00000010;
  15039. end;
  15040. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  15041. begin
  15042. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15043. end;
  15044. procedure TI2C1_I2C1STAT.setD_A; inline;
  15045. begin
  15046. pTDefRegMap(@Self)^.&set := $00000020;
  15047. end;
  15048. procedure TI2C1_I2C1STAT.clearD_A; inline;
  15049. begin
  15050. pTDefRegMap(@Self)^.clr := $00000020;
  15051. end;
  15052. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  15053. begin
  15054. if thebits = 0 then
  15055. pTDefRegMap(@Self)^.clr := $00000020
  15056. else
  15057. pTDefRegMap(@Self)^.&set := $00000020;
  15058. end;
  15059. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  15060. begin
  15061. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15062. end;
  15063. procedure TI2C1_I2C1STAT.setI2COV; inline;
  15064. begin
  15065. pTDefRegMap(@Self)^.&set := $00000040;
  15066. end;
  15067. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  15068. begin
  15069. pTDefRegMap(@Self)^.clr := $00000040;
  15070. end;
  15071. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  15072. begin
  15073. if thebits = 0 then
  15074. pTDefRegMap(@Self)^.clr := $00000040
  15075. else
  15076. pTDefRegMap(@Self)^.&set := $00000040;
  15077. end;
  15078. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  15079. begin
  15080. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15081. end;
  15082. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  15083. begin
  15084. pTDefRegMap(@Self)^.&set := $00000080;
  15085. end;
  15086. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  15087. begin
  15088. pTDefRegMap(@Self)^.clr := $00000080;
  15089. end;
  15090. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  15091. begin
  15092. if thebits = 0 then
  15093. pTDefRegMap(@Self)^.clr := $00000080
  15094. else
  15095. pTDefRegMap(@Self)^.&set := $00000080;
  15096. end;
  15097. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  15098. begin
  15099. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15100. end;
  15101. procedure TI2C1_I2C1STAT.setADD10; inline;
  15102. begin
  15103. pTDefRegMap(@Self)^.&set := $00000100;
  15104. end;
  15105. procedure TI2C1_I2C1STAT.clearADD10; inline;
  15106. begin
  15107. pTDefRegMap(@Self)^.clr := $00000100;
  15108. end;
  15109. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  15110. begin
  15111. if thebits = 0 then
  15112. pTDefRegMap(@Self)^.clr := $00000100
  15113. else
  15114. pTDefRegMap(@Self)^.&set := $00000100;
  15115. end;
  15116. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  15117. begin
  15118. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15119. end;
  15120. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  15121. begin
  15122. pTDefRegMap(@Self)^.&set := $00000200;
  15123. end;
  15124. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  15125. begin
  15126. pTDefRegMap(@Self)^.clr := $00000200;
  15127. end;
  15128. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  15129. begin
  15130. if thebits = 0 then
  15131. pTDefRegMap(@Self)^.clr := $00000200
  15132. else
  15133. pTDefRegMap(@Self)^.&set := $00000200;
  15134. end;
  15135. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  15136. begin
  15137. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15138. end;
  15139. procedure TI2C1_I2C1STAT.setBCL; inline;
  15140. begin
  15141. pTDefRegMap(@Self)^.&set := $00000400;
  15142. end;
  15143. procedure TI2C1_I2C1STAT.clearBCL; inline;
  15144. begin
  15145. pTDefRegMap(@Self)^.clr := $00000400;
  15146. end;
  15147. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  15148. begin
  15149. if thebits = 0 then
  15150. pTDefRegMap(@Self)^.clr := $00000400
  15151. else
  15152. pTDefRegMap(@Self)^.&set := $00000400;
  15153. end;
  15154. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  15155. begin
  15156. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15157. end;
  15158. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  15159. begin
  15160. pTDefRegMap(@Self)^.&set := $00004000;
  15161. end;
  15162. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  15163. begin
  15164. pTDefRegMap(@Self)^.clr := $00004000;
  15165. end;
  15166. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  15167. begin
  15168. if thebits = 0 then
  15169. pTDefRegMap(@Self)^.clr := $00004000
  15170. else
  15171. pTDefRegMap(@Self)^.&set := $00004000;
  15172. end;
  15173. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  15174. begin
  15175. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15176. end;
  15177. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  15178. begin
  15179. pTDefRegMap(@Self)^.&set := $00008000;
  15180. end;
  15181. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  15182. begin
  15183. pTDefRegMap(@Self)^.clr := $00008000;
  15184. end;
  15185. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  15186. begin
  15187. if thebits = 0 then
  15188. pTDefRegMap(@Self)^.clr := $00008000
  15189. else
  15190. pTDefRegMap(@Self)^.&set := $00008000;
  15191. end;
  15192. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  15193. begin
  15194. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15195. end;
  15196. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  15197. begin
  15198. pTDefRegMap(@Self)^.&set := $00000040;
  15199. end;
  15200. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  15201. begin
  15202. pTDefRegMap(@Self)^.clr := $00000040;
  15203. end;
  15204. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  15205. begin
  15206. if thebits = 0 then
  15207. pTDefRegMap(@Self)^.clr := $00000040
  15208. else
  15209. pTDefRegMap(@Self)^.&set := $00000040;
  15210. end;
  15211. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  15212. begin
  15213. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15214. end;
  15215. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  15216. begin
  15217. pTDefRegMap(@Self)^.val := thebits;
  15218. end;
  15219. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  15220. begin
  15221. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15222. end;
  15223. procedure TI2C2_I2C2ACON.setSEN; inline;
  15224. begin
  15225. pTDefRegMap(@Self)^.&set := $00000001;
  15226. end;
  15227. procedure TI2C2_I2C2ACON.clearSEN; inline;
  15228. begin
  15229. pTDefRegMap(@Self)^.clr := $00000001;
  15230. end;
  15231. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  15232. begin
  15233. if thebits = 0 then
  15234. pTDefRegMap(@Self)^.clr := $00000001
  15235. else
  15236. pTDefRegMap(@Self)^.&set := $00000001;
  15237. end;
  15238. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  15239. begin
  15240. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15241. end;
  15242. procedure TI2C2_I2C2ACON.setRSEN; inline;
  15243. begin
  15244. pTDefRegMap(@Self)^.&set := $00000002;
  15245. end;
  15246. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  15247. begin
  15248. pTDefRegMap(@Self)^.clr := $00000002;
  15249. end;
  15250. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  15251. begin
  15252. if thebits = 0 then
  15253. pTDefRegMap(@Self)^.clr := $00000002
  15254. else
  15255. pTDefRegMap(@Self)^.&set := $00000002;
  15256. end;
  15257. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  15258. begin
  15259. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15260. end;
  15261. procedure TI2C2_I2C2ACON.setPEN; inline;
  15262. begin
  15263. pTDefRegMap(@Self)^.&set := $00000004;
  15264. end;
  15265. procedure TI2C2_I2C2ACON.clearPEN; inline;
  15266. begin
  15267. pTDefRegMap(@Self)^.clr := $00000004;
  15268. end;
  15269. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  15270. begin
  15271. if thebits = 0 then
  15272. pTDefRegMap(@Self)^.clr := $00000004
  15273. else
  15274. pTDefRegMap(@Self)^.&set := $00000004;
  15275. end;
  15276. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  15277. begin
  15278. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15279. end;
  15280. procedure TI2C2_I2C2ACON.setRCEN; inline;
  15281. begin
  15282. pTDefRegMap(@Self)^.&set := $00000008;
  15283. end;
  15284. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  15285. begin
  15286. pTDefRegMap(@Self)^.clr := $00000008;
  15287. end;
  15288. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  15289. begin
  15290. if thebits = 0 then
  15291. pTDefRegMap(@Self)^.clr := $00000008
  15292. else
  15293. pTDefRegMap(@Self)^.&set := $00000008;
  15294. end;
  15295. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  15296. begin
  15297. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15298. end;
  15299. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15300. begin
  15301. pTDefRegMap(@Self)^.&set := $00000010;
  15302. end;
  15303. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15304. begin
  15305. pTDefRegMap(@Self)^.clr := $00000010;
  15306. end;
  15307. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15308. begin
  15309. if thebits = 0 then
  15310. pTDefRegMap(@Self)^.clr := $00000010
  15311. else
  15312. pTDefRegMap(@Self)^.&set := $00000010;
  15313. end;
  15314. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15315. begin
  15316. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15317. end;
  15318. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15319. begin
  15320. pTDefRegMap(@Self)^.&set := $00000020;
  15321. end;
  15322. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15323. begin
  15324. pTDefRegMap(@Self)^.clr := $00000020;
  15325. end;
  15326. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15327. begin
  15328. if thebits = 0 then
  15329. pTDefRegMap(@Self)^.clr := $00000020
  15330. else
  15331. pTDefRegMap(@Self)^.&set := $00000020;
  15332. end;
  15333. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15334. begin
  15335. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15336. end;
  15337. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15338. begin
  15339. pTDefRegMap(@Self)^.&set := $00000040;
  15340. end;
  15341. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15342. begin
  15343. pTDefRegMap(@Self)^.clr := $00000040;
  15344. end;
  15345. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15346. begin
  15347. if thebits = 0 then
  15348. pTDefRegMap(@Self)^.clr := $00000040
  15349. else
  15350. pTDefRegMap(@Self)^.&set := $00000040;
  15351. end;
  15352. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15353. begin
  15354. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15355. end;
  15356. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15357. begin
  15358. pTDefRegMap(@Self)^.&set := $00000080;
  15359. end;
  15360. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15361. begin
  15362. pTDefRegMap(@Self)^.clr := $00000080;
  15363. end;
  15364. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15365. begin
  15366. if thebits = 0 then
  15367. pTDefRegMap(@Self)^.clr := $00000080
  15368. else
  15369. pTDefRegMap(@Self)^.&set := $00000080;
  15370. end;
  15371. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15372. begin
  15373. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15374. end;
  15375. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15376. begin
  15377. pTDefRegMap(@Self)^.&set := $00000100;
  15378. end;
  15379. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15380. begin
  15381. pTDefRegMap(@Self)^.clr := $00000100;
  15382. end;
  15383. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15384. begin
  15385. if thebits = 0 then
  15386. pTDefRegMap(@Self)^.clr := $00000100
  15387. else
  15388. pTDefRegMap(@Self)^.&set := $00000100;
  15389. end;
  15390. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15391. begin
  15392. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15393. end;
  15394. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15395. begin
  15396. pTDefRegMap(@Self)^.&set := $00000200;
  15397. end;
  15398. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15399. begin
  15400. pTDefRegMap(@Self)^.clr := $00000200;
  15401. end;
  15402. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15403. begin
  15404. if thebits = 0 then
  15405. pTDefRegMap(@Self)^.clr := $00000200
  15406. else
  15407. pTDefRegMap(@Self)^.&set := $00000200;
  15408. end;
  15409. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15410. begin
  15411. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15412. end;
  15413. procedure TI2C2_I2C2ACON.setA10M; inline;
  15414. begin
  15415. pTDefRegMap(@Self)^.&set := $00000400;
  15416. end;
  15417. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15418. begin
  15419. pTDefRegMap(@Self)^.clr := $00000400;
  15420. end;
  15421. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15422. begin
  15423. if thebits = 0 then
  15424. pTDefRegMap(@Self)^.clr := $00000400
  15425. else
  15426. pTDefRegMap(@Self)^.&set := $00000400;
  15427. end;
  15428. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15429. begin
  15430. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15431. end;
  15432. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15433. begin
  15434. pTDefRegMap(@Self)^.&set := $00000800;
  15435. end;
  15436. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15437. begin
  15438. pTDefRegMap(@Self)^.clr := $00000800;
  15439. end;
  15440. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15441. begin
  15442. if thebits = 0 then
  15443. pTDefRegMap(@Self)^.clr := $00000800
  15444. else
  15445. pTDefRegMap(@Self)^.&set := $00000800;
  15446. end;
  15447. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15448. begin
  15449. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15450. end;
  15451. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15452. begin
  15453. pTDefRegMap(@Self)^.&set := $00001000;
  15454. end;
  15455. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15456. begin
  15457. pTDefRegMap(@Self)^.clr := $00001000;
  15458. end;
  15459. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15460. begin
  15461. if thebits = 0 then
  15462. pTDefRegMap(@Self)^.clr := $00001000
  15463. else
  15464. pTDefRegMap(@Self)^.&set := $00001000;
  15465. end;
  15466. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15467. begin
  15468. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15469. end;
  15470. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15471. begin
  15472. pTDefRegMap(@Self)^.&set := $00002000;
  15473. end;
  15474. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15475. begin
  15476. pTDefRegMap(@Self)^.clr := $00002000;
  15477. end;
  15478. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15479. begin
  15480. if thebits = 0 then
  15481. pTDefRegMap(@Self)^.clr := $00002000
  15482. else
  15483. pTDefRegMap(@Self)^.&set := $00002000;
  15484. end;
  15485. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15486. begin
  15487. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15488. end;
  15489. procedure TI2C2_I2C2ACON.setON; inline;
  15490. begin
  15491. pTDefRegMap(@Self)^.&set := $00008000;
  15492. end;
  15493. procedure TI2C2_I2C2ACON.clearON; inline;
  15494. begin
  15495. pTDefRegMap(@Self)^.clr := $00008000;
  15496. end;
  15497. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15498. begin
  15499. if thebits = 0 then
  15500. pTDefRegMap(@Self)^.clr := $00008000
  15501. else
  15502. pTDefRegMap(@Self)^.&set := $00008000;
  15503. end;
  15504. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15505. begin
  15506. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15507. end;
  15508. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15509. begin
  15510. pTDefRegMap(@Self)^.&set := $00000800;
  15511. end;
  15512. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15513. begin
  15514. pTDefRegMap(@Self)^.clr := $00000800;
  15515. end;
  15516. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15517. begin
  15518. if thebits = 0 then
  15519. pTDefRegMap(@Self)^.clr := $00000800
  15520. else
  15521. pTDefRegMap(@Self)^.&set := $00000800;
  15522. end;
  15523. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  15524. begin
  15525. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15526. end;
  15527. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  15528. begin
  15529. pTDefRegMap(@Self)^.&set := $00002000;
  15530. end;
  15531. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  15532. begin
  15533. pTDefRegMap(@Self)^.clr := $00002000;
  15534. end;
  15535. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  15536. begin
  15537. if thebits = 0 then
  15538. pTDefRegMap(@Self)^.clr := $00002000
  15539. else
  15540. pTDefRegMap(@Self)^.&set := $00002000;
  15541. end;
  15542. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  15543. begin
  15544. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15545. end;
  15546. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  15547. begin
  15548. pTDefRegMap(@Self)^.&set := $00008000;
  15549. end;
  15550. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  15551. begin
  15552. pTDefRegMap(@Self)^.clr := $00008000;
  15553. end;
  15554. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  15555. begin
  15556. if thebits = 0 then
  15557. pTDefRegMap(@Self)^.clr := $00008000
  15558. else
  15559. pTDefRegMap(@Self)^.&set := $00008000;
  15560. end;
  15561. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  15562. begin
  15563. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15564. end;
  15565. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  15566. begin
  15567. pTDefRegMap(@Self)^.val := thebits;
  15568. end;
  15569. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  15570. begin
  15571. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15572. end;
  15573. procedure TI2C2_I2C2CON.setSEN; inline;
  15574. begin
  15575. pTDefRegMap(@Self)^.&set := $00000001;
  15576. end;
  15577. procedure TI2C2_I2C2CON.clearSEN; inline;
  15578. begin
  15579. pTDefRegMap(@Self)^.clr := $00000001;
  15580. end;
  15581. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  15582. begin
  15583. if thebits = 0 then
  15584. pTDefRegMap(@Self)^.clr := $00000001
  15585. else
  15586. pTDefRegMap(@Self)^.&set := $00000001;
  15587. end;
  15588. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  15589. begin
  15590. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15591. end;
  15592. procedure TI2C2_I2C2CON.setRSEN; inline;
  15593. begin
  15594. pTDefRegMap(@Self)^.&set := $00000002;
  15595. end;
  15596. procedure TI2C2_I2C2CON.clearRSEN; inline;
  15597. begin
  15598. pTDefRegMap(@Self)^.clr := $00000002;
  15599. end;
  15600. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  15601. begin
  15602. if thebits = 0 then
  15603. pTDefRegMap(@Self)^.clr := $00000002
  15604. else
  15605. pTDefRegMap(@Self)^.&set := $00000002;
  15606. end;
  15607. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  15608. begin
  15609. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15610. end;
  15611. procedure TI2C2_I2C2CON.setPEN; inline;
  15612. begin
  15613. pTDefRegMap(@Self)^.&set := $00000004;
  15614. end;
  15615. procedure TI2C2_I2C2CON.clearPEN; inline;
  15616. begin
  15617. pTDefRegMap(@Self)^.clr := $00000004;
  15618. end;
  15619. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  15620. begin
  15621. if thebits = 0 then
  15622. pTDefRegMap(@Self)^.clr := $00000004
  15623. else
  15624. pTDefRegMap(@Self)^.&set := $00000004;
  15625. end;
  15626. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  15627. begin
  15628. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15629. end;
  15630. procedure TI2C2_I2C2CON.setRCEN; inline;
  15631. begin
  15632. pTDefRegMap(@Self)^.&set := $00000008;
  15633. end;
  15634. procedure TI2C2_I2C2CON.clearRCEN; inline;
  15635. begin
  15636. pTDefRegMap(@Self)^.clr := $00000008;
  15637. end;
  15638. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  15639. begin
  15640. if thebits = 0 then
  15641. pTDefRegMap(@Self)^.clr := $00000008
  15642. else
  15643. pTDefRegMap(@Self)^.&set := $00000008;
  15644. end;
  15645. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  15646. begin
  15647. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15648. end;
  15649. procedure TI2C2_I2C2CON.setACKEN; inline;
  15650. begin
  15651. pTDefRegMap(@Self)^.&set := $00000010;
  15652. end;
  15653. procedure TI2C2_I2C2CON.clearACKEN; inline;
  15654. begin
  15655. pTDefRegMap(@Self)^.clr := $00000010;
  15656. end;
  15657. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  15658. begin
  15659. if thebits = 0 then
  15660. pTDefRegMap(@Self)^.clr := $00000010
  15661. else
  15662. pTDefRegMap(@Self)^.&set := $00000010;
  15663. end;
  15664. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  15665. begin
  15666. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15667. end;
  15668. procedure TI2C2_I2C2CON.setACKDT; inline;
  15669. begin
  15670. pTDefRegMap(@Self)^.&set := $00000020;
  15671. end;
  15672. procedure TI2C2_I2C2CON.clearACKDT; inline;
  15673. begin
  15674. pTDefRegMap(@Self)^.clr := $00000020;
  15675. end;
  15676. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  15677. begin
  15678. if thebits = 0 then
  15679. pTDefRegMap(@Self)^.clr := $00000020
  15680. else
  15681. pTDefRegMap(@Self)^.&set := $00000020;
  15682. end;
  15683. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  15684. begin
  15685. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15686. end;
  15687. procedure TI2C2_I2C2CON.setSTREN; inline;
  15688. begin
  15689. pTDefRegMap(@Self)^.&set := $00000040;
  15690. end;
  15691. procedure TI2C2_I2C2CON.clearSTREN; inline;
  15692. begin
  15693. pTDefRegMap(@Self)^.clr := $00000040;
  15694. end;
  15695. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  15696. begin
  15697. if thebits = 0 then
  15698. pTDefRegMap(@Self)^.clr := $00000040
  15699. else
  15700. pTDefRegMap(@Self)^.&set := $00000040;
  15701. end;
  15702. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  15703. begin
  15704. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15705. end;
  15706. procedure TI2C2_I2C2CON.setGCEN; inline;
  15707. begin
  15708. pTDefRegMap(@Self)^.&set := $00000080;
  15709. end;
  15710. procedure TI2C2_I2C2CON.clearGCEN; inline;
  15711. begin
  15712. pTDefRegMap(@Self)^.clr := $00000080;
  15713. end;
  15714. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  15715. begin
  15716. if thebits = 0 then
  15717. pTDefRegMap(@Self)^.clr := $00000080
  15718. else
  15719. pTDefRegMap(@Self)^.&set := $00000080;
  15720. end;
  15721. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  15722. begin
  15723. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15724. end;
  15725. procedure TI2C2_I2C2CON.setSMEN; inline;
  15726. begin
  15727. pTDefRegMap(@Self)^.&set := $00000100;
  15728. end;
  15729. procedure TI2C2_I2C2CON.clearSMEN; inline;
  15730. begin
  15731. pTDefRegMap(@Self)^.clr := $00000100;
  15732. end;
  15733. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  15734. begin
  15735. if thebits = 0 then
  15736. pTDefRegMap(@Self)^.clr := $00000100
  15737. else
  15738. pTDefRegMap(@Self)^.&set := $00000100;
  15739. end;
  15740. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  15741. begin
  15742. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15743. end;
  15744. procedure TI2C2_I2C2CON.setDISSLW; inline;
  15745. begin
  15746. pTDefRegMap(@Self)^.&set := $00000200;
  15747. end;
  15748. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  15749. begin
  15750. pTDefRegMap(@Self)^.clr := $00000200;
  15751. end;
  15752. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  15753. begin
  15754. if thebits = 0 then
  15755. pTDefRegMap(@Self)^.clr := $00000200
  15756. else
  15757. pTDefRegMap(@Self)^.&set := $00000200;
  15758. end;
  15759. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  15760. begin
  15761. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15762. end;
  15763. procedure TI2C2_I2C2CON.setA10M; inline;
  15764. begin
  15765. pTDefRegMap(@Self)^.&set := $00000400;
  15766. end;
  15767. procedure TI2C2_I2C2CON.clearA10M; inline;
  15768. begin
  15769. pTDefRegMap(@Self)^.clr := $00000400;
  15770. end;
  15771. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  15772. begin
  15773. if thebits = 0 then
  15774. pTDefRegMap(@Self)^.clr := $00000400
  15775. else
  15776. pTDefRegMap(@Self)^.&set := $00000400;
  15777. end;
  15778. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  15779. begin
  15780. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15781. end;
  15782. procedure TI2C2_I2C2CON.setSTRICT; inline;
  15783. begin
  15784. pTDefRegMap(@Self)^.&set := $00000800;
  15785. end;
  15786. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  15787. begin
  15788. pTDefRegMap(@Self)^.clr := $00000800;
  15789. end;
  15790. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  15791. begin
  15792. if thebits = 0 then
  15793. pTDefRegMap(@Self)^.clr := $00000800
  15794. else
  15795. pTDefRegMap(@Self)^.&set := $00000800;
  15796. end;
  15797. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  15798. begin
  15799. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15800. end;
  15801. procedure TI2C2_I2C2CON.setSCLREL; inline;
  15802. begin
  15803. pTDefRegMap(@Self)^.&set := $00001000;
  15804. end;
  15805. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  15806. begin
  15807. pTDefRegMap(@Self)^.clr := $00001000;
  15808. end;
  15809. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  15810. begin
  15811. if thebits = 0 then
  15812. pTDefRegMap(@Self)^.clr := $00001000
  15813. else
  15814. pTDefRegMap(@Self)^.&set := $00001000;
  15815. end;
  15816. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  15817. begin
  15818. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15819. end;
  15820. procedure TI2C2_I2C2CON.setSIDL; inline;
  15821. begin
  15822. pTDefRegMap(@Self)^.&set := $00002000;
  15823. end;
  15824. procedure TI2C2_I2C2CON.clearSIDL; inline;
  15825. begin
  15826. pTDefRegMap(@Self)^.clr := $00002000;
  15827. end;
  15828. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  15829. begin
  15830. if thebits = 0 then
  15831. pTDefRegMap(@Self)^.clr := $00002000
  15832. else
  15833. pTDefRegMap(@Self)^.&set := $00002000;
  15834. end;
  15835. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  15836. begin
  15837. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15838. end;
  15839. procedure TI2C2_I2C2CON.setON; inline;
  15840. begin
  15841. pTDefRegMap(@Self)^.&set := $00008000;
  15842. end;
  15843. procedure TI2C2_I2C2CON.clearON; inline;
  15844. begin
  15845. pTDefRegMap(@Self)^.clr := $00008000;
  15846. end;
  15847. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  15848. begin
  15849. if thebits = 0 then
  15850. pTDefRegMap(@Self)^.clr := $00008000
  15851. else
  15852. pTDefRegMap(@Self)^.&set := $00008000;
  15853. end;
  15854. function TI2C2_I2C2CON.getON : TBits_1; inline;
  15855. begin
  15856. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15857. end;
  15858. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  15859. begin
  15860. pTDefRegMap(@Self)^.&set := $00000800;
  15861. end;
  15862. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  15863. begin
  15864. pTDefRegMap(@Self)^.clr := $00000800;
  15865. end;
  15866. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  15867. begin
  15868. if thebits = 0 then
  15869. pTDefRegMap(@Self)^.clr := $00000800
  15870. else
  15871. pTDefRegMap(@Self)^.&set := $00000800;
  15872. end;
  15873. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  15874. begin
  15875. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15876. end;
  15877. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  15878. begin
  15879. pTDefRegMap(@Self)^.&set := $00002000;
  15880. end;
  15881. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  15882. begin
  15883. pTDefRegMap(@Self)^.clr := $00002000;
  15884. end;
  15885. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  15886. begin
  15887. if thebits = 0 then
  15888. pTDefRegMap(@Self)^.clr := $00002000
  15889. else
  15890. pTDefRegMap(@Self)^.&set := $00002000;
  15891. end;
  15892. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  15893. begin
  15894. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15895. end;
  15896. procedure TI2C2_I2C2CON.setI2CEN; inline;
  15897. begin
  15898. pTDefRegMap(@Self)^.&set := $00008000;
  15899. end;
  15900. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  15901. begin
  15902. pTDefRegMap(@Self)^.clr := $00008000;
  15903. end;
  15904. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  15905. begin
  15906. if thebits = 0 then
  15907. pTDefRegMap(@Self)^.clr := $00008000
  15908. else
  15909. pTDefRegMap(@Self)^.&set := $00008000;
  15910. end;
  15911. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  15912. begin
  15913. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15914. end;
  15915. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  15916. begin
  15917. pTDefRegMap(@Self)^.val := thebits;
  15918. end;
  15919. function TI2C2_I2C2CON.getw : TBits_32; inline;
  15920. begin
  15921. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15922. end;
  15923. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  15924. begin
  15925. pTDefRegMap(@Self)^.&set := $00000001;
  15926. end;
  15927. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  15928. begin
  15929. pTDefRegMap(@Self)^.clr := $00000001;
  15930. end;
  15931. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  15932. begin
  15933. if thebits = 0 then
  15934. pTDefRegMap(@Self)^.clr := $00000001
  15935. else
  15936. pTDefRegMap(@Self)^.&set := $00000001;
  15937. end;
  15938. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  15939. begin
  15940. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15941. end;
  15942. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  15943. begin
  15944. pTDefRegMap(@Self)^.&set := $00000002;
  15945. end;
  15946. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  15947. begin
  15948. pTDefRegMap(@Self)^.clr := $00000002;
  15949. end;
  15950. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  15951. begin
  15952. if thebits = 0 then
  15953. pTDefRegMap(@Self)^.clr := $00000002
  15954. else
  15955. pTDefRegMap(@Self)^.&set := $00000002;
  15956. end;
  15957. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  15958. begin
  15959. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15960. end;
  15961. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  15962. begin
  15963. pTDefRegMap(@Self)^.&set := $00000004;
  15964. end;
  15965. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  15966. begin
  15967. pTDefRegMap(@Self)^.clr := $00000004;
  15968. end;
  15969. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  15970. begin
  15971. if thebits = 0 then
  15972. pTDefRegMap(@Self)^.clr := $00000004
  15973. else
  15974. pTDefRegMap(@Self)^.&set := $00000004;
  15975. end;
  15976. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  15977. begin
  15978. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15979. end;
  15980. procedure TI2C2_I2C2ASTAT.setS; inline;
  15981. begin
  15982. pTDefRegMap(@Self)^.&set := $00000008;
  15983. end;
  15984. procedure TI2C2_I2C2ASTAT.clearS; inline;
  15985. begin
  15986. pTDefRegMap(@Self)^.clr := $00000008;
  15987. end;
  15988. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  15989. begin
  15990. if thebits = 0 then
  15991. pTDefRegMap(@Self)^.clr := $00000008
  15992. else
  15993. pTDefRegMap(@Self)^.&set := $00000008;
  15994. end;
  15995. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  15996. begin
  15997. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15998. end;
  15999. procedure TI2C2_I2C2ASTAT.setP; inline;
  16000. begin
  16001. pTDefRegMap(@Self)^.&set := $00000010;
  16002. end;
  16003. procedure TI2C2_I2C2ASTAT.clearP; inline;
  16004. begin
  16005. pTDefRegMap(@Self)^.clr := $00000010;
  16006. end;
  16007. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  16008. begin
  16009. if thebits = 0 then
  16010. pTDefRegMap(@Self)^.clr := $00000010
  16011. else
  16012. pTDefRegMap(@Self)^.&set := $00000010;
  16013. end;
  16014. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  16015. begin
  16016. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16017. end;
  16018. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  16019. begin
  16020. pTDefRegMap(@Self)^.&set := $00000020;
  16021. end;
  16022. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  16023. begin
  16024. pTDefRegMap(@Self)^.clr := $00000020;
  16025. end;
  16026. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  16027. begin
  16028. if thebits = 0 then
  16029. pTDefRegMap(@Self)^.clr := $00000020
  16030. else
  16031. pTDefRegMap(@Self)^.&set := $00000020;
  16032. end;
  16033. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  16034. begin
  16035. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16036. end;
  16037. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  16038. begin
  16039. pTDefRegMap(@Self)^.&set := $00000040;
  16040. end;
  16041. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  16042. begin
  16043. pTDefRegMap(@Self)^.clr := $00000040;
  16044. end;
  16045. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  16046. begin
  16047. if thebits = 0 then
  16048. pTDefRegMap(@Self)^.clr := $00000040
  16049. else
  16050. pTDefRegMap(@Self)^.&set := $00000040;
  16051. end;
  16052. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  16053. begin
  16054. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16055. end;
  16056. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  16057. begin
  16058. pTDefRegMap(@Self)^.&set := $00000080;
  16059. end;
  16060. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  16061. begin
  16062. pTDefRegMap(@Self)^.clr := $00000080;
  16063. end;
  16064. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  16065. begin
  16066. if thebits = 0 then
  16067. pTDefRegMap(@Self)^.clr := $00000080
  16068. else
  16069. pTDefRegMap(@Self)^.&set := $00000080;
  16070. end;
  16071. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  16072. begin
  16073. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16074. end;
  16075. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  16076. begin
  16077. pTDefRegMap(@Self)^.&set := $00000100;
  16078. end;
  16079. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  16080. begin
  16081. pTDefRegMap(@Self)^.clr := $00000100;
  16082. end;
  16083. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  16084. begin
  16085. if thebits = 0 then
  16086. pTDefRegMap(@Self)^.clr := $00000100
  16087. else
  16088. pTDefRegMap(@Self)^.&set := $00000100;
  16089. end;
  16090. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  16091. begin
  16092. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16093. end;
  16094. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  16095. begin
  16096. pTDefRegMap(@Self)^.&set := $00000200;
  16097. end;
  16098. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  16099. begin
  16100. pTDefRegMap(@Self)^.clr := $00000200;
  16101. end;
  16102. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  16103. begin
  16104. if thebits = 0 then
  16105. pTDefRegMap(@Self)^.clr := $00000200
  16106. else
  16107. pTDefRegMap(@Self)^.&set := $00000200;
  16108. end;
  16109. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  16110. begin
  16111. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16112. end;
  16113. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  16114. begin
  16115. pTDefRegMap(@Self)^.&set := $00000400;
  16116. end;
  16117. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  16118. begin
  16119. pTDefRegMap(@Self)^.clr := $00000400;
  16120. end;
  16121. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  16122. begin
  16123. if thebits = 0 then
  16124. pTDefRegMap(@Self)^.clr := $00000400
  16125. else
  16126. pTDefRegMap(@Self)^.&set := $00000400;
  16127. end;
  16128. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  16129. begin
  16130. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16131. end;
  16132. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  16133. begin
  16134. pTDefRegMap(@Self)^.&set := $00004000;
  16135. end;
  16136. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  16137. begin
  16138. pTDefRegMap(@Self)^.clr := $00004000;
  16139. end;
  16140. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  16141. begin
  16142. if thebits = 0 then
  16143. pTDefRegMap(@Self)^.clr := $00004000
  16144. else
  16145. pTDefRegMap(@Self)^.&set := $00004000;
  16146. end;
  16147. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  16148. begin
  16149. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16150. end;
  16151. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  16152. begin
  16153. pTDefRegMap(@Self)^.&set := $00008000;
  16154. end;
  16155. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  16156. begin
  16157. pTDefRegMap(@Self)^.clr := $00008000;
  16158. end;
  16159. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  16160. begin
  16161. if thebits = 0 then
  16162. pTDefRegMap(@Self)^.clr := $00008000
  16163. else
  16164. pTDefRegMap(@Self)^.&set := $00008000;
  16165. end;
  16166. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  16167. begin
  16168. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16169. end;
  16170. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  16171. begin
  16172. pTDefRegMap(@Self)^.&set := $00000040;
  16173. end;
  16174. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  16175. begin
  16176. pTDefRegMap(@Self)^.clr := $00000040;
  16177. end;
  16178. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  16179. begin
  16180. if thebits = 0 then
  16181. pTDefRegMap(@Self)^.clr := $00000040
  16182. else
  16183. pTDefRegMap(@Self)^.&set := $00000040;
  16184. end;
  16185. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  16186. begin
  16187. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16188. end;
  16189. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  16190. begin
  16191. pTDefRegMap(@Self)^.val := thebits;
  16192. end;
  16193. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  16194. begin
  16195. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16196. end;
  16197. procedure TI2C2_I2C2STAT.setTBF; inline;
  16198. begin
  16199. pTDefRegMap(@Self)^.&set := $00000001;
  16200. end;
  16201. procedure TI2C2_I2C2STAT.clearTBF; inline;
  16202. begin
  16203. pTDefRegMap(@Self)^.clr := $00000001;
  16204. end;
  16205. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  16206. begin
  16207. if thebits = 0 then
  16208. pTDefRegMap(@Self)^.clr := $00000001
  16209. else
  16210. pTDefRegMap(@Self)^.&set := $00000001;
  16211. end;
  16212. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  16213. begin
  16214. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16215. end;
  16216. procedure TI2C2_I2C2STAT.setRBF; inline;
  16217. begin
  16218. pTDefRegMap(@Self)^.&set := $00000002;
  16219. end;
  16220. procedure TI2C2_I2C2STAT.clearRBF; inline;
  16221. begin
  16222. pTDefRegMap(@Self)^.clr := $00000002;
  16223. end;
  16224. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  16225. begin
  16226. if thebits = 0 then
  16227. pTDefRegMap(@Self)^.clr := $00000002
  16228. else
  16229. pTDefRegMap(@Self)^.&set := $00000002;
  16230. end;
  16231. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  16232. begin
  16233. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16234. end;
  16235. procedure TI2C2_I2C2STAT.setR_W; inline;
  16236. begin
  16237. pTDefRegMap(@Self)^.&set := $00000004;
  16238. end;
  16239. procedure TI2C2_I2C2STAT.clearR_W; inline;
  16240. begin
  16241. pTDefRegMap(@Self)^.clr := $00000004;
  16242. end;
  16243. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  16244. begin
  16245. if thebits = 0 then
  16246. pTDefRegMap(@Self)^.clr := $00000004
  16247. else
  16248. pTDefRegMap(@Self)^.&set := $00000004;
  16249. end;
  16250. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  16251. begin
  16252. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16253. end;
  16254. procedure TI2C2_I2C2STAT.setS; inline;
  16255. begin
  16256. pTDefRegMap(@Self)^.&set := $00000008;
  16257. end;
  16258. procedure TI2C2_I2C2STAT.clearS; inline;
  16259. begin
  16260. pTDefRegMap(@Self)^.clr := $00000008;
  16261. end;
  16262. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  16263. begin
  16264. if thebits = 0 then
  16265. pTDefRegMap(@Self)^.clr := $00000008
  16266. else
  16267. pTDefRegMap(@Self)^.&set := $00000008;
  16268. end;
  16269. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  16270. begin
  16271. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16272. end;
  16273. procedure TI2C2_I2C2STAT.setP; inline;
  16274. begin
  16275. pTDefRegMap(@Self)^.&set := $00000010;
  16276. end;
  16277. procedure TI2C2_I2C2STAT.clearP; inline;
  16278. begin
  16279. pTDefRegMap(@Self)^.clr := $00000010;
  16280. end;
  16281. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  16282. begin
  16283. if thebits = 0 then
  16284. pTDefRegMap(@Self)^.clr := $00000010
  16285. else
  16286. pTDefRegMap(@Self)^.&set := $00000010;
  16287. end;
  16288. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  16289. begin
  16290. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16291. end;
  16292. procedure TI2C2_I2C2STAT.setD_A; inline;
  16293. begin
  16294. pTDefRegMap(@Self)^.&set := $00000020;
  16295. end;
  16296. procedure TI2C2_I2C2STAT.clearD_A; inline;
  16297. begin
  16298. pTDefRegMap(@Self)^.clr := $00000020;
  16299. end;
  16300. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16301. begin
  16302. if thebits = 0 then
  16303. pTDefRegMap(@Self)^.clr := $00000020
  16304. else
  16305. pTDefRegMap(@Self)^.&set := $00000020;
  16306. end;
  16307. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16308. begin
  16309. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16310. end;
  16311. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16312. begin
  16313. pTDefRegMap(@Self)^.&set := $00000040;
  16314. end;
  16315. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16316. begin
  16317. pTDefRegMap(@Self)^.clr := $00000040;
  16318. end;
  16319. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16320. begin
  16321. if thebits = 0 then
  16322. pTDefRegMap(@Self)^.clr := $00000040
  16323. else
  16324. pTDefRegMap(@Self)^.&set := $00000040;
  16325. end;
  16326. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16327. begin
  16328. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16329. end;
  16330. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16331. begin
  16332. pTDefRegMap(@Self)^.&set := $00000080;
  16333. end;
  16334. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16335. begin
  16336. pTDefRegMap(@Self)^.clr := $00000080;
  16337. end;
  16338. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16339. begin
  16340. if thebits = 0 then
  16341. pTDefRegMap(@Self)^.clr := $00000080
  16342. else
  16343. pTDefRegMap(@Self)^.&set := $00000080;
  16344. end;
  16345. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16346. begin
  16347. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16348. end;
  16349. procedure TI2C2_I2C2STAT.setADD10; inline;
  16350. begin
  16351. pTDefRegMap(@Self)^.&set := $00000100;
  16352. end;
  16353. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16354. begin
  16355. pTDefRegMap(@Self)^.clr := $00000100;
  16356. end;
  16357. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16358. begin
  16359. if thebits = 0 then
  16360. pTDefRegMap(@Self)^.clr := $00000100
  16361. else
  16362. pTDefRegMap(@Self)^.&set := $00000100;
  16363. end;
  16364. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16365. begin
  16366. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16367. end;
  16368. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16369. begin
  16370. pTDefRegMap(@Self)^.&set := $00000200;
  16371. end;
  16372. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16373. begin
  16374. pTDefRegMap(@Self)^.clr := $00000200;
  16375. end;
  16376. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16377. begin
  16378. if thebits = 0 then
  16379. pTDefRegMap(@Self)^.clr := $00000200
  16380. else
  16381. pTDefRegMap(@Self)^.&set := $00000200;
  16382. end;
  16383. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16384. begin
  16385. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16386. end;
  16387. procedure TI2C2_I2C2STAT.setBCL; inline;
  16388. begin
  16389. pTDefRegMap(@Self)^.&set := $00000400;
  16390. end;
  16391. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16392. begin
  16393. pTDefRegMap(@Self)^.clr := $00000400;
  16394. end;
  16395. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16396. begin
  16397. if thebits = 0 then
  16398. pTDefRegMap(@Self)^.clr := $00000400
  16399. else
  16400. pTDefRegMap(@Self)^.&set := $00000400;
  16401. end;
  16402. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16403. begin
  16404. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16405. end;
  16406. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16407. begin
  16408. pTDefRegMap(@Self)^.&set := $00004000;
  16409. end;
  16410. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16411. begin
  16412. pTDefRegMap(@Self)^.clr := $00004000;
  16413. end;
  16414. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16415. begin
  16416. if thebits = 0 then
  16417. pTDefRegMap(@Self)^.clr := $00004000
  16418. else
  16419. pTDefRegMap(@Self)^.&set := $00004000;
  16420. end;
  16421. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16422. begin
  16423. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16424. end;
  16425. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16426. begin
  16427. pTDefRegMap(@Self)^.&set := $00008000;
  16428. end;
  16429. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16430. begin
  16431. pTDefRegMap(@Self)^.clr := $00008000;
  16432. end;
  16433. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16434. begin
  16435. if thebits = 0 then
  16436. pTDefRegMap(@Self)^.clr := $00008000
  16437. else
  16438. pTDefRegMap(@Self)^.&set := $00008000;
  16439. end;
  16440. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16441. begin
  16442. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16443. end;
  16444. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16445. begin
  16446. pTDefRegMap(@Self)^.&set := $00000040;
  16447. end;
  16448. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16449. begin
  16450. pTDefRegMap(@Self)^.clr := $00000040;
  16451. end;
  16452. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16453. begin
  16454. if thebits = 0 then
  16455. pTDefRegMap(@Self)^.clr := $00000040
  16456. else
  16457. pTDefRegMap(@Self)^.&set := $00000040;
  16458. end;
  16459. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16460. begin
  16461. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16462. end;
  16463. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16464. begin
  16465. pTDefRegMap(@Self)^.val := thebits;
  16466. end;
  16467. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16468. begin
  16469. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16470. end;
  16471. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16472. begin
  16473. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16474. end;
  16475. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16476. begin
  16477. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16478. end;
  16479. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16480. begin
  16481. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16482. end;
  16483. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16484. begin
  16485. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16486. end;
  16487. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16488. begin
  16489. pTDefRegMap(@Self)^.&set := $00000010;
  16490. end;
  16491. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16492. begin
  16493. pTDefRegMap(@Self)^.clr := $00000010;
  16494. end;
  16495. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16496. begin
  16497. if thebits = 0 then
  16498. pTDefRegMap(@Self)^.clr := $00000010
  16499. else
  16500. pTDefRegMap(@Self)^.&set := $00000010;
  16501. end;
  16502. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16503. begin
  16504. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16505. end;
  16506. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16507. begin
  16508. pTDefRegMap(@Self)^.&set := $00000020;
  16509. end;
  16510. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16511. begin
  16512. pTDefRegMap(@Self)^.clr := $00000020;
  16513. end;
  16514. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16515. begin
  16516. if thebits = 0 then
  16517. pTDefRegMap(@Self)^.clr := $00000020
  16518. else
  16519. pTDefRegMap(@Self)^.&set := $00000020;
  16520. end;
  16521. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  16522. begin
  16523. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16524. end;
  16525. procedure TSPI1_SPI1CON.setCKP; inline;
  16526. begin
  16527. pTDefRegMap(@Self)^.&set := $00000040;
  16528. end;
  16529. procedure TSPI1_SPI1CON.clearCKP; inline;
  16530. begin
  16531. pTDefRegMap(@Self)^.clr := $00000040;
  16532. end;
  16533. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  16534. begin
  16535. if thebits = 0 then
  16536. pTDefRegMap(@Self)^.clr := $00000040
  16537. else
  16538. pTDefRegMap(@Self)^.&set := $00000040;
  16539. end;
  16540. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  16541. begin
  16542. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16543. end;
  16544. procedure TSPI1_SPI1CON.setSSEN; inline;
  16545. begin
  16546. pTDefRegMap(@Self)^.&set := $00000080;
  16547. end;
  16548. procedure TSPI1_SPI1CON.clearSSEN; inline;
  16549. begin
  16550. pTDefRegMap(@Self)^.clr := $00000080;
  16551. end;
  16552. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  16553. begin
  16554. if thebits = 0 then
  16555. pTDefRegMap(@Self)^.clr := $00000080
  16556. else
  16557. pTDefRegMap(@Self)^.&set := $00000080;
  16558. end;
  16559. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  16560. begin
  16561. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16562. end;
  16563. procedure TSPI1_SPI1CON.setCKE; inline;
  16564. begin
  16565. pTDefRegMap(@Self)^.&set := $00000100;
  16566. end;
  16567. procedure TSPI1_SPI1CON.clearCKE; inline;
  16568. begin
  16569. pTDefRegMap(@Self)^.clr := $00000100;
  16570. end;
  16571. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  16572. begin
  16573. if thebits = 0 then
  16574. pTDefRegMap(@Self)^.clr := $00000100
  16575. else
  16576. pTDefRegMap(@Self)^.&set := $00000100;
  16577. end;
  16578. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  16579. begin
  16580. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16581. end;
  16582. procedure TSPI1_SPI1CON.setSMP; inline;
  16583. begin
  16584. pTDefRegMap(@Self)^.&set := $00000200;
  16585. end;
  16586. procedure TSPI1_SPI1CON.clearSMP; inline;
  16587. begin
  16588. pTDefRegMap(@Self)^.clr := $00000200;
  16589. end;
  16590. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  16591. begin
  16592. if thebits = 0 then
  16593. pTDefRegMap(@Self)^.clr := $00000200
  16594. else
  16595. pTDefRegMap(@Self)^.&set := $00000200;
  16596. end;
  16597. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  16598. begin
  16599. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16600. end;
  16601. procedure TSPI1_SPI1CON.setMODE16; inline;
  16602. begin
  16603. pTDefRegMap(@Self)^.&set := $00000400;
  16604. end;
  16605. procedure TSPI1_SPI1CON.clearMODE16; inline;
  16606. begin
  16607. pTDefRegMap(@Self)^.clr := $00000400;
  16608. end;
  16609. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  16610. begin
  16611. if thebits = 0 then
  16612. pTDefRegMap(@Self)^.clr := $00000400
  16613. else
  16614. pTDefRegMap(@Self)^.&set := $00000400;
  16615. end;
  16616. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  16617. begin
  16618. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16619. end;
  16620. procedure TSPI1_SPI1CON.setMODE32; inline;
  16621. begin
  16622. pTDefRegMap(@Self)^.&set := $00000800;
  16623. end;
  16624. procedure TSPI1_SPI1CON.clearMODE32; inline;
  16625. begin
  16626. pTDefRegMap(@Self)^.clr := $00000800;
  16627. end;
  16628. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  16629. begin
  16630. if thebits = 0 then
  16631. pTDefRegMap(@Self)^.clr := $00000800
  16632. else
  16633. pTDefRegMap(@Self)^.&set := $00000800;
  16634. end;
  16635. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  16636. begin
  16637. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16638. end;
  16639. procedure TSPI1_SPI1CON.setDISSDO; inline;
  16640. begin
  16641. pTDefRegMap(@Self)^.&set := $00001000;
  16642. end;
  16643. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  16644. begin
  16645. pTDefRegMap(@Self)^.clr := $00001000;
  16646. end;
  16647. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  16648. begin
  16649. if thebits = 0 then
  16650. pTDefRegMap(@Self)^.clr := $00001000
  16651. else
  16652. pTDefRegMap(@Self)^.&set := $00001000;
  16653. end;
  16654. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  16655. begin
  16656. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16657. end;
  16658. procedure TSPI1_SPI1CON.setSIDL; inline;
  16659. begin
  16660. pTDefRegMap(@Self)^.&set := $00002000;
  16661. end;
  16662. procedure TSPI1_SPI1CON.clearSIDL; inline;
  16663. begin
  16664. pTDefRegMap(@Self)^.clr := $00002000;
  16665. end;
  16666. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  16667. begin
  16668. if thebits = 0 then
  16669. pTDefRegMap(@Self)^.clr := $00002000
  16670. else
  16671. pTDefRegMap(@Self)^.&set := $00002000;
  16672. end;
  16673. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  16674. begin
  16675. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16676. end;
  16677. procedure TSPI1_SPI1CON.setON; inline;
  16678. begin
  16679. pTDefRegMap(@Self)^.&set := $00008000;
  16680. end;
  16681. procedure TSPI1_SPI1CON.clearON; inline;
  16682. begin
  16683. pTDefRegMap(@Self)^.clr := $00008000;
  16684. end;
  16685. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  16686. begin
  16687. if thebits = 0 then
  16688. pTDefRegMap(@Self)^.clr := $00008000
  16689. else
  16690. pTDefRegMap(@Self)^.&set := $00008000;
  16691. end;
  16692. function TSPI1_SPI1CON.getON : TBits_1; inline;
  16693. begin
  16694. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16695. end;
  16696. procedure TSPI1_SPI1CON.setENHBUF; inline;
  16697. begin
  16698. pTDefRegMap(@Self)^.&set := $00010000;
  16699. end;
  16700. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  16701. begin
  16702. pTDefRegMap(@Self)^.clr := $00010000;
  16703. end;
  16704. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  16705. begin
  16706. if thebits = 0 then
  16707. pTDefRegMap(@Self)^.clr := $00010000
  16708. else
  16709. pTDefRegMap(@Self)^.&set := $00010000;
  16710. end;
  16711. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  16712. begin
  16713. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  16714. end;
  16715. procedure TSPI1_SPI1CON.setSPIFE; inline;
  16716. begin
  16717. pTDefRegMap(@Self)^.&set := $00020000;
  16718. end;
  16719. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  16720. begin
  16721. pTDefRegMap(@Self)^.clr := $00020000;
  16722. end;
  16723. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  16724. begin
  16725. if thebits = 0 then
  16726. pTDefRegMap(@Self)^.clr := $00020000
  16727. else
  16728. pTDefRegMap(@Self)^.&set := $00020000;
  16729. end;
  16730. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  16731. begin
  16732. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  16733. end;
  16734. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  16735. begin
  16736. pTDefRegMap(@Self)^.&set := $00800000;
  16737. end;
  16738. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  16739. begin
  16740. pTDefRegMap(@Self)^.clr := $00800000;
  16741. end;
  16742. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  16743. begin
  16744. if thebits = 0 then
  16745. pTDefRegMap(@Self)^.clr := $00800000
  16746. else
  16747. pTDefRegMap(@Self)^.&set := $00800000;
  16748. end;
  16749. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  16750. begin
  16751. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16752. end;
  16753. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  16754. begin
  16755. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  16756. end;
  16757. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  16758. begin
  16759. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  16760. end;
  16761. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  16762. begin
  16763. pTDefRegMap(@Self)^.&set := $08000000;
  16764. end;
  16765. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  16766. begin
  16767. pTDefRegMap(@Self)^.clr := $08000000;
  16768. end;
  16769. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  16770. begin
  16771. if thebits = 0 then
  16772. pTDefRegMap(@Self)^.clr := $08000000
  16773. else
  16774. pTDefRegMap(@Self)^.&set := $08000000;
  16775. end;
  16776. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  16777. begin
  16778. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  16779. end;
  16780. procedure TSPI1_SPI1CON.setMSSEN; inline;
  16781. begin
  16782. pTDefRegMap(@Self)^.&set := $10000000;
  16783. end;
  16784. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  16785. begin
  16786. pTDefRegMap(@Self)^.clr := $10000000;
  16787. end;
  16788. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  16789. begin
  16790. if thebits = 0 then
  16791. pTDefRegMap(@Self)^.clr := $10000000
  16792. else
  16793. pTDefRegMap(@Self)^.&set := $10000000;
  16794. end;
  16795. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  16796. begin
  16797. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  16798. end;
  16799. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  16800. begin
  16801. pTDefRegMap(@Self)^.&set := $20000000;
  16802. end;
  16803. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  16804. begin
  16805. pTDefRegMap(@Self)^.clr := $20000000;
  16806. end;
  16807. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  16808. begin
  16809. if thebits = 0 then
  16810. pTDefRegMap(@Self)^.clr := $20000000
  16811. else
  16812. pTDefRegMap(@Self)^.&set := $20000000;
  16813. end;
  16814. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  16815. begin
  16816. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  16817. end;
  16818. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  16819. begin
  16820. pTDefRegMap(@Self)^.&set := $40000000;
  16821. end;
  16822. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  16823. begin
  16824. pTDefRegMap(@Self)^.clr := $40000000;
  16825. end;
  16826. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  16827. begin
  16828. if thebits = 0 then
  16829. pTDefRegMap(@Self)^.clr := $40000000
  16830. else
  16831. pTDefRegMap(@Self)^.&set := $40000000;
  16832. end;
  16833. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  16834. begin
  16835. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  16836. end;
  16837. procedure TSPI1_SPI1CON.setFRMEN; inline;
  16838. begin
  16839. pTDefRegMap(@Self)^.&set := $80000000;
  16840. end;
  16841. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  16842. begin
  16843. pTDefRegMap(@Self)^.clr := $80000000;
  16844. end;
  16845. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  16846. begin
  16847. if thebits = 0 then
  16848. pTDefRegMap(@Self)^.clr := $80000000
  16849. else
  16850. pTDefRegMap(@Self)^.&set := $80000000;
  16851. end;
  16852. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  16853. begin
  16854. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  16855. end;
  16856. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  16857. begin
  16858. pTDefRegMap(@Self)^.val := thebits;
  16859. end;
  16860. function TSPI1_SPI1CON.getw : TBits_32; inline;
  16861. begin
  16862. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16863. end;
  16864. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  16865. begin
  16866. pTDefRegMap(@Self)^.&set := $00000001;
  16867. end;
  16868. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  16869. begin
  16870. pTDefRegMap(@Self)^.clr := $00000001;
  16871. end;
  16872. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  16873. begin
  16874. if thebits = 0 then
  16875. pTDefRegMap(@Self)^.clr := $00000001
  16876. else
  16877. pTDefRegMap(@Self)^.&set := $00000001;
  16878. end;
  16879. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  16880. begin
  16881. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16882. end;
  16883. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  16884. begin
  16885. pTDefRegMap(@Self)^.&set := $00000002;
  16886. end;
  16887. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  16888. begin
  16889. pTDefRegMap(@Self)^.clr := $00000002;
  16890. end;
  16891. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  16892. begin
  16893. if thebits = 0 then
  16894. pTDefRegMap(@Self)^.clr := $00000002
  16895. else
  16896. pTDefRegMap(@Self)^.&set := $00000002;
  16897. end;
  16898. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  16899. begin
  16900. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16901. end;
  16902. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  16903. begin
  16904. pTDefRegMap(@Self)^.&set := $00000008;
  16905. end;
  16906. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  16907. begin
  16908. pTDefRegMap(@Self)^.clr := $00000008;
  16909. end;
  16910. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  16911. begin
  16912. if thebits = 0 then
  16913. pTDefRegMap(@Self)^.clr := $00000008
  16914. else
  16915. pTDefRegMap(@Self)^.&set := $00000008;
  16916. end;
  16917. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  16918. begin
  16919. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16920. end;
  16921. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  16922. begin
  16923. pTDefRegMap(@Self)^.&set := $00000020;
  16924. end;
  16925. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  16926. begin
  16927. pTDefRegMap(@Self)^.clr := $00000020;
  16928. end;
  16929. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  16930. begin
  16931. if thebits = 0 then
  16932. pTDefRegMap(@Self)^.clr := $00000020
  16933. else
  16934. pTDefRegMap(@Self)^.&set := $00000020;
  16935. end;
  16936. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  16937. begin
  16938. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16939. end;
  16940. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  16941. begin
  16942. pTDefRegMap(@Self)^.&set := $00000040;
  16943. end;
  16944. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  16945. begin
  16946. pTDefRegMap(@Self)^.clr := $00000040;
  16947. end;
  16948. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  16949. begin
  16950. if thebits = 0 then
  16951. pTDefRegMap(@Self)^.clr := $00000040
  16952. else
  16953. pTDefRegMap(@Self)^.&set := $00000040;
  16954. end;
  16955. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  16956. begin
  16957. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16958. end;
  16959. procedure TSPI1_SPI1STAT.setSRMT; inline;
  16960. begin
  16961. pTDefRegMap(@Self)^.&set := $00000080;
  16962. end;
  16963. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  16964. begin
  16965. pTDefRegMap(@Self)^.clr := $00000080;
  16966. end;
  16967. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  16968. begin
  16969. if thebits = 0 then
  16970. pTDefRegMap(@Self)^.clr := $00000080
  16971. else
  16972. pTDefRegMap(@Self)^.&set := $00000080;
  16973. end;
  16974. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  16975. begin
  16976. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16977. end;
  16978. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  16979. begin
  16980. pTDefRegMap(@Self)^.&set := $00000100;
  16981. end;
  16982. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  16983. begin
  16984. pTDefRegMap(@Self)^.clr := $00000100;
  16985. end;
  16986. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  16987. begin
  16988. if thebits = 0 then
  16989. pTDefRegMap(@Self)^.clr := $00000100
  16990. else
  16991. pTDefRegMap(@Self)^.&set := $00000100;
  16992. end;
  16993. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  16994. begin
  16995. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16996. end;
  16997. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  16998. begin
  16999. pTDefRegMap(@Self)^.&set := $00000800;
  17000. end;
  17001. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  17002. begin
  17003. pTDefRegMap(@Self)^.clr := $00000800;
  17004. end;
  17005. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  17006. begin
  17007. if thebits = 0 then
  17008. pTDefRegMap(@Self)^.clr := $00000800
  17009. else
  17010. pTDefRegMap(@Self)^.&set := $00000800;
  17011. end;
  17012. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  17013. begin
  17014. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17015. end;
  17016. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  17017. begin
  17018. pTDefRegMap(@Self)^.&set := $00001000;
  17019. end;
  17020. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  17021. begin
  17022. pTDefRegMap(@Self)^.clr := $00001000;
  17023. end;
  17024. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  17025. begin
  17026. if thebits = 0 then
  17027. pTDefRegMap(@Self)^.clr := $00001000
  17028. else
  17029. pTDefRegMap(@Self)^.&set := $00001000;
  17030. end;
  17031. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  17032. begin
  17033. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17034. end;
  17035. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  17036. begin
  17037. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17038. end;
  17039. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  17040. begin
  17041. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17042. end;
  17043. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  17044. begin
  17045. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17046. end;
  17047. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  17048. begin
  17049. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17050. end;
  17051. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  17052. begin
  17053. pTDefRegMap(@Self)^.val := thebits;
  17054. end;
  17055. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  17056. begin
  17057. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17058. end;
  17059. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  17060. begin
  17061. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17062. end;
  17063. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  17064. begin
  17065. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17066. end;
  17067. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  17068. begin
  17069. pTDefRegMap(@Self)^.&set := $00000008;
  17070. end;
  17071. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  17072. begin
  17073. pTDefRegMap(@Self)^.clr := $00000008;
  17074. end;
  17075. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  17076. begin
  17077. if thebits = 0 then
  17078. pTDefRegMap(@Self)^.clr := $00000008
  17079. else
  17080. pTDefRegMap(@Self)^.&set := $00000008;
  17081. end;
  17082. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  17083. begin
  17084. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17085. end;
  17086. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  17087. begin
  17088. pTDefRegMap(@Self)^.&set := $00000080;
  17089. end;
  17090. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  17091. begin
  17092. pTDefRegMap(@Self)^.clr := $00000080;
  17093. end;
  17094. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  17095. begin
  17096. if thebits = 0 then
  17097. pTDefRegMap(@Self)^.clr := $00000080
  17098. else
  17099. pTDefRegMap(@Self)^.&set := $00000080;
  17100. end;
  17101. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  17102. begin
  17103. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17104. end;
  17105. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  17106. begin
  17107. pTDefRegMap(@Self)^.&set := $00000100;
  17108. end;
  17109. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  17110. begin
  17111. pTDefRegMap(@Self)^.clr := $00000100;
  17112. end;
  17113. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  17114. begin
  17115. if thebits = 0 then
  17116. pTDefRegMap(@Self)^.clr := $00000100
  17117. else
  17118. pTDefRegMap(@Self)^.&set := $00000100;
  17119. end;
  17120. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  17121. begin
  17122. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17123. end;
  17124. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  17125. begin
  17126. pTDefRegMap(@Self)^.&set := $00000200;
  17127. end;
  17128. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  17129. begin
  17130. pTDefRegMap(@Self)^.clr := $00000200;
  17131. end;
  17132. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  17133. begin
  17134. if thebits = 0 then
  17135. pTDefRegMap(@Self)^.clr := $00000200
  17136. else
  17137. pTDefRegMap(@Self)^.&set := $00000200;
  17138. end;
  17139. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  17140. begin
  17141. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17142. end;
  17143. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  17144. begin
  17145. pTDefRegMap(@Self)^.&set := $00000400;
  17146. end;
  17147. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  17148. begin
  17149. pTDefRegMap(@Self)^.clr := $00000400;
  17150. end;
  17151. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  17152. begin
  17153. if thebits = 0 then
  17154. pTDefRegMap(@Self)^.clr := $00000400
  17155. else
  17156. pTDefRegMap(@Self)^.&set := $00000400;
  17157. end;
  17158. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  17159. begin
  17160. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17161. end;
  17162. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  17163. begin
  17164. pTDefRegMap(@Self)^.&set := $00000800;
  17165. end;
  17166. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  17167. begin
  17168. pTDefRegMap(@Self)^.clr := $00000800;
  17169. end;
  17170. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  17171. begin
  17172. if thebits = 0 then
  17173. pTDefRegMap(@Self)^.clr := $00000800
  17174. else
  17175. pTDefRegMap(@Self)^.&set := $00000800;
  17176. end;
  17177. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  17178. begin
  17179. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17180. end;
  17181. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  17182. begin
  17183. pTDefRegMap(@Self)^.&set := $00001000;
  17184. end;
  17185. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  17186. begin
  17187. pTDefRegMap(@Self)^.clr := $00001000;
  17188. end;
  17189. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  17190. begin
  17191. if thebits = 0 then
  17192. pTDefRegMap(@Self)^.clr := $00001000
  17193. else
  17194. pTDefRegMap(@Self)^.&set := $00001000;
  17195. end;
  17196. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  17197. begin
  17198. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17199. end;
  17200. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  17201. begin
  17202. pTDefRegMap(@Self)^.&set := $00008000;
  17203. end;
  17204. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  17205. begin
  17206. pTDefRegMap(@Self)^.clr := $00008000;
  17207. end;
  17208. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17209. begin
  17210. if thebits = 0 then
  17211. pTDefRegMap(@Self)^.clr := $00008000
  17212. else
  17213. pTDefRegMap(@Self)^.&set := $00008000;
  17214. end;
  17215. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  17216. begin
  17217. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17218. end;
  17219. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  17220. begin
  17221. pTDefRegMap(@Self)^.&set := $00000001;
  17222. end;
  17223. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  17224. begin
  17225. pTDefRegMap(@Self)^.clr := $00000001;
  17226. end;
  17227. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  17228. begin
  17229. if thebits = 0 then
  17230. pTDefRegMap(@Self)^.clr := $00000001
  17231. else
  17232. pTDefRegMap(@Self)^.&set := $00000001;
  17233. end;
  17234. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  17235. begin
  17236. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17237. end;
  17238. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  17239. begin
  17240. pTDefRegMap(@Self)^.&set := $00000002;
  17241. end;
  17242. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  17243. begin
  17244. pTDefRegMap(@Self)^.clr := $00000002;
  17245. end;
  17246. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  17247. begin
  17248. if thebits = 0 then
  17249. pTDefRegMap(@Self)^.clr := $00000002
  17250. else
  17251. pTDefRegMap(@Self)^.&set := $00000002;
  17252. end;
  17253. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  17254. begin
  17255. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17256. end;
  17257. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  17258. begin
  17259. pTDefRegMap(@Self)^.val := thebits;
  17260. end;
  17261. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  17262. begin
  17263. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17264. end;
  17265. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  17266. begin
  17267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17268. end;
  17269. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  17270. begin
  17271. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17272. end;
  17273. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  17274. begin
  17275. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  17276. end;
  17277. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  17278. begin
  17279. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  17280. end;
  17281. procedure TSPI2_SPI2CON.setDISSDI; inline;
  17282. begin
  17283. pTDefRegMap(@Self)^.&set := $00000010;
  17284. end;
  17285. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  17286. begin
  17287. pTDefRegMap(@Self)^.clr := $00000010;
  17288. end;
  17289. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  17290. begin
  17291. if thebits = 0 then
  17292. pTDefRegMap(@Self)^.clr := $00000010
  17293. else
  17294. pTDefRegMap(@Self)^.&set := $00000010;
  17295. end;
  17296. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  17297. begin
  17298. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17299. end;
  17300. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17301. begin
  17302. pTDefRegMap(@Self)^.&set := $00000020;
  17303. end;
  17304. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17305. begin
  17306. pTDefRegMap(@Self)^.clr := $00000020;
  17307. end;
  17308. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17309. begin
  17310. if thebits = 0 then
  17311. pTDefRegMap(@Self)^.clr := $00000020
  17312. else
  17313. pTDefRegMap(@Self)^.&set := $00000020;
  17314. end;
  17315. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17316. begin
  17317. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17318. end;
  17319. procedure TSPI2_SPI2CON.setCKP; inline;
  17320. begin
  17321. pTDefRegMap(@Self)^.&set := $00000040;
  17322. end;
  17323. procedure TSPI2_SPI2CON.clearCKP; inline;
  17324. begin
  17325. pTDefRegMap(@Self)^.clr := $00000040;
  17326. end;
  17327. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17328. begin
  17329. if thebits = 0 then
  17330. pTDefRegMap(@Self)^.clr := $00000040
  17331. else
  17332. pTDefRegMap(@Self)^.&set := $00000040;
  17333. end;
  17334. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17335. begin
  17336. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17337. end;
  17338. procedure TSPI2_SPI2CON.setSSEN; inline;
  17339. begin
  17340. pTDefRegMap(@Self)^.&set := $00000080;
  17341. end;
  17342. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17343. begin
  17344. pTDefRegMap(@Self)^.clr := $00000080;
  17345. end;
  17346. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17347. begin
  17348. if thebits = 0 then
  17349. pTDefRegMap(@Self)^.clr := $00000080
  17350. else
  17351. pTDefRegMap(@Self)^.&set := $00000080;
  17352. end;
  17353. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17354. begin
  17355. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17356. end;
  17357. procedure TSPI2_SPI2CON.setCKE; inline;
  17358. begin
  17359. pTDefRegMap(@Self)^.&set := $00000100;
  17360. end;
  17361. procedure TSPI2_SPI2CON.clearCKE; inline;
  17362. begin
  17363. pTDefRegMap(@Self)^.clr := $00000100;
  17364. end;
  17365. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17366. begin
  17367. if thebits = 0 then
  17368. pTDefRegMap(@Self)^.clr := $00000100
  17369. else
  17370. pTDefRegMap(@Self)^.&set := $00000100;
  17371. end;
  17372. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17373. begin
  17374. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17375. end;
  17376. procedure TSPI2_SPI2CON.setSMP; inline;
  17377. begin
  17378. pTDefRegMap(@Self)^.&set := $00000200;
  17379. end;
  17380. procedure TSPI2_SPI2CON.clearSMP; inline;
  17381. begin
  17382. pTDefRegMap(@Self)^.clr := $00000200;
  17383. end;
  17384. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17385. begin
  17386. if thebits = 0 then
  17387. pTDefRegMap(@Self)^.clr := $00000200
  17388. else
  17389. pTDefRegMap(@Self)^.&set := $00000200;
  17390. end;
  17391. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17392. begin
  17393. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17394. end;
  17395. procedure TSPI2_SPI2CON.setMODE16; inline;
  17396. begin
  17397. pTDefRegMap(@Self)^.&set := $00000400;
  17398. end;
  17399. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17400. begin
  17401. pTDefRegMap(@Self)^.clr := $00000400;
  17402. end;
  17403. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17404. begin
  17405. if thebits = 0 then
  17406. pTDefRegMap(@Self)^.clr := $00000400
  17407. else
  17408. pTDefRegMap(@Self)^.&set := $00000400;
  17409. end;
  17410. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17411. begin
  17412. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17413. end;
  17414. procedure TSPI2_SPI2CON.setMODE32; inline;
  17415. begin
  17416. pTDefRegMap(@Self)^.&set := $00000800;
  17417. end;
  17418. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17419. begin
  17420. pTDefRegMap(@Self)^.clr := $00000800;
  17421. end;
  17422. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17423. begin
  17424. if thebits = 0 then
  17425. pTDefRegMap(@Self)^.clr := $00000800
  17426. else
  17427. pTDefRegMap(@Self)^.&set := $00000800;
  17428. end;
  17429. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17430. begin
  17431. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17432. end;
  17433. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17434. begin
  17435. pTDefRegMap(@Self)^.&set := $00001000;
  17436. end;
  17437. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17438. begin
  17439. pTDefRegMap(@Self)^.clr := $00001000;
  17440. end;
  17441. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17442. begin
  17443. if thebits = 0 then
  17444. pTDefRegMap(@Self)^.clr := $00001000
  17445. else
  17446. pTDefRegMap(@Self)^.&set := $00001000;
  17447. end;
  17448. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17449. begin
  17450. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17451. end;
  17452. procedure TSPI2_SPI2CON.setSIDL; inline;
  17453. begin
  17454. pTDefRegMap(@Self)^.&set := $00002000;
  17455. end;
  17456. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17457. begin
  17458. pTDefRegMap(@Self)^.clr := $00002000;
  17459. end;
  17460. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17461. begin
  17462. if thebits = 0 then
  17463. pTDefRegMap(@Self)^.clr := $00002000
  17464. else
  17465. pTDefRegMap(@Self)^.&set := $00002000;
  17466. end;
  17467. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17468. begin
  17469. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17470. end;
  17471. procedure TSPI2_SPI2CON.setON; inline;
  17472. begin
  17473. pTDefRegMap(@Self)^.&set := $00008000;
  17474. end;
  17475. procedure TSPI2_SPI2CON.clearON; inline;
  17476. begin
  17477. pTDefRegMap(@Self)^.clr := $00008000;
  17478. end;
  17479. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17480. begin
  17481. if thebits = 0 then
  17482. pTDefRegMap(@Self)^.clr := $00008000
  17483. else
  17484. pTDefRegMap(@Self)^.&set := $00008000;
  17485. end;
  17486. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17487. begin
  17488. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17489. end;
  17490. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17491. begin
  17492. pTDefRegMap(@Self)^.&set := $00010000;
  17493. end;
  17494. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17495. begin
  17496. pTDefRegMap(@Self)^.clr := $00010000;
  17497. end;
  17498. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17499. begin
  17500. if thebits = 0 then
  17501. pTDefRegMap(@Self)^.clr := $00010000
  17502. else
  17503. pTDefRegMap(@Self)^.&set := $00010000;
  17504. end;
  17505. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17506. begin
  17507. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17508. end;
  17509. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17510. begin
  17511. pTDefRegMap(@Self)^.&set := $00020000;
  17512. end;
  17513. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17514. begin
  17515. pTDefRegMap(@Self)^.clr := $00020000;
  17516. end;
  17517. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  17518. begin
  17519. if thebits = 0 then
  17520. pTDefRegMap(@Self)^.clr := $00020000
  17521. else
  17522. pTDefRegMap(@Self)^.&set := $00020000;
  17523. end;
  17524. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  17525. begin
  17526. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17527. end;
  17528. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  17529. begin
  17530. pTDefRegMap(@Self)^.&set := $00800000;
  17531. end;
  17532. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  17533. begin
  17534. pTDefRegMap(@Self)^.clr := $00800000;
  17535. end;
  17536. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  17537. begin
  17538. if thebits = 0 then
  17539. pTDefRegMap(@Self)^.clr := $00800000
  17540. else
  17541. pTDefRegMap(@Self)^.&set := $00800000;
  17542. end;
  17543. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  17544. begin
  17545. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17546. end;
  17547. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  17548. begin
  17549. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17550. end;
  17551. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  17552. begin
  17553. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17554. end;
  17555. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  17556. begin
  17557. pTDefRegMap(@Self)^.&set := $08000000;
  17558. end;
  17559. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  17560. begin
  17561. pTDefRegMap(@Self)^.clr := $08000000;
  17562. end;
  17563. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  17564. begin
  17565. if thebits = 0 then
  17566. pTDefRegMap(@Self)^.clr := $08000000
  17567. else
  17568. pTDefRegMap(@Self)^.&set := $08000000;
  17569. end;
  17570. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  17571. begin
  17572. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17573. end;
  17574. procedure TSPI2_SPI2CON.setMSSEN; inline;
  17575. begin
  17576. pTDefRegMap(@Self)^.&set := $10000000;
  17577. end;
  17578. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  17579. begin
  17580. pTDefRegMap(@Self)^.clr := $10000000;
  17581. end;
  17582. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  17583. begin
  17584. if thebits = 0 then
  17585. pTDefRegMap(@Self)^.clr := $10000000
  17586. else
  17587. pTDefRegMap(@Self)^.&set := $10000000;
  17588. end;
  17589. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  17590. begin
  17591. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17592. end;
  17593. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  17594. begin
  17595. pTDefRegMap(@Self)^.&set := $20000000;
  17596. end;
  17597. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  17598. begin
  17599. pTDefRegMap(@Self)^.clr := $20000000;
  17600. end;
  17601. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  17602. begin
  17603. if thebits = 0 then
  17604. pTDefRegMap(@Self)^.clr := $20000000
  17605. else
  17606. pTDefRegMap(@Self)^.&set := $20000000;
  17607. end;
  17608. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  17609. begin
  17610. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17611. end;
  17612. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  17613. begin
  17614. pTDefRegMap(@Self)^.&set := $40000000;
  17615. end;
  17616. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  17617. begin
  17618. pTDefRegMap(@Self)^.clr := $40000000;
  17619. end;
  17620. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  17621. begin
  17622. if thebits = 0 then
  17623. pTDefRegMap(@Self)^.clr := $40000000
  17624. else
  17625. pTDefRegMap(@Self)^.&set := $40000000;
  17626. end;
  17627. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  17628. begin
  17629. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17630. end;
  17631. procedure TSPI2_SPI2CON.setFRMEN; inline;
  17632. begin
  17633. pTDefRegMap(@Self)^.&set := $80000000;
  17634. end;
  17635. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  17636. begin
  17637. pTDefRegMap(@Self)^.clr := $80000000;
  17638. end;
  17639. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  17640. begin
  17641. if thebits = 0 then
  17642. pTDefRegMap(@Self)^.clr := $80000000
  17643. else
  17644. pTDefRegMap(@Self)^.&set := $80000000;
  17645. end;
  17646. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  17647. begin
  17648. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17649. end;
  17650. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  17651. begin
  17652. pTDefRegMap(@Self)^.val := thebits;
  17653. end;
  17654. function TSPI2_SPI2CON.getw : TBits_32; inline;
  17655. begin
  17656. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17657. end;
  17658. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  17659. begin
  17660. pTDefRegMap(@Self)^.&set := $00000001;
  17661. end;
  17662. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  17663. begin
  17664. pTDefRegMap(@Self)^.clr := $00000001;
  17665. end;
  17666. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  17667. begin
  17668. if thebits = 0 then
  17669. pTDefRegMap(@Self)^.clr := $00000001
  17670. else
  17671. pTDefRegMap(@Self)^.&set := $00000001;
  17672. end;
  17673. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  17674. begin
  17675. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17676. end;
  17677. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  17678. begin
  17679. pTDefRegMap(@Self)^.&set := $00000002;
  17680. end;
  17681. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  17682. begin
  17683. pTDefRegMap(@Self)^.clr := $00000002;
  17684. end;
  17685. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  17686. begin
  17687. if thebits = 0 then
  17688. pTDefRegMap(@Self)^.clr := $00000002
  17689. else
  17690. pTDefRegMap(@Self)^.&set := $00000002;
  17691. end;
  17692. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  17693. begin
  17694. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17695. end;
  17696. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  17697. begin
  17698. pTDefRegMap(@Self)^.&set := $00000008;
  17699. end;
  17700. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  17701. begin
  17702. pTDefRegMap(@Self)^.clr := $00000008;
  17703. end;
  17704. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  17705. begin
  17706. if thebits = 0 then
  17707. pTDefRegMap(@Self)^.clr := $00000008
  17708. else
  17709. pTDefRegMap(@Self)^.&set := $00000008;
  17710. end;
  17711. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  17712. begin
  17713. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17714. end;
  17715. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  17716. begin
  17717. pTDefRegMap(@Self)^.&set := $00000020;
  17718. end;
  17719. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  17720. begin
  17721. pTDefRegMap(@Self)^.clr := $00000020;
  17722. end;
  17723. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  17724. begin
  17725. if thebits = 0 then
  17726. pTDefRegMap(@Self)^.clr := $00000020
  17727. else
  17728. pTDefRegMap(@Self)^.&set := $00000020;
  17729. end;
  17730. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  17731. begin
  17732. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17733. end;
  17734. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  17735. begin
  17736. pTDefRegMap(@Self)^.&set := $00000040;
  17737. end;
  17738. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  17739. begin
  17740. pTDefRegMap(@Self)^.clr := $00000040;
  17741. end;
  17742. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  17743. begin
  17744. if thebits = 0 then
  17745. pTDefRegMap(@Self)^.clr := $00000040
  17746. else
  17747. pTDefRegMap(@Self)^.&set := $00000040;
  17748. end;
  17749. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  17750. begin
  17751. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17752. end;
  17753. procedure TSPI2_SPI2STAT.setSRMT; inline;
  17754. begin
  17755. pTDefRegMap(@Self)^.&set := $00000080;
  17756. end;
  17757. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  17758. begin
  17759. pTDefRegMap(@Self)^.clr := $00000080;
  17760. end;
  17761. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  17762. begin
  17763. if thebits = 0 then
  17764. pTDefRegMap(@Self)^.clr := $00000080
  17765. else
  17766. pTDefRegMap(@Self)^.&set := $00000080;
  17767. end;
  17768. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  17769. begin
  17770. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17771. end;
  17772. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  17773. begin
  17774. pTDefRegMap(@Self)^.&set := $00000100;
  17775. end;
  17776. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  17777. begin
  17778. pTDefRegMap(@Self)^.clr := $00000100;
  17779. end;
  17780. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  17781. begin
  17782. if thebits = 0 then
  17783. pTDefRegMap(@Self)^.clr := $00000100
  17784. else
  17785. pTDefRegMap(@Self)^.&set := $00000100;
  17786. end;
  17787. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  17788. begin
  17789. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17790. end;
  17791. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  17792. begin
  17793. pTDefRegMap(@Self)^.&set := $00000800;
  17794. end;
  17795. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  17796. begin
  17797. pTDefRegMap(@Self)^.clr := $00000800;
  17798. end;
  17799. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  17800. begin
  17801. if thebits = 0 then
  17802. pTDefRegMap(@Self)^.clr := $00000800
  17803. else
  17804. pTDefRegMap(@Self)^.&set := $00000800;
  17805. end;
  17806. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  17807. begin
  17808. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17809. end;
  17810. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  17811. begin
  17812. pTDefRegMap(@Self)^.&set := $00001000;
  17813. end;
  17814. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  17815. begin
  17816. pTDefRegMap(@Self)^.clr := $00001000;
  17817. end;
  17818. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  17819. begin
  17820. if thebits = 0 then
  17821. pTDefRegMap(@Self)^.clr := $00001000
  17822. else
  17823. pTDefRegMap(@Self)^.&set := $00001000;
  17824. end;
  17825. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  17826. begin
  17827. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17828. end;
  17829. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  17830. begin
  17831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17832. end;
  17833. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  17834. begin
  17835. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17836. end;
  17837. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  17838. begin
  17839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17840. end;
  17841. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  17842. begin
  17843. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17844. end;
  17845. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  17846. begin
  17847. pTDefRegMap(@Self)^.val := thebits;
  17848. end;
  17849. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  17850. begin
  17851. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17852. end;
  17853. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  17854. begin
  17855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17856. end;
  17857. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  17858. begin
  17859. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17860. end;
  17861. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  17862. begin
  17863. pTDefRegMap(@Self)^.&set := $00000008;
  17864. end;
  17865. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  17866. begin
  17867. pTDefRegMap(@Self)^.clr := $00000008;
  17868. end;
  17869. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  17870. begin
  17871. if thebits = 0 then
  17872. pTDefRegMap(@Self)^.clr := $00000008
  17873. else
  17874. pTDefRegMap(@Self)^.&set := $00000008;
  17875. end;
  17876. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  17877. begin
  17878. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17879. end;
  17880. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  17881. begin
  17882. pTDefRegMap(@Self)^.&set := $00000080;
  17883. end;
  17884. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  17885. begin
  17886. pTDefRegMap(@Self)^.clr := $00000080;
  17887. end;
  17888. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  17889. begin
  17890. if thebits = 0 then
  17891. pTDefRegMap(@Self)^.clr := $00000080
  17892. else
  17893. pTDefRegMap(@Self)^.&set := $00000080;
  17894. end;
  17895. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  17896. begin
  17897. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17898. end;
  17899. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  17900. begin
  17901. pTDefRegMap(@Self)^.&set := $00000100;
  17902. end;
  17903. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  17904. begin
  17905. pTDefRegMap(@Self)^.clr := $00000100;
  17906. end;
  17907. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  17908. begin
  17909. if thebits = 0 then
  17910. pTDefRegMap(@Self)^.clr := $00000100
  17911. else
  17912. pTDefRegMap(@Self)^.&set := $00000100;
  17913. end;
  17914. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  17915. begin
  17916. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17917. end;
  17918. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  17919. begin
  17920. pTDefRegMap(@Self)^.&set := $00000200;
  17921. end;
  17922. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  17923. begin
  17924. pTDefRegMap(@Self)^.clr := $00000200;
  17925. end;
  17926. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  17927. begin
  17928. if thebits = 0 then
  17929. pTDefRegMap(@Self)^.clr := $00000200
  17930. else
  17931. pTDefRegMap(@Self)^.&set := $00000200;
  17932. end;
  17933. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  17934. begin
  17935. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17936. end;
  17937. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  17938. begin
  17939. pTDefRegMap(@Self)^.&set := $00000400;
  17940. end;
  17941. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  17942. begin
  17943. pTDefRegMap(@Self)^.clr := $00000400;
  17944. end;
  17945. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  17946. begin
  17947. if thebits = 0 then
  17948. pTDefRegMap(@Self)^.clr := $00000400
  17949. else
  17950. pTDefRegMap(@Self)^.&set := $00000400;
  17951. end;
  17952. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  17953. begin
  17954. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17955. end;
  17956. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  17957. begin
  17958. pTDefRegMap(@Self)^.&set := $00000800;
  17959. end;
  17960. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  17961. begin
  17962. pTDefRegMap(@Self)^.clr := $00000800;
  17963. end;
  17964. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  17965. begin
  17966. if thebits = 0 then
  17967. pTDefRegMap(@Self)^.clr := $00000800
  17968. else
  17969. pTDefRegMap(@Self)^.&set := $00000800;
  17970. end;
  17971. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  17972. begin
  17973. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17974. end;
  17975. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  17976. begin
  17977. pTDefRegMap(@Self)^.&set := $00001000;
  17978. end;
  17979. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  17980. begin
  17981. pTDefRegMap(@Self)^.clr := $00001000;
  17982. end;
  17983. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  17984. begin
  17985. if thebits = 0 then
  17986. pTDefRegMap(@Self)^.clr := $00001000
  17987. else
  17988. pTDefRegMap(@Self)^.&set := $00001000;
  17989. end;
  17990. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  17991. begin
  17992. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17993. end;
  17994. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  17995. begin
  17996. pTDefRegMap(@Self)^.&set := $00008000;
  17997. end;
  17998. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  17999. begin
  18000. pTDefRegMap(@Self)^.clr := $00008000;
  18001. end;
  18002. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  18003. begin
  18004. if thebits = 0 then
  18005. pTDefRegMap(@Self)^.clr := $00008000
  18006. else
  18007. pTDefRegMap(@Self)^.&set := $00008000;
  18008. end;
  18009. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  18010. begin
  18011. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18012. end;
  18013. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  18014. begin
  18015. pTDefRegMap(@Self)^.&set := $00000001;
  18016. end;
  18017. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  18018. begin
  18019. pTDefRegMap(@Self)^.clr := $00000001;
  18020. end;
  18021. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  18022. begin
  18023. if thebits = 0 then
  18024. pTDefRegMap(@Self)^.clr := $00000001
  18025. else
  18026. pTDefRegMap(@Self)^.&set := $00000001;
  18027. end;
  18028. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  18029. begin
  18030. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18031. end;
  18032. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  18033. begin
  18034. pTDefRegMap(@Self)^.&set := $00000002;
  18035. end;
  18036. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  18037. begin
  18038. pTDefRegMap(@Self)^.clr := $00000002;
  18039. end;
  18040. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  18041. begin
  18042. if thebits = 0 then
  18043. pTDefRegMap(@Self)^.clr := $00000002
  18044. else
  18045. pTDefRegMap(@Self)^.&set := $00000002;
  18046. end;
  18047. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  18048. begin
  18049. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18050. end;
  18051. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  18052. begin
  18053. pTDefRegMap(@Self)^.val := thebits;
  18054. end;
  18055. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  18056. begin
  18057. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18058. end;
  18059. procedure TUART1_U1AMODE.setSTSEL; inline;
  18060. begin
  18061. pTDefRegMap(@Self)^.&set := $00000001;
  18062. end;
  18063. procedure TUART1_U1AMODE.clearSTSEL; inline;
  18064. begin
  18065. pTDefRegMap(@Self)^.clr := $00000001;
  18066. end;
  18067. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  18068. begin
  18069. if thebits = 0 then
  18070. pTDefRegMap(@Self)^.clr := $00000001
  18071. else
  18072. pTDefRegMap(@Self)^.&set := $00000001;
  18073. end;
  18074. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  18075. begin
  18076. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18077. end;
  18078. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  18079. begin
  18080. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18081. end;
  18082. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  18083. begin
  18084. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18085. end;
  18086. procedure TUART1_U1AMODE.setBRGH; inline;
  18087. begin
  18088. pTDefRegMap(@Self)^.&set := $00000008;
  18089. end;
  18090. procedure TUART1_U1AMODE.clearBRGH; inline;
  18091. begin
  18092. pTDefRegMap(@Self)^.clr := $00000008;
  18093. end;
  18094. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  18095. begin
  18096. if thebits = 0 then
  18097. pTDefRegMap(@Self)^.clr := $00000008
  18098. else
  18099. pTDefRegMap(@Self)^.&set := $00000008;
  18100. end;
  18101. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  18102. begin
  18103. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18104. end;
  18105. procedure TUART1_U1AMODE.setRXINV; inline;
  18106. begin
  18107. pTDefRegMap(@Self)^.&set := $00000010;
  18108. end;
  18109. procedure TUART1_U1AMODE.clearRXINV; inline;
  18110. begin
  18111. pTDefRegMap(@Self)^.clr := $00000010;
  18112. end;
  18113. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  18114. begin
  18115. if thebits = 0 then
  18116. pTDefRegMap(@Self)^.clr := $00000010
  18117. else
  18118. pTDefRegMap(@Self)^.&set := $00000010;
  18119. end;
  18120. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  18121. begin
  18122. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18123. end;
  18124. procedure TUART1_U1AMODE.setABAUD; inline;
  18125. begin
  18126. pTDefRegMap(@Self)^.&set := $00000020;
  18127. end;
  18128. procedure TUART1_U1AMODE.clearABAUD; inline;
  18129. begin
  18130. pTDefRegMap(@Self)^.clr := $00000020;
  18131. end;
  18132. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  18133. begin
  18134. if thebits = 0 then
  18135. pTDefRegMap(@Self)^.clr := $00000020
  18136. else
  18137. pTDefRegMap(@Self)^.&set := $00000020;
  18138. end;
  18139. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  18140. begin
  18141. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18142. end;
  18143. procedure TUART1_U1AMODE.setLPBACK; inline;
  18144. begin
  18145. pTDefRegMap(@Self)^.&set := $00000040;
  18146. end;
  18147. procedure TUART1_U1AMODE.clearLPBACK; inline;
  18148. begin
  18149. pTDefRegMap(@Self)^.clr := $00000040;
  18150. end;
  18151. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  18152. begin
  18153. if thebits = 0 then
  18154. pTDefRegMap(@Self)^.clr := $00000040
  18155. else
  18156. pTDefRegMap(@Self)^.&set := $00000040;
  18157. end;
  18158. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  18159. begin
  18160. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18161. end;
  18162. procedure TUART1_U1AMODE.setWAKE; inline;
  18163. begin
  18164. pTDefRegMap(@Self)^.&set := $00000080;
  18165. end;
  18166. procedure TUART1_U1AMODE.clearWAKE; inline;
  18167. begin
  18168. pTDefRegMap(@Self)^.clr := $00000080;
  18169. end;
  18170. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  18171. begin
  18172. if thebits = 0 then
  18173. pTDefRegMap(@Self)^.clr := $00000080
  18174. else
  18175. pTDefRegMap(@Self)^.&set := $00000080;
  18176. end;
  18177. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  18178. begin
  18179. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18180. end;
  18181. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  18182. begin
  18183. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18184. end;
  18185. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  18186. begin
  18187. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18188. end;
  18189. procedure TUART1_U1AMODE.setRTSMD; inline;
  18190. begin
  18191. pTDefRegMap(@Self)^.&set := $00000800;
  18192. end;
  18193. procedure TUART1_U1AMODE.clearRTSMD; inline;
  18194. begin
  18195. pTDefRegMap(@Self)^.clr := $00000800;
  18196. end;
  18197. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  18198. begin
  18199. if thebits = 0 then
  18200. pTDefRegMap(@Self)^.clr := $00000800
  18201. else
  18202. pTDefRegMap(@Self)^.&set := $00000800;
  18203. end;
  18204. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  18205. begin
  18206. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18207. end;
  18208. procedure TUART1_U1AMODE.setIREN; inline;
  18209. begin
  18210. pTDefRegMap(@Self)^.&set := $00001000;
  18211. end;
  18212. procedure TUART1_U1AMODE.clearIREN; inline;
  18213. begin
  18214. pTDefRegMap(@Self)^.clr := $00001000;
  18215. end;
  18216. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  18217. begin
  18218. if thebits = 0 then
  18219. pTDefRegMap(@Self)^.clr := $00001000
  18220. else
  18221. pTDefRegMap(@Self)^.&set := $00001000;
  18222. end;
  18223. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  18224. begin
  18225. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18226. end;
  18227. procedure TUART1_U1AMODE.setSIDL; inline;
  18228. begin
  18229. pTDefRegMap(@Self)^.&set := $00002000;
  18230. end;
  18231. procedure TUART1_U1AMODE.clearSIDL; inline;
  18232. begin
  18233. pTDefRegMap(@Self)^.clr := $00002000;
  18234. end;
  18235. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  18236. begin
  18237. if thebits = 0 then
  18238. pTDefRegMap(@Self)^.clr := $00002000
  18239. else
  18240. pTDefRegMap(@Self)^.&set := $00002000;
  18241. end;
  18242. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  18243. begin
  18244. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18245. end;
  18246. procedure TUART1_U1AMODE.setON; inline;
  18247. begin
  18248. pTDefRegMap(@Self)^.&set := $00008000;
  18249. end;
  18250. procedure TUART1_U1AMODE.clearON; inline;
  18251. begin
  18252. pTDefRegMap(@Self)^.clr := $00008000;
  18253. end;
  18254. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  18255. begin
  18256. if thebits = 0 then
  18257. pTDefRegMap(@Self)^.clr := $00008000
  18258. else
  18259. pTDefRegMap(@Self)^.&set := $00008000;
  18260. end;
  18261. function TUART1_U1AMODE.getON : TBits_1; inline;
  18262. begin
  18263. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18264. end;
  18265. procedure TUART1_U1AMODE.setPDSEL0; inline;
  18266. begin
  18267. pTDefRegMap(@Self)^.&set := $00000002;
  18268. end;
  18269. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.clr := $00000002;
  18272. end;
  18273. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  18274. begin
  18275. if thebits = 0 then
  18276. pTDefRegMap(@Self)^.clr := $00000002
  18277. else
  18278. pTDefRegMap(@Self)^.&set := $00000002;
  18279. end;
  18280. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  18281. begin
  18282. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18283. end;
  18284. procedure TUART1_U1AMODE.setPDSEL1; inline;
  18285. begin
  18286. pTDefRegMap(@Self)^.&set := $00000004;
  18287. end;
  18288. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.clr := $00000004;
  18291. end;
  18292. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  18293. begin
  18294. if thebits = 0 then
  18295. pTDefRegMap(@Self)^.clr := $00000004
  18296. else
  18297. pTDefRegMap(@Self)^.&set := $00000004;
  18298. end;
  18299. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18300. begin
  18301. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18302. end;
  18303. procedure TUART1_U1AMODE.setUEN0; inline;
  18304. begin
  18305. pTDefRegMap(@Self)^.&set := $00000100;
  18306. end;
  18307. procedure TUART1_U1AMODE.clearUEN0; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.clr := $00000100;
  18310. end;
  18311. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18312. begin
  18313. if thebits = 0 then
  18314. pTDefRegMap(@Self)^.clr := $00000100
  18315. else
  18316. pTDefRegMap(@Self)^.&set := $00000100;
  18317. end;
  18318. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18319. begin
  18320. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18321. end;
  18322. procedure TUART1_U1AMODE.setUEN1; inline;
  18323. begin
  18324. pTDefRegMap(@Self)^.&set := $00000200;
  18325. end;
  18326. procedure TUART1_U1AMODE.clearUEN1; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.clr := $00000200;
  18329. end;
  18330. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18331. begin
  18332. if thebits = 0 then
  18333. pTDefRegMap(@Self)^.clr := $00000200
  18334. else
  18335. pTDefRegMap(@Self)^.&set := $00000200;
  18336. end;
  18337. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18338. begin
  18339. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18340. end;
  18341. procedure TUART1_U1AMODE.setUSIDL; inline;
  18342. begin
  18343. pTDefRegMap(@Self)^.&set := $00002000;
  18344. end;
  18345. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18346. begin
  18347. pTDefRegMap(@Self)^.clr := $00002000;
  18348. end;
  18349. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18350. begin
  18351. if thebits = 0 then
  18352. pTDefRegMap(@Self)^.clr := $00002000
  18353. else
  18354. pTDefRegMap(@Self)^.&set := $00002000;
  18355. end;
  18356. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18357. begin
  18358. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18359. end;
  18360. procedure TUART1_U1AMODE.setUARTEN; inline;
  18361. begin
  18362. pTDefRegMap(@Self)^.&set := $00008000;
  18363. end;
  18364. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18365. begin
  18366. pTDefRegMap(@Self)^.clr := $00008000;
  18367. end;
  18368. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18369. begin
  18370. if thebits = 0 then
  18371. pTDefRegMap(@Self)^.clr := $00008000
  18372. else
  18373. pTDefRegMap(@Self)^.&set := $00008000;
  18374. end;
  18375. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18376. begin
  18377. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18378. end;
  18379. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18380. begin
  18381. pTDefRegMap(@Self)^.val := thebits;
  18382. end;
  18383. function TUART1_U1AMODE.getw : TBits_32; inline;
  18384. begin
  18385. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18386. end;
  18387. procedure TUART1_U1MODE.setSTSEL; inline;
  18388. begin
  18389. pTDefRegMap(@Self)^.&set := $00000001;
  18390. end;
  18391. procedure TUART1_U1MODE.clearSTSEL; inline;
  18392. begin
  18393. pTDefRegMap(@Self)^.clr := $00000001;
  18394. end;
  18395. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18396. begin
  18397. if thebits = 0 then
  18398. pTDefRegMap(@Self)^.clr := $00000001
  18399. else
  18400. pTDefRegMap(@Self)^.&set := $00000001;
  18401. end;
  18402. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18403. begin
  18404. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18405. end;
  18406. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18407. begin
  18408. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18409. end;
  18410. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18411. begin
  18412. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18413. end;
  18414. procedure TUART1_U1MODE.setBRGH; inline;
  18415. begin
  18416. pTDefRegMap(@Self)^.&set := $00000008;
  18417. end;
  18418. procedure TUART1_U1MODE.clearBRGH; inline;
  18419. begin
  18420. pTDefRegMap(@Self)^.clr := $00000008;
  18421. end;
  18422. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18423. begin
  18424. if thebits = 0 then
  18425. pTDefRegMap(@Self)^.clr := $00000008
  18426. else
  18427. pTDefRegMap(@Self)^.&set := $00000008;
  18428. end;
  18429. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18430. begin
  18431. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18432. end;
  18433. procedure TUART1_U1MODE.setRXINV; inline;
  18434. begin
  18435. pTDefRegMap(@Self)^.&set := $00000010;
  18436. end;
  18437. procedure TUART1_U1MODE.clearRXINV; inline;
  18438. begin
  18439. pTDefRegMap(@Self)^.clr := $00000010;
  18440. end;
  18441. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18442. begin
  18443. if thebits = 0 then
  18444. pTDefRegMap(@Self)^.clr := $00000010
  18445. else
  18446. pTDefRegMap(@Self)^.&set := $00000010;
  18447. end;
  18448. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18449. begin
  18450. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18451. end;
  18452. procedure TUART1_U1MODE.setABAUD; inline;
  18453. begin
  18454. pTDefRegMap(@Self)^.&set := $00000020;
  18455. end;
  18456. procedure TUART1_U1MODE.clearABAUD; inline;
  18457. begin
  18458. pTDefRegMap(@Self)^.clr := $00000020;
  18459. end;
  18460. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18461. begin
  18462. if thebits = 0 then
  18463. pTDefRegMap(@Self)^.clr := $00000020
  18464. else
  18465. pTDefRegMap(@Self)^.&set := $00000020;
  18466. end;
  18467. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18468. begin
  18469. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18470. end;
  18471. procedure TUART1_U1MODE.setLPBACK; inline;
  18472. begin
  18473. pTDefRegMap(@Self)^.&set := $00000040;
  18474. end;
  18475. procedure TUART1_U1MODE.clearLPBACK; inline;
  18476. begin
  18477. pTDefRegMap(@Self)^.clr := $00000040;
  18478. end;
  18479. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18480. begin
  18481. if thebits = 0 then
  18482. pTDefRegMap(@Self)^.clr := $00000040
  18483. else
  18484. pTDefRegMap(@Self)^.&set := $00000040;
  18485. end;
  18486. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18487. begin
  18488. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18489. end;
  18490. procedure TUART1_U1MODE.setWAKE; inline;
  18491. begin
  18492. pTDefRegMap(@Self)^.&set := $00000080;
  18493. end;
  18494. procedure TUART1_U1MODE.clearWAKE; inline;
  18495. begin
  18496. pTDefRegMap(@Self)^.clr := $00000080;
  18497. end;
  18498. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18499. begin
  18500. if thebits = 0 then
  18501. pTDefRegMap(@Self)^.clr := $00000080
  18502. else
  18503. pTDefRegMap(@Self)^.&set := $00000080;
  18504. end;
  18505. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18506. begin
  18507. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18508. end;
  18509. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18510. begin
  18511. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18512. end;
  18513. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18514. begin
  18515. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18516. end;
  18517. procedure TUART1_U1MODE.setRTSMD; inline;
  18518. begin
  18519. pTDefRegMap(@Self)^.&set := $00000800;
  18520. end;
  18521. procedure TUART1_U1MODE.clearRTSMD; inline;
  18522. begin
  18523. pTDefRegMap(@Self)^.clr := $00000800;
  18524. end;
  18525. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  18526. begin
  18527. if thebits = 0 then
  18528. pTDefRegMap(@Self)^.clr := $00000800
  18529. else
  18530. pTDefRegMap(@Self)^.&set := $00000800;
  18531. end;
  18532. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  18533. begin
  18534. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18535. end;
  18536. procedure TUART1_U1MODE.setIREN; inline;
  18537. begin
  18538. pTDefRegMap(@Self)^.&set := $00001000;
  18539. end;
  18540. procedure TUART1_U1MODE.clearIREN; inline;
  18541. begin
  18542. pTDefRegMap(@Self)^.clr := $00001000;
  18543. end;
  18544. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  18545. begin
  18546. if thebits = 0 then
  18547. pTDefRegMap(@Self)^.clr := $00001000
  18548. else
  18549. pTDefRegMap(@Self)^.&set := $00001000;
  18550. end;
  18551. function TUART1_U1MODE.getIREN : TBits_1; inline;
  18552. begin
  18553. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18554. end;
  18555. procedure TUART1_U1MODE.setSIDL; inline;
  18556. begin
  18557. pTDefRegMap(@Self)^.&set := $00002000;
  18558. end;
  18559. procedure TUART1_U1MODE.clearSIDL; inline;
  18560. begin
  18561. pTDefRegMap(@Self)^.clr := $00002000;
  18562. end;
  18563. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  18564. begin
  18565. if thebits = 0 then
  18566. pTDefRegMap(@Self)^.clr := $00002000
  18567. else
  18568. pTDefRegMap(@Self)^.&set := $00002000;
  18569. end;
  18570. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  18571. begin
  18572. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18573. end;
  18574. procedure TUART1_U1MODE.setON; inline;
  18575. begin
  18576. pTDefRegMap(@Self)^.&set := $00008000;
  18577. end;
  18578. procedure TUART1_U1MODE.clearON; inline;
  18579. begin
  18580. pTDefRegMap(@Self)^.clr := $00008000;
  18581. end;
  18582. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  18583. begin
  18584. if thebits = 0 then
  18585. pTDefRegMap(@Self)^.clr := $00008000
  18586. else
  18587. pTDefRegMap(@Self)^.&set := $00008000;
  18588. end;
  18589. function TUART1_U1MODE.getON : TBits_1; inline;
  18590. begin
  18591. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18592. end;
  18593. procedure TUART1_U1MODE.setPDSEL0; inline;
  18594. begin
  18595. pTDefRegMap(@Self)^.&set := $00000002;
  18596. end;
  18597. procedure TUART1_U1MODE.clearPDSEL0; inline;
  18598. begin
  18599. pTDefRegMap(@Self)^.clr := $00000002;
  18600. end;
  18601. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  18602. begin
  18603. if thebits = 0 then
  18604. pTDefRegMap(@Self)^.clr := $00000002
  18605. else
  18606. pTDefRegMap(@Self)^.&set := $00000002;
  18607. end;
  18608. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  18609. begin
  18610. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18611. end;
  18612. procedure TUART1_U1MODE.setPDSEL1; inline;
  18613. begin
  18614. pTDefRegMap(@Self)^.&set := $00000004;
  18615. end;
  18616. procedure TUART1_U1MODE.clearPDSEL1; inline;
  18617. begin
  18618. pTDefRegMap(@Self)^.clr := $00000004;
  18619. end;
  18620. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  18621. begin
  18622. if thebits = 0 then
  18623. pTDefRegMap(@Self)^.clr := $00000004
  18624. else
  18625. pTDefRegMap(@Self)^.&set := $00000004;
  18626. end;
  18627. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  18628. begin
  18629. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18630. end;
  18631. procedure TUART1_U1MODE.setUEN0; inline;
  18632. begin
  18633. pTDefRegMap(@Self)^.&set := $00000100;
  18634. end;
  18635. procedure TUART1_U1MODE.clearUEN0; inline;
  18636. begin
  18637. pTDefRegMap(@Self)^.clr := $00000100;
  18638. end;
  18639. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  18640. begin
  18641. if thebits = 0 then
  18642. pTDefRegMap(@Self)^.clr := $00000100
  18643. else
  18644. pTDefRegMap(@Self)^.&set := $00000100;
  18645. end;
  18646. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  18647. begin
  18648. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18649. end;
  18650. procedure TUART1_U1MODE.setUEN1; inline;
  18651. begin
  18652. pTDefRegMap(@Self)^.&set := $00000200;
  18653. end;
  18654. procedure TUART1_U1MODE.clearUEN1; inline;
  18655. begin
  18656. pTDefRegMap(@Self)^.clr := $00000200;
  18657. end;
  18658. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  18659. begin
  18660. if thebits = 0 then
  18661. pTDefRegMap(@Self)^.clr := $00000200
  18662. else
  18663. pTDefRegMap(@Self)^.&set := $00000200;
  18664. end;
  18665. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  18666. begin
  18667. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18668. end;
  18669. procedure TUART1_U1MODE.setUSIDL; inline;
  18670. begin
  18671. pTDefRegMap(@Self)^.&set := $00002000;
  18672. end;
  18673. procedure TUART1_U1MODE.clearUSIDL; inline;
  18674. begin
  18675. pTDefRegMap(@Self)^.clr := $00002000;
  18676. end;
  18677. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  18678. begin
  18679. if thebits = 0 then
  18680. pTDefRegMap(@Self)^.clr := $00002000
  18681. else
  18682. pTDefRegMap(@Self)^.&set := $00002000;
  18683. end;
  18684. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  18685. begin
  18686. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18687. end;
  18688. procedure TUART1_U1MODE.setUARTEN; inline;
  18689. begin
  18690. pTDefRegMap(@Self)^.&set := $00008000;
  18691. end;
  18692. procedure TUART1_U1MODE.clearUARTEN; inline;
  18693. begin
  18694. pTDefRegMap(@Self)^.clr := $00008000;
  18695. end;
  18696. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  18697. begin
  18698. if thebits = 0 then
  18699. pTDefRegMap(@Self)^.clr := $00008000
  18700. else
  18701. pTDefRegMap(@Self)^.&set := $00008000;
  18702. end;
  18703. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  18704. begin
  18705. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18706. end;
  18707. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  18708. begin
  18709. pTDefRegMap(@Self)^.val := thebits;
  18710. end;
  18711. function TUART1_U1MODE.getw : TBits_32; inline;
  18712. begin
  18713. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18714. end;
  18715. procedure TUART1_U1ASTA.setURXDA; inline;
  18716. begin
  18717. pTDefRegMap(@Self)^.&set := $00000001;
  18718. end;
  18719. procedure TUART1_U1ASTA.clearURXDA; inline;
  18720. begin
  18721. pTDefRegMap(@Self)^.clr := $00000001;
  18722. end;
  18723. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  18724. begin
  18725. if thebits = 0 then
  18726. pTDefRegMap(@Self)^.clr := $00000001
  18727. else
  18728. pTDefRegMap(@Self)^.&set := $00000001;
  18729. end;
  18730. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  18731. begin
  18732. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18733. end;
  18734. procedure TUART1_U1ASTA.setOERR; inline;
  18735. begin
  18736. pTDefRegMap(@Self)^.&set := $00000002;
  18737. end;
  18738. procedure TUART1_U1ASTA.clearOERR; inline;
  18739. begin
  18740. pTDefRegMap(@Self)^.clr := $00000002;
  18741. end;
  18742. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  18743. begin
  18744. if thebits = 0 then
  18745. pTDefRegMap(@Self)^.clr := $00000002
  18746. else
  18747. pTDefRegMap(@Self)^.&set := $00000002;
  18748. end;
  18749. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  18750. begin
  18751. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18752. end;
  18753. procedure TUART1_U1ASTA.setFERR; inline;
  18754. begin
  18755. pTDefRegMap(@Self)^.&set := $00000004;
  18756. end;
  18757. procedure TUART1_U1ASTA.clearFERR; inline;
  18758. begin
  18759. pTDefRegMap(@Self)^.clr := $00000004;
  18760. end;
  18761. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  18762. begin
  18763. if thebits = 0 then
  18764. pTDefRegMap(@Self)^.clr := $00000004
  18765. else
  18766. pTDefRegMap(@Self)^.&set := $00000004;
  18767. end;
  18768. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  18769. begin
  18770. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18771. end;
  18772. procedure TUART1_U1ASTA.setPERR; inline;
  18773. begin
  18774. pTDefRegMap(@Self)^.&set := $00000008;
  18775. end;
  18776. procedure TUART1_U1ASTA.clearPERR; inline;
  18777. begin
  18778. pTDefRegMap(@Self)^.clr := $00000008;
  18779. end;
  18780. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  18781. begin
  18782. if thebits = 0 then
  18783. pTDefRegMap(@Self)^.clr := $00000008
  18784. else
  18785. pTDefRegMap(@Self)^.&set := $00000008;
  18786. end;
  18787. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  18788. begin
  18789. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18790. end;
  18791. procedure TUART1_U1ASTA.setRIDLE; inline;
  18792. begin
  18793. pTDefRegMap(@Self)^.&set := $00000010;
  18794. end;
  18795. procedure TUART1_U1ASTA.clearRIDLE; inline;
  18796. begin
  18797. pTDefRegMap(@Self)^.clr := $00000010;
  18798. end;
  18799. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  18800. begin
  18801. if thebits = 0 then
  18802. pTDefRegMap(@Self)^.clr := $00000010
  18803. else
  18804. pTDefRegMap(@Self)^.&set := $00000010;
  18805. end;
  18806. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  18807. begin
  18808. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18809. end;
  18810. procedure TUART1_U1ASTA.setADDEN; inline;
  18811. begin
  18812. pTDefRegMap(@Self)^.&set := $00000020;
  18813. end;
  18814. procedure TUART1_U1ASTA.clearADDEN; inline;
  18815. begin
  18816. pTDefRegMap(@Self)^.clr := $00000020;
  18817. end;
  18818. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  18819. begin
  18820. if thebits = 0 then
  18821. pTDefRegMap(@Self)^.clr := $00000020
  18822. else
  18823. pTDefRegMap(@Self)^.&set := $00000020;
  18824. end;
  18825. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  18826. begin
  18827. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18828. end;
  18829. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  18830. begin
  18831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18832. end;
  18833. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  18834. begin
  18835. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18836. end;
  18837. procedure TUART1_U1ASTA.setTRMT; inline;
  18838. begin
  18839. pTDefRegMap(@Self)^.&set := $00000100;
  18840. end;
  18841. procedure TUART1_U1ASTA.clearTRMT; inline;
  18842. begin
  18843. pTDefRegMap(@Self)^.clr := $00000100;
  18844. end;
  18845. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  18846. begin
  18847. if thebits = 0 then
  18848. pTDefRegMap(@Self)^.clr := $00000100
  18849. else
  18850. pTDefRegMap(@Self)^.&set := $00000100;
  18851. end;
  18852. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  18853. begin
  18854. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18855. end;
  18856. procedure TUART1_U1ASTA.setUTXBF; inline;
  18857. begin
  18858. pTDefRegMap(@Self)^.&set := $00000200;
  18859. end;
  18860. procedure TUART1_U1ASTA.clearUTXBF; inline;
  18861. begin
  18862. pTDefRegMap(@Self)^.clr := $00000200;
  18863. end;
  18864. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  18865. begin
  18866. if thebits = 0 then
  18867. pTDefRegMap(@Self)^.clr := $00000200
  18868. else
  18869. pTDefRegMap(@Self)^.&set := $00000200;
  18870. end;
  18871. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  18872. begin
  18873. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18874. end;
  18875. procedure TUART1_U1ASTA.setUTXEN; inline;
  18876. begin
  18877. pTDefRegMap(@Self)^.&set := $00000400;
  18878. end;
  18879. procedure TUART1_U1ASTA.clearUTXEN; inline;
  18880. begin
  18881. pTDefRegMap(@Self)^.clr := $00000400;
  18882. end;
  18883. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  18884. begin
  18885. if thebits = 0 then
  18886. pTDefRegMap(@Self)^.clr := $00000400
  18887. else
  18888. pTDefRegMap(@Self)^.&set := $00000400;
  18889. end;
  18890. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  18891. begin
  18892. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18893. end;
  18894. procedure TUART1_U1ASTA.setUTXBRK; inline;
  18895. begin
  18896. pTDefRegMap(@Self)^.&set := $00000800;
  18897. end;
  18898. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  18899. begin
  18900. pTDefRegMap(@Self)^.clr := $00000800;
  18901. end;
  18902. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  18903. begin
  18904. if thebits = 0 then
  18905. pTDefRegMap(@Self)^.clr := $00000800
  18906. else
  18907. pTDefRegMap(@Self)^.&set := $00000800;
  18908. end;
  18909. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  18910. begin
  18911. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18912. end;
  18913. procedure TUART1_U1ASTA.setURXEN; inline;
  18914. begin
  18915. pTDefRegMap(@Self)^.&set := $00001000;
  18916. end;
  18917. procedure TUART1_U1ASTA.clearURXEN; inline;
  18918. begin
  18919. pTDefRegMap(@Self)^.clr := $00001000;
  18920. end;
  18921. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  18922. begin
  18923. if thebits = 0 then
  18924. pTDefRegMap(@Self)^.clr := $00001000
  18925. else
  18926. pTDefRegMap(@Self)^.&set := $00001000;
  18927. end;
  18928. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  18929. begin
  18930. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18931. end;
  18932. procedure TUART1_U1ASTA.setUTXINV; inline;
  18933. begin
  18934. pTDefRegMap(@Self)^.&set := $00002000;
  18935. end;
  18936. procedure TUART1_U1ASTA.clearUTXINV; inline;
  18937. begin
  18938. pTDefRegMap(@Self)^.clr := $00002000;
  18939. end;
  18940. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  18941. begin
  18942. if thebits = 0 then
  18943. pTDefRegMap(@Self)^.clr := $00002000
  18944. else
  18945. pTDefRegMap(@Self)^.&set := $00002000;
  18946. end;
  18947. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  18948. begin
  18949. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18950. end;
  18951. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  18952. begin
  18953. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18954. end;
  18955. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  18956. begin
  18957. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18958. end;
  18959. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  18960. begin
  18961. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  18962. end;
  18963. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  18964. begin
  18965. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  18966. end;
  18967. procedure TUART1_U1ASTA.setADM_EN; inline;
  18968. begin
  18969. pTDefRegMap(@Self)^.&set := $01000000;
  18970. end;
  18971. procedure TUART1_U1ASTA.clearADM_EN; inline;
  18972. begin
  18973. pTDefRegMap(@Self)^.clr := $01000000;
  18974. end;
  18975. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  18976. begin
  18977. if thebits = 0 then
  18978. pTDefRegMap(@Self)^.clr := $01000000
  18979. else
  18980. pTDefRegMap(@Self)^.&set := $01000000;
  18981. end;
  18982. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  18983. begin
  18984. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18985. end;
  18986. procedure TUART1_U1ASTA.setURXISEL0; inline;
  18987. begin
  18988. pTDefRegMap(@Self)^.&set := $00000040;
  18989. end;
  18990. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  18991. begin
  18992. pTDefRegMap(@Self)^.clr := $00000040;
  18993. end;
  18994. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  18995. begin
  18996. if thebits = 0 then
  18997. pTDefRegMap(@Self)^.clr := $00000040
  18998. else
  18999. pTDefRegMap(@Self)^.&set := $00000040;
  19000. end;
  19001. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  19002. begin
  19003. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19004. end;
  19005. procedure TUART1_U1ASTA.setURXISEL1; inline;
  19006. begin
  19007. pTDefRegMap(@Self)^.&set := $00000080;
  19008. end;
  19009. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  19010. begin
  19011. pTDefRegMap(@Self)^.clr := $00000080;
  19012. end;
  19013. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  19014. begin
  19015. if thebits = 0 then
  19016. pTDefRegMap(@Self)^.clr := $00000080
  19017. else
  19018. pTDefRegMap(@Self)^.&set := $00000080;
  19019. end;
  19020. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  19021. begin
  19022. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19023. end;
  19024. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  19025. begin
  19026. pTDefRegMap(@Self)^.&set := $00004000;
  19027. end;
  19028. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  19029. begin
  19030. pTDefRegMap(@Self)^.clr := $00004000;
  19031. end;
  19032. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  19033. begin
  19034. if thebits = 0 then
  19035. pTDefRegMap(@Self)^.clr := $00004000
  19036. else
  19037. pTDefRegMap(@Self)^.&set := $00004000;
  19038. end;
  19039. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  19040. begin
  19041. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19042. end;
  19043. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  19044. begin
  19045. pTDefRegMap(@Self)^.&set := $00008000;
  19046. end;
  19047. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  19048. begin
  19049. pTDefRegMap(@Self)^.clr := $00008000;
  19050. end;
  19051. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  19052. begin
  19053. if thebits = 0 then
  19054. pTDefRegMap(@Self)^.clr := $00008000
  19055. else
  19056. pTDefRegMap(@Self)^.&set := $00008000;
  19057. end;
  19058. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  19059. begin
  19060. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19061. end;
  19062. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  19063. begin
  19064. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19065. end;
  19066. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  19067. begin
  19068. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19069. end;
  19070. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  19071. begin
  19072. pTDefRegMap(@Self)^.val := thebits;
  19073. end;
  19074. function TUART1_U1ASTA.getw : TBits_32; inline;
  19075. begin
  19076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19077. end;
  19078. procedure TUART1_U1STA.setURXDA; inline;
  19079. begin
  19080. pTDefRegMap(@Self)^.&set := $00000001;
  19081. end;
  19082. procedure TUART1_U1STA.clearURXDA; inline;
  19083. begin
  19084. pTDefRegMap(@Self)^.clr := $00000001;
  19085. end;
  19086. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  19087. begin
  19088. if thebits = 0 then
  19089. pTDefRegMap(@Self)^.clr := $00000001
  19090. else
  19091. pTDefRegMap(@Self)^.&set := $00000001;
  19092. end;
  19093. function TUART1_U1STA.getURXDA : TBits_1; inline;
  19094. begin
  19095. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19096. end;
  19097. procedure TUART1_U1STA.setOERR; inline;
  19098. begin
  19099. pTDefRegMap(@Self)^.&set := $00000002;
  19100. end;
  19101. procedure TUART1_U1STA.clearOERR; inline;
  19102. begin
  19103. pTDefRegMap(@Self)^.clr := $00000002;
  19104. end;
  19105. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  19106. begin
  19107. if thebits = 0 then
  19108. pTDefRegMap(@Self)^.clr := $00000002
  19109. else
  19110. pTDefRegMap(@Self)^.&set := $00000002;
  19111. end;
  19112. function TUART1_U1STA.getOERR : TBits_1; inline;
  19113. begin
  19114. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19115. end;
  19116. procedure TUART1_U1STA.setFERR; inline;
  19117. begin
  19118. pTDefRegMap(@Self)^.&set := $00000004;
  19119. end;
  19120. procedure TUART1_U1STA.clearFERR; inline;
  19121. begin
  19122. pTDefRegMap(@Self)^.clr := $00000004;
  19123. end;
  19124. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  19125. begin
  19126. if thebits = 0 then
  19127. pTDefRegMap(@Self)^.clr := $00000004
  19128. else
  19129. pTDefRegMap(@Self)^.&set := $00000004;
  19130. end;
  19131. function TUART1_U1STA.getFERR : TBits_1; inline;
  19132. begin
  19133. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19134. end;
  19135. procedure TUART1_U1STA.setPERR; inline;
  19136. begin
  19137. pTDefRegMap(@Self)^.&set := $00000008;
  19138. end;
  19139. procedure TUART1_U1STA.clearPERR; inline;
  19140. begin
  19141. pTDefRegMap(@Self)^.clr := $00000008;
  19142. end;
  19143. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  19144. begin
  19145. if thebits = 0 then
  19146. pTDefRegMap(@Self)^.clr := $00000008
  19147. else
  19148. pTDefRegMap(@Self)^.&set := $00000008;
  19149. end;
  19150. function TUART1_U1STA.getPERR : TBits_1; inline;
  19151. begin
  19152. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19153. end;
  19154. procedure TUART1_U1STA.setRIDLE; inline;
  19155. begin
  19156. pTDefRegMap(@Self)^.&set := $00000010;
  19157. end;
  19158. procedure TUART1_U1STA.clearRIDLE; inline;
  19159. begin
  19160. pTDefRegMap(@Self)^.clr := $00000010;
  19161. end;
  19162. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  19163. begin
  19164. if thebits = 0 then
  19165. pTDefRegMap(@Self)^.clr := $00000010
  19166. else
  19167. pTDefRegMap(@Self)^.&set := $00000010;
  19168. end;
  19169. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  19170. begin
  19171. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19172. end;
  19173. procedure TUART1_U1STA.setADDEN; inline;
  19174. begin
  19175. pTDefRegMap(@Self)^.&set := $00000020;
  19176. end;
  19177. procedure TUART1_U1STA.clearADDEN; inline;
  19178. begin
  19179. pTDefRegMap(@Self)^.clr := $00000020;
  19180. end;
  19181. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  19182. begin
  19183. if thebits = 0 then
  19184. pTDefRegMap(@Self)^.clr := $00000020
  19185. else
  19186. pTDefRegMap(@Self)^.&set := $00000020;
  19187. end;
  19188. function TUART1_U1STA.getADDEN : TBits_1; inline;
  19189. begin
  19190. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19191. end;
  19192. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  19193. begin
  19194. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19195. end;
  19196. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  19197. begin
  19198. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19199. end;
  19200. procedure TUART1_U1STA.setTRMT; inline;
  19201. begin
  19202. pTDefRegMap(@Self)^.&set := $00000100;
  19203. end;
  19204. procedure TUART1_U1STA.clearTRMT; inline;
  19205. begin
  19206. pTDefRegMap(@Self)^.clr := $00000100;
  19207. end;
  19208. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  19209. begin
  19210. if thebits = 0 then
  19211. pTDefRegMap(@Self)^.clr := $00000100
  19212. else
  19213. pTDefRegMap(@Self)^.&set := $00000100;
  19214. end;
  19215. function TUART1_U1STA.getTRMT : TBits_1; inline;
  19216. begin
  19217. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19218. end;
  19219. procedure TUART1_U1STA.setUTXBF; inline;
  19220. begin
  19221. pTDefRegMap(@Self)^.&set := $00000200;
  19222. end;
  19223. procedure TUART1_U1STA.clearUTXBF; inline;
  19224. begin
  19225. pTDefRegMap(@Self)^.clr := $00000200;
  19226. end;
  19227. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  19228. begin
  19229. if thebits = 0 then
  19230. pTDefRegMap(@Self)^.clr := $00000200
  19231. else
  19232. pTDefRegMap(@Self)^.&set := $00000200;
  19233. end;
  19234. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  19235. begin
  19236. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19237. end;
  19238. procedure TUART1_U1STA.setUTXEN; inline;
  19239. begin
  19240. pTDefRegMap(@Self)^.&set := $00000400;
  19241. end;
  19242. procedure TUART1_U1STA.clearUTXEN; inline;
  19243. begin
  19244. pTDefRegMap(@Self)^.clr := $00000400;
  19245. end;
  19246. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  19247. begin
  19248. if thebits = 0 then
  19249. pTDefRegMap(@Self)^.clr := $00000400
  19250. else
  19251. pTDefRegMap(@Self)^.&set := $00000400;
  19252. end;
  19253. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  19254. begin
  19255. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19256. end;
  19257. procedure TUART1_U1STA.setUTXBRK; inline;
  19258. begin
  19259. pTDefRegMap(@Self)^.&set := $00000800;
  19260. end;
  19261. procedure TUART1_U1STA.clearUTXBRK; inline;
  19262. begin
  19263. pTDefRegMap(@Self)^.clr := $00000800;
  19264. end;
  19265. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  19266. begin
  19267. if thebits = 0 then
  19268. pTDefRegMap(@Self)^.clr := $00000800
  19269. else
  19270. pTDefRegMap(@Self)^.&set := $00000800;
  19271. end;
  19272. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  19273. begin
  19274. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19275. end;
  19276. procedure TUART1_U1STA.setURXEN; inline;
  19277. begin
  19278. pTDefRegMap(@Self)^.&set := $00001000;
  19279. end;
  19280. procedure TUART1_U1STA.clearURXEN; inline;
  19281. begin
  19282. pTDefRegMap(@Self)^.clr := $00001000;
  19283. end;
  19284. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  19285. begin
  19286. if thebits = 0 then
  19287. pTDefRegMap(@Self)^.clr := $00001000
  19288. else
  19289. pTDefRegMap(@Self)^.&set := $00001000;
  19290. end;
  19291. function TUART1_U1STA.getURXEN : TBits_1; inline;
  19292. begin
  19293. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19294. end;
  19295. procedure TUART1_U1STA.setUTXINV; inline;
  19296. begin
  19297. pTDefRegMap(@Self)^.&set := $00002000;
  19298. end;
  19299. procedure TUART1_U1STA.clearUTXINV; inline;
  19300. begin
  19301. pTDefRegMap(@Self)^.clr := $00002000;
  19302. end;
  19303. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19304. begin
  19305. if thebits = 0 then
  19306. pTDefRegMap(@Self)^.clr := $00002000
  19307. else
  19308. pTDefRegMap(@Self)^.&set := $00002000;
  19309. end;
  19310. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19311. begin
  19312. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19313. end;
  19314. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19315. begin
  19316. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19317. end;
  19318. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19319. begin
  19320. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19321. end;
  19322. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19323. begin
  19324. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19325. end;
  19326. function TUART1_U1STA.getADDR : TBits_8; inline;
  19327. begin
  19328. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19329. end;
  19330. procedure TUART1_U1STA.setADM_EN; inline;
  19331. begin
  19332. pTDefRegMap(@Self)^.&set := $01000000;
  19333. end;
  19334. procedure TUART1_U1STA.clearADM_EN; inline;
  19335. begin
  19336. pTDefRegMap(@Self)^.clr := $01000000;
  19337. end;
  19338. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19339. begin
  19340. if thebits = 0 then
  19341. pTDefRegMap(@Self)^.clr := $01000000
  19342. else
  19343. pTDefRegMap(@Self)^.&set := $01000000;
  19344. end;
  19345. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19346. begin
  19347. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19348. end;
  19349. procedure TUART1_U1STA.setURXISEL0; inline;
  19350. begin
  19351. pTDefRegMap(@Self)^.&set := $00000040;
  19352. end;
  19353. procedure TUART1_U1STA.clearURXISEL0; inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.clr := $00000040;
  19356. end;
  19357. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19358. begin
  19359. if thebits = 0 then
  19360. pTDefRegMap(@Self)^.clr := $00000040
  19361. else
  19362. pTDefRegMap(@Self)^.&set := $00000040;
  19363. end;
  19364. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19365. begin
  19366. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19367. end;
  19368. procedure TUART1_U1STA.setURXISEL1; inline;
  19369. begin
  19370. pTDefRegMap(@Self)^.&set := $00000080;
  19371. end;
  19372. procedure TUART1_U1STA.clearURXISEL1; inline;
  19373. begin
  19374. pTDefRegMap(@Self)^.clr := $00000080;
  19375. end;
  19376. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19377. begin
  19378. if thebits = 0 then
  19379. pTDefRegMap(@Self)^.clr := $00000080
  19380. else
  19381. pTDefRegMap(@Self)^.&set := $00000080;
  19382. end;
  19383. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19384. begin
  19385. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19386. end;
  19387. procedure TUART1_U1STA.setUTXISEL0; inline;
  19388. begin
  19389. pTDefRegMap(@Self)^.&set := $00004000;
  19390. end;
  19391. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19392. begin
  19393. pTDefRegMap(@Self)^.clr := $00004000;
  19394. end;
  19395. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19396. begin
  19397. if thebits = 0 then
  19398. pTDefRegMap(@Self)^.clr := $00004000
  19399. else
  19400. pTDefRegMap(@Self)^.&set := $00004000;
  19401. end;
  19402. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19403. begin
  19404. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19405. end;
  19406. procedure TUART1_U1STA.setUTXISEL1; inline;
  19407. begin
  19408. pTDefRegMap(@Self)^.&set := $00008000;
  19409. end;
  19410. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19411. begin
  19412. pTDefRegMap(@Self)^.clr := $00008000;
  19413. end;
  19414. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19415. begin
  19416. if thebits = 0 then
  19417. pTDefRegMap(@Self)^.clr := $00008000
  19418. else
  19419. pTDefRegMap(@Self)^.&set := $00008000;
  19420. end;
  19421. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19422. begin
  19423. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19424. end;
  19425. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19426. begin
  19427. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19428. end;
  19429. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19430. begin
  19431. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19432. end;
  19433. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19434. begin
  19435. pTDefRegMap(@Self)^.val := thebits;
  19436. end;
  19437. function TUART1_U1STA.getw : TBits_32; inline;
  19438. begin
  19439. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19440. end;
  19441. procedure TUART2_U2MODE.setSTSEL; inline;
  19442. begin
  19443. pTDefRegMap(@Self)^.&set := $00000001;
  19444. end;
  19445. procedure TUART2_U2MODE.clearSTSEL; inline;
  19446. begin
  19447. pTDefRegMap(@Self)^.clr := $00000001;
  19448. end;
  19449. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19450. begin
  19451. if thebits = 0 then
  19452. pTDefRegMap(@Self)^.clr := $00000001
  19453. else
  19454. pTDefRegMap(@Self)^.&set := $00000001;
  19455. end;
  19456. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19457. begin
  19458. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19459. end;
  19460. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19461. begin
  19462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19463. end;
  19464. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19465. begin
  19466. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19467. end;
  19468. procedure TUART2_U2MODE.setBRGH; inline;
  19469. begin
  19470. pTDefRegMap(@Self)^.&set := $00000008;
  19471. end;
  19472. procedure TUART2_U2MODE.clearBRGH; inline;
  19473. begin
  19474. pTDefRegMap(@Self)^.clr := $00000008;
  19475. end;
  19476. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19477. begin
  19478. if thebits = 0 then
  19479. pTDefRegMap(@Self)^.clr := $00000008
  19480. else
  19481. pTDefRegMap(@Self)^.&set := $00000008;
  19482. end;
  19483. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19484. begin
  19485. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19486. end;
  19487. procedure TUART2_U2MODE.setRXINV; inline;
  19488. begin
  19489. pTDefRegMap(@Self)^.&set := $00000010;
  19490. end;
  19491. procedure TUART2_U2MODE.clearRXINV; inline;
  19492. begin
  19493. pTDefRegMap(@Self)^.clr := $00000010;
  19494. end;
  19495. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19496. begin
  19497. if thebits = 0 then
  19498. pTDefRegMap(@Self)^.clr := $00000010
  19499. else
  19500. pTDefRegMap(@Self)^.&set := $00000010;
  19501. end;
  19502. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19503. begin
  19504. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19505. end;
  19506. procedure TUART2_U2MODE.setABAUD; inline;
  19507. begin
  19508. pTDefRegMap(@Self)^.&set := $00000020;
  19509. end;
  19510. procedure TUART2_U2MODE.clearABAUD; inline;
  19511. begin
  19512. pTDefRegMap(@Self)^.clr := $00000020;
  19513. end;
  19514. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19515. begin
  19516. if thebits = 0 then
  19517. pTDefRegMap(@Self)^.clr := $00000020
  19518. else
  19519. pTDefRegMap(@Self)^.&set := $00000020;
  19520. end;
  19521. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  19522. begin
  19523. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19524. end;
  19525. procedure TUART2_U2MODE.setLPBACK; inline;
  19526. begin
  19527. pTDefRegMap(@Self)^.&set := $00000040;
  19528. end;
  19529. procedure TUART2_U2MODE.clearLPBACK; inline;
  19530. begin
  19531. pTDefRegMap(@Self)^.clr := $00000040;
  19532. end;
  19533. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  19534. begin
  19535. if thebits = 0 then
  19536. pTDefRegMap(@Self)^.clr := $00000040
  19537. else
  19538. pTDefRegMap(@Self)^.&set := $00000040;
  19539. end;
  19540. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  19541. begin
  19542. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19543. end;
  19544. procedure TUART2_U2MODE.setWAKE; inline;
  19545. begin
  19546. pTDefRegMap(@Self)^.&set := $00000080;
  19547. end;
  19548. procedure TUART2_U2MODE.clearWAKE; inline;
  19549. begin
  19550. pTDefRegMap(@Self)^.clr := $00000080;
  19551. end;
  19552. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  19553. begin
  19554. if thebits = 0 then
  19555. pTDefRegMap(@Self)^.clr := $00000080
  19556. else
  19557. pTDefRegMap(@Self)^.&set := $00000080;
  19558. end;
  19559. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  19560. begin
  19561. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19562. end;
  19563. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  19564. begin
  19565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19566. end;
  19567. function TUART2_U2MODE.getUEN : TBits_2; inline;
  19568. begin
  19569. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19570. end;
  19571. procedure TUART2_U2MODE.setRTSMD; inline;
  19572. begin
  19573. pTDefRegMap(@Self)^.&set := $00000800;
  19574. end;
  19575. procedure TUART2_U2MODE.clearRTSMD; inline;
  19576. begin
  19577. pTDefRegMap(@Self)^.clr := $00000800;
  19578. end;
  19579. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  19580. begin
  19581. if thebits = 0 then
  19582. pTDefRegMap(@Self)^.clr := $00000800
  19583. else
  19584. pTDefRegMap(@Self)^.&set := $00000800;
  19585. end;
  19586. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  19587. begin
  19588. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19589. end;
  19590. procedure TUART2_U2MODE.setIREN; inline;
  19591. begin
  19592. pTDefRegMap(@Self)^.&set := $00001000;
  19593. end;
  19594. procedure TUART2_U2MODE.clearIREN; inline;
  19595. begin
  19596. pTDefRegMap(@Self)^.clr := $00001000;
  19597. end;
  19598. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  19599. begin
  19600. if thebits = 0 then
  19601. pTDefRegMap(@Self)^.clr := $00001000
  19602. else
  19603. pTDefRegMap(@Self)^.&set := $00001000;
  19604. end;
  19605. function TUART2_U2MODE.getIREN : TBits_1; inline;
  19606. begin
  19607. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19608. end;
  19609. procedure TUART2_U2MODE.setSIDL; inline;
  19610. begin
  19611. pTDefRegMap(@Self)^.&set := $00002000;
  19612. end;
  19613. procedure TUART2_U2MODE.clearSIDL; inline;
  19614. begin
  19615. pTDefRegMap(@Self)^.clr := $00002000;
  19616. end;
  19617. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  19618. begin
  19619. if thebits = 0 then
  19620. pTDefRegMap(@Self)^.clr := $00002000
  19621. else
  19622. pTDefRegMap(@Self)^.&set := $00002000;
  19623. end;
  19624. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  19625. begin
  19626. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19627. end;
  19628. procedure TUART2_U2MODE.setON; inline;
  19629. begin
  19630. pTDefRegMap(@Self)^.&set := $00008000;
  19631. end;
  19632. procedure TUART2_U2MODE.clearON; inline;
  19633. begin
  19634. pTDefRegMap(@Self)^.clr := $00008000;
  19635. end;
  19636. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  19637. begin
  19638. if thebits = 0 then
  19639. pTDefRegMap(@Self)^.clr := $00008000
  19640. else
  19641. pTDefRegMap(@Self)^.&set := $00008000;
  19642. end;
  19643. function TUART2_U2MODE.getON : TBits_1; inline;
  19644. begin
  19645. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19646. end;
  19647. procedure TUART2_U2MODE.setPDSEL0; inline;
  19648. begin
  19649. pTDefRegMap(@Self)^.&set := $00000002;
  19650. end;
  19651. procedure TUART2_U2MODE.clearPDSEL0; inline;
  19652. begin
  19653. pTDefRegMap(@Self)^.clr := $00000002;
  19654. end;
  19655. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  19656. begin
  19657. if thebits = 0 then
  19658. pTDefRegMap(@Self)^.clr := $00000002
  19659. else
  19660. pTDefRegMap(@Self)^.&set := $00000002;
  19661. end;
  19662. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  19663. begin
  19664. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19665. end;
  19666. procedure TUART2_U2MODE.setPDSEL1; inline;
  19667. begin
  19668. pTDefRegMap(@Self)^.&set := $00000004;
  19669. end;
  19670. procedure TUART2_U2MODE.clearPDSEL1; inline;
  19671. begin
  19672. pTDefRegMap(@Self)^.clr := $00000004;
  19673. end;
  19674. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  19675. begin
  19676. if thebits = 0 then
  19677. pTDefRegMap(@Self)^.clr := $00000004
  19678. else
  19679. pTDefRegMap(@Self)^.&set := $00000004;
  19680. end;
  19681. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  19682. begin
  19683. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19684. end;
  19685. procedure TUART2_U2MODE.setUEN0; inline;
  19686. begin
  19687. pTDefRegMap(@Self)^.&set := $00000100;
  19688. end;
  19689. procedure TUART2_U2MODE.clearUEN0; inline;
  19690. begin
  19691. pTDefRegMap(@Self)^.clr := $00000100;
  19692. end;
  19693. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  19694. begin
  19695. if thebits = 0 then
  19696. pTDefRegMap(@Self)^.clr := $00000100
  19697. else
  19698. pTDefRegMap(@Self)^.&set := $00000100;
  19699. end;
  19700. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  19701. begin
  19702. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19703. end;
  19704. procedure TUART2_U2MODE.setUEN1; inline;
  19705. begin
  19706. pTDefRegMap(@Self)^.&set := $00000200;
  19707. end;
  19708. procedure TUART2_U2MODE.clearUEN1; inline;
  19709. begin
  19710. pTDefRegMap(@Self)^.clr := $00000200;
  19711. end;
  19712. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  19713. begin
  19714. if thebits = 0 then
  19715. pTDefRegMap(@Self)^.clr := $00000200
  19716. else
  19717. pTDefRegMap(@Self)^.&set := $00000200;
  19718. end;
  19719. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  19720. begin
  19721. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19722. end;
  19723. procedure TUART2_U2MODE.setUSIDL; inline;
  19724. begin
  19725. pTDefRegMap(@Self)^.&set := $00002000;
  19726. end;
  19727. procedure TUART2_U2MODE.clearUSIDL; inline;
  19728. begin
  19729. pTDefRegMap(@Self)^.clr := $00002000;
  19730. end;
  19731. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  19732. begin
  19733. if thebits = 0 then
  19734. pTDefRegMap(@Self)^.clr := $00002000
  19735. else
  19736. pTDefRegMap(@Self)^.&set := $00002000;
  19737. end;
  19738. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  19739. begin
  19740. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19741. end;
  19742. procedure TUART2_U2MODE.setUARTEN; inline;
  19743. begin
  19744. pTDefRegMap(@Self)^.&set := $00008000;
  19745. end;
  19746. procedure TUART2_U2MODE.clearUARTEN; inline;
  19747. begin
  19748. pTDefRegMap(@Self)^.clr := $00008000;
  19749. end;
  19750. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  19751. begin
  19752. if thebits = 0 then
  19753. pTDefRegMap(@Self)^.clr := $00008000
  19754. else
  19755. pTDefRegMap(@Self)^.&set := $00008000;
  19756. end;
  19757. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  19758. begin
  19759. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19760. end;
  19761. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  19762. begin
  19763. pTDefRegMap(@Self)^.val := thebits;
  19764. end;
  19765. function TUART2_U2MODE.getw : TBits_32; inline;
  19766. begin
  19767. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19768. end;
  19769. procedure TUART2_U3AMODE.setSTSEL; inline;
  19770. begin
  19771. pTDefRegMap(@Self)^.&set := $00000001;
  19772. end;
  19773. procedure TUART2_U3AMODE.clearSTSEL; inline;
  19774. begin
  19775. pTDefRegMap(@Self)^.clr := $00000001;
  19776. end;
  19777. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  19778. begin
  19779. if thebits = 0 then
  19780. pTDefRegMap(@Self)^.clr := $00000001
  19781. else
  19782. pTDefRegMap(@Self)^.&set := $00000001;
  19783. end;
  19784. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  19785. begin
  19786. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19787. end;
  19788. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  19789. begin
  19790. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19791. end;
  19792. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  19793. begin
  19794. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19795. end;
  19796. procedure TUART2_U3AMODE.setBRGH; inline;
  19797. begin
  19798. pTDefRegMap(@Self)^.&set := $00000008;
  19799. end;
  19800. procedure TUART2_U3AMODE.clearBRGH; inline;
  19801. begin
  19802. pTDefRegMap(@Self)^.clr := $00000008;
  19803. end;
  19804. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  19805. begin
  19806. if thebits = 0 then
  19807. pTDefRegMap(@Self)^.clr := $00000008
  19808. else
  19809. pTDefRegMap(@Self)^.&set := $00000008;
  19810. end;
  19811. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  19812. begin
  19813. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19814. end;
  19815. procedure TUART2_U3AMODE.setRXINV; inline;
  19816. begin
  19817. pTDefRegMap(@Self)^.&set := $00000010;
  19818. end;
  19819. procedure TUART2_U3AMODE.clearRXINV; inline;
  19820. begin
  19821. pTDefRegMap(@Self)^.clr := $00000010;
  19822. end;
  19823. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  19824. begin
  19825. if thebits = 0 then
  19826. pTDefRegMap(@Self)^.clr := $00000010
  19827. else
  19828. pTDefRegMap(@Self)^.&set := $00000010;
  19829. end;
  19830. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  19831. begin
  19832. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19833. end;
  19834. procedure TUART2_U3AMODE.setABAUD; inline;
  19835. begin
  19836. pTDefRegMap(@Self)^.&set := $00000020;
  19837. end;
  19838. procedure TUART2_U3AMODE.clearABAUD; inline;
  19839. begin
  19840. pTDefRegMap(@Self)^.clr := $00000020;
  19841. end;
  19842. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  19843. begin
  19844. if thebits = 0 then
  19845. pTDefRegMap(@Self)^.clr := $00000020
  19846. else
  19847. pTDefRegMap(@Self)^.&set := $00000020;
  19848. end;
  19849. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  19850. begin
  19851. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19852. end;
  19853. procedure TUART2_U3AMODE.setLPBACK; inline;
  19854. begin
  19855. pTDefRegMap(@Self)^.&set := $00000040;
  19856. end;
  19857. procedure TUART2_U3AMODE.clearLPBACK; inline;
  19858. begin
  19859. pTDefRegMap(@Self)^.clr := $00000040;
  19860. end;
  19861. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  19862. begin
  19863. if thebits = 0 then
  19864. pTDefRegMap(@Self)^.clr := $00000040
  19865. else
  19866. pTDefRegMap(@Self)^.&set := $00000040;
  19867. end;
  19868. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  19869. begin
  19870. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19871. end;
  19872. procedure TUART2_U3AMODE.setWAKE; inline;
  19873. begin
  19874. pTDefRegMap(@Self)^.&set := $00000080;
  19875. end;
  19876. procedure TUART2_U3AMODE.clearWAKE; inline;
  19877. begin
  19878. pTDefRegMap(@Self)^.clr := $00000080;
  19879. end;
  19880. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  19881. begin
  19882. if thebits = 0 then
  19883. pTDefRegMap(@Self)^.clr := $00000080
  19884. else
  19885. pTDefRegMap(@Self)^.&set := $00000080;
  19886. end;
  19887. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  19888. begin
  19889. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19890. end;
  19891. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  19892. begin
  19893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19894. end;
  19895. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  19896. begin
  19897. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19898. end;
  19899. procedure TUART2_U3AMODE.setRTSMD; inline;
  19900. begin
  19901. pTDefRegMap(@Self)^.&set := $00000800;
  19902. end;
  19903. procedure TUART2_U3AMODE.clearRTSMD; inline;
  19904. begin
  19905. pTDefRegMap(@Self)^.clr := $00000800;
  19906. end;
  19907. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  19908. begin
  19909. if thebits = 0 then
  19910. pTDefRegMap(@Self)^.clr := $00000800
  19911. else
  19912. pTDefRegMap(@Self)^.&set := $00000800;
  19913. end;
  19914. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  19915. begin
  19916. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19917. end;
  19918. procedure TUART2_U3AMODE.setIREN; inline;
  19919. begin
  19920. pTDefRegMap(@Self)^.&set := $00001000;
  19921. end;
  19922. procedure TUART2_U3AMODE.clearIREN; inline;
  19923. begin
  19924. pTDefRegMap(@Self)^.clr := $00001000;
  19925. end;
  19926. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  19927. begin
  19928. if thebits = 0 then
  19929. pTDefRegMap(@Self)^.clr := $00001000
  19930. else
  19931. pTDefRegMap(@Self)^.&set := $00001000;
  19932. end;
  19933. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  19934. begin
  19935. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19936. end;
  19937. procedure TUART2_U3AMODE.setSIDL; inline;
  19938. begin
  19939. pTDefRegMap(@Self)^.&set := $00002000;
  19940. end;
  19941. procedure TUART2_U3AMODE.clearSIDL; inline;
  19942. begin
  19943. pTDefRegMap(@Self)^.clr := $00002000;
  19944. end;
  19945. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  19946. begin
  19947. if thebits = 0 then
  19948. pTDefRegMap(@Self)^.clr := $00002000
  19949. else
  19950. pTDefRegMap(@Self)^.&set := $00002000;
  19951. end;
  19952. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  19953. begin
  19954. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19955. end;
  19956. procedure TUART2_U3AMODE.setON; inline;
  19957. begin
  19958. pTDefRegMap(@Self)^.&set := $00008000;
  19959. end;
  19960. procedure TUART2_U3AMODE.clearON; inline;
  19961. begin
  19962. pTDefRegMap(@Self)^.clr := $00008000;
  19963. end;
  19964. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  19965. begin
  19966. if thebits = 0 then
  19967. pTDefRegMap(@Self)^.clr := $00008000
  19968. else
  19969. pTDefRegMap(@Self)^.&set := $00008000;
  19970. end;
  19971. function TUART2_U3AMODE.getON : TBits_1; inline;
  19972. begin
  19973. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19974. end;
  19975. procedure TUART2_U3AMODE.setPDSEL0; inline;
  19976. begin
  19977. pTDefRegMap(@Self)^.&set := $00000002;
  19978. end;
  19979. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  19980. begin
  19981. pTDefRegMap(@Self)^.clr := $00000002;
  19982. end;
  19983. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  19984. begin
  19985. if thebits = 0 then
  19986. pTDefRegMap(@Self)^.clr := $00000002
  19987. else
  19988. pTDefRegMap(@Self)^.&set := $00000002;
  19989. end;
  19990. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  19991. begin
  19992. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19993. end;
  19994. procedure TUART2_U3AMODE.setPDSEL1; inline;
  19995. begin
  19996. pTDefRegMap(@Self)^.&set := $00000004;
  19997. end;
  19998. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  19999. begin
  20000. pTDefRegMap(@Self)^.clr := $00000004;
  20001. end;
  20002. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  20003. begin
  20004. if thebits = 0 then
  20005. pTDefRegMap(@Self)^.clr := $00000004
  20006. else
  20007. pTDefRegMap(@Self)^.&set := $00000004;
  20008. end;
  20009. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  20010. begin
  20011. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20012. end;
  20013. procedure TUART2_U3AMODE.setUEN0; inline;
  20014. begin
  20015. pTDefRegMap(@Self)^.&set := $00000100;
  20016. end;
  20017. procedure TUART2_U3AMODE.clearUEN0; inline;
  20018. begin
  20019. pTDefRegMap(@Self)^.clr := $00000100;
  20020. end;
  20021. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  20022. begin
  20023. if thebits = 0 then
  20024. pTDefRegMap(@Self)^.clr := $00000100
  20025. else
  20026. pTDefRegMap(@Self)^.&set := $00000100;
  20027. end;
  20028. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  20029. begin
  20030. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20031. end;
  20032. procedure TUART2_U3AMODE.setUEN1; inline;
  20033. begin
  20034. pTDefRegMap(@Self)^.&set := $00000200;
  20035. end;
  20036. procedure TUART2_U3AMODE.clearUEN1; inline;
  20037. begin
  20038. pTDefRegMap(@Self)^.clr := $00000200;
  20039. end;
  20040. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  20041. begin
  20042. if thebits = 0 then
  20043. pTDefRegMap(@Self)^.clr := $00000200
  20044. else
  20045. pTDefRegMap(@Self)^.&set := $00000200;
  20046. end;
  20047. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  20048. begin
  20049. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20050. end;
  20051. procedure TUART2_U3AMODE.setUSIDL; inline;
  20052. begin
  20053. pTDefRegMap(@Self)^.&set := $00002000;
  20054. end;
  20055. procedure TUART2_U3AMODE.clearUSIDL; inline;
  20056. begin
  20057. pTDefRegMap(@Self)^.clr := $00002000;
  20058. end;
  20059. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  20060. begin
  20061. if thebits = 0 then
  20062. pTDefRegMap(@Self)^.clr := $00002000
  20063. else
  20064. pTDefRegMap(@Self)^.&set := $00002000;
  20065. end;
  20066. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  20067. begin
  20068. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20069. end;
  20070. procedure TUART2_U3AMODE.setUARTEN; inline;
  20071. begin
  20072. pTDefRegMap(@Self)^.&set := $00008000;
  20073. end;
  20074. procedure TUART2_U3AMODE.clearUARTEN; inline;
  20075. begin
  20076. pTDefRegMap(@Self)^.clr := $00008000;
  20077. end;
  20078. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  20079. begin
  20080. if thebits = 0 then
  20081. pTDefRegMap(@Self)^.clr := $00008000
  20082. else
  20083. pTDefRegMap(@Self)^.&set := $00008000;
  20084. end;
  20085. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  20086. begin
  20087. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20088. end;
  20089. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  20090. begin
  20091. pTDefRegMap(@Self)^.val := thebits;
  20092. end;
  20093. function TUART2_U3AMODE.getw : TBits_32; inline;
  20094. begin
  20095. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20096. end;
  20097. procedure TUART2_U2STA.setURXDA; inline;
  20098. begin
  20099. pTDefRegMap(@Self)^.&set := $00000001;
  20100. end;
  20101. procedure TUART2_U2STA.clearURXDA; inline;
  20102. begin
  20103. pTDefRegMap(@Self)^.clr := $00000001;
  20104. end;
  20105. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  20106. begin
  20107. if thebits = 0 then
  20108. pTDefRegMap(@Self)^.clr := $00000001
  20109. else
  20110. pTDefRegMap(@Self)^.&set := $00000001;
  20111. end;
  20112. function TUART2_U2STA.getURXDA : TBits_1; inline;
  20113. begin
  20114. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20115. end;
  20116. procedure TUART2_U2STA.setOERR; inline;
  20117. begin
  20118. pTDefRegMap(@Self)^.&set := $00000002;
  20119. end;
  20120. procedure TUART2_U2STA.clearOERR; inline;
  20121. begin
  20122. pTDefRegMap(@Self)^.clr := $00000002;
  20123. end;
  20124. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  20125. begin
  20126. if thebits = 0 then
  20127. pTDefRegMap(@Self)^.clr := $00000002
  20128. else
  20129. pTDefRegMap(@Self)^.&set := $00000002;
  20130. end;
  20131. function TUART2_U2STA.getOERR : TBits_1; inline;
  20132. begin
  20133. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20134. end;
  20135. procedure TUART2_U2STA.setFERR; inline;
  20136. begin
  20137. pTDefRegMap(@Self)^.&set := $00000004;
  20138. end;
  20139. procedure TUART2_U2STA.clearFERR; inline;
  20140. begin
  20141. pTDefRegMap(@Self)^.clr := $00000004;
  20142. end;
  20143. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  20144. begin
  20145. if thebits = 0 then
  20146. pTDefRegMap(@Self)^.clr := $00000004
  20147. else
  20148. pTDefRegMap(@Self)^.&set := $00000004;
  20149. end;
  20150. function TUART2_U2STA.getFERR : TBits_1; inline;
  20151. begin
  20152. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20153. end;
  20154. procedure TUART2_U2STA.setPERR; inline;
  20155. begin
  20156. pTDefRegMap(@Self)^.&set := $00000008;
  20157. end;
  20158. procedure TUART2_U2STA.clearPERR; inline;
  20159. begin
  20160. pTDefRegMap(@Self)^.clr := $00000008;
  20161. end;
  20162. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  20163. begin
  20164. if thebits = 0 then
  20165. pTDefRegMap(@Self)^.clr := $00000008
  20166. else
  20167. pTDefRegMap(@Self)^.&set := $00000008;
  20168. end;
  20169. function TUART2_U2STA.getPERR : TBits_1; inline;
  20170. begin
  20171. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20172. end;
  20173. procedure TUART2_U2STA.setRIDLE; inline;
  20174. begin
  20175. pTDefRegMap(@Self)^.&set := $00000010;
  20176. end;
  20177. procedure TUART2_U2STA.clearRIDLE; inline;
  20178. begin
  20179. pTDefRegMap(@Self)^.clr := $00000010;
  20180. end;
  20181. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  20182. begin
  20183. if thebits = 0 then
  20184. pTDefRegMap(@Self)^.clr := $00000010
  20185. else
  20186. pTDefRegMap(@Self)^.&set := $00000010;
  20187. end;
  20188. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  20189. begin
  20190. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20191. end;
  20192. procedure TUART2_U2STA.setADDEN; inline;
  20193. begin
  20194. pTDefRegMap(@Self)^.&set := $00000020;
  20195. end;
  20196. procedure TUART2_U2STA.clearADDEN; inline;
  20197. begin
  20198. pTDefRegMap(@Self)^.clr := $00000020;
  20199. end;
  20200. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  20201. begin
  20202. if thebits = 0 then
  20203. pTDefRegMap(@Self)^.clr := $00000020
  20204. else
  20205. pTDefRegMap(@Self)^.&set := $00000020;
  20206. end;
  20207. function TUART2_U2STA.getADDEN : TBits_1; inline;
  20208. begin
  20209. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20210. end;
  20211. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  20212. begin
  20213. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20214. end;
  20215. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  20216. begin
  20217. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20218. end;
  20219. procedure TUART2_U2STA.setTRMT; inline;
  20220. begin
  20221. pTDefRegMap(@Self)^.&set := $00000100;
  20222. end;
  20223. procedure TUART2_U2STA.clearTRMT; inline;
  20224. begin
  20225. pTDefRegMap(@Self)^.clr := $00000100;
  20226. end;
  20227. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  20228. begin
  20229. if thebits = 0 then
  20230. pTDefRegMap(@Self)^.clr := $00000100
  20231. else
  20232. pTDefRegMap(@Self)^.&set := $00000100;
  20233. end;
  20234. function TUART2_U2STA.getTRMT : TBits_1; inline;
  20235. begin
  20236. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20237. end;
  20238. procedure TUART2_U2STA.setUTXBF; inline;
  20239. begin
  20240. pTDefRegMap(@Self)^.&set := $00000200;
  20241. end;
  20242. procedure TUART2_U2STA.clearUTXBF; inline;
  20243. begin
  20244. pTDefRegMap(@Self)^.clr := $00000200;
  20245. end;
  20246. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  20247. begin
  20248. if thebits = 0 then
  20249. pTDefRegMap(@Self)^.clr := $00000200
  20250. else
  20251. pTDefRegMap(@Self)^.&set := $00000200;
  20252. end;
  20253. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  20254. begin
  20255. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20256. end;
  20257. procedure TUART2_U2STA.setUTXEN; inline;
  20258. begin
  20259. pTDefRegMap(@Self)^.&set := $00000400;
  20260. end;
  20261. procedure TUART2_U2STA.clearUTXEN; inline;
  20262. begin
  20263. pTDefRegMap(@Self)^.clr := $00000400;
  20264. end;
  20265. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  20266. begin
  20267. if thebits = 0 then
  20268. pTDefRegMap(@Self)^.clr := $00000400
  20269. else
  20270. pTDefRegMap(@Self)^.&set := $00000400;
  20271. end;
  20272. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  20273. begin
  20274. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20275. end;
  20276. procedure TUART2_U2STA.setUTXBRK; inline;
  20277. begin
  20278. pTDefRegMap(@Self)^.&set := $00000800;
  20279. end;
  20280. procedure TUART2_U2STA.clearUTXBRK; inline;
  20281. begin
  20282. pTDefRegMap(@Self)^.clr := $00000800;
  20283. end;
  20284. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  20285. begin
  20286. if thebits = 0 then
  20287. pTDefRegMap(@Self)^.clr := $00000800
  20288. else
  20289. pTDefRegMap(@Self)^.&set := $00000800;
  20290. end;
  20291. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  20292. begin
  20293. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20294. end;
  20295. procedure TUART2_U2STA.setURXEN; inline;
  20296. begin
  20297. pTDefRegMap(@Self)^.&set := $00001000;
  20298. end;
  20299. procedure TUART2_U2STA.clearURXEN; inline;
  20300. begin
  20301. pTDefRegMap(@Self)^.clr := $00001000;
  20302. end;
  20303. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20304. begin
  20305. if thebits = 0 then
  20306. pTDefRegMap(@Self)^.clr := $00001000
  20307. else
  20308. pTDefRegMap(@Self)^.&set := $00001000;
  20309. end;
  20310. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20311. begin
  20312. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20313. end;
  20314. procedure TUART2_U2STA.setUTXINV; inline;
  20315. begin
  20316. pTDefRegMap(@Self)^.&set := $00002000;
  20317. end;
  20318. procedure TUART2_U2STA.clearUTXINV; inline;
  20319. begin
  20320. pTDefRegMap(@Self)^.clr := $00002000;
  20321. end;
  20322. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20323. begin
  20324. if thebits = 0 then
  20325. pTDefRegMap(@Self)^.clr := $00002000
  20326. else
  20327. pTDefRegMap(@Self)^.&set := $00002000;
  20328. end;
  20329. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20330. begin
  20331. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20332. end;
  20333. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20334. begin
  20335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20336. end;
  20337. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20338. begin
  20339. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20340. end;
  20341. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20342. begin
  20343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20344. end;
  20345. function TUART2_U2STA.getADDR : TBits_8; inline;
  20346. begin
  20347. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20348. end;
  20349. procedure TUART2_U2STA.setADM_EN; inline;
  20350. begin
  20351. pTDefRegMap(@Self)^.&set := $01000000;
  20352. end;
  20353. procedure TUART2_U2STA.clearADM_EN; inline;
  20354. begin
  20355. pTDefRegMap(@Self)^.clr := $01000000;
  20356. end;
  20357. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20358. begin
  20359. if thebits = 0 then
  20360. pTDefRegMap(@Self)^.clr := $01000000
  20361. else
  20362. pTDefRegMap(@Self)^.&set := $01000000;
  20363. end;
  20364. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20365. begin
  20366. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20367. end;
  20368. procedure TUART2_U2STA.setURXISEL0; inline;
  20369. begin
  20370. pTDefRegMap(@Self)^.&set := $00000040;
  20371. end;
  20372. procedure TUART2_U2STA.clearURXISEL0; inline;
  20373. begin
  20374. pTDefRegMap(@Self)^.clr := $00000040;
  20375. end;
  20376. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20377. begin
  20378. if thebits = 0 then
  20379. pTDefRegMap(@Self)^.clr := $00000040
  20380. else
  20381. pTDefRegMap(@Self)^.&set := $00000040;
  20382. end;
  20383. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20384. begin
  20385. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20386. end;
  20387. procedure TUART2_U2STA.setURXISEL1; inline;
  20388. begin
  20389. pTDefRegMap(@Self)^.&set := $00000080;
  20390. end;
  20391. procedure TUART2_U2STA.clearURXISEL1; inline;
  20392. begin
  20393. pTDefRegMap(@Self)^.clr := $00000080;
  20394. end;
  20395. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20396. begin
  20397. if thebits = 0 then
  20398. pTDefRegMap(@Self)^.clr := $00000080
  20399. else
  20400. pTDefRegMap(@Self)^.&set := $00000080;
  20401. end;
  20402. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20403. begin
  20404. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20405. end;
  20406. procedure TUART2_U2STA.setUTXISEL0; inline;
  20407. begin
  20408. pTDefRegMap(@Self)^.&set := $00004000;
  20409. end;
  20410. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20411. begin
  20412. pTDefRegMap(@Self)^.clr := $00004000;
  20413. end;
  20414. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20415. begin
  20416. if thebits = 0 then
  20417. pTDefRegMap(@Self)^.clr := $00004000
  20418. else
  20419. pTDefRegMap(@Self)^.&set := $00004000;
  20420. end;
  20421. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20422. begin
  20423. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20424. end;
  20425. procedure TUART2_U2STA.setUTXISEL1; inline;
  20426. begin
  20427. pTDefRegMap(@Self)^.&set := $00008000;
  20428. end;
  20429. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20430. begin
  20431. pTDefRegMap(@Self)^.clr := $00008000;
  20432. end;
  20433. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20434. begin
  20435. if thebits = 0 then
  20436. pTDefRegMap(@Self)^.clr := $00008000
  20437. else
  20438. pTDefRegMap(@Self)^.&set := $00008000;
  20439. end;
  20440. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20441. begin
  20442. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20443. end;
  20444. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20445. begin
  20446. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20447. end;
  20448. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20449. begin
  20450. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20451. end;
  20452. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20453. begin
  20454. pTDefRegMap(@Self)^.val := thebits;
  20455. end;
  20456. function TUART2_U2STA.getw : TBits_32; inline;
  20457. begin
  20458. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20459. end;
  20460. procedure TUART2_U3ASTA.setURXDA; inline;
  20461. begin
  20462. pTDefRegMap(@Self)^.&set := $00000001;
  20463. end;
  20464. procedure TUART2_U3ASTA.clearURXDA; inline;
  20465. begin
  20466. pTDefRegMap(@Self)^.clr := $00000001;
  20467. end;
  20468. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20469. begin
  20470. if thebits = 0 then
  20471. pTDefRegMap(@Self)^.clr := $00000001
  20472. else
  20473. pTDefRegMap(@Self)^.&set := $00000001;
  20474. end;
  20475. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20476. begin
  20477. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20478. end;
  20479. procedure TUART2_U3ASTA.setOERR; inline;
  20480. begin
  20481. pTDefRegMap(@Self)^.&set := $00000002;
  20482. end;
  20483. procedure TUART2_U3ASTA.clearOERR; inline;
  20484. begin
  20485. pTDefRegMap(@Self)^.clr := $00000002;
  20486. end;
  20487. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20488. begin
  20489. if thebits = 0 then
  20490. pTDefRegMap(@Self)^.clr := $00000002
  20491. else
  20492. pTDefRegMap(@Self)^.&set := $00000002;
  20493. end;
  20494. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20495. begin
  20496. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20497. end;
  20498. procedure TUART2_U3ASTA.setFERR; inline;
  20499. begin
  20500. pTDefRegMap(@Self)^.&set := $00000004;
  20501. end;
  20502. procedure TUART2_U3ASTA.clearFERR; inline;
  20503. begin
  20504. pTDefRegMap(@Self)^.clr := $00000004;
  20505. end;
  20506. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20507. begin
  20508. if thebits = 0 then
  20509. pTDefRegMap(@Self)^.clr := $00000004
  20510. else
  20511. pTDefRegMap(@Self)^.&set := $00000004;
  20512. end;
  20513. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20514. begin
  20515. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20516. end;
  20517. procedure TUART2_U3ASTA.setPERR; inline;
  20518. begin
  20519. pTDefRegMap(@Self)^.&set := $00000008;
  20520. end;
  20521. procedure TUART2_U3ASTA.clearPERR; inline;
  20522. begin
  20523. pTDefRegMap(@Self)^.clr := $00000008;
  20524. end;
  20525. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  20526. begin
  20527. if thebits = 0 then
  20528. pTDefRegMap(@Self)^.clr := $00000008
  20529. else
  20530. pTDefRegMap(@Self)^.&set := $00000008;
  20531. end;
  20532. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  20533. begin
  20534. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20535. end;
  20536. procedure TUART2_U3ASTA.setRIDLE; inline;
  20537. begin
  20538. pTDefRegMap(@Self)^.&set := $00000010;
  20539. end;
  20540. procedure TUART2_U3ASTA.clearRIDLE; inline;
  20541. begin
  20542. pTDefRegMap(@Self)^.clr := $00000010;
  20543. end;
  20544. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  20545. begin
  20546. if thebits = 0 then
  20547. pTDefRegMap(@Self)^.clr := $00000010
  20548. else
  20549. pTDefRegMap(@Self)^.&set := $00000010;
  20550. end;
  20551. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  20552. begin
  20553. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20554. end;
  20555. procedure TUART2_U3ASTA.setADDEN; inline;
  20556. begin
  20557. pTDefRegMap(@Self)^.&set := $00000020;
  20558. end;
  20559. procedure TUART2_U3ASTA.clearADDEN; inline;
  20560. begin
  20561. pTDefRegMap(@Self)^.clr := $00000020;
  20562. end;
  20563. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  20564. begin
  20565. if thebits = 0 then
  20566. pTDefRegMap(@Self)^.clr := $00000020
  20567. else
  20568. pTDefRegMap(@Self)^.&set := $00000020;
  20569. end;
  20570. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  20571. begin
  20572. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20573. end;
  20574. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  20575. begin
  20576. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20577. end;
  20578. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  20579. begin
  20580. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20581. end;
  20582. procedure TUART2_U3ASTA.setTRMT; inline;
  20583. begin
  20584. pTDefRegMap(@Self)^.&set := $00000100;
  20585. end;
  20586. procedure TUART2_U3ASTA.clearTRMT; inline;
  20587. begin
  20588. pTDefRegMap(@Self)^.clr := $00000100;
  20589. end;
  20590. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  20591. begin
  20592. if thebits = 0 then
  20593. pTDefRegMap(@Self)^.clr := $00000100
  20594. else
  20595. pTDefRegMap(@Self)^.&set := $00000100;
  20596. end;
  20597. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  20598. begin
  20599. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20600. end;
  20601. procedure TUART2_U3ASTA.setUTXBF; inline;
  20602. begin
  20603. pTDefRegMap(@Self)^.&set := $00000200;
  20604. end;
  20605. procedure TUART2_U3ASTA.clearUTXBF; inline;
  20606. begin
  20607. pTDefRegMap(@Self)^.clr := $00000200;
  20608. end;
  20609. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  20610. begin
  20611. if thebits = 0 then
  20612. pTDefRegMap(@Self)^.clr := $00000200
  20613. else
  20614. pTDefRegMap(@Self)^.&set := $00000200;
  20615. end;
  20616. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  20617. begin
  20618. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20619. end;
  20620. procedure TUART2_U3ASTA.setUTXEN; inline;
  20621. begin
  20622. pTDefRegMap(@Self)^.&set := $00000400;
  20623. end;
  20624. procedure TUART2_U3ASTA.clearUTXEN; inline;
  20625. begin
  20626. pTDefRegMap(@Self)^.clr := $00000400;
  20627. end;
  20628. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  20629. begin
  20630. if thebits = 0 then
  20631. pTDefRegMap(@Self)^.clr := $00000400
  20632. else
  20633. pTDefRegMap(@Self)^.&set := $00000400;
  20634. end;
  20635. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  20636. begin
  20637. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20638. end;
  20639. procedure TUART2_U3ASTA.setUTXBRK; inline;
  20640. begin
  20641. pTDefRegMap(@Self)^.&set := $00000800;
  20642. end;
  20643. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  20644. begin
  20645. pTDefRegMap(@Self)^.clr := $00000800;
  20646. end;
  20647. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  20648. begin
  20649. if thebits = 0 then
  20650. pTDefRegMap(@Self)^.clr := $00000800
  20651. else
  20652. pTDefRegMap(@Self)^.&set := $00000800;
  20653. end;
  20654. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  20655. begin
  20656. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20657. end;
  20658. procedure TUART2_U3ASTA.setURXEN; inline;
  20659. begin
  20660. pTDefRegMap(@Self)^.&set := $00001000;
  20661. end;
  20662. procedure TUART2_U3ASTA.clearURXEN; inline;
  20663. begin
  20664. pTDefRegMap(@Self)^.clr := $00001000;
  20665. end;
  20666. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  20667. begin
  20668. if thebits = 0 then
  20669. pTDefRegMap(@Self)^.clr := $00001000
  20670. else
  20671. pTDefRegMap(@Self)^.&set := $00001000;
  20672. end;
  20673. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  20674. begin
  20675. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20676. end;
  20677. procedure TUART2_U3ASTA.setUTXINV; inline;
  20678. begin
  20679. pTDefRegMap(@Self)^.&set := $00002000;
  20680. end;
  20681. procedure TUART2_U3ASTA.clearUTXINV; inline;
  20682. begin
  20683. pTDefRegMap(@Self)^.clr := $00002000;
  20684. end;
  20685. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  20686. begin
  20687. if thebits = 0 then
  20688. pTDefRegMap(@Self)^.clr := $00002000
  20689. else
  20690. pTDefRegMap(@Self)^.&set := $00002000;
  20691. end;
  20692. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  20693. begin
  20694. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20695. end;
  20696. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  20697. begin
  20698. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20699. end;
  20700. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  20701. begin
  20702. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20703. end;
  20704. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  20705. begin
  20706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20707. end;
  20708. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  20709. begin
  20710. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20711. end;
  20712. procedure TUART2_U3ASTA.setADM_EN; inline;
  20713. begin
  20714. pTDefRegMap(@Self)^.&set := $01000000;
  20715. end;
  20716. procedure TUART2_U3ASTA.clearADM_EN; inline;
  20717. begin
  20718. pTDefRegMap(@Self)^.clr := $01000000;
  20719. end;
  20720. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  20721. begin
  20722. if thebits = 0 then
  20723. pTDefRegMap(@Self)^.clr := $01000000
  20724. else
  20725. pTDefRegMap(@Self)^.&set := $01000000;
  20726. end;
  20727. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  20728. begin
  20729. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20730. end;
  20731. procedure TUART2_U3ASTA.setURXISEL0; inline;
  20732. begin
  20733. pTDefRegMap(@Self)^.&set := $00000040;
  20734. end;
  20735. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  20736. begin
  20737. pTDefRegMap(@Self)^.clr := $00000040;
  20738. end;
  20739. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  20740. begin
  20741. if thebits = 0 then
  20742. pTDefRegMap(@Self)^.clr := $00000040
  20743. else
  20744. pTDefRegMap(@Self)^.&set := $00000040;
  20745. end;
  20746. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  20747. begin
  20748. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20749. end;
  20750. procedure TUART2_U3ASTA.setURXISEL1; inline;
  20751. begin
  20752. pTDefRegMap(@Self)^.&set := $00000080;
  20753. end;
  20754. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  20755. begin
  20756. pTDefRegMap(@Self)^.clr := $00000080;
  20757. end;
  20758. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  20759. begin
  20760. if thebits = 0 then
  20761. pTDefRegMap(@Self)^.clr := $00000080
  20762. else
  20763. pTDefRegMap(@Self)^.&set := $00000080;
  20764. end;
  20765. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  20766. begin
  20767. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20768. end;
  20769. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  20770. begin
  20771. pTDefRegMap(@Self)^.&set := $00004000;
  20772. end;
  20773. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  20774. begin
  20775. pTDefRegMap(@Self)^.clr := $00004000;
  20776. end;
  20777. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  20778. begin
  20779. if thebits = 0 then
  20780. pTDefRegMap(@Self)^.clr := $00004000
  20781. else
  20782. pTDefRegMap(@Self)^.&set := $00004000;
  20783. end;
  20784. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  20785. begin
  20786. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20787. end;
  20788. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  20789. begin
  20790. pTDefRegMap(@Self)^.&set := $00008000;
  20791. end;
  20792. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  20793. begin
  20794. pTDefRegMap(@Self)^.clr := $00008000;
  20795. end;
  20796. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  20797. begin
  20798. if thebits = 0 then
  20799. pTDefRegMap(@Self)^.clr := $00008000
  20800. else
  20801. pTDefRegMap(@Self)^.&set := $00008000;
  20802. end;
  20803. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  20804. begin
  20805. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20806. end;
  20807. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  20808. begin
  20809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20810. end;
  20811. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  20812. begin
  20813. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20814. end;
  20815. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  20816. begin
  20817. pTDefRegMap(@Self)^.val := thebits;
  20818. end;
  20819. function TUART2_U3ASTA.getw : TBits_32; inline;
  20820. begin
  20821. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20822. end;
  20823. procedure TPMP_PMCON.setRDSP; inline;
  20824. begin
  20825. pTDefRegMap(@Self)^.&set := $00000001;
  20826. end;
  20827. procedure TPMP_PMCON.clearRDSP; inline;
  20828. begin
  20829. pTDefRegMap(@Self)^.clr := $00000001;
  20830. end;
  20831. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  20832. begin
  20833. if thebits = 0 then
  20834. pTDefRegMap(@Self)^.clr := $00000001
  20835. else
  20836. pTDefRegMap(@Self)^.&set := $00000001;
  20837. end;
  20838. function TPMP_PMCON.getRDSP : TBits_1; inline;
  20839. begin
  20840. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20841. end;
  20842. procedure TPMP_PMCON.setWRSP; inline;
  20843. begin
  20844. pTDefRegMap(@Self)^.&set := $00000002;
  20845. end;
  20846. procedure TPMP_PMCON.clearWRSP; inline;
  20847. begin
  20848. pTDefRegMap(@Self)^.clr := $00000002;
  20849. end;
  20850. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  20851. begin
  20852. if thebits = 0 then
  20853. pTDefRegMap(@Self)^.clr := $00000002
  20854. else
  20855. pTDefRegMap(@Self)^.&set := $00000002;
  20856. end;
  20857. function TPMP_PMCON.getWRSP : TBits_1; inline;
  20858. begin
  20859. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20860. end;
  20861. procedure TPMP_PMCON.setCS1P; inline;
  20862. begin
  20863. pTDefRegMap(@Self)^.&set := $00000008;
  20864. end;
  20865. procedure TPMP_PMCON.clearCS1P; inline;
  20866. begin
  20867. pTDefRegMap(@Self)^.clr := $00000008;
  20868. end;
  20869. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  20870. begin
  20871. if thebits = 0 then
  20872. pTDefRegMap(@Self)^.clr := $00000008
  20873. else
  20874. pTDefRegMap(@Self)^.&set := $00000008;
  20875. end;
  20876. function TPMP_PMCON.getCS1P : TBits_1; inline;
  20877. begin
  20878. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20879. end;
  20880. procedure TPMP_PMCON.setALP; inline;
  20881. begin
  20882. pTDefRegMap(@Self)^.&set := $00000020;
  20883. end;
  20884. procedure TPMP_PMCON.clearALP; inline;
  20885. begin
  20886. pTDefRegMap(@Self)^.clr := $00000020;
  20887. end;
  20888. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  20889. begin
  20890. if thebits = 0 then
  20891. pTDefRegMap(@Self)^.clr := $00000020
  20892. else
  20893. pTDefRegMap(@Self)^.&set := $00000020;
  20894. end;
  20895. function TPMP_PMCON.getALP : TBits_1; inline;
  20896. begin
  20897. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20898. end;
  20899. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  20900. begin
  20901. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20902. end;
  20903. function TPMP_PMCON.getCSF : TBits_2; inline;
  20904. begin
  20905. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20906. end;
  20907. procedure TPMP_PMCON.setPTRDEN; inline;
  20908. begin
  20909. pTDefRegMap(@Self)^.&set := $00000100;
  20910. end;
  20911. procedure TPMP_PMCON.clearPTRDEN; inline;
  20912. begin
  20913. pTDefRegMap(@Self)^.clr := $00000100;
  20914. end;
  20915. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  20916. begin
  20917. if thebits = 0 then
  20918. pTDefRegMap(@Self)^.clr := $00000100
  20919. else
  20920. pTDefRegMap(@Self)^.&set := $00000100;
  20921. end;
  20922. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  20923. begin
  20924. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20925. end;
  20926. procedure TPMP_PMCON.setPTWREN; inline;
  20927. begin
  20928. pTDefRegMap(@Self)^.&set := $00000200;
  20929. end;
  20930. procedure TPMP_PMCON.clearPTWREN; inline;
  20931. begin
  20932. pTDefRegMap(@Self)^.clr := $00000200;
  20933. end;
  20934. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  20935. begin
  20936. if thebits = 0 then
  20937. pTDefRegMap(@Self)^.clr := $00000200
  20938. else
  20939. pTDefRegMap(@Self)^.&set := $00000200;
  20940. end;
  20941. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  20942. begin
  20943. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20944. end;
  20945. procedure TPMP_PMCON.setPMPTTL; inline;
  20946. begin
  20947. pTDefRegMap(@Self)^.&set := $00000400;
  20948. end;
  20949. procedure TPMP_PMCON.clearPMPTTL; inline;
  20950. begin
  20951. pTDefRegMap(@Self)^.clr := $00000400;
  20952. end;
  20953. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  20954. begin
  20955. if thebits = 0 then
  20956. pTDefRegMap(@Self)^.clr := $00000400
  20957. else
  20958. pTDefRegMap(@Self)^.&set := $00000400;
  20959. end;
  20960. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  20961. begin
  20962. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20963. end;
  20964. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  20965. begin
  20966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20967. end;
  20968. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  20969. begin
  20970. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20971. end;
  20972. procedure TPMP_PMCON.setSIDL; inline;
  20973. begin
  20974. pTDefRegMap(@Self)^.&set := $00002000;
  20975. end;
  20976. procedure TPMP_PMCON.clearSIDL; inline;
  20977. begin
  20978. pTDefRegMap(@Self)^.clr := $00002000;
  20979. end;
  20980. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  20981. begin
  20982. if thebits = 0 then
  20983. pTDefRegMap(@Self)^.clr := $00002000
  20984. else
  20985. pTDefRegMap(@Self)^.&set := $00002000;
  20986. end;
  20987. function TPMP_PMCON.getSIDL : TBits_1; inline;
  20988. begin
  20989. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20990. end;
  20991. procedure TPMP_PMCON.setON; inline;
  20992. begin
  20993. pTDefRegMap(@Self)^.&set := $00008000;
  20994. end;
  20995. procedure TPMP_PMCON.clearON; inline;
  20996. begin
  20997. pTDefRegMap(@Self)^.clr := $00008000;
  20998. end;
  20999. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  21000. begin
  21001. if thebits = 0 then
  21002. pTDefRegMap(@Self)^.clr := $00008000
  21003. else
  21004. pTDefRegMap(@Self)^.&set := $00008000;
  21005. end;
  21006. function TPMP_PMCON.getON : TBits_1; inline;
  21007. begin
  21008. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21009. end;
  21010. procedure TPMP_PMCON.setCSF0; inline;
  21011. begin
  21012. pTDefRegMap(@Self)^.&set := $00000040;
  21013. end;
  21014. procedure TPMP_PMCON.clearCSF0; inline;
  21015. begin
  21016. pTDefRegMap(@Self)^.clr := $00000040;
  21017. end;
  21018. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  21019. begin
  21020. if thebits = 0 then
  21021. pTDefRegMap(@Self)^.clr := $00000040
  21022. else
  21023. pTDefRegMap(@Self)^.&set := $00000040;
  21024. end;
  21025. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  21026. begin
  21027. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21028. end;
  21029. procedure TPMP_PMCON.setCSF1; inline;
  21030. begin
  21031. pTDefRegMap(@Self)^.&set := $00000080;
  21032. end;
  21033. procedure TPMP_PMCON.clearCSF1; inline;
  21034. begin
  21035. pTDefRegMap(@Self)^.clr := $00000080;
  21036. end;
  21037. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  21038. begin
  21039. if thebits = 0 then
  21040. pTDefRegMap(@Self)^.clr := $00000080
  21041. else
  21042. pTDefRegMap(@Self)^.&set := $00000080;
  21043. end;
  21044. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  21045. begin
  21046. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21047. end;
  21048. procedure TPMP_PMCON.setADRMUX0; inline;
  21049. begin
  21050. pTDefRegMap(@Self)^.&set := $00000800;
  21051. end;
  21052. procedure TPMP_PMCON.clearADRMUX0; inline;
  21053. begin
  21054. pTDefRegMap(@Self)^.clr := $00000800;
  21055. end;
  21056. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  21057. begin
  21058. if thebits = 0 then
  21059. pTDefRegMap(@Self)^.clr := $00000800
  21060. else
  21061. pTDefRegMap(@Self)^.&set := $00000800;
  21062. end;
  21063. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  21064. begin
  21065. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21066. end;
  21067. procedure TPMP_PMCON.setADRMUX1; inline;
  21068. begin
  21069. pTDefRegMap(@Self)^.&set := $00001000;
  21070. end;
  21071. procedure TPMP_PMCON.clearADRMUX1; inline;
  21072. begin
  21073. pTDefRegMap(@Self)^.clr := $00001000;
  21074. end;
  21075. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  21076. begin
  21077. if thebits = 0 then
  21078. pTDefRegMap(@Self)^.clr := $00001000
  21079. else
  21080. pTDefRegMap(@Self)^.&set := $00001000;
  21081. end;
  21082. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  21083. begin
  21084. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21085. end;
  21086. procedure TPMP_PMCON.setPSIDL; inline;
  21087. begin
  21088. pTDefRegMap(@Self)^.&set := $00002000;
  21089. end;
  21090. procedure TPMP_PMCON.clearPSIDL; inline;
  21091. begin
  21092. pTDefRegMap(@Self)^.clr := $00002000;
  21093. end;
  21094. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  21095. begin
  21096. if thebits = 0 then
  21097. pTDefRegMap(@Self)^.clr := $00002000
  21098. else
  21099. pTDefRegMap(@Self)^.&set := $00002000;
  21100. end;
  21101. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  21102. begin
  21103. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21104. end;
  21105. procedure TPMP_PMCON.setPMPEN; inline;
  21106. begin
  21107. pTDefRegMap(@Self)^.&set := $00008000;
  21108. end;
  21109. procedure TPMP_PMCON.clearPMPEN; inline;
  21110. begin
  21111. pTDefRegMap(@Self)^.clr := $00008000;
  21112. end;
  21113. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  21114. begin
  21115. if thebits = 0 then
  21116. pTDefRegMap(@Self)^.clr := $00008000
  21117. else
  21118. pTDefRegMap(@Self)^.&set := $00008000;
  21119. end;
  21120. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  21121. begin
  21122. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21123. end;
  21124. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  21125. begin
  21126. pTDefRegMap(@Self)^.val := thebits;
  21127. end;
  21128. function TPMP_PMCON.getw : TBits_32; inline;
  21129. begin
  21130. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21131. end;
  21132. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  21133. begin
  21134. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21135. end;
  21136. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  21137. begin
  21138. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21139. end;
  21140. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  21141. begin
  21142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  21143. end;
  21144. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  21145. begin
  21146. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  21147. end;
  21148. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  21149. begin
  21150. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21151. end;
  21152. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  21153. begin
  21154. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21155. end;
  21156. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  21157. begin
  21158. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21159. end;
  21160. function TPMP_PMMODE.getMODE : TBits_2; inline;
  21161. begin
  21162. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21163. end;
  21164. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  21165. begin
  21166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21167. end;
  21168. function TPMP_PMMODE.getINCM : TBits_2; inline;
  21169. begin
  21170. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21171. end;
  21172. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  21173. begin
  21174. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  21175. end;
  21176. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  21177. begin
  21178. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  21179. end;
  21180. procedure TPMP_PMMODE.setBUSY; inline;
  21181. begin
  21182. pTDefRegMap(@Self)^.&set := $00008000;
  21183. end;
  21184. procedure TPMP_PMMODE.clearBUSY; inline;
  21185. begin
  21186. pTDefRegMap(@Self)^.clr := $00008000;
  21187. end;
  21188. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  21189. begin
  21190. if thebits = 0 then
  21191. pTDefRegMap(@Self)^.clr := $00008000
  21192. else
  21193. pTDefRegMap(@Self)^.&set := $00008000;
  21194. end;
  21195. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  21196. begin
  21197. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21198. end;
  21199. procedure TPMP_PMMODE.setWAITE0; inline;
  21200. begin
  21201. pTDefRegMap(@Self)^.&set := $00000001;
  21202. end;
  21203. procedure TPMP_PMMODE.clearWAITE0; inline;
  21204. begin
  21205. pTDefRegMap(@Self)^.clr := $00000001;
  21206. end;
  21207. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  21208. begin
  21209. if thebits = 0 then
  21210. pTDefRegMap(@Self)^.clr := $00000001
  21211. else
  21212. pTDefRegMap(@Self)^.&set := $00000001;
  21213. end;
  21214. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  21215. begin
  21216. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21217. end;
  21218. procedure TPMP_PMMODE.setWAITE1; inline;
  21219. begin
  21220. pTDefRegMap(@Self)^.&set := $00000002;
  21221. end;
  21222. procedure TPMP_PMMODE.clearWAITE1; inline;
  21223. begin
  21224. pTDefRegMap(@Self)^.clr := $00000002;
  21225. end;
  21226. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  21227. begin
  21228. if thebits = 0 then
  21229. pTDefRegMap(@Self)^.clr := $00000002
  21230. else
  21231. pTDefRegMap(@Self)^.&set := $00000002;
  21232. end;
  21233. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  21234. begin
  21235. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21236. end;
  21237. procedure TPMP_PMMODE.setWAITM0; inline;
  21238. begin
  21239. pTDefRegMap(@Self)^.&set := $00000004;
  21240. end;
  21241. procedure TPMP_PMMODE.clearWAITM0; inline;
  21242. begin
  21243. pTDefRegMap(@Self)^.clr := $00000004;
  21244. end;
  21245. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  21246. begin
  21247. if thebits = 0 then
  21248. pTDefRegMap(@Self)^.clr := $00000004
  21249. else
  21250. pTDefRegMap(@Self)^.&set := $00000004;
  21251. end;
  21252. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  21253. begin
  21254. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21255. end;
  21256. procedure TPMP_PMMODE.setWAITM1; inline;
  21257. begin
  21258. pTDefRegMap(@Self)^.&set := $00000008;
  21259. end;
  21260. procedure TPMP_PMMODE.clearWAITM1; inline;
  21261. begin
  21262. pTDefRegMap(@Self)^.clr := $00000008;
  21263. end;
  21264. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  21265. begin
  21266. if thebits = 0 then
  21267. pTDefRegMap(@Self)^.clr := $00000008
  21268. else
  21269. pTDefRegMap(@Self)^.&set := $00000008;
  21270. end;
  21271. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  21272. begin
  21273. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21274. end;
  21275. procedure TPMP_PMMODE.setWAITM2; inline;
  21276. begin
  21277. pTDefRegMap(@Self)^.&set := $00000010;
  21278. end;
  21279. procedure TPMP_PMMODE.clearWAITM2; inline;
  21280. begin
  21281. pTDefRegMap(@Self)^.clr := $00000010;
  21282. end;
  21283. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  21284. begin
  21285. if thebits = 0 then
  21286. pTDefRegMap(@Self)^.clr := $00000010
  21287. else
  21288. pTDefRegMap(@Self)^.&set := $00000010;
  21289. end;
  21290. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  21291. begin
  21292. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21293. end;
  21294. procedure TPMP_PMMODE.setWAITM3; inline;
  21295. begin
  21296. pTDefRegMap(@Self)^.&set := $00000020;
  21297. end;
  21298. procedure TPMP_PMMODE.clearWAITM3; inline;
  21299. begin
  21300. pTDefRegMap(@Self)^.clr := $00000020;
  21301. end;
  21302. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21303. begin
  21304. if thebits = 0 then
  21305. pTDefRegMap(@Self)^.clr := $00000020
  21306. else
  21307. pTDefRegMap(@Self)^.&set := $00000020;
  21308. end;
  21309. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21310. begin
  21311. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21312. end;
  21313. procedure TPMP_PMMODE.setWAITB0; inline;
  21314. begin
  21315. pTDefRegMap(@Self)^.&set := $00000040;
  21316. end;
  21317. procedure TPMP_PMMODE.clearWAITB0; inline;
  21318. begin
  21319. pTDefRegMap(@Self)^.clr := $00000040;
  21320. end;
  21321. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21322. begin
  21323. if thebits = 0 then
  21324. pTDefRegMap(@Self)^.clr := $00000040
  21325. else
  21326. pTDefRegMap(@Self)^.&set := $00000040;
  21327. end;
  21328. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21329. begin
  21330. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21331. end;
  21332. procedure TPMP_PMMODE.setWAITB1; inline;
  21333. begin
  21334. pTDefRegMap(@Self)^.&set := $00000080;
  21335. end;
  21336. procedure TPMP_PMMODE.clearWAITB1; inline;
  21337. begin
  21338. pTDefRegMap(@Self)^.clr := $00000080;
  21339. end;
  21340. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21341. begin
  21342. if thebits = 0 then
  21343. pTDefRegMap(@Self)^.clr := $00000080
  21344. else
  21345. pTDefRegMap(@Self)^.&set := $00000080;
  21346. end;
  21347. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21348. begin
  21349. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21350. end;
  21351. procedure TPMP_PMMODE.setMODE0; inline;
  21352. begin
  21353. pTDefRegMap(@Self)^.&set := $00000100;
  21354. end;
  21355. procedure TPMP_PMMODE.clearMODE0; inline;
  21356. begin
  21357. pTDefRegMap(@Self)^.clr := $00000100;
  21358. end;
  21359. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21360. begin
  21361. if thebits = 0 then
  21362. pTDefRegMap(@Self)^.clr := $00000100
  21363. else
  21364. pTDefRegMap(@Self)^.&set := $00000100;
  21365. end;
  21366. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21367. begin
  21368. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21369. end;
  21370. procedure TPMP_PMMODE.setMODE1; inline;
  21371. begin
  21372. pTDefRegMap(@Self)^.&set := $00000200;
  21373. end;
  21374. procedure TPMP_PMMODE.clearMODE1; inline;
  21375. begin
  21376. pTDefRegMap(@Self)^.clr := $00000200;
  21377. end;
  21378. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21379. begin
  21380. if thebits = 0 then
  21381. pTDefRegMap(@Self)^.clr := $00000200
  21382. else
  21383. pTDefRegMap(@Self)^.&set := $00000200;
  21384. end;
  21385. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21386. begin
  21387. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21388. end;
  21389. procedure TPMP_PMMODE.setINCM0; inline;
  21390. begin
  21391. pTDefRegMap(@Self)^.&set := $00000800;
  21392. end;
  21393. procedure TPMP_PMMODE.clearINCM0; inline;
  21394. begin
  21395. pTDefRegMap(@Self)^.clr := $00000800;
  21396. end;
  21397. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21398. begin
  21399. if thebits = 0 then
  21400. pTDefRegMap(@Self)^.clr := $00000800
  21401. else
  21402. pTDefRegMap(@Self)^.&set := $00000800;
  21403. end;
  21404. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21405. begin
  21406. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21407. end;
  21408. procedure TPMP_PMMODE.setINCM1; inline;
  21409. begin
  21410. pTDefRegMap(@Self)^.&set := $00001000;
  21411. end;
  21412. procedure TPMP_PMMODE.clearINCM1; inline;
  21413. begin
  21414. pTDefRegMap(@Self)^.clr := $00001000;
  21415. end;
  21416. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21417. begin
  21418. if thebits = 0 then
  21419. pTDefRegMap(@Self)^.clr := $00001000
  21420. else
  21421. pTDefRegMap(@Self)^.&set := $00001000;
  21422. end;
  21423. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21424. begin
  21425. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21426. end;
  21427. procedure TPMP_PMMODE.setIRQM0; inline;
  21428. begin
  21429. pTDefRegMap(@Self)^.&set := $00002000;
  21430. end;
  21431. procedure TPMP_PMMODE.clearIRQM0; inline;
  21432. begin
  21433. pTDefRegMap(@Self)^.clr := $00002000;
  21434. end;
  21435. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21436. begin
  21437. if thebits = 0 then
  21438. pTDefRegMap(@Self)^.clr := $00002000
  21439. else
  21440. pTDefRegMap(@Self)^.&set := $00002000;
  21441. end;
  21442. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21443. begin
  21444. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21445. end;
  21446. procedure TPMP_PMMODE.setIRQM1; inline;
  21447. begin
  21448. pTDefRegMap(@Self)^.&set := $00004000;
  21449. end;
  21450. procedure TPMP_PMMODE.clearIRQM1; inline;
  21451. begin
  21452. pTDefRegMap(@Self)^.clr := $00004000;
  21453. end;
  21454. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21455. begin
  21456. if thebits = 0 then
  21457. pTDefRegMap(@Self)^.clr := $00004000
  21458. else
  21459. pTDefRegMap(@Self)^.&set := $00004000;
  21460. end;
  21461. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21462. begin
  21463. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21464. end;
  21465. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21466. begin
  21467. pTDefRegMap(@Self)^.val := thebits;
  21468. end;
  21469. function TPMP_PMMODE.getw : TBits_32; inline;
  21470. begin
  21471. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21472. end;
  21473. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21474. begin
  21475. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21476. end;
  21477. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21478. begin
  21479. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21480. end;
  21481. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21482. begin
  21483. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21484. end;
  21485. function TPMP_PMADDR.getCS : TBits_2; inline;
  21486. begin
  21487. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21488. end;
  21489. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21490. begin
  21491. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21492. end;
  21493. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21494. begin
  21495. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21496. end;
  21497. procedure TPMP_PMADDR.setCS1; inline;
  21498. begin
  21499. pTDefRegMap(@Self)^.&set := $00004000;
  21500. end;
  21501. procedure TPMP_PMADDR.clearCS1; inline;
  21502. begin
  21503. pTDefRegMap(@Self)^.clr := $00004000;
  21504. end;
  21505. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21506. begin
  21507. if thebits = 0 then
  21508. pTDefRegMap(@Self)^.clr := $00004000
  21509. else
  21510. pTDefRegMap(@Self)^.&set := $00004000;
  21511. end;
  21512. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21513. begin
  21514. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21515. end;
  21516. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21517. begin
  21518. pTDefRegMap(@Self)^.val := thebits;
  21519. end;
  21520. function TPMP_PMADDR.getw : TBits_32; inline;
  21521. begin
  21522. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21523. end;
  21524. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  21525. begin
  21526. pTDefRegMap(@Self)^.val := thebits;
  21527. end;
  21528. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  21529. begin
  21530. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21531. end;
  21532. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  21533. begin
  21534. pTDefRegMap(@Self)^.val := thebits;
  21535. end;
  21536. function TPMP_PMDOUT.getw : TBits_32; inline;
  21537. begin
  21538. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21539. end;
  21540. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  21541. begin
  21542. pTDefRegMap(@Self)^.val := thebits;
  21543. end;
  21544. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  21545. begin
  21546. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21547. end;
  21548. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  21549. begin
  21550. pTDefRegMap(@Self)^.val := thebits;
  21551. end;
  21552. function TPMP_PMDIN.getw : TBits_32; inline;
  21553. begin
  21554. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21555. end;
  21556. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  21557. begin
  21558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  21559. end;
  21560. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  21561. begin
  21562. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  21563. end;
  21564. procedure TPMP_PMAEN.setPTEN0; inline;
  21565. begin
  21566. pTDefRegMap(@Self)^.&set := $00000001;
  21567. end;
  21568. procedure TPMP_PMAEN.clearPTEN0; inline;
  21569. begin
  21570. pTDefRegMap(@Self)^.clr := $00000001;
  21571. end;
  21572. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  21573. begin
  21574. if thebits = 0 then
  21575. pTDefRegMap(@Self)^.clr := $00000001
  21576. else
  21577. pTDefRegMap(@Self)^.&set := $00000001;
  21578. end;
  21579. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  21580. begin
  21581. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21582. end;
  21583. procedure TPMP_PMAEN.setPTEN1; inline;
  21584. begin
  21585. pTDefRegMap(@Self)^.&set := $00000002;
  21586. end;
  21587. procedure TPMP_PMAEN.clearPTEN1; inline;
  21588. begin
  21589. pTDefRegMap(@Self)^.clr := $00000002;
  21590. end;
  21591. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  21592. begin
  21593. if thebits = 0 then
  21594. pTDefRegMap(@Self)^.clr := $00000002
  21595. else
  21596. pTDefRegMap(@Self)^.&set := $00000002;
  21597. end;
  21598. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  21599. begin
  21600. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21601. end;
  21602. procedure TPMP_PMAEN.setPTEN2; inline;
  21603. begin
  21604. pTDefRegMap(@Self)^.&set := $00000004;
  21605. end;
  21606. procedure TPMP_PMAEN.clearPTEN2; inline;
  21607. begin
  21608. pTDefRegMap(@Self)^.clr := $00000004;
  21609. end;
  21610. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  21611. begin
  21612. if thebits = 0 then
  21613. pTDefRegMap(@Self)^.clr := $00000004
  21614. else
  21615. pTDefRegMap(@Self)^.&set := $00000004;
  21616. end;
  21617. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  21618. begin
  21619. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21620. end;
  21621. procedure TPMP_PMAEN.setPTEN3; inline;
  21622. begin
  21623. pTDefRegMap(@Self)^.&set := $00000008;
  21624. end;
  21625. procedure TPMP_PMAEN.clearPTEN3; inline;
  21626. begin
  21627. pTDefRegMap(@Self)^.clr := $00000008;
  21628. end;
  21629. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  21630. begin
  21631. if thebits = 0 then
  21632. pTDefRegMap(@Self)^.clr := $00000008
  21633. else
  21634. pTDefRegMap(@Self)^.&set := $00000008;
  21635. end;
  21636. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  21637. begin
  21638. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21639. end;
  21640. procedure TPMP_PMAEN.setPTEN4; inline;
  21641. begin
  21642. pTDefRegMap(@Self)^.&set := $00000010;
  21643. end;
  21644. procedure TPMP_PMAEN.clearPTEN4; inline;
  21645. begin
  21646. pTDefRegMap(@Self)^.clr := $00000010;
  21647. end;
  21648. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  21649. begin
  21650. if thebits = 0 then
  21651. pTDefRegMap(@Self)^.clr := $00000010
  21652. else
  21653. pTDefRegMap(@Self)^.&set := $00000010;
  21654. end;
  21655. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  21656. begin
  21657. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21658. end;
  21659. procedure TPMP_PMAEN.setPTEN5; inline;
  21660. begin
  21661. pTDefRegMap(@Self)^.&set := $00000020;
  21662. end;
  21663. procedure TPMP_PMAEN.clearPTEN5; inline;
  21664. begin
  21665. pTDefRegMap(@Self)^.clr := $00000020;
  21666. end;
  21667. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  21668. begin
  21669. if thebits = 0 then
  21670. pTDefRegMap(@Self)^.clr := $00000020
  21671. else
  21672. pTDefRegMap(@Self)^.&set := $00000020;
  21673. end;
  21674. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  21675. begin
  21676. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21677. end;
  21678. procedure TPMP_PMAEN.setPTEN6; inline;
  21679. begin
  21680. pTDefRegMap(@Self)^.&set := $00000040;
  21681. end;
  21682. procedure TPMP_PMAEN.clearPTEN6; inline;
  21683. begin
  21684. pTDefRegMap(@Self)^.clr := $00000040;
  21685. end;
  21686. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  21687. begin
  21688. if thebits = 0 then
  21689. pTDefRegMap(@Self)^.clr := $00000040
  21690. else
  21691. pTDefRegMap(@Self)^.&set := $00000040;
  21692. end;
  21693. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  21694. begin
  21695. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21696. end;
  21697. procedure TPMP_PMAEN.setPTEN7; inline;
  21698. begin
  21699. pTDefRegMap(@Self)^.&set := $00000080;
  21700. end;
  21701. procedure TPMP_PMAEN.clearPTEN7; inline;
  21702. begin
  21703. pTDefRegMap(@Self)^.clr := $00000080;
  21704. end;
  21705. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  21706. begin
  21707. if thebits = 0 then
  21708. pTDefRegMap(@Self)^.clr := $00000080
  21709. else
  21710. pTDefRegMap(@Self)^.&set := $00000080;
  21711. end;
  21712. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  21713. begin
  21714. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21715. end;
  21716. procedure TPMP_PMAEN.setPTEN8; inline;
  21717. begin
  21718. pTDefRegMap(@Self)^.&set := $00000100;
  21719. end;
  21720. procedure TPMP_PMAEN.clearPTEN8; inline;
  21721. begin
  21722. pTDefRegMap(@Self)^.clr := $00000100;
  21723. end;
  21724. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  21725. begin
  21726. if thebits = 0 then
  21727. pTDefRegMap(@Self)^.clr := $00000100
  21728. else
  21729. pTDefRegMap(@Self)^.&set := $00000100;
  21730. end;
  21731. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  21732. begin
  21733. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21734. end;
  21735. procedure TPMP_PMAEN.setPTEN9; inline;
  21736. begin
  21737. pTDefRegMap(@Self)^.&set := $00000200;
  21738. end;
  21739. procedure TPMP_PMAEN.clearPTEN9; inline;
  21740. begin
  21741. pTDefRegMap(@Self)^.clr := $00000200;
  21742. end;
  21743. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  21744. begin
  21745. if thebits = 0 then
  21746. pTDefRegMap(@Self)^.clr := $00000200
  21747. else
  21748. pTDefRegMap(@Self)^.&set := $00000200;
  21749. end;
  21750. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  21751. begin
  21752. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21753. end;
  21754. procedure TPMP_PMAEN.setPTEN10; inline;
  21755. begin
  21756. pTDefRegMap(@Self)^.&set := $00000400;
  21757. end;
  21758. procedure TPMP_PMAEN.clearPTEN10; inline;
  21759. begin
  21760. pTDefRegMap(@Self)^.clr := $00000400;
  21761. end;
  21762. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  21763. begin
  21764. if thebits = 0 then
  21765. pTDefRegMap(@Self)^.clr := $00000400
  21766. else
  21767. pTDefRegMap(@Self)^.&set := $00000400;
  21768. end;
  21769. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  21770. begin
  21771. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21772. end;
  21773. procedure TPMP_PMAEN.setPTEN11; inline;
  21774. begin
  21775. pTDefRegMap(@Self)^.&set := $00000800;
  21776. end;
  21777. procedure TPMP_PMAEN.clearPTEN11; inline;
  21778. begin
  21779. pTDefRegMap(@Self)^.clr := $00000800;
  21780. end;
  21781. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  21782. begin
  21783. if thebits = 0 then
  21784. pTDefRegMap(@Self)^.clr := $00000800
  21785. else
  21786. pTDefRegMap(@Self)^.&set := $00000800;
  21787. end;
  21788. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  21789. begin
  21790. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21791. end;
  21792. procedure TPMP_PMAEN.setPTEN12; inline;
  21793. begin
  21794. pTDefRegMap(@Self)^.&set := $00001000;
  21795. end;
  21796. procedure TPMP_PMAEN.clearPTEN12; inline;
  21797. begin
  21798. pTDefRegMap(@Self)^.clr := $00001000;
  21799. end;
  21800. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  21801. begin
  21802. if thebits = 0 then
  21803. pTDefRegMap(@Self)^.clr := $00001000
  21804. else
  21805. pTDefRegMap(@Self)^.&set := $00001000;
  21806. end;
  21807. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  21808. begin
  21809. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21810. end;
  21811. procedure TPMP_PMAEN.setPTEN13; inline;
  21812. begin
  21813. pTDefRegMap(@Self)^.&set := $00002000;
  21814. end;
  21815. procedure TPMP_PMAEN.clearPTEN13; inline;
  21816. begin
  21817. pTDefRegMap(@Self)^.clr := $00002000;
  21818. end;
  21819. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  21820. begin
  21821. if thebits = 0 then
  21822. pTDefRegMap(@Self)^.clr := $00002000
  21823. else
  21824. pTDefRegMap(@Self)^.&set := $00002000;
  21825. end;
  21826. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  21827. begin
  21828. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21829. end;
  21830. procedure TPMP_PMAEN.setPTEN14; inline;
  21831. begin
  21832. pTDefRegMap(@Self)^.&set := $00004000;
  21833. end;
  21834. procedure TPMP_PMAEN.clearPTEN14; inline;
  21835. begin
  21836. pTDefRegMap(@Self)^.clr := $00004000;
  21837. end;
  21838. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  21839. begin
  21840. if thebits = 0 then
  21841. pTDefRegMap(@Self)^.clr := $00004000
  21842. else
  21843. pTDefRegMap(@Self)^.&set := $00004000;
  21844. end;
  21845. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  21846. begin
  21847. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21848. end;
  21849. procedure TPMP_PMAEN.setPTEN15; inline;
  21850. begin
  21851. pTDefRegMap(@Self)^.&set := $00008000;
  21852. end;
  21853. procedure TPMP_PMAEN.clearPTEN15; inline;
  21854. begin
  21855. pTDefRegMap(@Self)^.clr := $00008000;
  21856. end;
  21857. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  21858. begin
  21859. if thebits = 0 then
  21860. pTDefRegMap(@Self)^.clr := $00008000
  21861. else
  21862. pTDefRegMap(@Self)^.&set := $00008000;
  21863. end;
  21864. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  21865. begin
  21866. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21867. end;
  21868. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  21869. begin
  21870. pTDefRegMap(@Self)^.val := thebits;
  21871. end;
  21872. function TPMP_PMAEN.getw : TBits_32; inline;
  21873. begin
  21874. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21875. end;
  21876. procedure TPMP_PMSTAT.setOB0E; inline;
  21877. begin
  21878. pTDefRegMap(@Self)^.&set := $00000001;
  21879. end;
  21880. procedure TPMP_PMSTAT.clearOB0E; inline;
  21881. begin
  21882. pTDefRegMap(@Self)^.clr := $00000001;
  21883. end;
  21884. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  21885. begin
  21886. if thebits = 0 then
  21887. pTDefRegMap(@Self)^.clr := $00000001
  21888. else
  21889. pTDefRegMap(@Self)^.&set := $00000001;
  21890. end;
  21891. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  21892. begin
  21893. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21894. end;
  21895. procedure TPMP_PMSTAT.setOB1E; inline;
  21896. begin
  21897. pTDefRegMap(@Self)^.&set := $00000002;
  21898. end;
  21899. procedure TPMP_PMSTAT.clearOB1E; inline;
  21900. begin
  21901. pTDefRegMap(@Self)^.clr := $00000002;
  21902. end;
  21903. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  21904. begin
  21905. if thebits = 0 then
  21906. pTDefRegMap(@Self)^.clr := $00000002
  21907. else
  21908. pTDefRegMap(@Self)^.&set := $00000002;
  21909. end;
  21910. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  21911. begin
  21912. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21913. end;
  21914. procedure TPMP_PMSTAT.setOB2E; inline;
  21915. begin
  21916. pTDefRegMap(@Self)^.&set := $00000004;
  21917. end;
  21918. procedure TPMP_PMSTAT.clearOB2E; inline;
  21919. begin
  21920. pTDefRegMap(@Self)^.clr := $00000004;
  21921. end;
  21922. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  21923. begin
  21924. if thebits = 0 then
  21925. pTDefRegMap(@Self)^.clr := $00000004
  21926. else
  21927. pTDefRegMap(@Self)^.&set := $00000004;
  21928. end;
  21929. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  21930. begin
  21931. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21932. end;
  21933. procedure TPMP_PMSTAT.setOB3E; inline;
  21934. begin
  21935. pTDefRegMap(@Self)^.&set := $00000008;
  21936. end;
  21937. procedure TPMP_PMSTAT.clearOB3E; inline;
  21938. begin
  21939. pTDefRegMap(@Self)^.clr := $00000008;
  21940. end;
  21941. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  21942. begin
  21943. if thebits = 0 then
  21944. pTDefRegMap(@Self)^.clr := $00000008
  21945. else
  21946. pTDefRegMap(@Self)^.&set := $00000008;
  21947. end;
  21948. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  21949. begin
  21950. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21951. end;
  21952. procedure TPMP_PMSTAT.setOBUF; inline;
  21953. begin
  21954. pTDefRegMap(@Self)^.&set := $00000040;
  21955. end;
  21956. procedure TPMP_PMSTAT.clearOBUF; inline;
  21957. begin
  21958. pTDefRegMap(@Self)^.clr := $00000040;
  21959. end;
  21960. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  21961. begin
  21962. if thebits = 0 then
  21963. pTDefRegMap(@Self)^.clr := $00000040
  21964. else
  21965. pTDefRegMap(@Self)^.&set := $00000040;
  21966. end;
  21967. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  21968. begin
  21969. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21970. end;
  21971. procedure TPMP_PMSTAT.setOBE; inline;
  21972. begin
  21973. pTDefRegMap(@Self)^.&set := $00000080;
  21974. end;
  21975. procedure TPMP_PMSTAT.clearOBE; inline;
  21976. begin
  21977. pTDefRegMap(@Self)^.clr := $00000080;
  21978. end;
  21979. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  21980. begin
  21981. if thebits = 0 then
  21982. pTDefRegMap(@Self)^.clr := $00000080
  21983. else
  21984. pTDefRegMap(@Self)^.&set := $00000080;
  21985. end;
  21986. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  21987. begin
  21988. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21989. end;
  21990. procedure TPMP_PMSTAT.setIB0F; inline;
  21991. begin
  21992. pTDefRegMap(@Self)^.&set := $00000100;
  21993. end;
  21994. procedure TPMP_PMSTAT.clearIB0F; inline;
  21995. begin
  21996. pTDefRegMap(@Self)^.clr := $00000100;
  21997. end;
  21998. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  21999. begin
  22000. if thebits = 0 then
  22001. pTDefRegMap(@Self)^.clr := $00000100
  22002. else
  22003. pTDefRegMap(@Self)^.&set := $00000100;
  22004. end;
  22005. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  22006. begin
  22007. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22008. end;
  22009. procedure TPMP_PMSTAT.setIB1F; inline;
  22010. begin
  22011. pTDefRegMap(@Self)^.&set := $00000200;
  22012. end;
  22013. procedure TPMP_PMSTAT.clearIB1F; inline;
  22014. begin
  22015. pTDefRegMap(@Self)^.clr := $00000200;
  22016. end;
  22017. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  22018. begin
  22019. if thebits = 0 then
  22020. pTDefRegMap(@Self)^.clr := $00000200
  22021. else
  22022. pTDefRegMap(@Self)^.&set := $00000200;
  22023. end;
  22024. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  22025. begin
  22026. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22027. end;
  22028. procedure TPMP_PMSTAT.setIB2F; inline;
  22029. begin
  22030. pTDefRegMap(@Self)^.&set := $00000400;
  22031. end;
  22032. procedure TPMP_PMSTAT.clearIB2F; inline;
  22033. begin
  22034. pTDefRegMap(@Self)^.clr := $00000400;
  22035. end;
  22036. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  22037. begin
  22038. if thebits = 0 then
  22039. pTDefRegMap(@Self)^.clr := $00000400
  22040. else
  22041. pTDefRegMap(@Self)^.&set := $00000400;
  22042. end;
  22043. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  22044. begin
  22045. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22046. end;
  22047. procedure TPMP_PMSTAT.setIB3F; inline;
  22048. begin
  22049. pTDefRegMap(@Self)^.&set := $00000800;
  22050. end;
  22051. procedure TPMP_PMSTAT.clearIB3F; inline;
  22052. begin
  22053. pTDefRegMap(@Self)^.clr := $00000800;
  22054. end;
  22055. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  22056. begin
  22057. if thebits = 0 then
  22058. pTDefRegMap(@Self)^.clr := $00000800
  22059. else
  22060. pTDefRegMap(@Self)^.&set := $00000800;
  22061. end;
  22062. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  22063. begin
  22064. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22065. end;
  22066. procedure TPMP_PMSTAT.setIBOV; inline;
  22067. begin
  22068. pTDefRegMap(@Self)^.&set := $00004000;
  22069. end;
  22070. procedure TPMP_PMSTAT.clearIBOV; inline;
  22071. begin
  22072. pTDefRegMap(@Self)^.clr := $00004000;
  22073. end;
  22074. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  22075. begin
  22076. if thebits = 0 then
  22077. pTDefRegMap(@Self)^.clr := $00004000
  22078. else
  22079. pTDefRegMap(@Self)^.&set := $00004000;
  22080. end;
  22081. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  22082. begin
  22083. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22084. end;
  22085. procedure TPMP_PMSTAT.setIBF; inline;
  22086. begin
  22087. pTDefRegMap(@Self)^.&set := $00008000;
  22088. end;
  22089. procedure TPMP_PMSTAT.clearIBF; inline;
  22090. begin
  22091. pTDefRegMap(@Self)^.clr := $00008000;
  22092. end;
  22093. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  22094. begin
  22095. if thebits = 0 then
  22096. pTDefRegMap(@Self)^.clr := $00008000
  22097. else
  22098. pTDefRegMap(@Self)^.&set := $00008000;
  22099. end;
  22100. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  22101. begin
  22102. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22103. end;
  22104. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  22105. begin
  22106. pTDefRegMap(@Self)^.val := thebits;
  22107. end;
  22108. function TPMP_PMSTAT.getw : TBits_32; inline;
  22109. begin
  22110. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22111. end;
  22112. procedure TADC10_AD1CON1.setDONE; inline;
  22113. begin
  22114. pTDefRegMap(@Self)^.&set := $00000001;
  22115. end;
  22116. procedure TADC10_AD1CON1.clearDONE; inline;
  22117. begin
  22118. pTDefRegMap(@Self)^.clr := $00000001;
  22119. end;
  22120. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  22121. begin
  22122. if thebits = 0 then
  22123. pTDefRegMap(@Self)^.clr := $00000001
  22124. else
  22125. pTDefRegMap(@Self)^.&set := $00000001;
  22126. end;
  22127. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  22128. begin
  22129. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22130. end;
  22131. procedure TADC10_AD1CON1.setSAMP; inline;
  22132. begin
  22133. pTDefRegMap(@Self)^.&set := $00000002;
  22134. end;
  22135. procedure TADC10_AD1CON1.clearSAMP; inline;
  22136. begin
  22137. pTDefRegMap(@Self)^.clr := $00000002;
  22138. end;
  22139. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  22140. begin
  22141. if thebits = 0 then
  22142. pTDefRegMap(@Self)^.clr := $00000002
  22143. else
  22144. pTDefRegMap(@Self)^.&set := $00000002;
  22145. end;
  22146. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  22147. begin
  22148. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22149. end;
  22150. procedure TADC10_AD1CON1.setASAM; inline;
  22151. begin
  22152. pTDefRegMap(@Self)^.&set := $00000004;
  22153. end;
  22154. procedure TADC10_AD1CON1.clearASAM; inline;
  22155. begin
  22156. pTDefRegMap(@Self)^.clr := $00000004;
  22157. end;
  22158. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  22159. begin
  22160. if thebits = 0 then
  22161. pTDefRegMap(@Self)^.clr := $00000004
  22162. else
  22163. pTDefRegMap(@Self)^.&set := $00000004;
  22164. end;
  22165. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  22166. begin
  22167. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22168. end;
  22169. procedure TADC10_AD1CON1.setCLRASAM; inline;
  22170. begin
  22171. pTDefRegMap(@Self)^.&set := $00000010;
  22172. end;
  22173. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  22174. begin
  22175. pTDefRegMap(@Self)^.clr := $00000010;
  22176. end;
  22177. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  22178. begin
  22179. if thebits = 0 then
  22180. pTDefRegMap(@Self)^.clr := $00000010
  22181. else
  22182. pTDefRegMap(@Self)^.&set := $00000010;
  22183. end;
  22184. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  22185. begin
  22186. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22187. end;
  22188. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  22189. begin
  22190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  22191. end;
  22192. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  22193. begin
  22194. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  22195. end;
  22196. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  22197. begin
  22198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  22199. end;
  22200. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  22201. begin
  22202. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  22203. end;
  22204. procedure TADC10_AD1CON1.setSIDL; inline;
  22205. begin
  22206. pTDefRegMap(@Self)^.&set := $00002000;
  22207. end;
  22208. procedure TADC10_AD1CON1.clearSIDL; inline;
  22209. begin
  22210. pTDefRegMap(@Self)^.clr := $00002000;
  22211. end;
  22212. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  22213. begin
  22214. if thebits = 0 then
  22215. pTDefRegMap(@Self)^.clr := $00002000
  22216. else
  22217. pTDefRegMap(@Self)^.&set := $00002000;
  22218. end;
  22219. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  22220. begin
  22221. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22222. end;
  22223. procedure TADC10_AD1CON1.setON; inline;
  22224. begin
  22225. pTDefRegMap(@Self)^.&set := $00008000;
  22226. end;
  22227. procedure TADC10_AD1CON1.clearON; inline;
  22228. begin
  22229. pTDefRegMap(@Self)^.clr := $00008000;
  22230. end;
  22231. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  22232. begin
  22233. if thebits = 0 then
  22234. pTDefRegMap(@Self)^.clr := $00008000
  22235. else
  22236. pTDefRegMap(@Self)^.&set := $00008000;
  22237. end;
  22238. function TADC10_AD1CON1.getON : TBits_1; inline;
  22239. begin
  22240. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22241. end;
  22242. procedure TADC10_AD1CON1.setSSRC0; inline;
  22243. begin
  22244. pTDefRegMap(@Self)^.&set := $00000020;
  22245. end;
  22246. procedure TADC10_AD1CON1.clearSSRC0; inline;
  22247. begin
  22248. pTDefRegMap(@Self)^.clr := $00000020;
  22249. end;
  22250. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  22251. begin
  22252. if thebits = 0 then
  22253. pTDefRegMap(@Self)^.clr := $00000020
  22254. else
  22255. pTDefRegMap(@Self)^.&set := $00000020;
  22256. end;
  22257. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  22258. begin
  22259. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22260. end;
  22261. procedure TADC10_AD1CON1.setSSRC1; inline;
  22262. begin
  22263. pTDefRegMap(@Self)^.&set := $00000040;
  22264. end;
  22265. procedure TADC10_AD1CON1.clearSSRC1; inline;
  22266. begin
  22267. pTDefRegMap(@Self)^.clr := $00000040;
  22268. end;
  22269. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  22270. begin
  22271. if thebits = 0 then
  22272. pTDefRegMap(@Self)^.clr := $00000040
  22273. else
  22274. pTDefRegMap(@Self)^.&set := $00000040;
  22275. end;
  22276. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  22277. begin
  22278. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22279. end;
  22280. procedure TADC10_AD1CON1.setSSRC2; inline;
  22281. begin
  22282. pTDefRegMap(@Self)^.&set := $00000080;
  22283. end;
  22284. procedure TADC10_AD1CON1.clearSSRC2; inline;
  22285. begin
  22286. pTDefRegMap(@Self)^.clr := $00000080;
  22287. end;
  22288. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  22289. begin
  22290. if thebits = 0 then
  22291. pTDefRegMap(@Self)^.clr := $00000080
  22292. else
  22293. pTDefRegMap(@Self)^.&set := $00000080;
  22294. end;
  22295. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  22296. begin
  22297. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22298. end;
  22299. procedure TADC10_AD1CON1.setFORM0; inline;
  22300. begin
  22301. pTDefRegMap(@Self)^.&set := $00000100;
  22302. end;
  22303. procedure TADC10_AD1CON1.clearFORM0; inline;
  22304. begin
  22305. pTDefRegMap(@Self)^.clr := $00000100;
  22306. end;
  22307. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22308. begin
  22309. if thebits = 0 then
  22310. pTDefRegMap(@Self)^.clr := $00000100
  22311. else
  22312. pTDefRegMap(@Self)^.&set := $00000100;
  22313. end;
  22314. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22315. begin
  22316. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22317. end;
  22318. procedure TADC10_AD1CON1.setFORM1; inline;
  22319. begin
  22320. pTDefRegMap(@Self)^.&set := $00000200;
  22321. end;
  22322. procedure TADC10_AD1CON1.clearFORM1; inline;
  22323. begin
  22324. pTDefRegMap(@Self)^.clr := $00000200;
  22325. end;
  22326. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22327. begin
  22328. if thebits = 0 then
  22329. pTDefRegMap(@Self)^.clr := $00000200
  22330. else
  22331. pTDefRegMap(@Self)^.&set := $00000200;
  22332. end;
  22333. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22334. begin
  22335. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22336. end;
  22337. procedure TADC10_AD1CON1.setFORM2; inline;
  22338. begin
  22339. pTDefRegMap(@Self)^.&set := $00000400;
  22340. end;
  22341. procedure TADC10_AD1CON1.clearFORM2; inline;
  22342. begin
  22343. pTDefRegMap(@Self)^.clr := $00000400;
  22344. end;
  22345. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22346. begin
  22347. if thebits = 0 then
  22348. pTDefRegMap(@Self)^.clr := $00000400
  22349. else
  22350. pTDefRegMap(@Self)^.&set := $00000400;
  22351. end;
  22352. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22353. begin
  22354. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22355. end;
  22356. procedure TADC10_AD1CON1.setADSIDL; inline;
  22357. begin
  22358. pTDefRegMap(@Self)^.&set := $00002000;
  22359. end;
  22360. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22361. begin
  22362. pTDefRegMap(@Self)^.clr := $00002000;
  22363. end;
  22364. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22365. begin
  22366. if thebits = 0 then
  22367. pTDefRegMap(@Self)^.clr := $00002000
  22368. else
  22369. pTDefRegMap(@Self)^.&set := $00002000;
  22370. end;
  22371. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22372. begin
  22373. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22374. end;
  22375. procedure TADC10_AD1CON1.setADON; inline;
  22376. begin
  22377. pTDefRegMap(@Self)^.&set := $00008000;
  22378. end;
  22379. procedure TADC10_AD1CON1.clearADON; inline;
  22380. begin
  22381. pTDefRegMap(@Self)^.clr := $00008000;
  22382. end;
  22383. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22384. begin
  22385. if thebits = 0 then
  22386. pTDefRegMap(@Self)^.clr := $00008000
  22387. else
  22388. pTDefRegMap(@Self)^.&set := $00008000;
  22389. end;
  22390. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22391. begin
  22392. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22393. end;
  22394. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22395. begin
  22396. pTDefRegMap(@Self)^.val := thebits;
  22397. end;
  22398. function TADC10_AD1CON1.getw : TBits_32; inline;
  22399. begin
  22400. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22401. end;
  22402. procedure TADC10_AD1CON2.setALTS; inline;
  22403. begin
  22404. pTDefRegMap(@Self)^.&set := $00000001;
  22405. end;
  22406. procedure TADC10_AD1CON2.clearALTS; inline;
  22407. begin
  22408. pTDefRegMap(@Self)^.clr := $00000001;
  22409. end;
  22410. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22411. begin
  22412. if thebits = 0 then
  22413. pTDefRegMap(@Self)^.clr := $00000001
  22414. else
  22415. pTDefRegMap(@Self)^.&set := $00000001;
  22416. end;
  22417. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22418. begin
  22419. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22420. end;
  22421. procedure TADC10_AD1CON2.setBUFM; inline;
  22422. begin
  22423. pTDefRegMap(@Self)^.&set := $00000002;
  22424. end;
  22425. procedure TADC10_AD1CON2.clearBUFM; inline;
  22426. begin
  22427. pTDefRegMap(@Self)^.clr := $00000002;
  22428. end;
  22429. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22430. begin
  22431. if thebits = 0 then
  22432. pTDefRegMap(@Self)^.clr := $00000002
  22433. else
  22434. pTDefRegMap(@Self)^.&set := $00000002;
  22435. end;
  22436. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22437. begin
  22438. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22439. end;
  22440. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22441. begin
  22442. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22443. end;
  22444. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22445. begin
  22446. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22447. end;
  22448. procedure TADC10_AD1CON2.setBUFS; inline;
  22449. begin
  22450. pTDefRegMap(@Self)^.&set := $00000080;
  22451. end;
  22452. procedure TADC10_AD1CON2.clearBUFS; inline;
  22453. begin
  22454. pTDefRegMap(@Self)^.clr := $00000080;
  22455. end;
  22456. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22457. begin
  22458. if thebits = 0 then
  22459. pTDefRegMap(@Self)^.clr := $00000080
  22460. else
  22461. pTDefRegMap(@Self)^.&set := $00000080;
  22462. end;
  22463. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22464. begin
  22465. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22466. end;
  22467. procedure TADC10_AD1CON2.setCSCNA; inline;
  22468. begin
  22469. pTDefRegMap(@Self)^.&set := $00000400;
  22470. end;
  22471. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22472. begin
  22473. pTDefRegMap(@Self)^.clr := $00000400;
  22474. end;
  22475. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22476. begin
  22477. if thebits = 0 then
  22478. pTDefRegMap(@Self)^.clr := $00000400
  22479. else
  22480. pTDefRegMap(@Self)^.&set := $00000400;
  22481. end;
  22482. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22483. begin
  22484. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22485. end;
  22486. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22487. begin
  22488. pTDefRegMap(@Self)^.&set := $00001000;
  22489. end;
  22490. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22491. begin
  22492. pTDefRegMap(@Self)^.clr := $00001000;
  22493. end;
  22494. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22495. begin
  22496. if thebits = 0 then
  22497. pTDefRegMap(@Self)^.clr := $00001000
  22498. else
  22499. pTDefRegMap(@Self)^.&set := $00001000;
  22500. end;
  22501. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22502. begin
  22503. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22504. end;
  22505. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22506. begin
  22507. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22508. end;
  22509. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22510. begin
  22511. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22512. end;
  22513. procedure TADC10_AD1CON2.setSMPI0; inline;
  22514. begin
  22515. pTDefRegMap(@Self)^.&set := $00000004;
  22516. end;
  22517. procedure TADC10_AD1CON2.clearSMPI0; inline;
  22518. begin
  22519. pTDefRegMap(@Self)^.clr := $00000004;
  22520. end;
  22521. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  22522. begin
  22523. if thebits = 0 then
  22524. pTDefRegMap(@Self)^.clr := $00000004
  22525. else
  22526. pTDefRegMap(@Self)^.&set := $00000004;
  22527. end;
  22528. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  22529. begin
  22530. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22531. end;
  22532. procedure TADC10_AD1CON2.setSMPI1; inline;
  22533. begin
  22534. pTDefRegMap(@Self)^.&set := $00000008;
  22535. end;
  22536. procedure TADC10_AD1CON2.clearSMPI1; inline;
  22537. begin
  22538. pTDefRegMap(@Self)^.clr := $00000008;
  22539. end;
  22540. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  22541. begin
  22542. if thebits = 0 then
  22543. pTDefRegMap(@Self)^.clr := $00000008
  22544. else
  22545. pTDefRegMap(@Self)^.&set := $00000008;
  22546. end;
  22547. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  22548. begin
  22549. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22550. end;
  22551. procedure TADC10_AD1CON2.setSMPI2; inline;
  22552. begin
  22553. pTDefRegMap(@Self)^.&set := $00000010;
  22554. end;
  22555. procedure TADC10_AD1CON2.clearSMPI2; inline;
  22556. begin
  22557. pTDefRegMap(@Self)^.clr := $00000010;
  22558. end;
  22559. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  22560. begin
  22561. if thebits = 0 then
  22562. pTDefRegMap(@Self)^.clr := $00000010
  22563. else
  22564. pTDefRegMap(@Self)^.&set := $00000010;
  22565. end;
  22566. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  22567. begin
  22568. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22569. end;
  22570. procedure TADC10_AD1CON2.setSMPI3; inline;
  22571. begin
  22572. pTDefRegMap(@Self)^.&set := $00000020;
  22573. end;
  22574. procedure TADC10_AD1CON2.clearSMPI3; inline;
  22575. begin
  22576. pTDefRegMap(@Self)^.clr := $00000020;
  22577. end;
  22578. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  22579. begin
  22580. if thebits = 0 then
  22581. pTDefRegMap(@Self)^.clr := $00000020
  22582. else
  22583. pTDefRegMap(@Self)^.&set := $00000020;
  22584. end;
  22585. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  22586. begin
  22587. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22588. end;
  22589. procedure TADC10_AD1CON2.setVCFG0; inline;
  22590. begin
  22591. pTDefRegMap(@Self)^.&set := $00002000;
  22592. end;
  22593. procedure TADC10_AD1CON2.clearVCFG0; inline;
  22594. begin
  22595. pTDefRegMap(@Self)^.clr := $00002000;
  22596. end;
  22597. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  22598. begin
  22599. if thebits = 0 then
  22600. pTDefRegMap(@Self)^.clr := $00002000
  22601. else
  22602. pTDefRegMap(@Self)^.&set := $00002000;
  22603. end;
  22604. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  22605. begin
  22606. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22607. end;
  22608. procedure TADC10_AD1CON2.setVCFG1; inline;
  22609. begin
  22610. pTDefRegMap(@Self)^.&set := $00004000;
  22611. end;
  22612. procedure TADC10_AD1CON2.clearVCFG1; inline;
  22613. begin
  22614. pTDefRegMap(@Self)^.clr := $00004000;
  22615. end;
  22616. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  22617. begin
  22618. if thebits = 0 then
  22619. pTDefRegMap(@Self)^.clr := $00004000
  22620. else
  22621. pTDefRegMap(@Self)^.&set := $00004000;
  22622. end;
  22623. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  22624. begin
  22625. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22626. end;
  22627. procedure TADC10_AD1CON2.setVCFG2; inline;
  22628. begin
  22629. pTDefRegMap(@Self)^.&set := $00008000;
  22630. end;
  22631. procedure TADC10_AD1CON2.clearVCFG2; inline;
  22632. begin
  22633. pTDefRegMap(@Self)^.clr := $00008000;
  22634. end;
  22635. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  22636. begin
  22637. if thebits = 0 then
  22638. pTDefRegMap(@Self)^.clr := $00008000
  22639. else
  22640. pTDefRegMap(@Self)^.&set := $00008000;
  22641. end;
  22642. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  22643. begin
  22644. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22645. end;
  22646. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  22647. begin
  22648. pTDefRegMap(@Self)^.val := thebits;
  22649. end;
  22650. function TADC10_AD1CON2.getw : TBits_32; inline;
  22651. begin
  22652. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22653. end;
  22654. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  22655. begin
  22656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  22657. end;
  22658. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  22659. begin
  22660. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  22661. end;
  22662. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  22663. begin
  22664. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  22665. end;
  22666. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  22667. begin
  22668. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  22669. end;
  22670. procedure TADC10_AD1CON3.setADRC; inline;
  22671. begin
  22672. pTDefRegMap(@Self)^.&set := $00008000;
  22673. end;
  22674. procedure TADC10_AD1CON3.clearADRC; inline;
  22675. begin
  22676. pTDefRegMap(@Self)^.clr := $00008000;
  22677. end;
  22678. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  22679. begin
  22680. if thebits = 0 then
  22681. pTDefRegMap(@Self)^.clr := $00008000
  22682. else
  22683. pTDefRegMap(@Self)^.&set := $00008000;
  22684. end;
  22685. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  22686. begin
  22687. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22688. end;
  22689. procedure TADC10_AD1CON3.setADCS0; inline;
  22690. begin
  22691. pTDefRegMap(@Self)^.&set := $00000001;
  22692. end;
  22693. procedure TADC10_AD1CON3.clearADCS0; inline;
  22694. begin
  22695. pTDefRegMap(@Self)^.clr := $00000001;
  22696. end;
  22697. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  22698. begin
  22699. if thebits = 0 then
  22700. pTDefRegMap(@Self)^.clr := $00000001
  22701. else
  22702. pTDefRegMap(@Self)^.&set := $00000001;
  22703. end;
  22704. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  22705. begin
  22706. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22707. end;
  22708. procedure TADC10_AD1CON3.setADCS1; inline;
  22709. begin
  22710. pTDefRegMap(@Self)^.&set := $00000002;
  22711. end;
  22712. procedure TADC10_AD1CON3.clearADCS1; inline;
  22713. begin
  22714. pTDefRegMap(@Self)^.clr := $00000002;
  22715. end;
  22716. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  22717. begin
  22718. if thebits = 0 then
  22719. pTDefRegMap(@Self)^.clr := $00000002
  22720. else
  22721. pTDefRegMap(@Self)^.&set := $00000002;
  22722. end;
  22723. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  22724. begin
  22725. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22726. end;
  22727. procedure TADC10_AD1CON3.setADCS2; inline;
  22728. begin
  22729. pTDefRegMap(@Self)^.&set := $00000004;
  22730. end;
  22731. procedure TADC10_AD1CON3.clearADCS2; inline;
  22732. begin
  22733. pTDefRegMap(@Self)^.clr := $00000004;
  22734. end;
  22735. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  22736. begin
  22737. if thebits = 0 then
  22738. pTDefRegMap(@Self)^.clr := $00000004
  22739. else
  22740. pTDefRegMap(@Self)^.&set := $00000004;
  22741. end;
  22742. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  22743. begin
  22744. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22745. end;
  22746. procedure TADC10_AD1CON3.setADCS3; inline;
  22747. begin
  22748. pTDefRegMap(@Self)^.&set := $00000008;
  22749. end;
  22750. procedure TADC10_AD1CON3.clearADCS3; inline;
  22751. begin
  22752. pTDefRegMap(@Self)^.clr := $00000008;
  22753. end;
  22754. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  22755. begin
  22756. if thebits = 0 then
  22757. pTDefRegMap(@Self)^.clr := $00000008
  22758. else
  22759. pTDefRegMap(@Self)^.&set := $00000008;
  22760. end;
  22761. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  22762. begin
  22763. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22764. end;
  22765. procedure TADC10_AD1CON3.setADCS4; inline;
  22766. begin
  22767. pTDefRegMap(@Self)^.&set := $00000010;
  22768. end;
  22769. procedure TADC10_AD1CON3.clearADCS4; inline;
  22770. begin
  22771. pTDefRegMap(@Self)^.clr := $00000010;
  22772. end;
  22773. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  22774. begin
  22775. if thebits = 0 then
  22776. pTDefRegMap(@Self)^.clr := $00000010
  22777. else
  22778. pTDefRegMap(@Self)^.&set := $00000010;
  22779. end;
  22780. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  22781. begin
  22782. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22783. end;
  22784. procedure TADC10_AD1CON3.setADCS5; inline;
  22785. begin
  22786. pTDefRegMap(@Self)^.&set := $00000020;
  22787. end;
  22788. procedure TADC10_AD1CON3.clearADCS5; inline;
  22789. begin
  22790. pTDefRegMap(@Self)^.clr := $00000020;
  22791. end;
  22792. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  22793. begin
  22794. if thebits = 0 then
  22795. pTDefRegMap(@Self)^.clr := $00000020
  22796. else
  22797. pTDefRegMap(@Self)^.&set := $00000020;
  22798. end;
  22799. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  22800. begin
  22801. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22802. end;
  22803. procedure TADC10_AD1CON3.setADCS6; inline;
  22804. begin
  22805. pTDefRegMap(@Self)^.&set := $00000040;
  22806. end;
  22807. procedure TADC10_AD1CON3.clearADCS6; inline;
  22808. begin
  22809. pTDefRegMap(@Self)^.clr := $00000040;
  22810. end;
  22811. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  22812. begin
  22813. if thebits = 0 then
  22814. pTDefRegMap(@Self)^.clr := $00000040
  22815. else
  22816. pTDefRegMap(@Self)^.&set := $00000040;
  22817. end;
  22818. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  22819. begin
  22820. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22821. end;
  22822. procedure TADC10_AD1CON3.setADCS7; inline;
  22823. begin
  22824. pTDefRegMap(@Self)^.&set := $00000080;
  22825. end;
  22826. procedure TADC10_AD1CON3.clearADCS7; inline;
  22827. begin
  22828. pTDefRegMap(@Self)^.clr := $00000080;
  22829. end;
  22830. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  22831. begin
  22832. if thebits = 0 then
  22833. pTDefRegMap(@Self)^.clr := $00000080
  22834. else
  22835. pTDefRegMap(@Self)^.&set := $00000080;
  22836. end;
  22837. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  22838. begin
  22839. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22840. end;
  22841. procedure TADC10_AD1CON3.setSAMC0; inline;
  22842. begin
  22843. pTDefRegMap(@Self)^.&set := $00000100;
  22844. end;
  22845. procedure TADC10_AD1CON3.clearSAMC0; inline;
  22846. begin
  22847. pTDefRegMap(@Self)^.clr := $00000100;
  22848. end;
  22849. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  22850. begin
  22851. if thebits = 0 then
  22852. pTDefRegMap(@Self)^.clr := $00000100
  22853. else
  22854. pTDefRegMap(@Self)^.&set := $00000100;
  22855. end;
  22856. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  22857. begin
  22858. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22859. end;
  22860. procedure TADC10_AD1CON3.setSAMC1; inline;
  22861. begin
  22862. pTDefRegMap(@Self)^.&set := $00000200;
  22863. end;
  22864. procedure TADC10_AD1CON3.clearSAMC1; inline;
  22865. begin
  22866. pTDefRegMap(@Self)^.clr := $00000200;
  22867. end;
  22868. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  22869. begin
  22870. if thebits = 0 then
  22871. pTDefRegMap(@Self)^.clr := $00000200
  22872. else
  22873. pTDefRegMap(@Self)^.&set := $00000200;
  22874. end;
  22875. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  22876. begin
  22877. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22878. end;
  22879. procedure TADC10_AD1CON3.setSAMC2; inline;
  22880. begin
  22881. pTDefRegMap(@Self)^.&set := $00000400;
  22882. end;
  22883. procedure TADC10_AD1CON3.clearSAMC2; inline;
  22884. begin
  22885. pTDefRegMap(@Self)^.clr := $00000400;
  22886. end;
  22887. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  22888. begin
  22889. if thebits = 0 then
  22890. pTDefRegMap(@Self)^.clr := $00000400
  22891. else
  22892. pTDefRegMap(@Self)^.&set := $00000400;
  22893. end;
  22894. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  22895. begin
  22896. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22897. end;
  22898. procedure TADC10_AD1CON3.setSAMC3; inline;
  22899. begin
  22900. pTDefRegMap(@Self)^.&set := $00000800;
  22901. end;
  22902. procedure TADC10_AD1CON3.clearSAMC3; inline;
  22903. begin
  22904. pTDefRegMap(@Self)^.clr := $00000800;
  22905. end;
  22906. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  22907. begin
  22908. if thebits = 0 then
  22909. pTDefRegMap(@Self)^.clr := $00000800
  22910. else
  22911. pTDefRegMap(@Self)^.&set := $00000800;
  22912. end;
  22913. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  22914. begin
  22915. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22916. end;
  22917. procedure TADC10_AD1CON3.setSAMC4; inline;
  22918. begin
  22919. pTDefRegMap(@Self)^.&set := $00001000;
  22920. end;
  22921. procedure TADC10_AD1CON3.clearSAMC4; inline;
  22922. begin
  22923. pTDefRegMap(@Self)^.clr := $00001000;
  22924. end;
  22925. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  22926. begin
  22927. if thebits = 0 then
  22928. pTDefRegMap(@Self)^.clr := $00001000
  22929. else
  22930. pTDefRegMap(@Self)^.&set := $00001000;
  22931. end;
  22932. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  22933. begin
  22934. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22935. end;
  22936. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  22937. begin
  22938. pTDefRegMap(@Self)^.val := thebits;
  22939. end;
  22940. function TADC10_AD1CON3.getw : TBits_32; inline;
  22941. begin
  22942. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22943. end;
  22944. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  22945. begin
  22946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  22947. end;
  22948. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  22949. begin
  22950. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  22951. end;
  22952. procedure TADC10_AD1CHS.setCH0NA; inline;
  22953. begin
  22954. pTDefRegMap(@Self)^.&set := $00800000;
  22955. end;
  22956. procedure TADC10_AD1CHS.clearCH0NA; inline;
  22957. begin
  22958. pTDefRegMap(@Self)^.clr := $00800000;
  22959. end;
  22960. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  22961. begin
  22962. if thebits = 0 then
  22963. pTDefRegMap(@Self)^.clr := $00800000
  22964. else
  22965. pTDefRegMap(@Self)^.&set := $00800000;
  22966. end;
  22967. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  22968. begin
  22969. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22970. end;
  22971. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  22972. begin
  22973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  22974. end;
  22975. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  22976. begin
  22977. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  22978. end;
  22979. procedure TADC10_AD1CHS.setCH0NB; inline;
  22980. begin
  22981. pTDefRegMap(@Self)^.&set := $80000000;
  22982. end;
  22983. procedure TADC10_AD1CHS.clearCH0NB; inline;
  22984. begin
  22985. pTDefRegMap(@Self)^.clr := $80000000;
  22986. end;
  22987. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  22988. begin
  22989. if thebits = 0 then
  22990. pTDefRegMap(@Self)^.clr := $80000000
  22991. else
  22992. pTDefRegMap(@Self)^.&set := $80000000;
  22993. end;
  22994. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  22995. begin
  22996. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22997. end;
  22998. procedure TADC10_AD1CHS.setCH0SA0; inline;
  22999. begin
  23000. pTDefRegMap(@Self)^.&set := $00010000;
  23001. end;
  23002. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  23003. begin
  23004. pTDefRegMap(@Self)^.clr := $00010000;
  23005. end;
  23006. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  23007. begin
  23008. if thebits = 0 then
  23009. pTDefRegMap(@Self)^.clr := $00010000
  23010. else
  23011. pTDefRegMap(@Self)^.&set := $00010000;
  23012. end;
  23013. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  23014. begin
  23015. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23016. end;
  23017. procedure TADC10_AD1CHS.setCH0SA1; inline;
  23018. begin
  23019. pTDefRegMap(@Self)^.&set := $00020000;
  23020. end;
  23021. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  23022. begin
  23023. pTDefRegMap(@Self)^.clr := $00020000;
  23024. end;
  23025. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  23026. begin
  23027. if thebits = 0 then
  23028. pTDefRegMap(@Self)^.clr := $00020000
  23029. else
  23030. pTDefRegMap(@Self)^.&set := $00020000;
  23031. end;
  23032. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  23033. begin
  23034. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23035. end;
  23036. procedure TADC10_AD1CHS.setCH0SA2; inline;
  23037. begin
  23038. pTDefRegMap(@Self)^.&set := $00040000;
  23039. end;
  23040. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  23041. begin
  23042. pTDefRegMap(@Self)^.clr := $00040000;
  23043. end;
  23044. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  23045. begin
  23046. if thebits = 0 then
  23047. pTDefRegMap(@Self)^.clr := $00040000
  23048. else
  23049. pTDefRegMap(@Self)^.&set := $00040000;
  23050. end;
  23051. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  23052. begin
  23053. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23054. end;
  23055. procedure TADC10_AD1CHS.setCH0SA3; inline;
  23056. begin
  23057. pTDefRegMap(@Self)^.&set := $00080000;
  23058. end;
  23059. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  23060. begin
  23061. pTDefRegMap(@Self)^.clr := $00080000;
  23062. end;
  23063. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  23064. begin
  23065. if thebits = 0 then
  23066. pTDefRegMap(@Self)^.clr := $00080000
  23067. else
  23068. pTDefRegMap(@Self)^.&set := $00080000;
  23069. end;
  23070. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  23071. begin
  23072. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  23073. end;
  23074. procedure TADC10_AD1CHS.setCH0SB0; inline;
  23075. begin
  23076. pTDefRegMap(@Self)^.&set := $01000000;
  23077. end;
  23078. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  23079. begin
  23080. pTDefRegMap(@Self)^.clr := $01000000;
  23081. end;
  23082. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  23083. begin
  23084. if thebits = 0 then
  23085. pTDefRegMap(@Self)^.clr := $01000000
  23086. else
  23087. pTDefRegMap(@Self)^.&set := $01000000;
  23088. end;
  23089. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  23090. begin
  23091. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23092. end;
  23093. procedure TADC10_AD1CHS.setCH0SB1; inline;
  23094. begin
  23095. pTDefRegMap(@Self)^.&set := $02000000;
  23096. end;
  23097. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  23098. begin
  23099. pTDefRegMap(@Self)^.clr := $02000000;
  23100. end;
  23101. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  23102. begin
  23103. if thebits = 0 then
  23104. pTDefRegMap(@Self)^.clr := $02000000
  23105. else
  23106. pTDefRegMap(@Self)^.&set := $02000000;
  23107. end;
  23108. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  23109. begin
  23110. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  23111. end;
  23112. procedure TADC10_AD1CHS.setCH0SB2; inline;
  23113. begin
  23114. pTDefRegMap(@Self)^.&set := $04000000;
  23115. end;
  23116. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  23117. begin
  23118. pTDefRegMap(@Self)^.clr := $04000000;
  23119. end;
  23120. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  23121. begin
  23122. if thebits = 0 then
  23123. pTDefRegMap(@Self)^.clr := $04000000
  23124. else
  23125. pTDefRegMap(@Self)^.&set := $04000000;
  23126. end;
  23127. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  23128. begin
  23129. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  23130. end;
  23131. procedure TADC10_AD1CHS.setCH0SB3; inline;
  23132. begin
  23133. pTDefRegMap(@Self)^.&set := $08000000;
  23134. end;
  23135. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  23136. begin
  23137. pTDefRegMap(@Self)^.clr := $08000000;
  23138. end;
  23139. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  23140. begin
  23141. if thebits = 0 then
  23142. pTDefRegMap(@Self)^.clr := $08000000
  23143. else
  23144. pTDefRegMap(@Self)^.&set := $08000000;
  23145. end;
  23146. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  23147. begin
  23148. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  23149. end;
  23150. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  23151. begin
  23152. pTDefRegMap(@Self)^.val := thebits;
  23153. end;
  23154. function TADC10_AD1CHS.getw : TBits_32; inline;
  23155. begin
  23156. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23157. end;
  23158. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  23159. begin
  23160. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  23161. end;
  23162. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  23163. begin
  23164. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  23165. end;
  23166. procedure TADC10_AD1CSSL.setCSSL0; inline;
  23167. begin
  23168. pTDefRegMap(@Self)^.&set := $00000001;
  23169. end;
  23170. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  23171. begin
  23172. pTDefRegMap(@Self)^.clr := $00000001;
  23173. end;
  23174. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  23175. begin
  23176. if thebits = 0 then
  23177. pTDefRegMap(@Self)^.clr := $00000001
  23178. else
  23179. pTDefRegMap(@Self)^.&set := $00000001;
  23180. end;
  23181. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  23182. begin
  23183. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23184. end;
  23185. procedure TADC10_AD1CSSL.setCSSL1; inline;
  23186. begin
  23187. pTDefRegMap(@Self)^.&set := $00000002;
  23188. end;
  23189. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  23190. begin
  23191. pTDefRegMap(@Self)^.clr := $00000002;
  23192. end;
  23193. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  23194. begin
  23195. if thebits = 0 then
  23196. pTDefRegMap(@Self)^.clr := $00000002
  23197. else
  23198. pTDefRegMap(@Self)^.&set := $00000002;
  23199. end;
  23200. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  23201. begin
  23202. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23203. end;
  23204. procedure TADC10_AD1CSSL.setCSSL2; inline;
  23205. begin
  23206. pTDefRegMap(@Self)^.&set := $00000004;
  23207. end;
  23208. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  23209. begin
  23210. pTDefRegMap(@Self)^.clr := $00000004;
  23211. end;
  23212. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  23213. begin
  23214. if thebits = 0 then
  23215. pTDefRegMap(@Self)^.clr := $00000004
  23216. else
  23217. pTDefRegMap(@Self)^.&set := $00000004;
  23218. end;
  23219. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  23220. begin
  23221. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23222. end;
  23223. procedure TADC10_AD1CSSL.setCSSL3; inline;
  23224. begin
  23225. pTDefRegMap(@Self)^.&set := $00000008;
  23226. end;
  23227. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  23228. begin
  23229. pTDefRegMap(@Self)^.clr := $00000008;
  23230. end;
  23231. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  23232. begin
  23233. if thebits = 0 then
  23234. pTDefRegMap(@Self)^.clr := $00000008
  23235. else
  23236. pTDefRegMap(@Self)^.&set := $00000008;
  23237. end;
  23238. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  23239. begin
  23240. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23241. end;
  23242. procedure TADC10_AD1CSSL.setCSSL4; inline;
  23243. begin
  23244. pTDefRegMap(@Self)^.&set := $00000010;
  23245. end;
  23246. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  23247. begin
  23248. pTDefRegMap(@Self)^.clr := $00000010;
  23249. end;
  23250. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  23251. begin
  23252. if thebits = 0 then
  23253. pTDefRegMap(@Self)^.clr := $00000010
  23254. else
  23255. pTDefRegMap(@Self)^.&set := $00000010;
  23256. end;
  23257. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  23258. begin
  23259. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23260. end;
  23261. procedure TADC10_AD1CSSL.setCSSL5; inline;
  23262. begin
  23263. pTDefRegMap(@Self)^.&set := $00000020;
  23264. end;
  23265. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  23266. begin
  23267. pTDefRegMap(@Self)^.clr := $00000020;
  23268. end;
  23269. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  23270. begin
  23271. if thebits = 0 then
  23272. pTDefRegMap(@Self)^.clr := $00000020
  23273. else
  23274. pTDefRegMap(@Self)^.&set := $00000020;
  23275. end;
  23276. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  23277. begin
  23278. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23279. end;
  23280. procedure TADC10_AD1CSSL.setCSSL6; inline;
  23281. begin
  23282. pTDefRegMap(@Self)^.&set := $00000040;
  23283. end;
  23284. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  23285. begin
  23286. pTDefRegMap(@Self)^.clr := $00000040;
  23287. end;
  23288. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  23289. begin
  23290. if thebits = 0 then
  23291. pTDefRegMap(@Self)^.clr := $00000040
  23292. else
  23293. pTDefRegMap(@Self)^.&set := $00000040;
  23294. end;
  23295. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  23296. begin
  23297. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23298. end;
  23299. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23300. begin
  23301. pTDefRegMap(@Self)^.&set := $00000080;
  23302. end;
  23303. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23304. begin
  23305. pTDefRegMap(@Self)^.clr := $00000080;
  23306. end;
  23307. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23308. begin
  23309. if thebits = 0 then
  23310. pTDefRegMap(@Self)^.clr := $00000080
  23311. else
  23312. pTDefRegMap(@Self)^.&set := $00000080;
  23313. end;
  23314. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23315. begin
  23316. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23317. end;
  23318. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23319. begin
  23320. pTDefRegMap(@Self)^.&set := $00000100;
  23321. end;
  23322. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23323. begin
  23324. pTDefRegMap(@Self)^.clr := $00000100;
  23325. end;
  23326. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23327. begin
  23328. if thebits = 0 then
  23329. pTDefRegMap(@Self)^.clr := $00000100
  23330. else
  23331. pTDefRegMap(@Self)^.&set := $00000100;
  23332. end;
  23333. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23334. begin
  23335. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23336. end;
  23337. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23338. begin
  23339. pTDefRegMap(@Self)^.&set := $00000200;
  23340. end;
  23341. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23342. begin
  23343. pTDefRegMap(@Self)^.clr := $00000200;
  23344. end;
  23345. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23346. begin
  23347. if thebits = 0 then
  23348. pTDefRegMap(@Self)^.clr := $00000200
  23349. else
  23350. pTDefRegMap(@Self)^.&set := $00000200;
  23351. end;
  23352. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23353. begin
  23354. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23355. end;
  23356. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23357. begin
  23358. pTDefRegMap(@Self)^.&set := $00000400;
  23359. end;
  23360. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23361. begin
  23362. pTDefRegMap(@Self)^.clr := $00000400;
  23363. end;
  23364. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23365. begin
  23366. if thebits = 0 then
  23367. pTDefRegMap(@Self)^.clr := $00000400
  23368. else
  23369. pTDefRegMap(@Self)^.&set := $00000400;
  23370. end;
  23371. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23372. begin
  23373. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23374. end;
  23375. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23376. begin
  23377. pTDefRegMap(@Self)^.&set := $00000800;
  23378. end;
  23379. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23380. begin
  23381. pTDefRegMap(@Self)^.clr := $00000800;
  23382. end;
  23383. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23384. begin
  23385. if thebits = 0 then
  23386. pTDefRegMap(@Self)^.clr := $00000800
  23387. else
  23388. pTDefRegMap(@Self)^.&set := $00000800;
  23389. end;
  23390. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23391. begin
  23392. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23393. end;
  23394. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23395. begin
  23396. pTDefRegMap(@Self)^.&set := $00001000;
  23397. end;
  23398. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23399. begin
  23400. pTDefRegMap(@Self)^.clr := $00001000;
  23401. end;
  23402. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23403. begin
  23404. if thebits = 0 then
  23405. pTDefRegMap(@Self)^.clr := $00001000
  23406. else
  23407. pTDefRegMap(@Self)^.&set := $00001000;
  23408. end;
  23409. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23410. begin
  23411. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23412. end;
  23413. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23414. begin
  23415. pTDefRegMap(@Self)^.&set := $00002000;
  23416. end;
  23417. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23418. begin
  23419. pTDefRegMap(@Self)^.clr := $00002000;
  23420. end;
  23421. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23422. begin
  23423. if thebits = 0 then
  23424. pTDefRegMap(@Self)^.clr := $00002000
  23425. else
  23426. pTDefRegMap(@Self)^.&set := $00002000;
  23427. end;
  23428. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23429. begin
  23430. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23431. end;
  23432. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23433. begin
  23434. pTDefRegMap(@Self)^.&set := $00004000;
  23435. end;
  23436. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23437. begin
  23438. pTDefRegMap(@Self)^.clr := $00004000;
  23439. end;
  23440. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23441. begin
  23442. if thebits = 0 then
  23443. pTDefRegMap(@Self)^.clr := $00004000
  23444. else
  23445. pTDefRegMap(@Self)^.&set := $00004000;
  23446. end;
  23447. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23448. begin
  23449. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23450. end;
  23451. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23452. begin
  23453. pTDefRegMap(@Self)^.&set := $00008000;
  23454. end;
  23455. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23456. begin
  23457. pTDefRegMap(@Self)^.clr := $00008000;
  23458. end;
  23459. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23460. begin
  23461. if thebits = 0 then
  23462. pTDefRegMap(@Self)^.clr := $00008000
  23463. else
  23464. pTDefRegMap(@Self)^.&set := $00008000;
  23465. end;
  23466. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23467. begin
  23468. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23469. end;
  23470. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23471. begin
  23472. pTDefRegMap(@Self)^.val := thebits;
  23473. end;
  23474. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23475. begin
  23476. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23477. end;
  23478. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23479. begin
  23480. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23481. end;
  23482. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23483. begin
  23484. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23485. end;
  23486. procedure TCVR_CVRCON.setCVRSS; inline;
  23487. begin
  23488. pTDefRegMap(@Self)^.&set := $00000010;
  23489. end;
  23490. procedure TCVR_CVRCON.clearCVRSS; inline;
  23491. begin
  23492. pTDefRegMap(@Self)^.clr := $00000010;
  23493. end;
  23494. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23495. begin
  23496. if thebits = 0 then
  23497. pTDefRegMap(@Self)^.clr := $00000010
  23498. else
  23499. pTDefRegMap(@Self)^.&set := $00000010;
  23500. end;
  23501. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23502. begin
  23503. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23504. end;
  23505. procedure TCVR_CVRCON.setCVRR; inline;
  23506. begin
  23507. pTDefRegMap(@Self)^.&set := $00000020;
  23508. end;
  23509. procedure TCVR_CVRCON.clearCVRR; inline;
  23510. begin
  23511. pTDefRegMap(@Self)^.clr := $00000020;
  23512. end;
  23513. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23514. begin
  23515. if thebits = 0 then
  23516. pTDefRegMap(@Self)^.clr := $00000020
  23517. else
  23518. pTDefRegMap(@Self)^.&set := $00000020;
  23519. end;
  23520. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  23521. begin
  23522. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23523. end;
  23524. procedure TCVR_CVRCON.setCVROE; inline;
  23525. begin
  23526. pTDefRegMap(@Self)^.&set := $00000040;
  23527. end;
  23528. procedure TCVR_CVRCON.clearCVROE; inline;
  23529. begin
  23530. pTDefRegMap(@Self)^.clr := $00000040;
  23531. end;
  23532. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  23533. begin
  23534. if thebits = 0 then
  23535. pTDefRegMap(@Self)^.clr := $00000040
  23536. else
  23537. pTDefRegMap(@Self)^.&set := $00000040;
  23538. end;
  23539. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  23540. begin
  23541. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23542. end;
  23543. procedure TCVR_CVRCON.setON; inline;
  23544. begin
  23545. pTDefRegMap(@Self)^.&set := $00008000;
  23546. end;
  23547. procedure TCVR_CVRCON.clearON; inline;
  23548. begin
  23549. pTDefRegMap(@Self)^.clr := $00008000;
  23550. end;
  23551. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  23552. begin
  23553. if thebits = 0 then
  23554. pTDefRegMap(@Self)^.clr := $00008000
  23555. else
  23556. pTDefRegMap(@Self)^.&set := $00008000;
  23557. end;
  23558. function TCVR_CVRCON.getON : TBits_1; inline;
  23559. begin
  23560. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23561. end;
  23562. procedure TCVR_CVRCON.setCVR0; inline;
  23563. begin
  23564. pTDefRegMap(@Self)^.&set := $00000001;
  23565. end;
  23566. procedure TCVR_CVRCON.clearCVR0; inline;
  23567. begin
  23568. pTDefRegMap(@Self)^.clr := $00000001;
  23569. end;
  23570. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  23571. begin
  23572. if thebits = 0 then
  23573. pTDefRegMap(@Self)^.clr := $00000001
  23574. else
  23575. pTDefRegMap(@Self)^.&set := $00000001;
  23576. end;
  23577. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  23578. begin
  23579. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23580. end;
  23581. procedure TCVR_CVRCON.setCVR1; inline;
  23582. begin
  23583. pTDefRegMap(@Self)^.&set := $00000002;
  23584. end;
  23585. procedure TCVR_CVRCON.clearCVR1; inline;
  23586. begin
  23587. pTDefRegMap(@Self)^.clr := $00000002;
  23588. end;
  23589. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  23590. begin
  23591. if thebits = 0 then
  23592. pTDefRegMap(@Self)^.clr := $00000002
  23593. else
  23594. pTDefRegMap(@Self)^.&set := $00000002;
  23595. end;
  23596. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  23597. begin
  23598. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23599. end;
  23600. procedure TCVR_CVRCON.setCVR2; inline;
  23601. begin
  23602. pTDefRegMap(@Self)^.&set := $00000004;
  23603. end;
  23604. procedure TCVR_CVRCON.clearCVR2; inline;
  23605. begin
  23606. pTDefRegMap(@Self)^.clr := $00000004;
  23607. end;
  23608. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  23609. begin
  23610. if thebits = 0 then
  23611. pTDefRegMap(@Self)^.clr := $00000004
  23612. else
  23613. pTDefRegMap(@Self)^.&set := $00000004;
  23614. end;
  23615. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  23616. begin
  23617. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23618. end;
  23619. procedure TCVR_CVRCON.setCVR3; inline;
  23620. begin
  23621. pTDefRegMap(@Self)^.&set := $00000008;
  23622. end;
  23623. procedure TCVR_CVRCON.clearCVR3; inline;
  23624. begin
  23625. pTDefRegMap(@Self)^.clr := $00000008;
  23626. end;
  23627. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  23628. begin
  23629. if thebits = 0 then
  23630. pTDefRegMap(@Self)^.clr := $00000008
  23631. else
  23632. pTDefRegMap(@Self)^.&set := $00000008;
  23633. end;
  23634. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  23635. begin
  23636. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23637. end;
  23638. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  23639. begin
  23640. pTDefRegMap(@Self)^.val := thebits;
  23641. end;
  23642. function TCVR_CVRCON.getw : TBits_32; inline;
  23643. begin
  23644. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23645. end;
  23646. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  23647. begin
  23648. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23649. end;
  23650. function TCMP_CM1CON.getCCH : TBits_2; inline;
  23651. begin
  23652. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23653. end;
  23654. procedure TCMP_CM1CON.setCREF; inline;
  23655. begin
  23656. pTDefRegMap(@Self)^.&set := $00000010;
  23657. end;
  23658. procedure TCMP_CM1CON.clearCREF; inline;
  23659. begin
  23660. pTDefRegMap(@Self)^.clr := $00000010;
  23661. end;
  23662. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  23663. begin
  23664. if thebits = 0 then
  23665. pTDefRegMap(@Self)^.clr := $00000010
  23666. else
  23667. pTDefRegMap(@Self)^.&set := $00000010;
  23668. end;
  23669. function TCMP_CM1CON.getCREF : TBits_1; inline;
  23670. begin
  23671. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23672. end;
  23673. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  23674. begin
  23675. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23676. end;
  23677. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  23678. begin
  23679. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23680. end;
  23681. procedure TCMP_CM1CON.setCOUT; inline;
  23682. begin
  23683. pTDefRegMap(@Self)^.&set := $00000100;
  23684. end;
  23685. procedure TCMP_CM1CON.clearCOUT; inline;
  23686. begin
  23687. pTDefRegMap(@Self)^.clr := $00000100;
  23688. end;
  23689. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  23690. begin
  23691. if thebits = 0 then
  23692. pTDefRegMap(@Self)^.clr := $00000100
  23693. else
  23694. pTDefRegMap(@Self)^.&set := $00000100;
  23695. end;
  23696. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  23697. begin
  23698. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23699. end;
  23700. procedure TCMP_CM1CON.setCPOL; inline;
  23701. begin
  23702. pTDefRegMap(@Self)^.&set := $00002000;
  23703. end;
  23704. procedure TCMP_CM1CON.clearCPOL; inline;
  23705. begin
  23706. pTDefRegMap(@Self)^.clr := $00002000;
  23707. end;
  23708. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  23709. begin
  23710. if thebits = 0 then
  23711. pTDefRegMap(@Self)^.clr := $00002000
  23712. else
  23713. pTDefRegMap(@Self)^.&set := $00002000;
  23714. end;
  23715. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  23716. begin
  23717. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23718. end;
  23719. procedure TCMP_CM1CON.setCOE; inline;
  23720. begin
  23721. pTDefRegMap(@Self)^.&set := $00004000;
  23722. end;
  23723. procedure TCMP_CM1CON.clearCOE; inline;
  23724. begin
  23725. pTDefRegMap(@Self)^.clr := $00004000;
  23726. end;
  23727. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  23728. begin
  23729. if thebits = 0 then
  23730. pTDefRegMap(@Self)^.clr := $00004000
  23731. else
  23732. pTDefRegMap(@Self)^.&set := $00004000;
  23733. end;
  23734. function TCMP_CM1CON.getCOE : TBits_1; inline;
  23735. begin
  23736. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23737. end;
  23738. procedure TCMP_CM1CON.setON; inline;
  23739. begin
  23740. pTDefRegMap(@Self)^.&set := $00008000;
  23741. end;
  23742. procedure TCMP_CM1CON.clearON; inline;
  23743. begin
  23744. pTDefRegMap(@Self)^.clr := $00008000;
  23745. end;
  23746. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  23747. begin
  23748. if thebits = 0 then
  23749. pTDefRegMap(@Self)^.clr := $00008000
  23750. else
  23751. pTDefRegMap(@Self)^.&set := $00008000;
  23752. end;
  23753. function TCMP_CM1CON.getON : TBits_1; inline;
  23754. begin
  23755. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23756. end;
  23757. procedure TCMP_CM1CON.setCCH0; inline;
  23758. begin
  23759. pTDefRegMap(@Self)^.&set := $00000001;
  23760. end;
  23761. procedure TCMP_CM1CON.clearCCH0; inline;
  23762. begin
  23763. pTDefRegMap(@Self)^.clr := $00000001;
  23764. end;
  23765. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  23766. begin
  23767. if thebits = 0 then
  23768. pTDefRegMap(@Self)^.clr := $00000001
  23769. else
  23770. pTDefRegMap(@Self)^.&set := $00000001;
  23771. end;
  23772. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  23773. begin
  23774. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23775. end;
  23776. procedure TCMP_CM1CON.setCCH1; inline;
  23777. begin
  23778. pTDefRegMap(@Self)^.&set := $00000002;
  23779. end;
  23780. procedure TCMP_CM1CON.clearCCH1; inline;
  23781. begin
  23782. pTDefRegMap(@Self)^.clr := $00000002;
  23783. end;
  23784. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  23785. begin
  23786. if thebits = 0 then
  23787. pTDefRegMap(@Self)^.clr := $00000002
  23788. else
  23789. pTDefRegMap(@Self)^.&set := $00000002;
  23790. end;
  23791. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  23792. begin
  23793. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23794. end;
  23795. procedure TCMP_CM1CON.setEVPOL0; inline;
  23796. begin
  23797. pTDefRegMap(@Self)^.&set := $00000040;
  23798. end;
  23799. procedure TCMP_CM1CON.clearEVPOL0; inline;
  23800. begin
  23801. pTDefRegMap(@Self)^.clr := $00000040;
  23802. end;
  23803. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  23804. begin
  23805. if thebits = 0 then
  23806. pTDefRegMap(@Self)^.clr := $00000040
  23807. else
  23808. pTDefRegMap(@Self)^.&set := $00000040;
  23809. end;
  23810. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  23811. begin
  23812. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23813. end;
  23814. procedure TCMP_CM1CON.setEVPOL1; inline;
  23815. begin
  23816. pTDefRegMap(@Self)^.&set := $00000080;
  23817. end;
  23818. procedure TCMP_CM1CON.clearEVPOL1; inline;
  23819. begin
  23820. pTDefRegMap(@Self)^.clr := $00000080;
  23821. end;
  23822. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  23823. begin
  23824. if thebits = 0 then
  23825. pTDefRegMap(@Self)^.clr := $00000080
  23826. else
  23827. pTDefRegMap(@Self)^.&set := $00000080;
  23828. end;
  23829. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  23830. begin
  23831. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23832. end;
  23833. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  23834. begin
  23835. pTDefRegMap(@Self)^.val := thebits;
  23836. end;
  23837. function TCMP_CM1CON.getw : TBits_32; inline;
  23838. begin
  23839. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23840. end;
  23841. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  23842. begin
  23843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23844. end;
  23845. function TCMP_CM2CON.getCCH : TBits_2; inline;
  23846. begin
  23847. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23848. end;
  23849. procedure TCMP_CM2CON.setCREF; inline;
  23850. begin
  23851. pTDefRegMap(@Self)^.&set := $00000010;
  23852. end;
  23853. procedure TCMP_CM2CON.clearCREF; inline;
  23854. begin
  23855. pTDefRegMap(@Self)^.clr := $00000010;
  23856. end;
  23857. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  23858. begin
  23859. if thebits = 0 then
  23860. pTDefRegMap(@Self)^.clr := $00000010
  23861. else
  23862. pTDefRegMap(@Self)^.&set := $00000010;
  23863. end;
  23864. function TCMP_CM2CON.getCREF : TBits_1; inline;
  23865. begin
  23866. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23867. end;
  23868. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  23869. begin
  23870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23871. end;
  23872. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  23873. begin
  23874. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23875. end;
  23876. procedure TCMP_CM2CON.setCOUT; inline;
  23877. begin
  23878. pTDefRegMap(@Self)^.&set := $00000100;
  23879. end;
  23880. procedure TCMP_CM2CON.clearCOUT; inline;
  23881. begin
  23882. pTDefRegMap(@Self)^.clr := $00000100;
  23883. end;
  23884. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  23885. begin
  23886. if thebits = 0 then
  23887. pTDefRegMap(@Self)^.clr := $00000100
  23888. else
  23889. pTDefRegMap(@Self)^.&set := $00000100;
  23890. end;
  23891. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  23892. begin
  23893. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23894. end;
  23895. procedure TCMP_CM2CON.setCPOL; inline;
  23896. begin
  23897. pTDefRegMap(@Self)^.&set := $00002000;
  23898. end;
  23899. procedure TCMP_CM2CON.clearCPOL; inline;
  23900. begin
  23901. pTDefRegMap(@Self)^.clr := $00002000;
  23902. end;
  23903. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  23904. begin
  23905. if thebits = 0 then
  23906. pTDefRegMap(@Self)^.clr := $00002000
  23907. else
  23908. pTDefRegMap(@Self)^.&set := $00002000;
  23909. end;
  23910. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  23911. begin
  23912. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23913. end;
  23914. procedure TCMP_CM2CON.setCOE; inline;
  23915. begin
  23916. pTDefRegMap(@Self)^.&set := $00004000;
  23917. end;
  23918. procedure TCMP_CM2CON.clearCOE; inline;
  23919. begin
  23920. pTDefRegMap(@Self)^.clr := $00004000;
  23921. end;
  23922. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  23923. begin
  23924. if thebits = 0 then
  23925. pTDefRegMap(@Self)^.clr := $00004000
  23926. else
  23927. pTDefRegMap(@Self)^.&set := $00004000;
  23928. end;
  23929. function TCMP_CM2CON.getCOE : TBits_1; inline;
  23930. begin
  23931. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23932. end;
  23933. procedure TCMP_CM2CON.setON; inline;
  23934. begin
  23935. pTDefRegMap(@Self)^.&set := $00008000;
  23936. end;
  23937. procedure TCMP_CM2CON.clearON; inline;
  23938. begin
  23939. pTDefRegMap(@Self)^.clr := $00008000;
  23940. end;
  23941. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  23942. begin
  23943. if thebits = 0 then
  23944. pTDefRegMap(@Self)^.clr := $00008000
  23945. else
  23946. pTDefRegMap(@Self)^.&set := $00008000;
  23947. end;
  23948. function TCMP_CM2CON.getON : TBits_1; inline;
  23949. begin
  23950. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23951. end;
  23952. procedure TCMP_CM2CON.setCCH0; inline;
  23953. begin
  23954. pTDefRegMap(@Self)^.&set := $00000001;
  23955. end;
  23956. procedure TCMP_CM2CON.clearCCH0; inline;
  23957. begin
  23958. pTDefRegMap(@Self)^.clr := $00000001;
  23959. end;
  23960. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  23961. begin
  23962. if thebits = 0 then
  23963. pTDefRegMap(@Self)^.clr := $00000001
  23964. else
  23965. pTDefRegMap(@Self)^.&set := $00000001;
  23966. end;
  23967. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  23968. begin
  23969. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23970. end;
  23971. procedure TCMP_CM2CON.setCCH1; inline;
  23972. begin
  23973. pTDefRegMap(@Self)^.&set := $00000002;
  23974. end;
  23975. procedure TCMP_CM2CON.clearCCH1; inline;
  23976. begin
  23977. pTDefRegMap(@Self)^.clr := $00000002;
  23978. end;
  23979. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  23980. begin
  23981. if thebits = 0 then
  23982. pTDefRegMap(@Self)^.clr := $00000002
  23983. else
  23984. pTDefRegMap(@Self)^.&set := $00000002;
  23985. end;
  23986. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  23987. begin
  23988. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23989. end;
  23990. procedure TCMP_CM2CON.setEVPOL0; inline;
  23991. begin
  23992. pTDefRegMap(@Self)^.&set := $00000040;
  23993. end;
  23994. procedure TCMP_CM2CON.clearEVPOL0; inline;
  23995. begin
  23996. pTDefRegMap(@Self)^.clr := $00000040;
  23997. end;
  23998. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  23999. begin
  24000. if thebits = 0 then
  24001. pTDefRegMap(@Self)^.clr := $00000040
  24002. else
  24003. pTDefRegMap(@Self)^.&set := $00000040;
  24004. end;
  24005. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  24006. begin
  24007. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24008. end;
  24009. procedure TCMP_CM2CON.setEVPOL1; inline;
  24010. begin
  24011. pTDefRegMap(@Self)^.&set := $00000080;
  24012. end;
  24013. procedure TCMP_CM2CON.clearEVPOL1; inline;
  24014. begin
  24015. pTDefRegMap(@Self)^.clr := $00000080;
  24016. end;
  24017. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  24018. begin
  24019. if thebits = 0 then
  24020. pTDefRegMap(@Self)^.clr := $00000080
  24021. else
  24022. pTDefRegMap(@Self)^.&set := $00000080;
  24023. end;
  24024. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  24025. begin
  24026. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24027. end;
  24028. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  24029. begin
  24030. pTDefRegMap(@Self)^.val := thebits;
  24031. end;
  24032. function TCMP_CM2CON.getw : TBits_32; inline;
  24033. begin
  24034. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24035. end;
  24036. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  24037. begin
  24038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24039. end;
  24040. function TCMP_CM3CON.getCCH : TBits_2; inline;
  24041. begin
  24042. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24043. end;
  24044. procedure TCMP_CM3CON.setCREF; inline;
  24045. begin
  24046. pTDefRegMap(@Self)^.&set := $00000010;
  24047. end;
  24048. procedure TCMP_CM3CON.clearCREF; inline;
  24049. begin
  24050. pTDefRegMap(@Self)^.clr := $00000010;
  24051. end;
  24052. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  24053. begin
  24054. if thebits = 0 then
  24055. pTDefRegMap(@Self)^.clr := $00000010
  24056. else
  24057. pTDefRegMap(@Self)^.&set := $00000010;
  24058. end;
  24059. function TCMP_CM3CON.getCREF : TBits_1; inline;
  24060. begin
  24061. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24062. end;
  24063. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  24064. begin
  24065. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24066. end;
  24067. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  24068. begin
  24069. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24070. end;
  24071. procedure TCMP_CM3CON.setCOUT; inline;
  24072. begin
  24073. pTDefRegMap(@Self)^.&set := $00000100;
  24074. end;
  24075. procedure TCMP_CM3CON.clearCOUT; inline;
  24076. begin
  24077. pTDefRegMap(@Self)^.clr := $00000100;
  24078. end;
  24079. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  24080. begin
  24081. if thebits = 0 then
  24082. pTDefRegMap(@Self)^.clr := $00000100
  24083. else
  24084. pTDefRegMap(@Self)^.&set := $00000100;
  24085. end;
  24086. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  24087. begin
  24088. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24089. end;
  24090. procedure TCMP_CM3CON.setCPOL; inline;
  24091. begin
  24092. pTDefRegMap(@Self)^.&set := $00002000;
  24093. end;
  24094. procedure TCMP_CM3CON.clearCPOL; inline;
  24095. begin
  24096. pTDefRegMap(@Self)^.clr := $00002000;
  24097. end;
  24098. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  24099. begin
  24100. if thebits = 0 then
  24101. pTDefRegMap(@Self)^.clr := $00002000
  24102. else
  24103. pTDefRegMap(@Self)^.&set := $00002000;
  24104. end;
  24105. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  24106. begin
  24107. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24108. end;
  24109. procedure TCMP_CM3CON.setCOE; inline;
  24110. begin
  24111. pTDefRegMap(@Self)^.&set := $00004000;
  24112. end;
  24113. procedure TCMP_CM3CON.clearCOE; inline;
  24114. begin
  24115. pTDefRegMap(@Self)^.clr := $00004000;
  24116. end;
  24117. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  24118. begin
  24119. if thebits = 0 then
  24120. pTDefRegMap(@Self)^.clr := $00004000
  24121. else
  24122. pTDefRegMap(@Self)^.&set := $00004000;
  24123. end;
  24124. function TCMP_CM3CON.getCOE : TBits_1; inline;
  24125. begin
  24126. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24127. end;
  24128. procedure TCMP_CM3CON.setON; inline;
  24129. begin
  24130. pTDefRegMap(@Self)^.&set := $00008000;
  24131. end;
  24132. procedure TCMP_CM3CON.clearON; inline;
  24133. begin
  24134. pTDefRegMap(@Self)^.clr := $00008000;
  24135. end;
  24136. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  24137. begin
  24138. if thebits = 0 then
  24139. pTDefRegMap(@Self)^.clr := $00008000
  24140. else
  24141. pTDefRegMap(@Self)^.&set := $00008000;
  24142. end;
  24143. function TCMP_CM3CON.getON : TBits_1; inline;
  24144. begin
  24145. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24146. end;
  24147. procedure TCMP_CM3CON.setCCH0; inline;
  24148. begin
  24149. pTDefRegMap(@Self)^.&set := $00000001;
  24150. end;
  24151. procedure TCMP_CM3CON.clearCCH0; inline;
  24152. begin
  24153. pTDefRegMap(@Self)^.clr := $00000001;
  24154. end;
  24155. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  24156. begin
  24157. if thebits = 0 then
  24158. pTDefRegMap(@Self)^.clr := $00000001
  24159. else
  24160. pTDefRegMap(@Self)^.&set := $00000001;
  24161. end;
  24162. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  24163. begin
  24164. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24165. end;
  24166. procedure TCMP_CM3CON.setCCH1; inline;
  24167. begin
  24168. pTDefRegMap(@Self)^.&set := $00000002;
  24169. end;
  24170. procedure TCMP_CM3CON.clearCCH1; inline;
  24171. begin
  24172. pTDefRegMap(@Self)^.clr := $00000002;
  24173. end;
  24174. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  24175. begin
  24176. if thebits = 0 then
  24177. pTDefRegMap(@Self)^.clr := $00000002
  24178. else
  24179. pTDefRegMap(@Self)^.&set := $00000002;
  24180. end;
  24181. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  24182. begin
  24183. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24184. end;
  24185. procedure TCMP_CM3CON.setEVPOL0; inline;
  24186. begin
  24187. pTDefRegMap(@Self)^.&set := $00000040;
  24188. end;
  24189. procedure TCMP_CM3CON.clearEVPOL0; inline;
  24190. begin
  24191. pTDefRegMap(@Self)^.clr := $00000040;
  24192. end;
  24193. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  24194. begin
  24195. if thebits = 0 then
  24196. pTDefRegMap(@Self)^.clr := $00000040
  24197. else
  24198. pTDefRegMap(@Self)^.&set := $00000040;
  24199. end;
  24200. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  24201. begin
  24202. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24203. end;
  24204. procedure TCMP_CM3CON.setEVPOL1; inline;
  24205. begin
  24206. pTDefRegMap(@Self)^.&set := $00000080;
  24207. end;
  24208. procedure TCMP_CM3CON.clearEVPOL1; inline;
  24209. begin
  24210. pTDefRegMap(@Self)^.clr := $00000080;
  24211. end;
  24212. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  24213. begin
  24214. if thebits = 0 then
  24215. pTDefRegMap(@Self)^.clr := $00000080
  24216. else
  24217. pTDefRegMap(@Self)^.&set := $00000080;
  24218. end;
  24219. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  24220. begin
  24221. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24222. end;
  24223. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  24224. begin
  24225. pTDefRegMap(@Self)^.val := thebits;
  24226. end;
  24227. function TCMP_CM3CON.getw : TBits_32; inline;
  24228. begin
  24229. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24230. end;
  24231. procedure TCMP_CMSTAT.setC1OUT; inline;
  24232. begin
  24233. pTDefRegMap(@Self)^.&set := $00000001;
  24234. end;
  24235. procedure TCMP_CMSTAT.clearC1OUT; inline;
  24236. begin
  24237. pTDefRegMap(@Self)^.clr := $00000001;
  24238. end;
  24239. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  24240. begin
  24241. if thebits = 0 then
  24242. pTDefRegMap(@Self)^.clr := $00000001
  24243. else
  24244. pTDefRegMap(@Self)^.&set := $00000001;
  24245. end;
  24246. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  24247. begin
  24248. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24249. end;
  24250. procedure TCMP_CMSTAT.setC2OUT; inline;
  24251. begin
  24252. pTDefRegMap(@Self)^.&set := $00000002;
  24253. end;
  24254. procedure TCMP_CMSTAT.clearC2OUT; inline;
  24255. begin
  24256. pTDefRegMap(@Self)^.clr := $00000002;
  24257. end;
  24258. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  24259. begin
  24260. if thebits = 0 then
  24261. pTDefRegMap(@Self)^.clr := $00000002
  24262. else
  24263. pTDefRegMap(@Self)^.&set := $00000002;
  24264. end;
  24265. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  24266. begin
  24267. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24268. end;
  24269. procedure TCMP_CMSTAT.setC3OUT; inline;
  24270. begin
  24271. pTDefRegMap(@Self)^.&set := $00000004;
  24272. end;
  24273. procedure TCMP_CMSTAT.clearC3OUT; inline;
  24274. begin
  24275. pTDefRegMap(@Self)^.clr := $00000004;
  24276. end;
  24277. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  24278. begin
  24279. if thebits = 0 then
  24280. pTDefRegMap(@Self)^.clr := $00000004
  24281. else
  24282. pTDefRegMap(@Self)^.&set := $00000004;
  24283. end;
  24284. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  24285. begin
  24286. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24287. end;
  24288. procedure TCMP_CMSTAT.setSIDL; inline;
  24289. begin
  24290. pTDefRegMap(@Self)^.&set := $00002000;
  24291. end;
  24292. procedure TCMP_CMSTAT.clearSIDL; inline;
  24293. begin
  24294. pTDefRegMap(@Self)^.clr := $00002000;
  24295. end;
  24296. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  24297. begin
  24298. if thebits = 0 then
  24299. pTDefRegMap(@Self)^.clr := $00002000
  24300. else
  24301. pTDefRegMap(@Self)^.&set := $00002000;
  24302. end;
  24303. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24304. begin
  24305. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24306. end;
  24307. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24308. begin
  24309. pTDefRegMap(@Self)^.val := thebits;
  24310. end;
  24311. function TCMP_CMSTAT.getw : TBits_32; inline;
  24312. begin
  24313. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24314. end;
  24315. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24316. begin
  24317. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24318. end;
  24319. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24320. begin
  24321. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24322. end;
  24323. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24324. begin
  24325. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24326. end;
  24327. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24328. begin
  24329. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24330. end;
  24331. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24332. begin
  24333. pTDefRegMap(@Self)^.&set := $00000100;
  24334. end;
  24335. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24336. begin
  24337. pTDefRegMap(@Self)^.clr := $00000100;
  24338. end;
  24339. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24340. begin
  24341. if thebits = 0 then
  24342. pTDefRegMap(@Self)^.clr := $00000100
  24343. else
  24344. pTDefRegMap(@Self)^.&set := $00000100;
  24345. end;
  24346. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24347. begin
  24348. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24349. end;
  24350. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24351. begin
  24352. pTDefRegMap(@Self)^.&set := $00000200;
  24353. end;
  24354. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24355. begin
  24356. pTDefRegMap(@Self)^.clr := $00000200;
  24357. end;
  24358. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24359. begin
  24360. if thebits = 0 then
  24361. pTDefRegMap(@Self)^.clr := $00000200
  24362. else
  24363. pTDefRegMap(@Self)^.&set := $00000200;
  24364. end;
  24365. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24366. begin
  24367. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24368. end;
  24369. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24370. begin
  24371. pTDefRegMap(@Self)^.&set := $00000400;
  24372. end;
  24373. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24374. begin
  24375. pTDefRegMap(@Self)^.clr := $00000400;
  24376. end;
  24377. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24378. begin
  24379. if thebits = 0 then
  24380. pTDefRegMap(@Self)^.clr := $00000400
  24381. else
  24382. pTDefRegMap(@Self)^.&set := $00000400;
  24383. end;
  24384. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24385. begin
  24386. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24387. end;
  24388. procedure TCMP_CTMUCON.setEDGEN; inline;
  24389. begin
  24390. pTDefRegMap(@Self)^.&set := $00000800;
  24391. end;
  24392. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24393. begin
  24394. pTDefRegMap(@Self)^.clr := $00000800;
  24395. end;
  24396. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24397. begin
  24398. if thebits = 0 then
  24399. pTDefRegMap(@Self)^.clr := $00000800
  24400. else
  24401. pTDefRegMap(@Self)^.&set := $00000800;
  24402. end;
  24403. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24404. begin
  24405. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24406. end;
  24407. procedure TCMP_CTMUCON.setTGEN; inline;
  24408. begin
  24409. pTDefRegMap(@Self)^.&set := $00001000;
  24410. end;
  24411. procedure TCMP_CTMUCON.clearTGEN; inline;
  24412. begin
  24413. pTDefRegMap(@Self)^.clr := $00001000;
  24414. end;
  24415. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24416. begin
  24417. if thebits = 0 then
  24418. pTDefRegMap(@Self)^.clr := $00001000
  24419. else
  24420. pTDefRegMap(@Self)^.&set := $00001000;
  24421. end;
  24422. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24423. begin
  24424. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24425. end;
  24426. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24427. begin
  24428. pTDefRegMap(@Self)^.&set := $00002000;
  24429. end;
  24430. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24431. begin
  24432. pTDefRegMap(@Self)^.clr := $00002000;
  24433. end;
  24434. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24435. begin
  24436. if thebits = 0 then
  24437. pTDefRegMap(@Self)^.clr := $00002000
  24438. else
  24439. pTDefRegMap(@Self)^.&set := $00002000;
  24440. end;
  24441. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24442. begin
  24443. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24444. end;
  24445. procedure TCMP_CTMUCON.setON; inline;
  24446. begin
  24447. pTDefRegMap(@Self)^.&set := $00008000;
  24448. end;
  24449. procedure TCMP_CTMUCON.clearON; inline;
  24450. begin
  24451. pTDefRegMap(@Self)^.clr := $00008000;
  24452. end;
  24453. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24454. begin
  24455. if thebits = 0 then
  24456. pTDefRegMap(@Self)^.clr := $00008000
  24457. else
  24458. pTDefRegMap(@Self)^.&set := $00008000;
  24459. end;
  24460. function TCMP_CTMUCON.getON : TBits_1; inline;
  24461. begin
  24462. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24463. end;
  24464. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24465. begin
  24466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24467. end;
  24468. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24469. begin
  24470. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24471. end;
  24472. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24473. begin
  24474. pTDefRegMap(@Self)^.&set := $00400000;
  24475. end;
  24476. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24477. begin
  24478. pTDefRegMap(@Self)^.clr := $00400000;
  24479. end;
  24480. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24481. begin
  24482. if thebits = 0 then
  24483. pTDefRegMap(@Self)^.clr := $00400000
  24484. else
  24485. pTDefRegMap(@Self)^.&set := $00400000;
  24486. end;
  24487. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24488. begin
  24489. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24490. end;
  24491. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24492. begin
  24493. pTDefRegMap(@Self)^.&set := $00800000;
  24494. end;
  24495. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24496. begin
  24497. pTDefRegMap(@Self)^.clr := $00800000;
  24498. end;
  24499. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24500. begin
  24501. if thebits = 0 then
  24502. pTDefRegMap(@Self)^.clr := $00800000
  24503. else
  24504. pTDefRegMap(@Self)^.&set := $00800000;
  24505. end;
  24506. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24507. begin
  24508. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24509. end;
  24510. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24511. begin
  24512. pTDefRegMap(@Self)^.&set := $01000000;
  24513. end;
  24514. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24515. begin
  24516. pTDefRegMap(@Self)^.clr := $01000000;
  24517. end;
  24518. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  24519. begin
  24520. if thebits = 0 then
  24521. pTDefRegMap(@Self)^.clr := $01000000
  24522. else
  24523. pTDefRegMap(@Self)^.&set := $01000000;
  24524. end;
  24525. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  24526. begin
  24527. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24528. end;
  24529. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  24530. begin
  24531. pTDefRegMap(@Self)^.&set := $02000000;
  24532. end;
  24533. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  24534. begin
  24535. pTDefRegMap(@Self)^.clr := $02000000;
  24536. end;
  24537. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  24538. begin
  24539. if thebits = 0 then
  24540. pTDefRegMap(@Self)^.clr := $02000000
  24541. else
  24542. pTDefRegMap(@Self)^.&set := $02000000;
  24543. end;
  24544. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  24545. begin
  24546. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24547. end;
  24548. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  24549. begin
  24550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  24551. end;
  24552. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  24553. begin
  24554. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  24555. end;
  24556. procedure TCMP_CTMUCON.setEDG1POL; inline;
  24557. begin
  24558. pTDefRegMap(@Self)^.&set := $40000000;
  24559. end;
  24560. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  24561. begin
  24562. pTDefRegMap(@Self)^.clr := $40000000;
  24563. end;
  24564. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  24565. begin
  24566. if thebits = 0 then
  24567. pTDefRegMap(@Self)^.clr := $40000000
  24568. else
  24569. pTDefRegMap(@Self)^.&set := $40000000;
  24570. end;
  24571. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  24572. begin
  24573. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24574. end;
  24575. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  24576. begin
  24577. pTDefRegMap(@Self)^.&set := $80000000;
  24578. end;
  24579. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  24580. begin
  24581. pTDefRegMap(@Self)^.clr := $80000000;
  24582. end;
  24583. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  24584. begin
  24585. if thebits = 0 then
  24586. pTDefRegMap(@Self)^.clr := $80000000
  24587. else
  24588. pTDefRegMap(@Self)^.&set := $80000000;
  24589. end;
  24590. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  24591. begin
  24592. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24593. end;
  24594. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  24595. begin
  24596. pTDefRegMap(@Self)^.val := thebits;
  24597. end;
  24598. function TCMP_CTMUCON.getw : TBits_32; inline;
  24599. begin
  24600. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24601. end;
  24602. procedure TOSC_OSCCON.setOSWEN; inline;
  24603. begin
  24604. pTDefRegMap(@Self)^.&set := $00000001;
  24605. end;
  24606. procedure TOSC_OSCCON.clearOSWEN; inline;
  24607. begin
  24608. pTDefRegMap(@Self)^.clr := $00000001;
  24609. end;
  24610. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  24611. begin
  24612. if thebits = 0 then
  24613. pTDefRegMap(@Self)^.clr := $00000001
  24614. else
  24615. pTDefRegMap(@Self)^.&set := $00000001;
  24616. end;
  24617. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  24618. begin
  24619. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24620. end;
  24621. procedure TOSC_OSCCON.setSOSCEN; inline;
  24622. begin
  24623. pTDefRegMap(@Self)^.&set := $00000002;
  24624. end;
  24625. procedure TOSC_OSCCON.clearSOSCEN; inline;
  24626. begin
  24627. pTDefRegMap(@Self)^.clr := $00000002;
  24628. end;
  24629. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  24630. begin
  24631. if thebits = 0 then
  24632. pTDefRegMap(@Self)^.clr := $00000002
  24633. else
  24634. pTDefRegMap(@Self)^.&set := $00000002;
  24635. end;
  24636. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  24637. begin
  24638. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24639. end;
  24640. procedure TOSC_OSCCON.setUFRCEN; inline;
  24641. begin
  24642. pTDefRegMap(@Self)^.&set := $00000004;
  24643. end;
  24644. procedure TOSC_OSCCON.clearUFRCEN; inline;
  24645. begin
  24646. pTDefRegMap(@Self)^.clr := $00000004;
  24647. end;
  24648. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  24649. begin
  24650. if thebits = 0 then
  24651. pTDefRegMap(@Self)^.clr := $00000004
  24652. else
  24653. pTDefRegMap(@Self)^.&set := $00000004;
  24654. end;
  24655. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  24656. begin
  24657. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24658. end;
  24659. procedure TOSC_OSCCON.setCF; inline;
  24660. begin
  24661. pTDefRegMap(@Self)^.&set := $00000008;
  24662. end;
  24663. procedure TOSC_OSCCON.clearCF; inline;
  24664. begin
  24665. pTDefRegMap(@Self)^.clr := $00000008;
  24666. end;
  24667. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  24668. begin
  24669. if thebits = 0 then
  24670. pTDefRegMap(@Self)^.clr := $00000008
  24671. else
  24672. pTDefRegMap(@Self)^.&set := $00000008;
  24673. end;
  24674. function TOSC_OSCCON.getCF : TBits_1; inline;
  24675. begin
  24676. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24677. end;
  24678. procedure TOSC_OSCCON.setSLPEN; inline;
  24679. begin
  24680. pTDefRegMap(@Self)^.&set := $00000010;
  24681. end;
  24682. procedure TOSC_OSCCON.clearSLPEN; inline;
  24683. begin
  24684. pTDefRegMap(@Self)^.clr := $00000010;
  24685. end;
  24686. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  24687. begin
  24688. if thebits = 0 then
  24689. pTDefRegMap(@Self)^.clr := $00000010
  24690. else
  24691. pTDefRegMap(@Self)^.&set := $00000010;
  24692. end;
  24693. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  24694. begin
  24695. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24696. end;
  24697. procedure TOSC_OSCCON.setSLOCK; inline;
  24698. begin
  24699. pTDefRegMap(@Self)^.&set := $00000020;
  24700. end;
  24701. procedure TOSC_OSCCON.clearSLOCK; inline;
  24702. begin
  24703. pTDefRegMap(@Self)^.clr := $00000020;
  24704. end;
  24705. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  24706. begin
  24707. if thebits = 0 then
  24708. pTDefRegMap(@Self)^.clr := $00000020
  24709. else
  24710. pTDefRegMap(@Self)^.&set := $00000020;
  24711. end;
  24712. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  24713. begin
  24714. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24715. end;
  24716. procedure TOSC_OSCCON.setULOCK; inline;
  24717. begin
  24718. pTDefRegMap(@Self)^.&set := $00000040;
  24719. end;
  24720. procedure TOSC_OSCCON.clearULOCK; inline;
  24721. begin
  24722. pTDefRegMap(@Self)^.clr := $00000040;
  24723. end;
  24724. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  24725. begin
  24726. if thebits = 0 then
  24727. pTDefRegMap(@Self)^.clr := $00000040
  24728. else
  24729. pTDefRegMap(@Self)^.&set := $00000040;
  24730. end;
  24731. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  24732. begin
  24733. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24734. end;
  24735. procedure TOSC_OSCCON.setCLKLOCK; inline;
  24736. begin
  24737. pTDefRegMap(@Self)^.&set := $00000080;
  24738. end;
  24739. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  24740. begin
  24741. pTDefRegMap(@Self)^.clr := $00000080;
  24742. end;
  24743. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  24744. begin
  24745. if thebits = 0 then
  24746. pTDefRegMap(@Self)^.clr := $00000080
  24747. else
  24748. pTDefRegMap(@Self)^.&set := $00000080;
  24749. end;
  24750. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  24751. begin
  24752. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24753. end;
  24754. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  24755. begin
  24756. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  24757. end;
  24758. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  24759. begin
  24760. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  24761. end;
  24762. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  24763. begin
  24764. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  24765. end;
  24766. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  24767. begin
  24768. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  24769. end;
  24770. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  24771. begin
  24772. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  24773. end;
  24774. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  24775. begin
  24776. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  24777. end;
  24778. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  24779. begin
  24780. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  24781. end;
  24782. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  24783. begin
  24784. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  24785. end;
  24786. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  24787. begin
  24788. pTDefRegMap(@Self)^.&set := $00200000;
  24789. end;
  24790. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  24791. begin
  24792. pTDefRegMap(@Self)^.clr := $00200000;
  24793. end;
  24794. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  24795. begin
  24796. if thebits = 0 then
  24797. pTDefRegMap(@Self)^.clr := $00200000
  24798. else
  24799. pTDefRegMap(@Self)^.&set := $00200000;
  24800. end;
  24801. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  24802. begin
  24803. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  24804. end;
  24805. procedure TOSC_OSCCON.setSOSCRDY; inline;
  24806. begin
  24807. pTDefRegMap(@Self)^.&set := $00400000;
  24808. end;
  24809. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  24810. begin
  24811. pTDefRegMap(@Self)^.clr := $00400000;
  24812. end;
  24813. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  24814. begin
  24815. if thebits = 0 then
  24816. pTDefRegMap(@Self)^.clr := $00400000
  24817. else
  24818. pTDefRegMap(@Self)^.&set := $00400000;
  24819. end;
  24820. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  24821. begin
  24822. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24823. end;
  24824. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  24825. begin
  24826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24827. end;
  24828. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  24829. begin
  24830. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24831. end;
  24832. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  24833. begin
  24834. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  24835. end;
  24836. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  24837. begin
  24838. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  24839. end;
  24840. procedure TOSC_OSCCON.setNOSC0; inline;
  24841. begin
  24842. pTDefRegMap(@Self)^.&set := $00000100;
  24843. end;
  24844. procedure TOSC_OSCCON.clearNOSC0; inline;
  24845. begin
  24846. pTDefRegMap(@Self)^.clr := $00000100;
  24847. end;
  24848. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  24849. begin
  24850. if thebits = 0 then
  24851. pTDefRegMap(@Self)^.clr := $00000100
  24852. else
  24853. pTDefRegMap(@Self)^.&set := $00000100;
  24854. end;
  24855. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  24856. begin
  24857. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24858. end;
  24859. procedure TOSC_OSCCON.setNOSC1; inline;
  24860. begin
  24861. pTDefRegMap(@Self)^.&set := $00000200;
  24862. end;
  24863. procedure TOSC_OSCCON.clearNOSC1; inline;
  24864. begin
  24865. pTDefRegMap(@Self)^.clr := $00000200;
  24866. end;
  24867. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  24868. begin
  24869. if thebits = 0 then
  24870. pTDefRegMap(@Self)^.clr := $00000200
  24871. else
  24872. pTDefRegMap(@Self)^.&set := $00000200;
  24873. end;
  24874. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  24875. begin
  24876. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24877. end;
  24878. procedure TOSC_OSCCON.setNOSC2; inline;
  24879. begin
  24880. pTDefRegMap(@Self)^.&set := $00000400;
  24881. end;
  24882. procedure TOSC_OSCCON.clearNOSC2; inline;
  24883. begin
  24884. pTDefRegMap(@Self)^.clr := $00000400;
  24885. end;
  24886. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  24887. begin
  24888. if thebits = 0 then
  24889. pTDefRegMap(@Self)^.clr := $00000400
  24890. else
  24891. pTDefRegMap(@Self)^.&set := $00000400;
  24892. end;
  24893. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  24894. begin
  24895. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24896. end;
  24897. procedure TOSC_OSCCON.setCOSC0; inline;
  24898. begin
  24899. pTDefRegMap(@Self)^.&set := $00001000;
  24900. end;
  24901. procedure TOSC_OSCCON.clearCOSC0; inline;
  24902. begin
  24903. pTDefRegMap(@Self)^.clr := $00001000;
  24904. end;
  24905. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  24906. begin
  24907. if thebits = 0 then
  24908. pTDefRegMap(@Self)^.clr := $00001000
  24909. else
  24910. pTDefRegMap(@Self)^.&set := $00001000;
  24911. end;
  24912. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  24913. begin
  24914. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24915. end;
  24916. procedure TOSC_OSCCON.setCOSC1; inline;
  24917. begin
  24918. pTDefRegMap(@Self)^.&set := $00002000;
  24919. end;
  24920. procedure TOSC_OSCCON.clearCOSC1; inline;
  24921. begin
  24922. pTDefRegMap(@Self)^.clr := $00002000;
  24923. end;
  24924. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  24925. begin
  24926. if thebits = 0 then
  24927. pTDefRegMap(@Self)^.clr := $00002000
  24928. else
  24929. pTDefRegMap(@Self)^.&set := $00002000;
  24930. end;
  24931. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  24932. begin
  24933. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24934. end;
  24935. procedure TOSC_OSCCON.setCOSC2; inline;
  24936. begin
  24937. pTDefRegMap(@Self)^.&set := $00004000;
  24938. end;
  24939. procedure TOSC_OSCCON.clearCOSC2; inline;
  24940. begin
  24941. pTDefRegMap(@Self)^.clr := $00004000;
  24942. end;
  24943. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  24944. begin
  24945. if thebits = 0 then
  24946. pTDefRegMap(@Self)^.clr := $00004000
  24947. else
  24948. pTDefRegMap(@Self)^.&set := $00004000;
  24949. end;
  24950. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  24951. begin
  24952. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24953. end;
  24954. procedure TOSC_OSCCON.setPLLMULT0; inline;
  24955. begin
  24956. pTDefRegMap(@Self)^.&set := $00010000;
  24957. end;
  24958. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  24959. begin
  24960. pTDefRegMap(@Self)^.clr := $00010000;
  24961. end;
  24962. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  24963. begin
  24964. if thebits = 0 then
  24965. pTDefRegMap(@Self)^.clr := $00010000
  24966. else
  24967. pTDefRegMap(@Self)^.&set := $00010000;
  24968. end;
  24969. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  24970. begin
  24971. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24972. end;
  24973. procedure TOSC_OSCCON.setPLLMULT1; inline;
  24974. begin
  24975. pTDefRegMap(@Self)^.&set := $00020000;
  24976. end;
  24977. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  24978. begin
  24979. pTDefRegMap(@Self)^.clr := $00020000;
  24980. end;
  24981. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  24982. begin
  24983. if thebits = 0 then
  24984. pTDefRegMap(@Self)^.clr := $00020000
  24985. else
  24986. pTDefRegMap(@Self)^.&set := $00020000;
  24987. end;
  24988. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  24989. begin
  24990. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24991. end;
  24992. procedure TOSC_OSCCON.setPLLMULT2; inline;
  24993. begin
  24994. pTDefRegMap(@Self)^.&set := $00040000;
  24995. end;
  24996. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  24997. begin
  24998. pTDefRegMap(@Self)^.clr := $00040000;
  24999. end;
  25000. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  25001. begin
  25002. if thebits = 0 then
  25003. pTDefRegMap(@Self)^.clr := $00040000
  25004. else
  25005. pTDefRegMap(@Self)^.&set := $00040000;
  25006. end;
  25007. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  25008. begin
  25009. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  25010. end;
  25011. procedure TOSC_OSCCON.setPBDIV0; inline;
  25012. begin
  25013. pTDefRegMap(@Self)^.&set := $00080000;
  25014. end;
  25015. procedure TOSC_OSCCON.clearPBDIV0; inline;
  25016. begin
  25017. pTDefRegMap(@Self)^.clr := $00080000;
  25018. end;
  25019. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  25020. begin
  25021. if thebits = 0 then
  25022. pTDefRegMap(@Self)^.clr := $00080000
  25023. else
  25024. pTDefRegMap(@Self)^.&set := $00080000;
  25025. end;
  25026. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  25027. begin
  25028. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  25029. end;
  25030. procedure TOSC_OSCCON.setPBDIV1; inline;
  25031. begin
  25032. pTDefRegMap(@Self)^.&set := $00100000;
  25033. end;
  25034. procedure TOSC_OSCCON.clearPBDIV1; inline;
  25035. begin
  25036. pTDefRegMap(@Self)^.clr := $00100000;
  25037. end;
  25038. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  25039. begin
  25040. if thebits = 0 then
  25041. pTDefRegMap(@Self)^.clr := $00100000
  25042. else
  25043. pTDefRegMap(@Self)^.&set := $00100000;
  25044. end;
  25045. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  25046. begin
  25047. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  25048. end;
  25049. procedure TOSC_OSCCON.setFRCDIV0; inline;
  25050. begin
  25051. pTDefRegMap(@Self)^.&set := $01000000;
  25052. end;
  25053. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  25054. begin
  25055. pTDefRegMap(@Self)^.clr := $01000000;
  25056. end;
  25057. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  25058. begin
  25059. if thebits = 0 then
  25060. pTDefRegMap(@Self)^.clr := $01000000
  25061. else
  25062. pTDefRegMap(@Self)^.&set := $01000000;
  25063. end;
  25064. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  25065. begin
  25066. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25067. end;
  25068. procedure TOSC_OSCCON.setFRCDIV1; inline;
  25069. begin
  25070. pTDefRegMap(@Self)^.&set := $02000000;
  25071. end;
  25072. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  25073. begin
  25074. pTDefRegMap(@Self)^.clr := $02000000;
  25075. end;
  25076. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  25077. begin
  25078. if thebits = 0 then
  25079. pTDefRegMap(@Self)^.clr := $02000000
  25080. else
  25081. pTDefRegMap(@Self)^.&set := $02000000;
  25082. end;
  25083. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  25084. begin
  25085. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  25086. end;
  25087. procedure TOSC_OSCCON.setFRCDIV2; inline;
  25088. begin
  25089. pTDefRegMap(@Self)^.&set := $04000000;
  25090. end;
  25091. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  25092. begin
  25093. pTDefRegMap(@Self)^.clr := $04000000;
  25094. end;
  25095. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  25096. begin
  25097. if thebits = 0 then
  25098. pTDefRegMap(@Self)^.clr := $04000000
  25099. else
  25100. pTDefRegMap(@Self)^.&set := $04000000;
  25101. end;
  25102. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  25103. begin
  25104. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  25105. end;
  25106. procedure TOSC_OSCCON.setPLLODIV0; inline;
  25107. begin
  25108. pTDefRegMap(@Self)^.&set := $08000000;
  25109. end;
  25110. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  25111. begin
  25112. pTDefRegMap(@Self)^.clr := $08000000;
  25113. end;
  25114. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  25115. begin
  25116. if thebits = 0 then
  25117. pTDefRegMap(@Self)^.clr := $08000000
  25118. else
  25119. pTDefRegMap(@Self)^.&set := $08000000;
  25120. end;
  25121. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  25122. begin
  25123. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25124. end;
  25125. procedure TOSC_OSCCON.setPLLODIV1; inline;
  25126. begin
  25127. pTDefRegMap(@Self)^.&set := $10000000;
  25128. end;
  25129. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  25130. begin
  25131. pTDefRegMap(@Self)^.clr := $10000000;
  25132. end;
  25133. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  25134. begin
  25135. if thebits = 0 then
  25136. pTDefRegMap(@Self)^.clr := $10000000
  25137. else
  25138. pTDefRegMap(@Self)^.&set := $10000000;
  25139. end;
  25140. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  25141. begin
  25142. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25143. end;
  25144. procedure TOSC_OSCCON.setPLLODIV2; inline;
  25145. begin
  25146. pTDefRegMap(@Self)^.&set := $20000000;
  25147. end;
  25148. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  25149. begin
  25150. pTDefRegMap(@Self)^.clr := $20000000;
  25151. end;
  25152. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  25153. begin
  25154. if thebits = 0 then
  25155. pTDefRegMap(@Self)^.clr := $20000000
  25156. else
  25157. pTDefRegMap(@Self)^.&set := $20000000;
  25158. end;
  25159. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  25160. begin
  25161. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25162. end;
  25163. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  25164. begin
  25165. pTDefRegMap(@Self)^.val := thebits;
  25166. end;
  25167. function TOSC_OSCCON.getw : TBits_32; inline;
  25168. begin
  25169. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25170. end;
  25171. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  25172. begin
  25173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  25174. end;
  25175. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  25176. begin
  25177. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  25178. end;
  25179. procedure TOSC_OSCTUN.setTUN0; inline;
  25180. begin
  25181. pTDefRegMap(@Self)^.&set := $00000001;
  25182. end;
  25183. procedure TOSC_OSCTUN.clearTUN0; inline;
  25184. begin
  25185. pTDefRegMap(@Self)^.clr := $00000001;
  25186. end;
  25187. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  25188. begin
  25189. if thebits = 0 then
  25190. pTDefRegMap(@Self)^.clr := $00000001
  25191. else
  25192. pTDefRegMap(@Self)^.&set := $00000001;
  25193. end;
  25194. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  25195. begin
  25196. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25197. end;
  25198. procedure TOSC_OSCTUN.setTUN1; inline;
  25199. begin
  25200. pTDefRegMap(@Self)^.&set := $00000002;
  25201. end;
  25202. procedure TOSC_OSCTUN.clearTUN1; inline;
  25203. begin
  25204. pTDefRegMap(@Self)^.clr := $00000002;
  25205. end;
  25206. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  25207. begin
  25208. if thebits = 0 then
  25209. pTDefRegMap(@Self)^.clr := $00000002
  25210. else
  25211. pTDefRegMap(@Self)^.&set := $00000002;
  25212. end;
  25213. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  25214. begin
  25215. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25216. end;
  25217. procedure TOSC_OSCTUN.setTUN2; inline;
  25218. begin
  25219. pTDefRegMap(@Self)^.&set := $00000004;
  25220. end;
  25221. procedure TOSC_OSCTUN.clearTUN2; inline;
  25222. begin
  25223. pTDefRegMap(@Self)^.clr := $00000004;
  25224. end;
  25225. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  25226. begin
  25227. if thebits = 0 then
  25228. pTDefRegMap(@Self)^.clr := $00000004
  25229. else
  25230. pTDefRegMap(@Self)^.&set := $00000004;
  25231. end;
  25232. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  25233. begin
  25234. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25235. end;
  25236. procedure TOSC_OSCTUN.setTUN3; inline;
  25237. begin
  25238. pTDefRegMap(@Self)^.&set := $00000008;
  25239. end;
  25240. procedure TOSC_OSCTUN.clearTUN3; inline;
  25241. begin
  25242. pTDefRegMap(@Self)^.clr := $00000008;
  25243. end;
  25244. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  25245. begin
  25246. if thebits = 0 then
  25247. pTDefRegMap(@Self)^.clr := $00000008
  25248. else
  25249. pTDefRegMap(@Self)^.&set := $00000008;
  25250. end;
  25251. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  25252. begin
  25253. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25254. end;
  25255. procedure TOSC_OSCTUN.setTUN4; inline;
  25256. begin
  25257. pTDefRegMap(@Self)^.&set := $00000010;
  25258. end;
  25259. procedure TOSC_OSCTUN.clearTUN4; inline;
  25260. begin
  25261. pTDefRegMap(@Self)^.clr := $00000010;
  25262. end;
  25263. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  25264. begin
  25265. if thebits = 0 then
  25266. pTDefRegMap(@Self)^.clr := $00000010
  25267. else
  25268. pTDefRegMap(@Self)^.&set := $00000010;
  25269. end;
  25270. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  25271. begin
  25272. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25273. end;
  25274. procedure TOSC_OSCTUN.setTUN5; inline;
  25275. begin
  25276. pTDefRegMap(@Self)^.&set := $00000020;
  25277. end;
  25278. procedure TOSC_OSCTUN.clearTUN5; inline;
  25279. begin
  25280. pTDefRegMap(@Self)^.clr := $00000020;
  25281. end;
  25282. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  25283. begin
  25284. if thebits = 0 then
  25285. pTDefRegMap(@Self)^.clr := $00000020
  25286. else
  25287. pTDefRegMap(@Self)^.&set := $00000020;
  25288. end;
  25289. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  25290. begin
  25291. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25292. end;
  25293. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  25294. begin
  25295. pTDefRegMap(@Self)^.val := thebits;
  25296. end;
  25297. function TOSC_OSCTUN.getw : TBits_32; inline;
  25298. begin
  25299. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25300. end;
  25301. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25302. begin
  25303. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25304. end;
  25305. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25306. begin
  25307. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25308. end;
  25309. procedure TOSC_REFOCON.setACTIVE; inline;
  25310. begin
  25311. pTDefRegMap(@Self)^.&set := $00000100;
  25312. end;
  25313. procedure TOSC_REFOCON.clearACTIVE; inline;
  25314. begin
  25315. pTDefRegMap(@Self)^.clr := $00000100;
  25316. end;
  25317. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25318. begin
  25319. if thebits = 0 then
  25320. pTDefRegMap(@Self)^.clr := $00000100
  25321. else
  25322. pTDefRegMap(@Self)^.&set := $00000100;
  25323. end;
  25324. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25325. begin
  25326. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25327. end;
  25328. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25329. begin
  25330. pTDefRegMap(@Self)^.&set := $00000200;
  25331. end;
  25332. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25333. begin
  25334. pTDefRegMap(@Self)^.clr := $00000200;
  25335. end;
  25336. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25337. begin
  25338. if thebits = 0 then
  25339. pTDefRegMap(@Self)^.clr := $00000200
  25340. else
  25341. pTDefRegMap(@Self)^.&set := $00000200;
  25342. end;
  25343. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25344. begin
  25345. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25346. end;
  25347. procedure TOSC_REFOCON.setRSLP; inline;
  25348. begin
  25349. pTDefRegMap(@Self)^.&set := $00000800;
  25350. end;
  25351. procedure TOSC_REFOCON.clearRSLP; inline;
  25352. begin
  25353. pTDefRegMap(@Self)^.clr := $00000800;
  25354. end;
  25355. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25356. begin
  25357. if thebits = 0 then
  25358. pTDefRegMap(@Self)^.clr := $00000800
  25359. else
  25360. pTDefRegMap(@Self)^.&set := $00000800;
  25361. end;
  25362. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25363. begin
  25364. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25365. end;
  25366. procedure TOSC_REFOCON.setOE; inline;
  25367. begin
  25368. pTDefRegMap(@Self)^.&set := $00001000;
  25369. end;
  25370. procedure TOSC_REFOCON.clearOE; inline;
  25371. begin
  25372. pTDefRegMap(@Self)^.clr := $00001000;
  25373. end;
  25374. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25375. begin
  25376. if thebits = 0 then
  25377. pTDefRegMap(@Self)^.clr := $00001000
  25378. else
  25379. pTDefRegMap(@Self)^.&set := $00001000;
  25380. end;
  25381. function TOSC_REFOCON.getOE : TBits_1; inline;
  25382. begin
  25383. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25384. end;
  25385. procedure TOSC_REFOCON.setSIDL; inline;
  25386. begin
  25387. pTDefRegMap(@Self)^.&set := $00002000;
  25388. end;
  25389. procedure TOSC_REFOCON.clearSIDL; inline;
  25390. begin
  25391. pTDefRegMap(@Self)^.clr := $00002000;
  25392. end;
  25393. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25394. begin
  25395. if thebits = 0 then
  25396. pTDefRegMap(@Self)^.clr := $00002000
  25397. else
  25398. pTDefRegMap(@Self)^.&set := $00002000;
  25399. end;
  25400. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25401. begin
  25402. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25403. end;
  25404. procedure TOSC_REFOCON.setON; inline;
  25405. begin
  25406. pTDefRegMap(@Self)^.&set := $00008000;
  25407. end;
  25408. procedure TOSC_REFOCON.clearON; inline;
  25409. begin
  25410. pTDefRegMap(@Self)^.clr := $00008000;
  25411. end;
  25412. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25413. begin
  25414. if thebits = 0 then
  25415. pTDefRegMap(@Self)^.clr := $00008000
  25416. else
  25417. pTDefRegMap(@Self)^.&set := $00008000;
  25418. end;
  25419. function TOSC_REFOCON.getON : TBits_1; inline;
  25420. begin
  25421. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25422. end;
  25423. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25424. begin
  25425. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25426. end;
  25427. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25428. begin
  25429. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25430. end;
  25431. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25432. begin
  25433. pTDefRegMap(@Self)^.val := thebits;
  25434. end;
  25435. function TOSC_REFOCON.getw : TBits_32; inline;
  25436. begin
  25437. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25438. end;
  25439. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25440. begin
  25441. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25442. end;
  25443. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25444. begin
  25445. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25446. end;
  25447. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25448. begin
  25449. pTDefRegMap(@Self)^.val := thebits;
  25450. end;
  25451. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25452. begin
  25453. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25454. end;
  25455. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  25456. begin
  25457. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25458. end;
  25459. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  25460. begin
  25461. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25462. end;
  25463. procedure TNVM_NVMCON.setLVDSTAT; inline;
  25464. begin
  25465. pTDefRegMap(@Self)^.&set := $00000800;
  25466. end;
  25467. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  25468. begin
  25469. pTDefRegMap(@Self)^.clr := $00000800;
  25470. end;
  25471. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  25472. begin
  25473. if thebits = 0 then
  25474. pTDefRegMap(@Self)^.clr := $00000800
  25475. else
  25476. pTDefRegMap(@Self)^.&set := $00000800;
  25477. end;
  25478. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  25479. begin
  25480. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25481. end;
  25482. procedure TNVM_NVMCON.setLVDERR; inline;
  25483. begin
  25484. pTDefRegMap(@Self)^.&set := $00001000;
  25485. end;
  25486. procedure TNVM_NVMCON.clearLVDERR; inline;
  25487. begin
  25488. pTDefRegMap(@Self)^.clr := $00001000;
  25489. end;
  25490. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  25491. begin
  25492. if thebits = 0 then
  25493. pTDefRegMap(@Self)^.clr := $00001000
  25494. else
  25495. pTDefRegMap(@Self)^.&set := $00001000;
  25496. end;
  25497. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  25498. begin
  25499. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25500. end;
  25501. procedure TNVM_NVMCON.setWRERR; inline;
  25502. begin
  25503. pTDefRegMap(@Self)^.&set := $00002000;
  25504. end;
  25505. procedure TNVM_NVMCON.clearWRERR; inline;
  25506. begin
  25507. pTDefRegMap(@Self)^.clr := $00002000;
  25508. end;
  25509. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  25510. begin
  25511. if thebits = 0 then
  25512. pTDefRegMap(@Self)^.clr := $00002000
  25513. else
  25514. pTDefRegMap(@Self)^.&set := $00002000;
  25515. end;
  25516. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  25517. begin
  25518. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25519. end;
  25520. procedure TNVM_NVMCON.setWREN; inline;
  25521. begin
  25522. pTDefRegMap(@Self)^.&set := $00004000;
  25523. end;
  25524. procedure TNVM_NVMCON.clearWREN; inline;
  25525. begin
  25526. pTDefRegMap(@Self)^.clr := $00004000;
  25527. end;
  25528. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  25529. begin
  25530. if thebits = 0 then
  25531. pTDefRegMap(@Self)^.clr := $00004000
  25532. else
  25533. pTDefRegMap(@Self)^.&set := $00004000;
  25534. end;
  25535. function TNVM_NVMCON.getWREN : TBits_1; inline;
  25536. begin
  25537. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25538. end;
  25539. procedure TNVM_NVMCON.setWR; inline;
  25540. begin
  25541. pTDefRegMap(@Self)^.&set := $00008000;
  25542. end;
  25543. procedure TNVM_NVMCON.clearWR; inline;
  25544. begin
  25545. pTDefRegMap(@Self)^.clr := $00008000;
  25546. end;
  25547. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  25548. begin
  25549. if thebits = 0 then
  25550. pTDefRegMap(@Self)^.clr := $00008000
  25551. else
  25552. pTDefRegMap(@Self)^.&set := $00008000;
  25553. end;
  25554. function TNVM_NVMCON.getWR : TBits_1; inline;
  25555. begin
  25556. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25557. end;
  25558. procedure TNVM_NVMCON.setNVMOP0; inline;
  25559. begin
  25560. pTDefRegMap(@Self)^.&set := $00000001;
  25561. end;
  25562. procedure TNVM_NVMCON.clearNVMOP0; inline;
  25563. begin
  25564. pTDefRegMap(@Self)^.clr := $00000001;
  25565. end;
  25566. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  25567. begin
  25568. if thebits = 0 then
  25569. pTDefRegMap(@Self)^.clr := $00000001
  25570. else
  25571. pTDefRegMap(@Self)^.&set := $00000001;
  25572. end;
  25573. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  25574. begin
  25575. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25576. end;
  25577. procedure TNVM_NVMCON.setNVMOP1; inline;
  25578. begin
  25579. pTDefRegMap(@Self)^.&set := $00000002;
  25580. end;
  25581. procedure TNVM_NVMCON.clearNVMOP1; inline;
  25582. begin
  25583. pTDefRegMap(@Self)^.clr := $00000002;
  25584. end;
  25585. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  25586. begin
  25587. if thebits = 0 then
  25588. pTDefRegMap(@Self)^.clr := $00000002
  25589. else
  25590. pTDefRegMap(@Self)^.&set := $00000002;
  25591. end;
  25592. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  25593. begin
  25594. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25595. end;
  25596. procedure TNVM_NVMCON.setNVMOP2; inline;
  25597. begin
  25598. pTDefRegMap(@Self)^.&set := $00000004;
  25599. end;
  25600. procedure TNVM_NVMCON.clearNVMOP2; inline;
  25601. begin
  25602. pTDefRegMap(@Self)^.clr := $00000004;
  25603. end;
  25604. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  25605. begin
  25606. if thebits = 0 then
  25607. pTDefRegMap(@Self)^.clr := $00000004
  25608. else
  25609. pTDefRegMap(@Self)^.&set := $00000004;
  25610. end;
  25611. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  25612. begin
  25613. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25614. end;
  25615. procedure TNVM_NVMCON.setNVMOP3; inline;
  25616. begin
  25617. pTDefRegMap(@Self)^.&set := $00000008;
  25618. end;
  25619. procedure TNVM_NVMCON.clearNVMOP3; inline;
  25620. begin
  25621. pTDefRegMap(@Self)^.clr := $00000008;
  25622. end;
  25623. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  25624. begin
  25625. if thebits = 0 then
  25626. pTDefRegMap(@Self)^.clr := $00000008
  25627. else
  25628. pTDefRegMap(@Self)^.&set := $00000008;
  25629. end;
  25630. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  25631. begin
  25632. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25633. end;
  25634. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  25635. begin
  25636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25637. end;
  25638. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  25639. begin
  25640. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25641. end;
  25642. procedure TNVM_NVMCON.setPROGOP0; inline;
  25643. begin
  25644. pTDefRegMap(@Self)^.&set := $00000001;
  25645. end;
  25646. procedure TNVM_NVMCON.clearPROGOP0; inline;
  25647. begin
  25648. pTDefRegMap(@Self)^.clr := $00000001;
  25649. end;
  25650. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  25651. begin
  25652. if thebits = 0 then
  25653. pTDefRegMap(@Self)^.clr := $00000001
  25654. else
  25655. pTDefRegMap(@Self)^.&set := $00000001;
  25656. end;
  25657. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  25658. begin
  25659. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25660. end;
  25661. procedure TNVM_NVMCON.setPROGOP1; inline;
  25662. begin
  25663. pTDefRegMap(@Self)^.&set := $00000002;
  25664. end;
  25665. procedure TNVM_NVMCON.clearPROGOP1; inline;
  25666. begin
  25667. pTDefRegMap(@Self)^.clr := $00000002;
  25668. end;
  25669. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  25670. begin
  25671. if thebits = 0 then
  25672. pTDefRegMap(@Self)^.clr := $00000002
  25673. else
  25674. pTDefRegMap(@Self)^.&set := $00000002;
  25675. end;
  25676. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  25677. begin
  25678. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25679. end;
  25680. procedure TNVM_NVMCON.setPROGOP2; inline;
  25681. begin
  25682. pTDefRegMap(@Self)^.&set := $00000004;
  25683. end;
  25684. procedure TNVM_NVMCON.clearPROGOP2; inline;
  25685. begin
  25686. pTDefRegMap(@Self)^.clr := $00000004;
  25687. end;
  25688. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  25689. begin
  25690. if thebits = 0 then
  25691. pTDefRegMap(@Self)^.clr := $00000004
  25692. else
  25693. pTDefRegMap(@Self)^.&set := $00000004;
  25694. end;
  25695. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  25696. begin
  25697. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25698. end;
  25699. procedure TNVM_NVMCON.setPROGOP3; inline;
  25700. begin
  25701. pTDefRegMap(@Self)^.&set := $00000008;
  25702. end;
  25703. procedure TNVM_NVMCON.clearPROGOP3; inline;
  25704. begin
  25705. pTDefRegMap(@Self)^.clr := $00000008;
  25706. end;
  25707. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  25708. begin
  25709. if thebits = 0 then
  25710. pTDefRegMap(@Self)^.clr := $00000008
  25711. else
  25712. pTDefRegMap(@Self)^.&set := $00000008;
  25713. end;
  25714. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  25715. begin
  25716. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25717. end;
  25718. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  25719. begin
  25720. pTDefRegMap(@Self)^.val := thebits;
  25721. end;
  25722. function TNVM_NVMCON.getw : TBits_32; inline;
  25723. begin
  25724. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25725. end;
  25726. procedure TRCON_RCON.setPOR; inline;
  25727. begin
  25728. pTDefRegMap(@Self)^.&set := $00000001;
  25729. end;
  25730. procedure TRCON_RCON.clearPOR; inline;
  25731. begin
  25732. pTDefRegMap(@Self)^.clr := $00000001;
  25733. end;
  25734. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  25735. begin
  25736. if thebits = 0 then
  25737. pTDefRegMap(@Self)^.clr := $00000001
  25738. else
  25739. pTDefRegMap(@Self)^.&set := $00000001;
  25740. end;
  25741. function TRCON_RCON.getPOR : TBits_1; inline;
  25742. begin
  25743. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25744. end;
  25745. procedure TRCON_RCON.setBOR; inline;
  25746. begin
  25747. pTDefRegMap(@Self)^.&set := $00000002;
  25748. end;
  25749. procedure TRCON_RCON.clearBOR; inline;
  25750. begin
  25751. pTDefRegMap(@Self)^.clr := $00000002;
  25752. end;
  25753. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  25754. begin
  25755. if thebits = 0 then
  25756. pTDefRegMap(@Self)^.clr := $00000002
  25757. else
  25758. pTDefRegMap(@Self)^.&set := $00000002;
  25759. end;
  25760. function TRCON_RCON.getBOR : TBits_1; inline;
  25761. begin
  25762. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25763. end;
  25764. procedure TRCON_RCON.setIDLE; inline;
  25765. begin
  25766. pTDefRegMap(@Self)^.&set := $00000004;
  25767. end;
  25768. procedure TRCON_RCON.clearIDLE; inline;
  25769. begin
  25770. pTDefRegMap(@Self)^.clr := $00000004;
  25771. end;
  25772. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  25773. begin
  25774. if thebits = 0 then
  25775. pTDefRegMap(@Self)^.clr := $00000004
  25776. else
  25777. pTDefRegMap(@Self)^.&set := $00000004;
  25778. end;
  25779. function TRCON_RCON.getIDLE : TBits_1; inline;
  25780. begin
  25781. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25782. end;
  25783. procedure TRCON_RCON.setSLEEP; inline;
  25784. begin
  25785. pTDefRegMap(@Self)^.&set := $00000008;
  25786. end;
  25787. procedure TRCON_RCON.clearSLEEP; inline;
  25788. begin
  25789. pTDefRegMap(@Self)^.clr := $00000008;
  25790. end;
  25791. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  25792. begin
  25793. if thebits = 0 then
  25794. pTDefRegMap(@Self)^.clr := $00000008
  25795. else
  25796. pTDefRegMap(@Self)^.&set := $00000008;
  25797. end;
  25798. function TRCON_RCON.getSLEEP : TBits_1; inline;
  25799. begin
  25800. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25801. end;
  25802. procedure TRCON_RCON.setWDTO; inline;
  25803. begin
  25804. pTDefRegMap(@Self)^.&set := $00000010;
  25805. end;
  25806. procedure TRCON_RCON.clearWDTO; inline;
  25807. begin
  25808. pTDefRegMap(@Self)^.clr := $00000010;
  25809. end;
  25810. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  25811. begin
  25812. if thebits = 0 then
  25813. pTDefRegMap(@Self)^.clr := $00000010
  25814. else
  25815. pTDefRegMap(@Self)^.&set := $00000010;
  25816. end;
  25817. function TRCON_RCON.getWDTO : TBits_1; inline;
  25818. begin
  25819. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25820. end;
  25821. procedure TRCON_RCON.setSWR; inline;
  25822. begin
  25823. pTDefRegMap(@Self)^.&set := $00000040;
  25824. end;
  25825. procedure TRCON_RCON.clearSWR; inline;
  25826. begin
  25827. pTDefRegMap(@Self)^.clr := $00000040;
  25828. end;
  25829. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  25830. begin
  25831. if thebits = 0 then
  25832. pTDefRegMap(@Self)^.clr := $00000040
  25833. else
  25834. pTDefRegMap(@Self)^.&set := $00000040;
  25835. end;
  25836. function TRCON_RCON.getSWR : TBits_1; inline;
  25837. begin
  25838. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25839. end;
  25840. procedure TRCON_RCON.setEXTR; inline;
  25841. begin
  25842. pTDefRegMap(@Self)^.&set := $00000080;
  25843. end;
  25844. procedure TRCON_RCON.clearEXTR; inline;
  25845. begin
  25846. pTDefRegMap(@Self)^.clr := $00000080;
  25847. end;
  25848. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  25849. begin
  25850. if thebits = 0 then
  25851. pTDefRegMap(@Self)^.clr := $00000080
  25852. else
  25853. pTDefRegMap(@Self)^.&set := $00000080;
  25854. end;
  25855. function TRCON_RCON.getEXTR : TBits_1; inline;
  25856. begin
  25857. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25858. end;
  25859. procedure TRCON_RCON.setVREGS; inline;
  25860. begin
  25861. pTDefRegMap(@Self)^.&set := $00000100;
  25862. end;
  25863. procedure TRCON_RCON.clearVREGS; inline;
  25864. begin
  25865. pTDefRegMap(@Self)^.clr := $00000100;
  25866. end;
  25867. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  25868. begin
  25869. if thebits = 0 then
  25870. pTDefRegMap(@Self)^.clr := $00000100
  25871. else
  25872. pTDefRegMap(@Self)^.&set := $00000100;
  25873. end;
  25874. function TRCON_RCON.getVREGS : TBits_1; inline;
  25875. begin
  25876. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25877. end;
  25878. procedure TRCON_RCON.setCMR; inline;
  25879. begin
  25880. pTDefRegMap(@Self)^.&set := $00000200;
  25881. end;
  25882. procedure TRCON_RCON.clearCMR; inline;
  25883. begin
  25884. pTDefRegMap(@Self)^.clr := $00000200;
  25885. end;
  25886. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  25887. begin
  25888. if thebits = 0 then
  25889. pTDefRegMap(@Self)^.clr := $00000200
  25890. else
  25891. pTDefRegMap(@Self)^.&set := $00000200;
  25892. end;
  25893. function TRCON_RCON.getCMR : TBits_1; inline;
  25894. begin
  25895. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25896. end;
  25897. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  25898. begin
  25899. pTDefRegMap(@Self)^.val := thebits;
  25900. end;
  25901. function TRCON_RCON.getw : TBits_32; inline;
  25902. begin
  25903. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25904. end;
  25905. procedure TRCON_RSWRST.setSWRST; inline;
  25906. begin
  25907. pTDefRegMap(@Self)^.&set := $00000001;
  25908. end;
  25909. procedure TRCON_RSWRST.clearSWRST; inline;
  25910. begin
  25911. pTDefRegMap(@Self)^.clr := $00000001;
  25912. end;
  25913. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  25914. begin
  25915. if thebits = 0 then
  25916. pTDefRegMap(@Self)^.clr := $00000001
  25917. else
  25918. pTDefRegMap(@Self)^.&set := $00000001;
  25919. end;
  25920. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  25921. begin
  25922. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25923. end;
  25924. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  25925. begin
  25926. pTDefRegMap(@Self)^.val := thebits;
  25927. end;
  25928. function TRCON_RSWRST.getw : TBits_32; inline;
  25929. begin
  25930. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25931. end;
  25932. procedure TINT_INTCON.setINT0EP; inline;
  25933. begin
  25934. pTDefRegMap(@Self)^.&set := $00000001;
  25935. end;
  25936. procedure TINT_INTCON.clearINT0EP; inline;
  25937. begin
  25938. pTDefRegMap(@Self)^.clr := $00000001;
  25939. end;
  25940. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  25941. begin
  25942. if thebits = 0 then
  25943. pTDefRegMap(@Self)^.clr := $00000001
  25944. else
  25945. pTDefRegMap(@Self)^.&set := $00000001;
  25946. end;
  25947. function TINT_INTCON.getINT0EP : TBits_1; inline;
  25948. begin
  25949. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25950. end;
  25951. procedure TINT_INTCON.setINT1EP; inline;
  25952. begin
  25953. pTDefRegMap(@Self)^.&set := $00000002;
  25954. end;
  25955. procedure TINT_INTCON.clearINT1EP; inline;
  25956. begin
  25957. pTDefRegMap(@Self)^.clr := $00000002;
  25958. end;
  25959. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  25960. begin
  25961. if thebits = 0 then
  25962. pTDefRegMap(@Self)^.clr := $00000002
  25963. else
  25964. pTDefRegMap(@Self)^.&set := $00000002;
  25965. end;
  25966. function TINT_INTCON.getINT1EP : TBits_1; inline;
  25967. begin
  25968. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25969. end;
  25970. procedure TINT_INTCON.setINT2EP; inline;
  25971. begin
  25972. pTDefRegMap(@Self)^.&set := $00000004;
  25973. end;
  25974. procedure TINT_INTCON.clearINT2EP; inline;
  25975. begin
  25976. pTDefRegMap(@Self)^.clr := $00000004;
  25977. end;
  25978. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  25979. begin
  25980. if thebits = 0 then
  25981. pTDefRegMap(@Self)^.clr := $00000004
  25982. else
  25983. pTDefRegMap(@Self)^.&set := $00000004;
  25984. end;
  25985. function TINT_INTCON.getINT2EP : TBits_1; inline;
  25986. begin
  25987. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25988. end;
  25989. procedure TINT_INTCON.setINT3EP; inline;
  25990. begin
  25991. pTDefRegMap(@Self)^.&set := $00000008;
  25992. end;
  25993. procedure TINT_INTCON.clearINT3EP; inline;
  25994. begin
  25995. pTDefRegMap(@Self)^.clr := $00000008;
  25996. end;
  25997. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  25998. begin
  25999. if thebits = 0 then
  26000. pTDefRegMap(@Self)^.clr := $00000008
  26001. else
  26002. pTDefRegMap(@Self)^.&set := $00000008;
  26003. end;
  26004. function TINT_INTCON.getINT3EP : TBits_1; inline;
  26005. begin
  26006. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26007. end;
  26008. procedure TINT_INTCON.setINT4EP; inline;
  26009. begin
  26010. pTDefRegMap(@Self)^.&set := $00000010;
  26011. end;
  26012. procedure TINT_INTCON.clearINT4EP; inline;
  26013. begin
  26014. pTDefRegMap(@Self)^.clr := $00000010;
  26015. end;
  26016. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  26017. begin
  26018. if thebits = 0 then
  26019. pTDefRegMap(@Self)^.clr := $00000010
  26020. else
  26021. pTDefRegMap(@Self)^.&set := $00000010;
  26022. end;
  26023. function TINT_INTCON.getINT4EP : TBits_1; inline;
  26024. begin
  26025. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26026. end;
  26027. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  26028. begin
  26029. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  26030. end;
  26031. function TINT_INTCON.getTPC : TBits_3; inline;
  26032. begin
  26033. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  26034. end;
  26035. procedure TINT_INTCON.setMVEC; inline;
  26036. begin
  26037. pTDefRegMap(@Self)^.&set := $00001000;
  26038. end;
  26039. procedure TINT_INTCON.clearMVEC; inline;
  26040. begin
  26041. pTDefRegMap(@Self)^.clr := $00001000;
  26042. end;
  26043. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  26044. begin
  26045. if thebits = 0 then
  26046. pTDefRegMap(@Self)^.clr := $00001000
  26047. else
  26048. pTDefRegMap(@Self)^.&set := $00001000;
  26049. end;
  26050. function TINT_INTCON.getMVEC : TBits_1; inline;
  26051. begin
  26052. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26053. end;
  26054. procedure TINT_INTCON.setSS0; inline;
  26055. begin
  26056. pTDefRegMap(@Self)^.&set := $00010000;
  26057. end;
  26058. procedure TINT_INTCON.clearSS0; inline;
  26059. begin
  26060. pTDefRegMap(@Self)^.clr := $00010000;
  26061. end;
  26062. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  26063. begin
  26064. if thebits = 0 then
  26065. pTDefRegMap(@Self)^.clr := $00010000
  26066. else
  26067. pTDefRegMap(@Self)^.&set := $00010000;
  26068. end;
  26069. function TINT_INTCON.getSS0 : TBits_1; inline;
  26070. begin
  26071. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26072. end;
  26073. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  26074. begin
  26075. pTDefRegMap(@Self)^.val := thebits;
  26076. end;
  26077. function TINT_INTCON.getw : TBits_32; inline;
  26078. begin
  26079. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26080. end;
  26081. procedure TINT_IFS0.setCTIF; inline;
  26082. begin
  26083. pTDefRegMap(@Self)^.&set := $00000001;
  26084. end;
  26085. procedure TINT_IFS0.clearCTIF; inline;
  26086. begin
  26087. pTDefRegMap(@Self)^.clr := $00000001;
  26088. end;
  26089. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  26090. begin
  26091. if thebits = 0 then
  26092. pTDefRegMap(@Self)^.clr := $00000001
  26093. else
  26094. pTDefRegMap(@Self)^.&set := $00000001;
  26095. end;
  26096. function TINT_IFS0.getCTIF : TBits_1; inline;
  26097. begin
  26098. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26099. end;
  26100. procedure TINT_IFS0.setCS0IF; inline;
  26101. begin
  26102. pTDefRegMap(@Self)^.&set := $00000002;
  26103. end;
  26104. procedure TINT_IFS0.clearCS0IF; inline;
  26105. begin
  26106. pTDefRegMap(@Self)^.clr := $00000002;
  26107. end;
  26108. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  26109. begin
  26110. if thebits = 0 then
  26111. pTDefRegMap(@Self)^.clr := $00000002
  26112. else
  26113. pTDefRegMap(@Self)^.&set := $00000002;
  26114. end;
  26115. function TINT_IFS0.getCS0IF : TBits_1; inline;
  26116. begin
  26117. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26118. end;
  26119. procedure TINT_IFS0.setCS1IF; inline;
  26120. begin
  26121. pTDefRegMap(@Self)^.&set := $00000004;
  26122. end;
  26123. procedure TINT_IFS0.clearCS1IF; inline;
  26124. begin
  26125. pTDefRegMap(@Self)^.clr := $00000004;
  26126. end;
  26127. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  26128. begin
  26129. if thebits = 0 then
  26130. pTDefRegMap(@Self)^.clr := $00000004
  26131. else
  26132. pTDefRegMap(@Self)^.&set := $00000004;
  26133. end;
  26134. function TINT_IFS0.getCS1IF : TBits_1; inline;
  26135. begin
  26136. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26137. end;
  26138. procedure TINT_IFS0.setINT0IF; inline;
  26139. begin
  26140. pTDefRegMap(@Self)^.&set := $00000008;
  26141. end;
  26142. procedure TINT_IFS0.clearINT0IF; inline;
  26143. begin
  26144. pTDefRegMap(@Self)^.clr := $00000008;
  26145. end;
  26146. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  26147. begin
  26148. if thebits = 0 then
  26149. pTDefRegMap(@Self)^.clr := $00000008
  26150. else
  26151. pTDefRegMap(@Self)^.&set := $00000008;
  26152. end;
  26153. function TINT_IFS0.getINT0IF : TBits_1; inline;
  26154. begin
  26155. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26156. end;
  26157. procedure TINT_IFS0.setT1IF; inline;
  26158. begin
  26159. pTDefRegMap(@Self)^.&set := $00000010;
  26160. end;
  26161. procedure TINT_IFS0.clearT1IF; inline;
  26162. begin
  26163. pTDefRegMap(@Self)^.clr := $00000010;
  26164. end;
  26165. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  26166. begin
  26167. if thebits = 0 then
  26168. pTDefRegMap(@Self)^.clr := $00000010
  26169. else
  26170. pTDefRegMap(@Self)^.&set := $00000010;
  26171. end;
  26172. function TINT_IFS0.getT1IF : TBits_1; inline;
  26173. begin
  26174. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26175. end;
  26176. procedure TINT_IFS0.setIC1EIF; inline;
  26177. begin
  26178. pTDefRegMap(@Self)^.&set := $00000020;
  26179. end;
  26180. procedure TINT_IFS0.clearIC1EIF; inline;
  26181. begin
  26182. pTDefRegMap(@Self)^.clr := $00000020;
  26183. end;
  26184. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  26185. begin
  26186. if thebits = 0 then
  26187. pTDefRegMap(@Self)^.clr := $00000020
  26188. else
  26189. pTDefRegMap(@Self)^.&set := $00000020;
  26190. end;
  26191. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  26192. begin
  26193. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26194. end;
  26195. procedure TINT_IFS0.setIC1IF; inline;
  26196. begin
  26197. pTDefRegMap(@Self)^.&set := $00000040;
  26198. end;
  26199. procedure TINT_IFS0.clearIC1IF; inline;
  26200. begin
  26201. pTDefRegMap(@Self)^.clr := $00000040;
  26202. end;
  26203. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  26204. begin
  26205. if thebits = 0 then
  26206. pTDefRegMap(@Self)^.clr := $00000040
  26207. else
  26208. pTDefRegMap(@Self)^.&set := $00000040;
  26209. end;
  26210. function TINT_IFS0.getIC1IF : TBits_1; inline;
  26211. begin
  26212. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26213. end;
  26214. procedure TINT_IFS0.setOC1IF; inline;
  26215. begin
  26216. pTDefRegMap(@Self)^.&set := $00000080;
  26217. end;
  26218. procedure TINT_IFS0.clearOC1IF; inline;
  26219. begin
  26220. pTDefRegMap(@Self)^.clr := $00000080;
  26221. end;
  26222. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  26223. begin
  26224. if thebits = 0 then
  26225. pTDefRegMap(@Self)^.clr := $00000080
  26226. else
  26227. pTDefRegMap(@Self)^.&set := $00000080;
  26228. end;
  26229. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26230. begin
  26231. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26232. end;
  26233. procedure TINT_IFS0.setINT1IF; inline;
  26234. begin
  26235. pTDefRegMap(@Self)^.&set := $00000100;
  26236. end;
  26237. procedure TINT_IFS0.clearINT1IF; inline;
  26238. begin
  26239. pTDefRegMap(@Self)^.clr := $00000100;
  26240. end;
  26241. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26242. begin
  26243. if thebits = 0 then
  26244. pTDefRegMap(@Self)^.clr := $00000100
  26245. else
  26246. pTDefRegMap(@Self)^.&set := $00000100;
  26247. end;
  26248. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26249. begin
  26250. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26251. end;
  26252. procedure TINT_IFS0.setT2IF; inline;
  26253. begin
  26254. pTDefRegMap(@Self)^.&set := $00000200;
  26255. end;
  26256. procedure TINT_IFS0.clearT2IF; inline;
  26257. begin
  26258. pTDefRegMap(@Self)^.clr := $00000200;
  26259. end;
  26260. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26261. begin
  26262. if thebits = 0 then
  26263. pTDefRegMap(@Self)^.clr := $00000200
  26264. else
  26265. pTDefRegMap(@Self)^.&set := $00000200;
  26266. end;
  26267. function TINT_IFS0.getT2IF : TBits_1; inline;
  26268. begin
  26269. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26270. end;
  26271. procedure TINT_IFS0.setIC2EIF; inline;
  26272. begin
  26273. pTDefRegMap(@Self)^.&set := $00000400;
  26274. end;
  26275. procedure TINT_IFS0.clearIC2EIF; inline;
  26276. begin
  26277. pTDefRegMap(@Self)^.clr := $00000400;
  26278. end;
  26279. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26280. begin
  26281. if thebits = 0 then
  26282. pTDefRegMap(@Self)^.clr := $00000400
  26283. else
  26284. pTDefRegMap(@Self)^.&set := $00000400;
  26285. end;
  26286. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26287. begin
  26288. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26289. end;
  26290. procedure TINT_IFS0.setIC2IF; inline;
  26291. begin
  26292. pTDefRegMap(@Self)^.&set := $00000800;
  26293. end;
  26294. procedure TINT_IFS0.clearIC2IF; inline;
  26295. begin
  26296. pTDefRegMap(@Self)^.clr := $00000800;
  26297. end;
  26298. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26299. begin
  26300. if thebits = 0 then
  26301. pTDefRegMap(@Self)^.clr := $00000800
  26302. else
  26303. pTDefRegMap(@Self)^.&set := $00000800;
  26304. end;
  26305. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26306. begin
  26307. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26308. end;
  26309. procedure TINT_IFS0.setOC2IF; inline;
  26310. begin
  26311. pTDefRegMap(@Self)^.&set := $00001000;
  26312. end;
  26313. procedure TINT_IFS0.clearOC2IF; inline;
  26314. begin
  26315. pTDefRegMap(@Self)^.clr := $00001000;
  26316. end;
  26317. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26318. begin
  26319. if thebits = 0 then
  26320. pTDefRegMap(@Self)^.clr := $00001000
  26321. else
  26322. pTDefRegMap(@Self)^.&set := $00001000;
  26323. end;
  26324. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26325. begin
  26326. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26327. end;
  26328. procedure TINT_IFS0.setINT2IF; inline;
  26329. begin
  26330. pTDefRegMap(@Self)^.&set := $00002000;
  26331. end;
  26332. procedure TINT_IFS0.clearINT2IF; inline;
  26333. begin
  26334. pTDefRegMap(@Self)^.clr := $00002000;
  26335. end;
  26336. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26337. begin
  26338. if thebits = 0 then
  26339. pTDefRegMap(@Self)^.clr := $00002000
  26340. else
  26341. pTDefRegMap(@Self)^.&set := $00002000;
  26342. end;
  26343. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26344. begin
  26345. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26346. end;
  26347. procedure TINT_IFS0.setT3IF; inline;
  26348. begin
  26349. pTDefRegMap(@Self)^.&set := $00004000;
  26350. end;
  26351. procedure TINT_IFS0.clearT3IF; inline;
  26352. begin
  26353. pTDefRegMap(@Self)^.clr := $00004000;
  26354. end;
  26355. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26356. begin
  26357. if thebits = 0 then
  26358. pTDefRegMap(@Self)^.clr := $00004000
  26359. else
  26360. pTDefRegMap(@Self)^.&set := $00004000;
  26361. end;
  26362. function TINT_IFS0.getT3IF : TBits_1; inline;
  26363. begin
  26364. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26365. end;
  26366. procedure TINT_IFS0.setIC3EIF; inline;
  26367. begin
  26368. pTDefRegMap(@Self)^.&set := $00008000;
  26369. end;
  26370. procedure TINT_IFS0.clearIC3EIF; inline;
  26371. begin
  26372. pTDefRegMap(@Self)^.clr := $00008000;
  26373. end;
  26374. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26375. begin
  26376. if thebits = 0 then
  26377. pTDefRegMap(@Self)^.clr := $00008000
  26378. else
  26379. pTDefRegMap(@Self)^.&set := $00008000;
  26380. end;
  26381. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26382. begin
  26383. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26384. end;
  26385. procedure TINT_IFS0.setIC3IF; inline;
  26386. begin
  26387. pTDefRegMap(@Self)^.&set := $00010000;
  26388. end;
  26389. procedure TINT_IFS0.clearIC3IF; inline;
  26390. begin
  26391. pTDefRegMap(@Self)^.clr := $00010000;
  26392. end;
  26393. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26394. begin
  26395. if thebits = 0 then
  26396. pTDefRegMap(@Self)^.clr := $00010000
  26397. else
  26398. pTDefRegMap(@Self)^.&set := $00010000;
  26399. end;
  26400. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26401. begin
  26402. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26403. end;
  26404. procedure TINT_IFS0.setOC3IF; inline;
  26405. begin
  26406. pTDefRegMap(@Self)^.&set := $00020000;
  26407. end;
  26408. procedure TINT_IFS0.clearOC3IF; inline;
  26409. begin
  26410. pTDefRegMap(@Self)^.clr := $00020000;
  26411. end;
  26412. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26413. begin
  26414. if thebits = 0 then
  26415. pTDefRegMap(@Self)^.clr := $00020000
  26416. else
  26417. pTDefRegMap(@Self)^.&set := $00020000;
  26418. end;
  26419. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26420. begin
  26421. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26422. end;
  26423. procedure TINT_IFS0.setINT3IF; inline;
  26424. begin
  26425. pTDefRegMap(@Self)^.&set := $00040000;
  26426. end;
  26427. procedure TINT_IFS0.clearINT3IF; inline;
  26428. begin
  26429. pTDefRegMap(@Self)^.clr := $00040000;
  26430. end;
  26431. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26432. begin
  26433. if thebits = 0 then
  26434. pTDefRegMap(@Self)^.clr := $00040000
  26435. else
  26436. pTDefRegMap(@Self)^.&set := $00040000;
  26437. end;
  26438. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26439. begin
  26440. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26441. end;
  26442. procedure TINT_IFS0.setT4IF; inline;
  26443. begin
  26444. pTDefRegMap(@Self)^.&set := $00080000;
  26445. end;
  26446. procedure TINT_IFS0.clearT4IF; inline;
  26447. begin
  26448. pTDefRegMap(@Self)^.clr := $00080000;
  26449. end;
  26450. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  26451. begin
  26452. if thebits = 0 then
  26453. pTDefRegMap(@Self)^.clr := $00080000
  26454. else
  26455. pTDefRegMap(@Self)^.&set := $00080000;
  26456. end;
  26457. function TINT_IFS0.getT4IF : TBits_1; inline;
  26458. begin
  26459. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26460. end;
  26461. procedure TINT_IFS0.setIC4EIF; inline;
  26462. begin
  26463. pTDefRegMap(@Self)^.&set := $00100000;
  26464. end;
  26465. procedure TINT_IFS0.clearIC4EIF; inline;
  26466. begin
  26467. pTDefRegMap(@Self)^.clr := $00100000;
  26468. end;
  26469. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  26470. begin
  26471. if thebits = 0 then
  26472. pTDefRegMap(@Self)^.clr := $00100000
  26473. else
  26474. pTDefRegMap(@Self)^.&set := $00100000;
  26475. end;
  26476. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  26477. begin
  26478. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26479. end;
  26480. procedure TINT_IFS0.setIC4IF; inline;
  26481. begin
  26482. pTDefRegMap(@Self)^.&set := $00200000;
  26483. end;
  26484. procedure TINT_IFS0.clearIC4IF; inline;
  26485. begin
  26486. pTDefRegMap(@Self)^.clr := $00200000;
  26487. end;
  26488. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  26489. begin
  26490. if thebits = 0 then
  26491. pTDefRegMap(@Self)^.clr := $00200000
  26492. else
  26493. pTDefRegMap(@Self)^.&set := $00200000;
  26494. end;
  26495. function TINT_IFS0.getIC4IF : TBits_1; inline;
  26496. begin
  26497. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26498. end;
  26499. procedure TINT_IFS0.setOC4IF; inline;
  26500. begin
  26501. pTDefRegMap(@Self)^.&set := $00400000;
  26502. end;
  26503. procedure TINT_IFS0.clearOC4IF; inline;
  26504. begin
  26505. pTDefRegMap(@Self)^.clr := $00400000;
  26506. end;
  26507. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  26508. begin
  26509. if thebits = 0 then
  26510. pTDefRegMap(@Self)^.clr := $00400000
  26511. else
  26512. pTDefRegMap(@Self)^.&set := $00400000;
  26513. end;
  26514. function TINT_IFS0.getOC4IF : TBits_1; inline;
  26515. begin
  26516. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26517. end;
  26518. procedure TINT_IFS0.setINT4IF; inline;
  26519. begin
  26520. pTDefRegMap(@Self)^.&set := $00800000;
  26521. end;
  26522. procedure TINT_IFS0.clearINT4IF; inline;
  26523. begin
  26524. pTDefRegMap(@Self)^.clr := $00800000;
  26525. end;
  26526. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  26527. begin
  26528. if thebits = 0 then
  26529. pTDefRegMap(@Self)^.clr := $00800000
  26530. else
  26531. pTDefRegMap(@Self)^.&set := $00800000;
  26532. end;
  26533. function TINT_IFS0.getINT4IF : TBits_1; inline;
  26534. begin
  26535. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26536. end;
  26537. procedure TINT_IFS0.setT5IF; inline;
  26538. begin
  26539. pTDefRegMap(@Self)^.&set := $01000000;
  26540. end;
  26541. procedure TINT_IFS0.clearT5IF; inline;
  26542. begin
  26543. pTDefRegMap(@Self)^.clr := $01000000;
  26544. end;
  26545. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  26546. begin
  26547. if thebits = 0 then
  26548. pTDefRegMap(@Self)^.clr := $01000000
  26549. else
  26550. pTDefRegMap(@Self)^.&set := $01000000;
  26551. end;
  26552. function TINT_IFS0.getT5IF : TBits_1; inline;
  26553. begin
  26554. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26555. end;
  26556. procedure TINT_IFS0.setIC5EIF; inline;
  26557. begin
  26558. pTDefRegMap(@Self)^.&set := $02000000;
  26559. end;
  26560. procedure TINT_IFS0.clearIC5EIF; inline;
  26561. begin
  26562. pTDefRegMap(@Self)^.clr := $02000000;
  26563. end;
  26564. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  26565. begin
  26566. if thebits = 0 then
  26567. pTDefRegMap(@Self)^.clr := $02000000
  26568. else
  26569. pTDefRegMap(@Self)^.&set := $02000000;
  26570. end;
  26571. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  26572. begin
  26573. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26574. end;
  26575. procedure TINT_IFS0.setIC5IF; inline;
  26576. begin
  26577. pTDefRegMap(@Self)^.&set := $04000000;
  26578. end;
  26579. procedure TINT_IFS0.clearIC5IF; inline;
  26580. begin
  26581. pTDefRegMap(@Self)^.clr := $04000000;
  26582. end;
  26583. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  26584. begin
  26585. if thebits = 0 then
  26586. pTDefRegMap(@Self)^.clr := $04000000
  26587. else
  26588. pTDefRegMap(@Self)^.&set := $04000000;
  26589. end;
  26590. function TINT_IFS0.getIC5IF : TBits_1; inline;
  26591. begin
  26592. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  26593. end;
  26594. procedure TINT_IFS0.setOC5IF; inline;
  26595. begin
  26596. pTDefRegMap(@Self)^.&set := $08000000;
  26597. end;
  26598. procedure TINT_IFS0.clearOC5IF; inline;
  26599. begin
  26600. pTDefRegMap(@Self)^.clr := $08000000;
  26601. end;
  26602. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  26603. begin
  26604. if thebits = 0 then
  26605. pTDefRegMap(@Self)^.clr := $08000000
  26606. else
  26607. pTDefRegMap(@Self)^.&set := $08000000;
  26608. end;
  26609. function TINT_IFS0.getOC5IF : TBits_1; inline;
  26610. begin
  26611. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26612. end;
  26613. procedure TINT_IFS0.setAD1IF; inline;
  26614. begin
  26615. pTDefRegMap(@Self)^.&set := $10000000;
  26616. end;
  26617. procedure TINT_IFS0.clearAD1IF; inline;
  26618. begin
  26619. pTDefRegMap(@Self)^.clr := $10000000;
  26620. end;
  26621. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  26622. begin
  26623. if thebits = 0 then
  26624. pTDefRegMap(@Self)^.clr := $10000000
  26625. else
  26626. pTDefRegMap(@Self)^.&set := $10000000;
  26627. end;
  26628. function TINT_IFS0.getAD1IF : TBits_1; inline;
  26629. begin
  26630. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26631. end;
  26632. procedure TINT_IFS0.setFSCMIF; inline;
  26633. begin
  26634. pTDefRegMap(@Self)^.&set := $20000000;
  26635. end;
  26636. procedure TINT_IFS0.clearFSCMIF; inline;
  26637. begin
  26638. pTDefRegMap(@Self)^.clr := $20000000;
  26639. end;
  26640. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  26641. begin
  26642. if thebits = 0 then
  26643. pTDefRegMap(@Self)^.clr := $20000000
  26644. else
  26645. pTDefRegMap(@Self)^.&set := $20000000;
  26646. end;
  26647. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  26648. begin
  26649. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26650. end;
  26651. procedure TINT_IFS0.setRTCCIF; inline;
  26652. begin
  26653. pTDefRegMap(@Self)^.&set := $40000000;
  26654. end;
  26655. procedure TINT_IFS0.clearRTCCIF; inline;
  26656. begin
  26657. pTDefRegMap(@Self)^.clr := $40000000;
  26658. end;
  26659. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  26660. begin
  26661. if thebits = 0 then
  26662. pTDefRegMap(@Self)^.clr := $40000000
  26663. else
  26664. pTDefRegMap(@Self)^.&set := $40000000;
  26665. end;
  26666. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  26667. begin
  26668. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26669. end;
  26670. procedure TINT_IFS0.setFCEIF; inline;
  26671. begin
  26672. pTDefRegMap(@Self)^.&set := $80000000;
  26673. end;
  26674. procedure TINT_IFS0.clearFCEIF; inline;
  26675. begin
  26676. pTDefRegMap(@Self)^.clr := $80000000;
  26677. end;
  26678. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  26679. begin
  26680. if thebits = 0 then
  26681. pTDefRegMap(@Self)^.clr := $80000000
  26682. else
  26683. pTDefRegMap(@Self)^.&set := $80000000;
  26684. end;
  26685. function TINT_IFS0.getFCEIF : TBits_1; inline;
  26686. begin
  26687. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26688. end;
  26689. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  26690. begin
  26691. pTDefRegMap(@Self)^.val := thebits;
  26692. end;
  26693. function TINT_IFS0.getw : TBits_32; inline;
  26694. begin
  26695. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26696. end;
  26697. procedure TINT_IFS1.setCMP1IF; inline;
  26698. begin
  26699. pTDefRegMap(@Self)^.&set := $00000001;
  26700. end;
  26701. procedure TINT_IFS1.clearCMP1IF; inline;
  26702. begin
  26703. pTDefRegMap(@Self)^.clr := $00000001;
  26704. end;
  26705. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  26706. begin
  26707. if thebits = 0 then
  26708. pTDefRegMap(@Self)^.clr := $00000001
  26709. else
  26710. pTDefRegMap(@Self)^.&set := $00000001;
  26711. end;
  26712. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  26713. begin
  26714. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26715. end;
  26716. procedure TINT_IFS1.setCMP2IF; inline;
  26717. begin
  26718. pTDefRegMap(@Self)^.&set := $00000002;
  26719. end;
  26720. procedure TINT_IFS1.clearCMP2IF; inline;
  26721. begin
  26722. pTDefRegMap(@Self)^.clr := $00000002;
  26723. end;
  26724. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  26725. begin
  26726. if thebits = 0 then
  26727. pTDefRegMap(@Self)^.clr := $00000002
  26728. else
  26729. pTDefRegMap(@Self)^.&set := $00000002;
  26730. end;
  26731. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  26732. begin
  26733. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26734. end;
  26735. procedure TINT_IFS1.setCMP3IF; inline;
  26736. begin
  26737. pTDefRegMap(@Self)^.&set := $00000004;
  26738. end;
  26739. procedure TINT_IFS1.clearCMP3IF; inline;
  26740. begin
  26741. pTDefRegMap(@Self)^.clr := $00000004;
  26742. end;
  26743. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  26744. begin
  26745. if thebits = 0 then
  26746. pTDefRegMap(@Self)^.clr := $00000004
  26747. else
  26748. pTDefRegMap(@Self)^.&set := $00000004;
  26749. end;
  26750. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  26751. begin
  26752. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26753. end;
  26754. procedure TINT_IFS1.setSPI1EIF; inline;
  26755. begin
  26756. pTDefRegMap(@Self)^.&set := $00000010;
  26757. end;
  26758. procedure TINT_IFS1.clearSPI1EIF; inline;
  26759. begin
  26760. pTDefRegMap(@Self)^.clr := $00000010;
  26761. end;
  26762. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  26763. begin
  26764. if thebits = 0 then
  26765. pTDefRegMap(@Self)^.clr := $00000010
  26766. else
  26767. pTDefRegMap(@Self)^.&set := $00000010;
  26768. end;
  26769. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  26770. begin
  26771. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26772. end;
  26773. procedure TINT_IFS1.setSPI1RXIF; inline;
  26774. begin
  26775. pTDefRegMap(@Self)^.&set := $00000020;
  26776. end;
  26777. procedure TINT_IFS1.clearSPI1RXIF; inline;
  26778. begin
  26779. pTDefRegMap(@Self)^.clr := $00000020;
  26780. end;
  26781. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  26782. begin
  26783. if thebits = 0 then
  26784. pTDefRegMap(@Self)^.clr := $00000020
  26785. else
  26786. pTDefRegMap(@Self)^.&set := $00000020;
  26787. end;
  26788. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  26789. begin
  26790. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26791. end;
  26792. procedure TINT_IFS1.setSPI1TXIF; inline;
  26793. begin
  26794. pTDefRegMap(@Self)^.&set := $00000040;
  26795. end;
  26796. procedure TINT_IFS1.clearSPI1TXIF; inline;
  26797. begin
  26798. pTDefRegMap(@Self)^.clr := $00000040;
  26799. end;
  26800. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  26801. begin
  26802. if thebits = 0 then
  26803. pTDefRegMap(@Self)^.clr := $00000040
  26804. else
  26805. pTDefRegMap(@Self)^.&set := $00000040;
  26806. end;
  26807. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  26808. begin
  26809. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26810. end;
  26811. procedure TINT_IFS1.setU1EIF; inline;
  26812. begin
  26813. pTDefRegMap(@Self)^.&set := $00000080;
  26814. end;
  26815. procedure TINT_IFS1.clearU1EIF; inline;
  26816. begin
  26817. pTDefRegMap(@Self)^.clr := $00000080;
  26818. end;
  26819. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  26820. begin
  26821. if thebits = 0 then
  26822. pTDefRegMap(@Self)^.clr := $00000080
  26823. else
  26824. pTDefRegMap(@Self)^.&set := $00000080;
  26825. end;
  26826. function TINT_IFS1.getU1EIF : TBits_1; inline;
  26827. begin
  26828. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26829. end;
  26830. procedure TINT_IFS1.setU1RXIF; inline;
  26831. begin
  26832. pTDefRegMap(@Self)^.&set := $00000100;
  26833. end;
  26834. procedure TINT_IFS1.clearU1RXIF; inline;
  26835. begin
  26836. pTDefRegMap(@Self)^.clr := $00000100;
  26837. end;
  26838. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  26839. begin
  26840. if thebits = 0 then
  26841. pTDefRegMap(@Self)^.clr := $00000100
  26842. else
  26843. pTDefRegMap(@Self)^.&set := $00000100;
  26844. end;
  26845. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  26846. begin
  26847. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26848. end;
  26849. procedure TINT_IFS1.setU1TXIF; inline;
  26850. begin
  26851. pTDefRegMap(@Self)^.&set := $00000200;
  26852. end;
  26853. procedure TINT_IFS1.clearU1TXIF; inline;
  26854. begin
  26855. pTDefRegMap(@Self)^.clr := $00000200;
  26856. end;
  26857. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  26858. begin
  26859. if thebits = 0 then
  26860. pTDefRegMap(@Self)^.clr := $00000200
  26861. else
  26862. pTDefRegMap(@Self)^.&set := $00000200;
  26863. end;
  26864. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  26865. begin
  26866. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26867. end;
  26868. procedure TINT_IFS1.setI2C1BIF; inline;
  26869. begin
  26870. pTDefRegMap(@Self)^.&set := $00000400;
  26871. end;
  26872. procedure TINT_IFS1.clearI2C1BIF; inline;
  26873. begin
  26874. pTDefRegMap(@Self)^.clr := $00000400;
  26875. end;
  26876. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  26877. begin
  26878. if thebits = 0 then
  26879. pTDefRegMap(@Self)^.clr := $00000400
  26880. else
  26881. pTDefRegMap(@Self)^.&set := $00000400;
  26882. end;
  26883. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  26884. begin
  26885. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26886. end;
  26887. procedure TINT_IFS1.setI2C1SIF; inline;
  26888. begin
  26889. pTDefRegMap(@Self)^.&set := $00000800;
  26890. end;
  26891. procedure TINT_IFS1.clearI2C1SIF; inline;
  26892. begin
  26893. pTDefRegMap(@Self)^.clr := $00000800;
  26894. end;
  26895. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  26896. begin
  26897. if thebits = 0 then
  26898. pTDefRegMap(@Self)^.clr := $00000800
  26899. else
  26900. pTDefRegMap(@Self)^.&set := $00000800;
  26901. end;
  26902. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  26903. begin
  26904. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26905. end;
  26906. procedure TINT_IFS1.setI2C1MIF; inline;
  26907. begin
  26908. pTDefRegMap(@Self)^.&set := $00001000;
  26909. end;
  26910. procedure TINT_IFS1.clearI2C1MIF; inline;
  26911. begin
  26912. pTDefRegMap(@Self)^.clr := $00001000;
  26913. end;
  26914. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  26915. begin
  26916. if thebits = 0 then
  26917. pTDefRegMap(@Self)^.clr := $00001000
  26918. else
  26919. pTDefRegMap(@Self)^.&set := $00001000;
  26920. end;
  26921. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  26922. begin
  26923. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26924. end;
  26925. procedure TINT_IFS1.setCNAIF; inline;
  26926. begin
  26927. pTDefRegMap(@Self)^.&set := $00002000;
  26928. end;
  26929. procedure TINT_IFS1.clearCNAIF; inline;
  26930. begin
  26931. pTDefRegMap(@Self)^.clr := $00002000;
  26932. end;
  26933. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  26934. begin
  26935. if thebits = 0 then
  26936. pTDefRegMap(@Self)^.clr := $00002000
  26937. else
  26938. pTDefRegMap(@Self)^.&set := $00002000;
  26939. end;
  26940. function TINT_IFS1.getCNAIF : TBits_1; inline;
  26941. begin
  26942. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26943. end;
  26944. procedure TINT_IFS1.setCNBIF; inline;
  26945. begin
  26946. pTDefRegMap(@Self)^.&set := $00004000;
  26947. end;
  26948. procedure TINT_IFS1.clearCNBIF; inline;
  26949. begin
  26950. pTDefRegMap(@Self)^.clr := $00004000;
  26951. end;
  26952. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  26953. begin
  26954. if thebits = 0 then
  26955. pTDefRegMap(@Self)^.clr := $00004000
  26956. else
  26957. pTDefRegMap(@Self)^.&set := $00004000;
  26958. end;
  26959. function TINT_IFS1.getCNBIF : TBits_1; inline;
  26960. begin
  26961. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26962. end;
  26963. procedure TINT_IFS1.setCNCIF; inline;
  26964. begin
  26965. pTDefRegMap(@Self)^.&set := $00008000;
  26966. end;
  26967. procedure TINT_IFS1.clearCNCIF; inline;
  26968. begin
  26969. pTDefRegMap(@Self)^.clr := $00008000;
  26970. end;
  26971. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  26972. begin
  26973. if thebits = 0 then
  26974. pTDefRegMap(@Self)^.clr := $00008000
  26975. else
  26976. pTDefRegMap(@Self)^.&set := $00008000;
  26977. end;
  26978. function TINT_IFS1.getCNCIF : TBits_1; inline;
  26979. begin
  26980. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26981. end;
  26982. procedure TINT_IFS1.setPMPIF; inline;
  26983. begin
  26984. pTDefRegMap(@Self)^.&set := $00010000;
  26985. end;
  26986. procedure TINT_IFS1.clearPMPIF; inline;
  26987. begin
  26988. pTDefRegMap(@Self)^.clr := $00010000;
  26989. end;
  26990. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  26991. begin
  26992. if thebits = 0 then
  26993. pTDefRegMap(@Self)^.clr := $00010000
  26994. else
  26995. pTDefRegMap(@Self)^.&set := $00010000;
  26996. end;
  26997. function TINT_IFS1.getPMPIF : TBits_1; inline;
  26998. begin
  26999. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27000. end;
  27001. procedure TINT_IFS1.setPMPEIF; inline;
  27002. begin
  27003. pTDefRegMap(@Self)^.&set := $00020000;
  27004. end;
  27005. procedure TINT_IFS1.clearPMPEIF; inline;
  27006. begin
  27007. pTDefRegMap(@Self)^.clr := $00020000;
  27008. end;
  27009. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  27010. begin
  27011. if thebits = 0 then
  27012. pTDefRegMap(@Self)^.clr := $00020000
  27013. else
  27014. pTDefRegMap(@Self)^.&set := $00020000;
  27015. end;
  27016. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  27017. begin
  27018. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27019. end;
  27020. procedure TINT_IFS1.setSPI2EIF; inline;
  27021. begin
  27022. pTDefRegMap(@Self)^.&set := $00040000;
  27023. end;
  27024. procedure TINT_IFS1.clearSPI2EIF; inline;
  27025. begin
  27026. pTDefRegMap(@Self)^.clr := $00040000;
  27027. end;
  27028. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  27029. begin
  27030. if thebits = 0 then
  27031. pTDefRegMap(@Self)^.clr := $00040000
  27032. else
  27033. pTDefRegMap(@Self)^.&set := $00040000;
  27034. end;
  27035. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  27036. begin
  27037. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27038. end;
  27039. procedure TINT_IFS1.setSPI2RXIF; inline;
  27040. begin
  27041. pTDefRegMap(@Self)^.&set := $00080000;
  27042. end;
  27043. procedure TINT_IFS1.clearSPI2RXIF; inline;
  27044. begin
  27045. pTDefRegMap(@Self)^.clr := $00080000;
  27046. end;
  27047. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  27048. begin
  27049. if thebits = 0 then
  27050. pTDefRegMap(@Self)^.clr := $00080000
  27051. else
  27052. pTDefRegMap(@Self)^.&set := $00080000;
  27053. end;
  27054. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  27055. begin
  27056. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27057. end;
  27058. procedure TINT_IFS1.setSPI2TXIF; inline;
  27059. begin
  27060. pTDefRegMap(@Self)^.&set := $00100000;
  27061. end;
  27062. procedure TINT_IFS1.clearSPI2TXIF; inline;
  27063. begin
  27064. pTDefRegMap(@Self)^.clr := $00100000;
  27065. end;
  27066. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  27067. begin
  27068. if thebits = 0 then
  27069. pTDefRegMap(@Self)^.clr := $00100000
  27070. else
  27071. pTDefRegMap(@Self)^.&set := $00100000;
  27072. end;
  27073. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  27074. begin
  27075. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27076. end;
  27077. procedure TINT_IFS1.setU2EIF; inline;
  27078. begin
  27079. pTDefRegMap(@Self)^.&set := $00200000;
  27080. end;
  27081. procedure TINT_IFS1.clearU2EIF; inline;
  27082. begin
  27083. pTDefRegMap(@Self)^.clr := $00200000;
  27084. end;
  27085. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  27086. begin
  27087. if thebits = 0 then
  27088. pTDefRegMap(@Self)^.clr := $00200000
  27089. else
  27090. pTDefRegMap(@Self)^.&set := $00200000;
  27091. end;
  27092. function TINT_IFS1.getU2EIF : TBits_1; inline;
  27093. begin
  27094. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27095. end;
  27096. procedure TINT_IFS1.setU2RXIF; inline;
  27097. begin
  27098. pTDefRegMap(@Self)^.&set := $00400000;
  27099. end;
  27100. procedure TINT_IFS1.clearU2RXIF; inline;
  27101. begin
  27102. pTDefRegMap(@Self)^.clr := $00400000;
  27103. end;
  27104. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  27105. begin
  27106. if thebits = 0 then
  27107. pTDefRegMap(@Self)^.clr := $00400000
  27108. else
  27109. pTDefRegMap(@Self)^.&set := $00400000;
  27110. end;
  27111. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  27112. begin
  27113. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27114. end;
  27115. procedure TINT_IFS1.setU2TXIF; inline;
  27116. begin
  27117. pTDefRegMap(@Self)^.&set := $00800000;
  27118. end;
  27119. procedure TINT_IFS1.clearU2TXIF; inline;
  27120. begin
  27121. pTDefRegMap(@Self)^.clr := $00800000;
  27122. end;
  27123. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  27124. begin
  27125. if thebits = 0 then
  27126. pTDefRegMap(@Self)^.clr := $00800000
  27127. else
  27128. pTDefRegMap(@Self)^.&set := $00800000;
  27129. end;
  27130. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  27131. begin
  27132. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27133. end;
  27134. procedure TINT_IFS1.setI2C2BIF; inline;
  27135. begin
  27136. pTDefRegMap(@Self)^.&set := $01000000;
  27137. end;
  27138. procedure TINT_IFS1.clearI2C2BIF; inline;
  27139. begin
  27140. pTDefRegMap(@Self)^.clr := $01000000;
  27141. end;
  27142. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  27143. begin
  27144. if thebits = 0 then
  27145. pTDefRegMap(@Self)^.clr := $01000000
  27146. else
  27147. pTDefRegMap(@Self)^.&set := $01000000;
  27148. end;
  27149. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  27150. begin
  27151. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27152. end;
  27153. procedure TINT_IFS1.setI2C2SIF; inline;
  27154. begin
  27155. pTDefRegMap(@Self)^.&set := $02000000;
  27156. end;
  27157. procedure TINT_IFS1.clearI2C2SIF; inline;
  27158. begin
  27159. pTDefRegMap(@Self)^.clr := $02000000;
  27160. end;
  27161. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  27162. begin
  27163. if thebits = 0 then
  27164. pTDefRegMap(@Self)^.clr := $02000000
  27165. else
  27166. pTDefRegMap(@Self)^.&set := $02000000;
  27167. end;
  27168. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  27169. begin
  27170. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27171. end;
  27172. procedure TINT_IFS1.setI2C2MIF; inline;
  27173. begin
  27174. pTDefRegMap(@Self)^.&set := $04000000;
  27175. end;
  27176. procedure TINT_IFS1.clearI2C2MIF; inline;
  27177. begin
  27178. pTDefRegMap(@Self)^.clr := $04000000;
  27179. end;
  27180. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  27181. begin
  27182. if thebits = 0 then
  27183. pTDefRegMap(@Self)^.clr := $04000000
  27184. else
  27185. pTDefRegMap(@Self)^.&set := $04000000;
  27186. end;
  27187. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  27188. begin
  27189. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27190. end;
  27191. procedure TINT_IFS1.setCTMUIF; inline;
  27192. begin
  27193. pTDefRegMap(@Self)^.&set := $08000000;
  27194. end;
  27195. procedure TINT_IFS1.clearCTMUIF; inline;
  27196. begin
  27197. pTDefRegMap(@Self)^.clr := $08000000;
  27198. end;
  27199. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  27200. begin
  27201. if thebits = 0 then
  27202. pTDefRegMap(@Self)^.clr := $08000000
  27203. else
  27204. pTDefRegMap(@Self)^.&set := $08000000;
  27205. end;
  27206. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  27207. begin
  27208. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27209. end;
  27210. procedure TINT_IFS1.setDMA0IF; inline;
  27211. begin
  27212. pTDefRegMap(@Self)^.&set := $10000000;
  27213. end;
  27214. procedure TINT_IFS1.clearDMA0IF; inline;
  27215. begin
  27216. pTDefRegMap(@Self)^.clr := $10000000;
  27217. end;
  27218. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  27219. begin
  27220. if thebits = 0 then
  27221. pTDefRegMap(@Self)^.clr := $10000000
  27222. else
  27223. pTDefRegMap(@Self)^.&set := $10000000;
  27224. end;
  27225. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27226. begin
  27227. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27228. end;
  27229. procedure TINT_IFS1.setDMA1IF; inline;
  27230. begin
  27231. pTDefRegMap(@Self)^.&set := $20000000;
  27232. end;
  27233. procedure TINT_IFS1.clearDMA1IF; inline;
  27234. begin
  27235. pTDefRegMap(@Self)^.clr := $20000000;
  27236. end;
  27237. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27238. begin
  27239. if thebits = 0 then
  27240. pTDefRegMap(@Self)^.clr := $20000000
  27241. else
  27242. pTDefRegMap(@Self)^.&set := $20000000;
  27243. end;
  27244. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27245. begin
  27246. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27247. end;
  27248. procedure TINT_IFS1.setDMA2IF; inline;
  27249. begin
  27250. pTDefRegMap(@Self)^.&set := $40000000;
  27251. end;
  27252. procedure TINT_IFS1.clearDMA2IF; inline;
  27253. begin
  27254. pTDefRegMap(@Self)^.clr := $40000000;
  27255. end;
  27256. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27257. begin
  27258. if thebits = 0 then
  27259. pTDefRegMap(@Self)^.clr := $40000000
  27260. else
  27261. pTDefRegMap(@Self)^.&set := $40000000;
  27262. end;
  27263. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27264. begin
  27265. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27266. end;
  27267. procedure TINT_IFS1.setDMA3IF; inline;
  27268. begin
  27269. pTDefRegMap(@Self)^.&set := $80000000;
  27270. end;
  27271. procedure TINT_IFS1.clearDMA3IF; inline;
  27272. begin
  27273. pTDefRegMap(@Self)^.clr := $80000000;
  27274. end;
  27275. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27276. begin
  27277. if thebits = 0 then
  27278. pTDefRegMap(@Self)^.clr := $80000000
  27279. else
  27280. pTDefRegMap(@Self)^.&set := $80000000;
  27281. end;
  27282. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27283. begin
  27284. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27285. end;
  27286. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27287. begin
  27288. pTDefRegMap(@Self)^.val := thebits;
  27289. end;
  27290. function TINT_IFS1.getw : TBits_32; inline;
  27291. begin
  27292. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27293. end;
  27294. procedure TINT_IEC0.setCTIE; inline;
  27295. begin
  27296. pTDefRegMap(@Self)^.&set := $00000001;
  27297. end;
  27298. procedure TINT_IEC0.clearCTIE; inline;
  27299. begin
  27300. pTDefRegMap(@Self)^.clr := $00000001;
  27301. end;
  27302. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27303. begin
  27304. if thebits = 0 then
  27305. pTDefRegMap(@Self)^.clr := $00000001
  27306. else
  27307. pTDefRegMap(@Self)^.&set := $00000001;
  27308. end;
  27309. function TINT_IEC0.getCTIE : TBits_1; inline;
  27310. begin
  27311. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27312. end;
  27313. procedure TINT_IEC0.setCS0IE; inline;
  27314. begin
  27315. pTDefRegMap(@Self)^.&set := $00000002;
  27316. end;
  27317. procedure TINT_IEC0.clearCS0IE; inline;
  27318. begin
  27319. pTDefRegMap(@Self)^.clr := $00000002;
  27320. end;
  27321. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27322. begin
  27323. if thebits = 0 then
  27324. pTDefRegMap(@Self)^.clr := $00000002
  27325. else
  27326. pTDefRegMap(@Self)^.&set := $00000002;
  27327. end;
  27328. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27329. begin
  27330. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27331. end;
  27332. procedure TINT_IEC0.setCS1IE; inline;
  27333. begin
  27334. pTDefRegMap(@Self)^.&set := $00000004;
  27335. end;
  27336. procedure TINT_IEC0.clearCS1IE; inline;
  27337. begin
  27338. pTDefRegMap(@Self)^.clr := $00000004;
  27339. end;
  27340. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27341. begin
  27342. if thebits = 0 then
  27343. pTDefRegMap(@Self)^.clr := $00000004
  27344. else
  27345. pTDefRegMap(@Self)^.&set := $00000004;
  27346. end;
  27347. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27348. begin
  27349. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27350. end;
  27351. procedure TINT_IEC0.setINT0IE; inline;
  27352. begin
  27353. pTDefRegMap(@Self)^.&set := $00000008;
  27354. end;
  27355. procedure TINT_IEC0.clearINT0IE; inline;
  27356. begin
  27357. pTDefRegMap(@Self)^.clr := $00000008;
  27358. end;
  27359. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27360. begin
  27361. if thebits = 0 then
  27362. pTDefRegMap(@Self)^.clr := $00000008
  27363. else
  27364. pTDefRegMap(@Self)^.&set := $00000008;
  27365. end;
  27366. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27367. begin
  27368. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27369. end;
  27370. procedure TINT_IEC0.setT1IE; inline;
  27371. begin
  27372. pTDefRegMap(@Self)^.&set := $00000010;
  27373. end;
  27374. procedure TINT_IEC0.clearT1IE; inline;
  27375. begin
  27376. pTDefRegMap(@Self)^.clr := $00000010;
  27377. end;
  27378. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27379. begin
  27380. if thebits = 0 then
  27381. pTDefRegMap(@Self)^.clr := $00000010
  27382. else
  27383. pTDefRegMap(@Self)^.&set := $00000010;
  27384. end;
  27385. function TINT_IEC0.getT1IE : TBits_1; inline;
  27386. begin
  27387. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27388. end;
  27389. procedure TINT_IEC0.setIC1EIE; inline;
  27390. begin
  27391. pTDefRegMap(@Self)^.&set := $00000020;
  27392. end;
  27393. procedure TINT_IEC0.clearIC1EIE; inline;
  27394. begin
  27395. pTDefRegMap(@Self)^.clr := $00000020;
  27396. end;
  27397. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27398. begin
  27399. if thebits = 0 then
  27400. pTDefRegMap(@Self)^.clr := $00000020
  27401. else
  27402. pTDefRegMap(@Self)^.&set := $00000020;
  27403. end;
  27404. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27405. begin
  27406. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27407. end;
  27408. procedure TINT_IEC0.setIC1IE; inline;
  27409. begin
  27410. pTDefRegMap(@Self)^.&set := $00000040;
  27411. end;
  27412. procedure TINT_IEC0.clearIC1IE; inline;
  27413. begin
  27414. pTDefRegMap(@Self)^.clr := $00000040;
  27415. end;
  27416. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27417. begin
  27418. if thebits = 0 then
  27419. pTDefRegMap(@Self)^.clr := $00000040
  27420. else
  27421. pTDefRegMap(@Self)^.&set := $00000040;
  27422. end;
  27423. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27424. begin
  27425. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27426. end;
  27427. procedure TINT_IEC0.setOC1IE; inline;
  27428. begin
  27429. pTDefRegMap(@Self)^.&set := $00000080;
  27430. end;
  27431. procedure TINT_IEC0.clearOC1IE; inline;
  27432. begin
  27433. pTDefRegMap(@Self)^.clr := $00000080;
  27434. end;
  27435. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  27436. begin
  27437. if thebits = 0 then
  27438. pTDefRegMap(@Self)^.clr := $00000080
  27439. else
  27440. pTDefRegMap(@Self)^.&set := $00000080;
  27441. end;
  27442. function TINT_IEC0.getOC1IE : TBits_1; inline;
  27443. begin
  27444. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27445. end;
  27446. procedure TINT_IEC0.setINT1IE; inline;
  27447. begin
  27448. pTDefRegMap(@Self)^.&set := $00000100;
  27449. end;
  27450. procedure TINT_IEC0.clearINT1IE; inline;
  27451. begin
  27452. pTDefRegMap(@Self)^.clr := $00000100;
  27453. end;
  27454. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  27455. begin
  27456. if thebits = 0 then
  27457. pTDefRegMap(@Self)^.clr := $00000100
  27458. else
  27459. pTDefRegMap(@Self)^.&set := $00000100;
  27460. end;
  27461. function TINT_IEC0.getINT1IE : TBits_1; inline;
  27462. begin
  27463. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27464. end;
  27465. procedure TINT_IEC0.setT2IE; inline;
  27466. begin
  27467. pTDefRegMap(@Self)^.&set := $00000200;
  27468. end;
  27469. procedure TINT_IEC0.clearT2IE; inline;
  27470. begin
  27471. pTDefRegMap(@Self)^.clr := $00000200;
  27472. end;
  27473. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  27474. begin
  27475. if thebits = 0 then
  27476. pTDefRegMap(@Self)^.clr := $00000200
  27477. else
  27478. pTDefRegMap(@Self)^.&set := $00000200;
  27479. end;
  27480. function TINT_IEC0.getT2IE : TBits_1; inline;
  27481. begin
  27482. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27483. end;
  27484. procedure TINT_IEC0.setIC2EIE; inline;
  27485. begin
  27486. pTDefRegMap(@Self)^.&set := $00000400;
  27487. end;
  27488. procedure TINT_IEC0.clearIC2EIE; inline;
  27489. begin
  27490. pTDefRegMap(@Self)^.clr := $00000400;
  27491. end;
  27492. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  27493. begin
  27494. if thebits = 0 then
  27495. pTDefRegMap(@Self)^.clr := $00000400
  27496. else
  27497. pTDefRegMap(@Self)^.&set := $00000400;
  27498. end;
  27499. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  27500. begin
  27501. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27502. end;
  27503. procedure TINT_IEC0.setIC2IE; inline;
  27504. begin
  27505. pTDefRegMap(@Self)^.&set := $00000800;
  27506. end;
  27507. procedure TINT_IEC0.clearIC2IE; inline;
  27508. begin
  27509. pTDefRegMap(@Self)^.clr := $00000800;
  27510. end;
  27511. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  27512. begin
  27513. if thebits = 0 then
  27514. pTDefRegMap(@Self)^.clr := $00000800
  27515. else
  27516. pTDefRegMap(@Self)^.&set := $00000800;
  27517. end;
  27518. function TINT_IEC0.getIC2IE : TBits_1; inline;
  27519. begin
  27520. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27521. end;
  27522. procedure TINT_IEC0.setOC2IE; inline;
  27523. begin
  27524. pTDefRegMap(@Self)^.&set := $00001000;
  27525. end;
  27526. procedure TINT_IEC0.clearOC2IE; inline;
  27527. begin
  27528. pTDefRegMap(@Self)^.clr := $00001000;
  27529. end;
  27530. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  27531. begin
  27532. if thebits = 0 then
  27533. pTDefRegMap(@Self)^.clr := $00001000
  27534. else
  27535. pTDefRegMap(@Self)^.&set := $00001000;
  27536. end;
  27537. function TINT_IEC0.getOC2IE : TBits_1; inline;
  27538. begin
  27539. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27540. end;
  27541. procedure TINT_IEC0.setINT2IE; inline;
  27542. begin
  27543. pTDefRegMap(@Self)^.&set := $00002000;
  27544. end;
  27545. procedure TINT_IEC0.clearINT2IE; inline;
  27546. begin
  27547. pTDefRegMap(@Self)^.clr := $00002000;
  27548. end;
  27549. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  27550. begin
  27551. if thebits = 0 then
  27552. pTDefRegMap(@Self)^.clr := $00002000
  27553. else
  27554. pTDefRegMap(@Self)^.&set := $00002000;
  27555. end;
  27556. function TINT_IEC0.getINT2IE : TBits_1; inline;
  27557. begin
  27558. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27559. end;
  27560. procedure TINT_IEC0.setT3IE; inline;
  27561. begin
  27562. pTDefRegMap(@Self)^.&set := $00004000;
  27563. end;
  27564. procedure TINT_IEC0.clearT3IE; inline;
  27565. begin
  27566. pTDefRegMap(@Self)^.clr := $00004000;
  27567. end;
  27568. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  27569. begin
  27570. if thebits = 0 then
  27571. pTDefRegMap(@Self)^.clr := $00004000
  27572. else
  27573. pTDefRegMap(@Self)^.&set := $00004000;
  27574. end;
  27575. function TINT_IEC0.getT3IE : TBits_1; inline;
  27576. begin
  27577. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27578. end;
  27579. procedure TINT_IEC0.setIC3EIE; inline;
  27580. begin
  27581. pTDefRegMap(@Self)^.&set := $00008000;
  27582. end;
  27583. procedure TINT_IEC0.clearIC3EIE; inline;
  27584. begin
  27585. pTDefRegMap(@Self)^.clr := $00008000;
  27586. end;
  27587. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  27588. begin
  27589. if thebits = 0 then
  27590. pTDefRegMap(@Self)^.clr := $00008000
  27591. else
  27592. pTDefRegMap(@Self)^.&set := $00008000;
  27593. end;
  27594. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  27595. begin
  27596. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27597. end;
  27598. procedure TINT_IEC0.setIC3IE; inline;
  27599. begin
  27600. pTDefRegMap(@Self)^.&set := $00010000;
  27601. end;
  27602. procedure TINT_IEC0.clearIC3IE; inline;
  27603. begin
  27604. pTDefRegMap(@Self)^.clr := $00010000;
  27605. end;
  27606. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  27607. begin
  27608. if thebits = 0 then
  27609. pTDefRegMap(@Self)^.clr := $00010000
  27610. else
  27611. pTDefRegMap(@Self)^.&set := $00010000;
  27612. end;
  27613. function TINT_IEC0.getIC3IE : TBits_1; inline;
  27614. begin
  27615. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27616. end;
  27617. procedure TINT_IEC0.setOC3IE; inline;
  27618. begin
  27619. pTDefRegMap(@Self)^.&set := $00020000;
  27620. end;
  27621. procedure TINT_IEC0.clearOC3IE; inline;
  27622. begin
  27623. pTDefRegMap(@Self)^.clr := $00020000;
  27624. end;
  27625. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  27626. begin
  27627. if thebits = 0 then
  27628. pTDefRegMap(@Self)^.clr := $00020000
  27629. else
  27630. pTDefRegMap(@Self)^.&set := $00020000;
  27631. end;
  27632. function TINT_IEC0.getOC3IE : TBits_1; inline;
  27633. begin
  27634. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27635. end;
  27636. procedure TINT_IEC0.setINT3IE; inline;
  27637. begin
  27638. pTDefRegMap(@Self)^.&set := $00040000;
  27639. end;
  27640. procedure TINT_IEC0.clearINT3IE; inline;
  27641. begin
  27642. pTDefRegMap(@Self)^.clr := $00040000;
  27643. end;
  27644. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  27645. begin
  27646. if thebits = 0 then
  27647. pTDefRegMap(@Self)^.clr := $00040000
  27648. else
  27649. pTDefRegMap(@Self)^.&set := $00040000;
  27650. end;
  27651. function TINT_IEC0.getINT3IE : TBits_1; inline;
  27652. begin
  27653. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27654. end;
  27655. procedure TINT_IEC0.setT4IE; inline;
  27656. begin
  27657. pTDefRegMap(@Self)^.&set := $00080000;
  27658. end;
  27659. procedure TINT_IEC0.clearT4IE; inline;
  27660. begin
  27661. pTDefRegMap(@Self)^.clr := $00080000;
  27662. end;
  27663. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  27664. begin
  27665. if thebits = 0 then
  27666. pTDefRegMap(@Self)^.clr := $00080000
  27667. else
  27668. pTDefRegMap(@Self)^.&set := $00080000;
  27669. end;
  27670. function TINT_IEC0.getT4IE : TBits_1; inline;
  27671. begin
  27672. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27673. end;
  27674. procedure TINT_IEC0.setIC4EIE; inline;
  27675. begin
  27676. pTDefRegMap(@Self)^.&set := $00100000;
  27677. end;
  27678. procedure TINT_IEC0.clearIC4EIE; inline;
  27679. begin
  27680. pTDefRegMap(@Self)^.clr := $00100000;
  27681. end;
  27682. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  27683. begin
  27684. if thebits = 0 then
  27685. pTDefRegMap(@Self)^.clr := $00100000
  27686. else
  27687. pTDefRegMap(@Self)^.&set := $00100000;
  27688. end;
  27689. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  27690. begin
  27691. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27692. end;
  27693. procedure TINT_IEC0.setIC4IE; inline;
  27694. begin
  27695. pTDefRegMap(@Self)^.&set := $00200000;
  27696. end;
  27697. procedure TINT_IEC0.clearIC4IE; inline;
  27698. begin
  27699. pTDefRegMap(@Self)^.clr := $00200000;
  27700. end;
  27701. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  27702. begin
  27703. if thebits = 0 then
  27704. pTDefRegMap(@Self)^.clr := $00200000
  27705. else
  27706. pTDefRegMap(@Self)^.&set := $00200000;
  27707. end;
  27708. function TINT_IEC0.getIC4IE : TBits_1; inline;
  27709. begin
  27710. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27711. end;
  27712. procedure TINT_IEC0.setOC4IE; inline;
  27713. begin
  27714. pTDefRegMap(@Self)^.&set := $00400000;
  27715. end;
  27716. procedure TINT_IEC0.clearOC4IE; inline;
  27717. begin
  27718. pTDefRegMap(@Self)^.clr := $00400000;
  27719. end;
  27720. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  27721. begin
  27722. if thebits = 0 then
  27723. pTDefRegMap(@Self)^.clr := $00400000
  27724. else
  27725. pTDefRegMap(@Self)^.&set := $00400000;
  27726. end;
  27727. function TINT_IEC0.getOC4IE : TBits_1; inline;
  27728. begin
  27729. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27730. end;
  27731. procedure TINT_IEC0.setINT4IE; inline;
  27732. begin
  27733. pTDefRegMap(@Self)^.&set := $00800000;
  27734. end;
  27735. procedure TINT_IEC0.clearINT4IE; inline;
  27736. begin
  27737. pTDefRegMap(@Self)^.clr := $00800000;
  27738. end;
  27739. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  27740. begin
  27741. if thebits = 0 then
  27742. pTDefRegMap(@Self)^.clr := $00800000
  27743. else
  27744. pTDefRegMap(@Self)^.&set := $00800000;
  27745. end;
  27746. function TINT_IEC0.getINT4IE : TBits_1; inline;
  27747. begin
  27748. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27749. end;
  27750. procedure TINT_IEC0.setT5IE; inline;
  27751. begin
  27752. pTDefRegMap(@Self)^.&set := $01000000;
  27753. end;
  27754. procedure TINT_IEC0.clearT5IE; inline;
  27755. begin
  27756. pTDefRegMap(@Self)^.clr := $01000000;
  27757. end;
  27758. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  27759. begin
  27760. if thebits = 0 then
  27761. pTDefRegMap(@Self)^.clr := $01000000
  27762. else
  27763. pTDefRegMap(@Self)^.&set := $01000000;
  27764. end;
  27765. function TINT_IEC0.getT5IE : TBits_1; inline;
  27766. begin
  27767. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27768. end;
  27769. procedure TINT_IEC0.setIC5EIE; inline;
  27770. begin
  27771. pTDefRegMap(@Self)^.&set := $02000000;
  27772. end;
  27773. procedure TINT_IEC0.clearIC5EIE; inline;
  27774. begin
  27775. pTDefRegMap(@Self)^.clr := $02000000;
  27776. end;
  27777. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  27778. begin
  27779. if thebits = 0 then
  27780. pTDefRegMap(@Self)^.clr := $02000000
  27781. else
  27782. pTDefRegMap(@Self)^.&set := $02000000;
  27783. end;
  27784. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  27785. begin
  27786. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27787. end;
  27788. procedure TINT_IEC0.setIC5IE; inline;
  27789. begin
  27790. pTDefRegMap(@Self)^.&set := $04000000;
  27791. end;
  27792. procedure TINT_IEC0.clearIC5IE; inline;
  27793. begin
  27794. pTDefRegMap(@Self)^.clr := $04000000;
  27795. end;
  27796. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  27797. begin
  27798. if thebits = 0 then
  27799. pTDefRegMap(@Self)^.clr := $04000000
  27800. else
  27801. pTDefRegMap(@Self)^.&set := $04000000;
  27802. end;
  27803. function TINT_IEC0.getIC5IE : TBits_1; inline;
  27804. begin
  27805. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27806. end;
  27807. procedure TINT_IEC0.setOC5IE; inline;
  27808. begin
  27809. pTDefRegMap(@Self)^.&set := $08000000;
  27810. end;
  27811. procedure TINT_IEC0.clearOC5IE; inline;
  27812. begin
  27813. pTDefRegMap(@Self)^.clr := $08000000;
  27814. end;
  27815. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  27816. begin
  27817. if thebits = 0 then
  27818. pTDefRegMap(@Self)^.clr := $08000000
  27819. else
  27820. pTDefRegMap(@Self)^.&set := $08000000;
  27821. end;
  27822. function TINT_IEC0.getOC5IE : TBits_1; inline;
  27823. begin
  27824. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27825. end;
  27826. procedure TINT_IEC0.setAD1IE; inline;
  27827. begin
  27828. pTDefRegMap(@Self)^.&set := $10000000;
  27829. end;
  27830. procedure TINT_IEC0.clearAD1IE; inline;
  27831. begin
  27832. pTDefRegMap(@Self)^.clr := $10000000;
  27833. end;
  27834. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  27835. begin
  27836. if thebits = 0 then
  27837. pTDefRegMap(@Self)^.clr := $10000000
  27838. else
  27839. pTDefRegMap(@Self)^.&set := $10000000;
  27840. end;
  27841. function TINT_IEC0.getAD1IE : TBits_1; inline;
  27842. begin
  27843. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27844. end;
  27845. procedure TINT_IEC0.setFSCMIE; inline;
  27846. begin
  27847. pTDefRegMap(@Self)^.&set := $20000000;
  27848. end;
  27849. procedure TINT_IEC0.clearFSCMIE; inline;
  27850. begin
  27851. pTDefRegMap(@Self)^.clr := $20000000;
  27852. end;
  27853. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  27854. begin
  27855. if thebits = 0 then
  27856. pTDefRegMap(@Self)^.clr := $20000000
  27857. else
  27858. pTDefRegMap(@Self)^.&set := $20000000;
  27859. end;
  27860. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  27861. begin
  27862. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27863. end;
  27864. procedure TINT_IEC0.setRTCCIE; inline;
  27865. begin
  27866. pTDefRegMap(@Self)^.&set := $40000000;
  27867. end;
  27868. procedure TINT_IEC0.clearRTCCIE; inline;
  27869. begin
  27870. pTDefRegMap(@Self)^.clr := $40000000;
  27871. end;
  27872. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  27873. begin
  27874. if thebits = 0 then
  27875. pTDefRegMap(@Self)^.clr := $40000000
  27876. else
  27877. pTDefRegMap(@Self)^.&set := $40000000;
  27878. end;
  27879. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  27880. begin
  27881. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27882. end;
  27883. procedure TINT_IEC0.setFCEIE; inline;
  27884. begin
  27885. pTDefRegMap(@Self)^.&set := $80000000;
  27886. end;
  27887. procedure TINT_IEC0.clearFCEIE; inline;
  27888. begin
  27889. pTDefRegMap(@Self)^.clr := $80000000;
  27890. end;
  27891. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  27892. begin
  27893. if thebits = 0 then
  27894. pTDefRegMap(@Self)^.clr := $80000000
  27895. else
  27896. pTDefRegMap(@Self)^.&set := $80000000;
  27897. end;
  27898. function TINT_IEC0.getFCEIE : TBits_1; inline;
  27899. begin
  27900. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27901. end;
  27902. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  27903. begin
  27904. pTDefRegMap(@Self)^.val := thebits;
  27905. end;
  27906. function TINT_IEC0.getw : TBits_32; inline;
  27907. begin
  27908. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27909. end;
  27910. procedure TINT_IEC1.setCMP1IE; inline;
  27911. begin
  27912. pTDefRegMap(@Self)^.&set := $00000001;
  27913. end;
  27914. procedure TINT_IEC1.clearCMP1IE; inline;
  27915. begin
  27916. pTDefRegMap(@Self)^.clr := $00000001;
  27917. end;
  27918. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  27919. begin
  27920. if thebits = 0 then
  27921. pTDefRegMap(@Self)^.clr := $00000001
  27922. else
  27923. pTDefRegMap(@Self)^.&set := $00000001;
  27924. end;
  27925. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  27926. begin
  27927. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27928. end;
  27929. procedure TINT_IEC1.setCMP2IE; inline;
  27930. begin
  27931. pTDefRegMap(@Self)^.&set := $00000002;
  27932. end;
  27933. procedure TINT_IEC1.clearCMP2IE; inline;
  27934. begin
  27935. pTDefRegMap(@Self)^.clr := $00000002;
  27936. end;
  27937. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  27938. begin
  27939. if thebits = 0 then
  27940. pTDefRegMap(@Self)^.clr := $00000002
  27941. else
  27942. pTDefRegMap(@Self)^.&set := $00000002;
  27943. end;
  27944. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  27945. begin
  27946. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27947. end;
  27948. procedure TINT_IEC1.setCMP3IE; inline;
  27949. begin
  27950. pTDefRegMap(@Self)^.&set := $00000004;
  27951. end;
  27952. procedure TINT_IEC1.clearCMP3IE; inline;
  27953. begin
  27954. pTDefRegMap(@Self)^.clr := $00000004;
  27955. end;
  27956. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  27957. begin
  27958. if thebits = 0 then
  27959. pTDefRegMap(@Self)^.clr := $00000004
  27960. else
  27961. pTDefRegMap(@Self)^.&set := $00000004;
  27962. end;
  27963. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  27964. begin
  27965. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27966. end;
  27967. procedure TINT_IEC1.setSPI1EIE; inline;
  27968. begin
  27969. pTDefRegMap(@Self)^.&set := $00000010;
  27970. end;
  27971. procedure TINT_IEC1.clearSPI1EIE; inline;
  27972. begin
  27973. pTDefRegMap(@Self)^.clr := $00000010;
  27974. end;
  27975. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  27976. begin
  27977. if thebits = 0 then
  27978. pTDefRegMap(@Self)^.clr := $00000010
  27979. else
  27980. pTDefRegMap(@Self)^.&set := $00000010;
  27981. end;
  27982. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  27983. begin
  27984. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27985. end;
  27986. procedure TINT_IEC1.setSPI1RXIE; inline;
  27987. begin
  27988. pTDefRegMap(@Self)^.&set := $00000020;
  27989. end;
  27990. procedure TINT_IEC1.clearSPI1RXIE; inline;
  27991. begin
  27992. pTDefRegMap(@Self)^.clr := $00000020;
  27993. end;
  27994. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  27995. begin
  27996. if thebits = 0 then
  27997. pTDefRegMap(@Self)^.clr := $00000020
  27998. else
  27999. pTDefRegMap(@Self)^.&set := $00000020;
  28000. end;
  28001. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  28002. begin
  28003. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28004. end;
  28005. procedure TINT_IEC1.setSPI1TXIE; inline;
  28006. begin
  28007. pTDefRegMap(@Self)^.&set := $00000040;
  28008. end;
  28009. procedure TINT_IEC1.clearSPI1TXIE; inline;
  28010. begin
  28011. pTDefRegMap(@Self)^.clr := $00000040;
  28012. end;
  28013. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  28014. begin
  28015. if thebits = 0 then
  28016. pTDefRegMap(@Self)^.clr := $00000040
  28017. else
  28018. pTDefRegMap(@Self)^.&set := $00000040;
  28019. end;
  28020. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  28021. begin
  28022. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28023. end;
  28024. procedure TINT_IEC1.setU1EIE; inline;
  28025. begin
  28026. pTDefRegMap(@Self)^.&set := $00000080;
  28027. end;
  28028. procedure TINT_IEC1.clearU1EIE; inline;
  28029. begin
  28030. pTDefRegMap(@Self)^.clr := $00000080;
  28031. end;
  28032. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  28033. begin
  28034. if thebits = 0 then
  28035. pTDefRegMap(@Self)^.clr := $00000080
  28036. else
  28037. pTDefRegMap(@Self)^.&set := $00000080;
  28038. end;
  28039. function TINT_IEC1.getU1EIE : TBits_1; inline;
  28040. begin
  28041. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28042. end;
  28043. procedure TINT_IEC1.setU1RXIE; inline;
  28044. begin
  28045. pTDefRegMap(@Self)^.&set := $00000100;
  28046. end;
  28047. procedure TINT_IEC1.clearU1RXIE; inline;
  28048. begin
  28049. pTDefRegMap(@Self)^.clr := $00000100;
  28050. end;
  28051. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  28052. begin
  28053. if thebits = 0 then
  28054. pTDefRegMap(@Self)^.clr := $00000100
  28055. else
  28056. pTDefRegMap(@Self)^.&set := $00000100;
  28057. end;
  28058. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  28059. begin
  28060. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28061. end;
  28062. procedure TINT_IEC1.setU1TXIE; inline;
  28063. begin
  28064. pTDefRegMap(@Self)^.&set := $00000200;
  28065. end;
  28066. procedure TINT_IEC1.clearU1TXIE; inline;
  28067. begin
  28068. pTDefRegMap(@Self)^.clr := $00000200;
  28069. end;
  28070. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  28071. begin
  28072. if thebits = 0 then
  28073. pTDefRegMap(@Self)^.clr := $00000200
  28074. else
  28075. pTDefRegMap(@Self)^.&set := $00000200;
  28076. end;
  28077. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  28078. begin
  28079. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28080. end;
  28081. procedure TINT_IEC1.setI2C1BIE; inline;
  28082. begin
  28083. pTDefRegMap(@Self)^.&set := $00000400;
  28084. end;
  28085. procedure TINT_IEC1.clearI2C1BIE; inline;
  28086. begin
  28087. pTDefRegMap(@Self)^.clr := $00000400;
  28088. end;
  28089. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  28090. begin
  28091. if thebits = 0 then
  28092. pTDefRegMap(@Self)^.clr := $00000400
  28093. else
  28094. pTDefRegMap(@Self)^.&set := $00000400;
  28095. end;
  28096. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  28097. begin
  28098. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28099. end;
  28100. procedure TINT_IEC1.setI2C1SIE; inline;
  28101. begin
  28102. pTDefRegMap(@Self)^.&set := $00000800;
  28103. end;
  28104. procedure TINT_IEC1.clearI2C1SIE; inline;
  28105. begin
  28106. pTDefRegMap(@Self)^.clr := $00000800;
  28107. end;
  28108. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  28109. begin
  28110. if thebits = 0 then
  28111. pTDefRegMap(@Self)^.clr := $00000800
  28112. else
  28113. pTDefRegMap(@Self)^.&set := $00000800;
  28114. end;
  28115. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  28116. begin
  28117. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28118. end;
  28119. procedure TINT_IEC1.setI2C1MIE; inline;
  28120. begin
  28121. pTDefRegMap(@Self)^.&set := $00001000;
  28122. end;
  28123. procedure TINT_IEC1.clearI2C1MIE; inline;
  28124. begin
  28125. pTDefRegMap(@Self)^.clr := $00001000;
  28126. end;
  28127. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  28128. begin
  28129. if thebits = 0 then
  28130. pTDefRegMap(@Self)^.clr := $00001000
  28131. else
  28132. pTDefRegMap(@Self)^.&set := $00001000;
  28133. end;
  28134. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  28135. begin
  28136. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28137. end;
  28138. procedure TINT_IEC1.setCNAIE; inline;
  28139. begin
  28140. pTDefRegMap(@Self)^.&set := $00002000;
  28141. end;
  28142. procedure TINT_IEC1.clearCNAIE; inline;
  28143. begin
  28144. pTDefRegMap(@Self)^.clr := $00002000;
  28145. end;
  28146. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  28147. begin
  28148. if thebits = 0 then
  28149. pTDefRegMap(@Self)^.clr := $00002000
  28150. else
  28151. pTDefRegMap(@Self)^.&set := $00002000;
  28152. end;
  28153. function TINT_IEC1.getCNAIE : TBits_1; inline;
  28154. begin
  28155. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28156. end;
  28157. procedure TINT_IEC1.setCNBIE; inline;
  28158. begin
  28159. pTDefRegMap(@Self)^.&set := $00004000;
  28160. end;
  28161. procedure TINT_IEC1.clearCNBIE; inline;
  28162. begin
  28163. pTDefRegMap(@Self)^.clr := $00004000;
  28164. end;
  28165. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  28166. begin
  28167. if thebits = 0 then
  28168. pTDefRegMap(@Self)^.clr := $00004000
  28169. else
  28170. pTDefRegMap(@Self)^.&set := $00004000;
  28171. end;
  28172. function TINT_IEC1.getCNBIE : TBits_1; inline;
  28173. begin
  28174. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28175. end;
  28176. procedure TINT_IEC1.setCNCIE; inline;
  28177. begin
  28178. pTDefRegMap(@Self)^.&set := $00008000;
  28179. end;
  28180. procedure TINT_IEC1.clearCNCIE; inline;
  28181. begin
  28182. pTDefRegMap(@Self)^.clr := $00008000;
  28183. end;
  28184. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  28185. begin
  28186. if thebits = 0 then
  28187. pTDefRegMap(@Self)^.clr := $00008000
  28188. else
  28189. pTDefRegMap(@Self)^.&set := $00008000;
  28190. end;
  28191. function TINT_IEC1.getCNCIE : TBits_1; inline;
  28192. begin
  28193. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28194. end;
  28195. procedure TINT_IEC1.setPMPIE; inline;
  28196. begin
  28197. pTDefRegMap(@Self)^.&set := $00010000;
  28198. end;
  28199. procedure TINT_IEC1.clearPMPIE; inline;
  28200. begin
  28201. pTDefRegMap(@Self)^.clr := $00010000;
  28202. end;
  28203. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  28204. begin
  28205. if thebits = 0 then
  28206. pTDefRegMap(@Self)^.clr := $00010000
  28207. else
  28208. pTDefRegMap(@Self)^.&set := $00010000;
  28209. end;
  28210. function TINT_IEC1.getPMPIE : TBits_1; inline;
  28211. begin
  28212. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28213. end;
  28214. procedure TINT_IEC1.setPMPEIE; inline;
  28215. begin
  28216. pTDefRegMap(@Self)^.&set := $00020000;
  28217. end;
  28218. procedure TINT_IEC1.clearPMPEIE; inline;
  28219. begin
  28220. pTDefRegMap(@Self)^.clr := $00020000;
  28221. end;
  28222. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  28223. begin
  28224. if thebits = 0 then
  28225. pTDefRegMap(@Self)^.clr := $00020000
  28226. else
  28227. pTDefRegMap(@Self)^.&set := $00020000;
  28228. end;
  28229. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28230. begin
  28231. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28232. end;
  28233. procedure TINT_IEC1.setSPI2EIE; inline;
  28234. begin
  28235. pTDefRegMap(@Self)^.&set := $00040000;
  28236. end;
  28237. procedure TINT_IEC1.clearSPI2EIE; inline;
  28238. begin
  28239. pTDefRegMap(@Self)^.clr := $00040000;
  28240. end;
  28241. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28242. begin
  28243. if thebits = 0 then
  28244. pTDefRegMap(@Self)^.clr := $00040000
  28245. else
  28246. pTDefRegMap(@Self)^.&set := $00040000;
  28247. end;
  28248. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28249. begin
  28250. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28251. end;
  28252. procedure TINT_IEC1.setSPI2RXIE; inline;
  28253. begin
  28254. pTDefRegMap(@Self)^.&set := $00080000;
  28255. end;
  28256. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28257. begin
  28258. pTDefRegMap(@Self)^.clr := $00080000;
  28259. end;
  28260. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28261. begin
  28262. if thebits = 0 then
  28263. pTDefRegMap(@Self)^.clr := $00080000
  28264. else
  28265. pTDefRegMap(@Self)^.&set := $00080000;
  28266. end;
  28267. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28268. begin
  28269. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28270. end;
  28271. procedure TINT_IEC1.setSPI2TXIE; inline;
  28272. begin
  28273. pTDefRegMap(@Self)^.&set := $00100000;
  28274. end;
  28275. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28276. begin
  28277. pTDefRegMap(@Self)^.clr := $00100000;
  28278. end;
  28279. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28280. begin
  28281. if thebits = 0 then
  28282. pTDefRegMap(@Self)^.clr := $00100000
  28283. else
  28284. pTDefRegMap(@Self)^.&set := $00100000;
  28285. end;
  28286. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28287. begin
  28288. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28289. end;
  28290. procedure TINT_IEC1.setU2EIE; inline;
  28291. begin
  28292. pTDefRegMap(@Self)^.&set := $00200000;
  28293. end;
  28294. procedure TINT_IEC1.clearU2EIE; inline;
  28295. begin
  28296. pTDefRegMap(@Self)^.clr := $00200000;
  28297. end;
  28298. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28299. begin
  28300. if thebits = 0 then
  28301. pTDefRegMap(@Self)^.clr := $00200000
  28302. else
  28303. pTDefRegMap(@Self)^.&set := $00200000;
  28304. end;
  28305. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28306. begin
  28307. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28308. end;
  28309. procedure TINT_IEC1.setU2RXIE; inline;
  28310. begin
  28311. pTDefRegMap(@Self)^.&set := $00400000;
  28312. end;
  28313. procedure TINT_IEC1.clearU2RXIE; inline;
  28314. begin
  28315. pTDefRegMap(@Self)^.clr := $00400000;
  28316. end;
  28317. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28318. begin
  28319. if thebits = 0 then
  28320. pTDefRegMap(@Self)^.clr := $00400000
  28321. else
  28322. pTDefRegMap(@Self)^.&set := $00400000;
  28323. end;
  28324. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28325. begin
  28326. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28327. end;
  28328. procedure TINT_IEC1.setU2TXIE; inline;
  28329. begin
  28330. pTDefRegMap(@Self)^.&set := $00800000;
  28331. end;
  28332. procedure TINT_IEC1.clearU2TXIE; inline;
  28333. begin
  28334. pTDefRegMap(@Self)^.clr := $00800000;
  28335. end;
  28336. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28337. begin
  28338. if thebits = 0 then
  28339. pTDefRegMap(@Self)^.clr := $00800000
  28340. else
  28341. pTDefRegMap(@Self)^.&set := $00800000;
  28342. end;
  28343. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28344. begin
  28345. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28346. end;
  28347. procedure TINT_IEC1.setI2C2BIE; inline;
  28348. begin
  28349. pTDefRegMap(@Self)^.&set := $01000000;
  28350. end;
  28351. procedure TINT_IEC1.clearI2C2BIE; inline;
  28352. begin
  28353. pTDefRegMap(@Self)^.clr := $01000000;
  28354. end;
  28355. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28356. begin
  28357. if thebits = 0 then
  28358. pTDefRegMap(@Self)^.clr := $01000000
  28359. else
  28360. pTDefRegMap(@Self)^.&set := $01000000;
  28361. end;
  28362. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28363. begin
  28364. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28365. end;
  28366. procedure TINT_IEC1.setI2C2SIE; inline;
  28367. begin
  28368. pTDefRegMap(@Self)^.&set := $02000000;
  28369. end;
  28370. procedure TINT_IEC1.clearI2C2SIE; inline;
  28371. begin
  28372. pTDefRegMap(@Self)^.clr := $02000000;
  28373. end;
  28374. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28375. begin
  28376. if thebits = 0 then
  28377. pTDefRegMap(@Self)^.clr := $02000000
  28378. else
  28379. pTDefRegMap(@Self)^.&set := $02000000;
  28380. end;
  28381. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28382. begin
  28383. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28384. end;
  28385. procedure TINT_IEC1.setI2C2MIE; inline;
  28386. begin
  28387. pTDefRegMap(@Self)^.&set := $04000000;
  28388. end;
  28389. procedure TINT_IEC1.clearI2C2MIE; inline;
  28390. begin
  28391. pTDefRegMap(@Self)^.clr := $04000000;
  28392. end;
  28393. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28394. begin
  28395. if thebits = 0 then
  28396. pTDefRegMap(@Self)^.clr := $04000000
  28397. else
  28398. pTDefRegMap(@Self)^.&set := $04000000;
  28399. end;
  28400. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28401. begin
  28402. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28403. end;
  28404. procedure TINT_IEC1.setCTMUIE; inline;
  28405. begin
  28406. pTDefRegMap(@Self)^.&set := $08000000;
  28407. end;
  28408. procedure TINT_IEC1.clearCTMUIE; inline;
  28409. begin
  28410. pTDefRegMap(@Self)^.clr := $08000000;
  28411. end;
  28412. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  28413. begin
  28414. if thebits = 0 then
  28415. pTDefRegMap(@Self)^.clr := $08000000
  28416. else
  28417. pTDefRegMap(@Self)^.&set := $08000000;
  28418. end;
  28419. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  28420. begin
  28421. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28422. end;
  28423. procedure TINT_IEC1.setDMA0IE; inline;
  28424. begin
  28425. pTDefRegMap(@Self)^.&set := $10000000;
  28426. end;
  28427. procedure TINT_IEC1.clearDMA0IE; inline;
  28428. begin
  28429. pTDefRegMap(@Self)^.clr := $10000000;
  28430. end;
  28431. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  28432. begin
  28433. if thebits = 0 then
  28434. pTDefRegMap(@Self)^.clr := $10000000
  28435. else
  28436. pTDefRegMap(@Self)^.&set := $10000000;
  28437. end;
  28438. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  28439. begin
  28440. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28441. end;
  28442. procedure TINT_IEC1.setDMA1IE; inline;
  28443. begin
  28444. pTDefRegMap(@Self)^.&set := $20000000;
  28445. end;
  28446. procedure TINT_IEC1.clearDMA1IE; inline;
  28447. begin
  28448. pTDefRegMap(@Self)^.clr := $20000000;
  28449. end;
  28450. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  28451. begin
  28452. if thebits = 0 then
  28453. pTDefRegMap(@Self)^.clr := $20000000
  28454. else
  28455. pTDefRegMap(@Self)^.&set := $20000000;
  28456. end;
  28457. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  28458. begin
  28459. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28460. end;
  28461. procedure TINT_IEC1.setDMA2IE; inline;
  28462. begin
  28463. pTDefRegMap(@Self)^.&set := $40000000;
  28464. end;
  28465. procedure TINT_IEC1.clearDMA2IE; inline;
  28466. begin
  28467. pTDefRegMap(@Self)^.clr := $40000000;
  28468. end;
  28469. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  28470. begin
  28471. if thebits = 0 then
  28472. pTDefRegMap(@Self)^.clr := $40000000
  28473. else
  28474. pTDefRegMap(@Self)^.&set := $40000000;
  28475. end;
  28476. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  28477. begin
  28478. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28479. end;
  28480. procedure TINT_IEC1.setDMA3IE; inline;
  28481. begin
  28482. pTDefRegMap(@Self)^.&set := $80000000;
  28483. end;
  28484. procedure TINT_IEC1.clearDMA3IE; inline;
  28485. begin
  28486. pTDefRegMap(@Self)^.clr := $80000000;
  28487. end;
  28488. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  28489. begin
  28490. if thebits = 0 then
  28491. pTDefRegMap(@Self)^.clr := $80000000
  28492. else
  28493. pTDefRegMap(@Self)^.&set := $80000000;
  28494. end;
  28495. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  28496. begin
  28497. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28498. end;
  28499. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  28500. begin
  28501. pTDefRegMap(@Self)^.val := thebits;
  28502. end;
  28503. function TINT_IEC1.getw : TBits_32; inline;
  28504. begin
  28505. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28506. end;
  28507. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  28508. begin
  28509. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28510. end;
  28511. function TINT_IPC0.getCTIS : TBits_2; inline;
  28512. begin
  28513. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28514. end;
  28515. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  28516. begin
  28517. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28518. end;
  28519. function TINT_IPC0.getCTIP : TBits_3; inline;
  28520. begin
  28521. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28522. end;
  28523. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  28524. begin
  28525. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28526. end;
  28527. function TINT_IPC0.getCS0IS : TBits_2; inline;
  28528. begin
  28529. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28530. end;
  28531. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  28532. begin
  28533. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28534. end;
  28535. function TINT_IPC0.getCS0IP : TBits_3; inline;
  28536. begin
  28537. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28538. end;
  28539. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  28540. begin
  28541. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28542. end;
  28543. function TINT_IPC0.getCS1IS : TBits_2; inline;
  28544. begin
  28545. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28546. end;
  28547. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  28548. begin
  28549. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28550. end;
  28551. function TINT_IPC0.getCS1IP : TBits_3; inline;
  28552. begin
  28553. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28554. end;
  28555. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  28556. begin
  28557. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28558. end;
  28559. function TINT_IPC0.getINT0IS : TBits_2; inline;
  28560. begin
  28561. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28562. end;
  28563. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  28564. begin
  28565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28566. end;
  28567. function TINT_IPC0.getINT0IP : TBits_3; inline;
  28568. begin
  28569. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28570. end;
  28571. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  28572. begin
  28573. pTDefRegMap(@Self)^.val := thebits;
  28574. end;
  28575. function TINT_IPC0.getw : TBits_32; inline;
  28576. begin
  28577. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28578. end;
  28579. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  28580. begin
  28581. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28582. end;
  28583. function TINT_IPC1.getT1IS : TBits_2; inline;
  28584. begin
  28585. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28586. end;
  28587. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  28588. begin
  28589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28590. end;
  28591. function TINT_IPC1.getT1IP : TBits_3; inline;
  28592. begin
  28593. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28594. end;
  28595. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  28596. begin
  28597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28598. end;
  28599. function TINT_IPC1.getIC1IS : TBits_2; inline;
  28600. begin
  28601. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28602. end;
  28603. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  28604. begin
  28605. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28606. end;
  28607. function TINT_IPC1.getIC1IP : TBits_3; inline;
  28608. begin
  28609. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28610. end;
  28611. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  28612. begin
  28613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28614. end;
  28615. function TINT_IPC1.getOC1IS : TBits_2; inline;
  28616. begin
  28617. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28618. end;
  28619. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  28620. begin
  28621. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28622. end;
  28623. function TINT_IPC1.getOC1IP : TBits_3; inline;
  28624. begin
  28625. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28626. end;
  28627. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  28628. begin
  28629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28630. end;
  28631. function TINT_IPC1.getINT1IS : TBits_2; inline;
  28632. begin
  28633. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28634. end;
  28635. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  28636. begin
  28637. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28638. end;
  28639. function TINT_IPC1.getINT1IP : TBits_3; inline;
  28640. begin
  28641. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28642. end;
  28643. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  28644. begin
  28645. pTDefRegMap(@Self)^.val := thebits;
  28646. end;
  28647. function TINT_IPC1.getw : TBits_32; inline;
  28648. begin
  28649. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28650. end;
  28651. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  28652. begin
  28653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28654. end;
  28655. function TINT_IPC2.getT2IS : TBits_2; inline;
  28656. begin
  28657. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28658. end;
  28659. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  28660. begin
  28661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28662. end;
  28663. function TINT_IPC2.getT2IP : TBits_3; inline;
  28664. begin
  28665. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28666. end;
  28667. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  28668. begin
  28669. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28670. end;
  28671. function TINT_IPC2.getIC2IS : TBits_2; inline;
  28672. begin
  28673. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28674. end;
  28675. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  28676. begin
  28677. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28678. end;
  28679. function TINT_IPC2.getIC2IP : TBits_3; inline;
  28680. begin
  28681. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28682. end;
  28683. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  28684. begin
  28685. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28686. end;
  28687. function TINT_IPC2.getOC2IS : TBits_2; inline;
  28688. begin
  28689. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28690. end;
  28691. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  28692. begin
  28693. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28694. end;
  28695. function TINT_IPC2.getOC2IP : TBits_3; inline;
  28696. begin
  28697. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28698. end;
  28699. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  28700. begin
  28701. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28702. end;
  28703. function TINT_IPC2.getINT2IS : TBits_2; inline;
  28704. begin
  28705. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28706. end;
  28707. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  28708. begin
  28709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28710. end;
  28711. function TINT_IPC2.getINT2IP : TBits_3; inline;
  28712. begin
  28713. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28714. end;
  28715. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  28716. begin
  28717. pTDefRegMap(@Self)^.val := thebits;
  28718. end;
  28719. function TINT_IPC2.getw : TBits_32; inline;
  28720. begin
  28721. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28722. end;
  28723. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  28724. begin
  28725. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28726. end;
  28727. function TINT_IPC3.getT3IS : TBits_2; inline;
  28728. begin
  28729. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28730. end;
  28731. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  28732. begin
  28733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28734. end;
  28735. function TINT_IPC3.getT3IP : TBits_3; inline;
  28736. begin
  28737. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28738. end;
  28739. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  28740. begin
  28741. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28742. end;
  28743. function TINT_IPC3.getIC3IS : TBits_2; inline;
  28744. begin
  28745. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28746. end;
  28747. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  28748. begin
  28749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28750. end;
  28751. function TINT_IPC3.getIC3IP : TBits_3; inline;
  28752. begin
  28753. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28754. end;
  28755. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  28756. begin
  28757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28758. end;
  28759. function TINT_IPC3.getOC3IS : TBits_2; inline;
  28760. begin
  28761. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28762. end;
  28763. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  28764. begin
  28765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28766. end;
  28767. function TINT_IPC3.getOC3IP : TBits_3; inline;
  28768. begin
  28769. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28770. end;
  28771. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  28772. begin
  28773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28774. end;
  28775. function TINT_IPC3.getINT3IS : TBits_2; inline;
  28776. begin
  28777. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28778. end;
  28779. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  28780. begin
  28781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28782. end;
  28783. function TINT_IPC3.getINT3IP : TBits_3; inline;
  28784. begin
  28785. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28786. end;
  28787. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  28788. begin
  28789. pTDefRegMap(@Self)^.val := thebits;
  28790. end;
  28791. function TINT_IPC3.getw : TBits_32; inline;
  28792. begin
  28793. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28794. end;
  28795. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  28796. begin
  28797. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28798. end;
  28799. function TINT_IPC4.getT4IS : TBits_2; inline;
  28800. begin
  28801. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28802. end;
  28803. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  28804. begin
  28805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28806. end;
  28807. function TINT_IPC4.getT4IP : TBits_3; inline;
  28808. begin
  28809. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28810. end;
  28811. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  28812. begin
  28813. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28814. end;
  28815. function TINT_IPC4.getIC4IS : TBits_2; inline;
  28816. begin
  28817. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28818. end;
  28819. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  28820. begin
  28821. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28822. end;
  28823. function TINT_IPC4.getIC4IP : TBits_3; inline;
  28824. begin
  28825. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28826. end;
  28827. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  28828. begin
  28829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28830. end;
  28831. function TINT_IPC4.getOC4IS : TBits_2; inline;
  28832. begin
  28833. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28834. end;
  28835. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  28836. begin
  28837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28838. end;
  28839. function TINT_IPC4.getOC4IP : TBits_3; inline;
  28840. begin
  28841. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28842. end;
  28843. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  28844. begin
  28845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28846. end;
  28847. function TINT_IPC4.getINT4IS : TBits_2; inline;
  28848. begin
  28849. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28850. end;
  28851. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  28852. begin
  28853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28854. end;
  28855. function TINT_IPC4.getINT4IP : TBits_3; inline;
  28856. begin
  28857. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28858. end;
  28859. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  28860. begin
  28861. pTDefRegMap(@Self)^.val := thebits;
  28862. end;
  28863. function TINT_IPC4.getw : TBits_32; inline;
  28864. begin
  28865. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28866. end;
  28867. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  28868. begin
  28869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28870. end;
  28871. function TINT_IPC5.getT5IS : TBits_2; inline;
  28872. begin
  28873. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28874. end;
  28875. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  28876. begin
  28877. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28878. end;
  28879. function TINT_IPC5.getT5IP : TBits_3; inline;
  28880. begin
  28881. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28882. end;
  28883. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  28884. begin
  28885. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28886. end;
  28887. function TINT_IPC5.getIC5IS : TBits_2; inline;
  28888. begin
  28889. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28890. end;
  28891. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  28892. begin
  28893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28894. end;
  28895. function TINT_IPC5.getIC5IP : TBits_3; inline;
  28896. begin
  28897. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28898. end;
  28899. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  28900. begin
  28901. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28902. end;
  28903. function TINT_IPC5.getOC5IS : TBits_2; inline;
  28904. begin
  28905. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28906. end;
  28907. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  28908. begin
  28909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28910. end;
  28911. function TINT_IPC5.getOC5IP : TBits_3; inline;
  28912. begin
  28913. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28914. end;
  28915. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  28916. begin
  28917. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28918. end;
  28919. function TINT_IPC5.getAD1IS : TBits_2; inline;
  28920. begin
  28921. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28922. end;
  28923. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  28924. begin
  28925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28926. end;
  28927. function TINT_IPC5.getAD1IP : TBits_3; inline;
  28928. begin
  28929. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28930. end;
  28931. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  28932. begin
  28933. pTDefRegMap(@Self)^.val := thebits;
  28934. end;
  28935. function TINT_IPC5.getw : TBits_32; inline;
  28936. begin
  28937. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28938. end;
  28939. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  28940. begin
  28941. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28942. end;
  28943. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  28944. begin
  28945. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28946. end;
  28947. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  28948. begin
  28949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28950. end;
  28951. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  28952. begin
  28953. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28954. end;
  28955. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  28956. begin
  28957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28958. end;
  28959. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  28960. begin
  28961. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28962. end;
  28963. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  28964. begin
  28965. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28966. end;
  28967. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  28968. begin
  28969. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28970. end;
  28971. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  28972. begin
  28973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28974. end;
  28975. function TINT_IPC6.getFCEIS : TBits_2; inline;
  28976. begin
  28977. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28978. end;
  28979. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  28980. begin
  28981. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28982. end;
  28983. function TINT_IPC6.getFCEIP : TBits_3; inline;
  28984. begin
  28985. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28986. end;
  28987. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  28988. begin
  28989. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28990. end;
  28991. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  28992. begin
  28993. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28994. end;
  28995. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  28996. begin
  28997. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28998. end;
  28999. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  29000. begin
  29001. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29002. end;
  29003. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  29004. begin
  29005. pTDefRegMap(@Self)^.val := thebits;
  29006. end;
  29007. function TINT_IPC6.getw : TBits_32; inline;
  29008. begin
  29009. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29010. end;
  29011. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  29012. begin
  29013. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29014. end;
  29015. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  29016. begin
  29017. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29018. end;
  29019. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  29020. begin
  29021. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29022. end;
  29023. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  29024. begin
  29025. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29026. end;
  29027. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  29028. begin
  29029. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29030. end;
  29031. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  29032. begin
  29033. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29034. end;
  29035. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  29036. begin
  29037. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29038. end;
  29039. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  29040. begin
  29041. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29042. end;
  29043. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  29044. begin
  29045. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29046. end;
  29047. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  29048. begin
  29049. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29050. end;
  29051. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  29052. begin
  29053. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29054. end;
  29055. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  29056. begin
  29057. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29058. end;
  29059. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  29060. begin
  29061. pTDefRegMap(@Self)^.val := thebits;
  29062. end;
  29063. function TINT_IPC7.getw : TBits_32; inline;
  29064. begin
  29065. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29066. end;
  29067. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  29068. begin
  29069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29070. end;
  29071. function TINT_IPC8.getU1IS : TBits_2; inline;
  29072. begin
  29073. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29074. end;
  29075. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  29076. begin
  29077. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29078. end;
  29079. function TINT_IPC8.getU1IP : TBits_3; inline;
  29080. begin
  29081. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29082. end;
  29083. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  29084. begin
  29085. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29086. end;
  29087. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  29088. begin
  29089. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29090. end;
  29091. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  29092. begin
  29093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29094. end;
  29095. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  29096. begin
  29097. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29098. end;
  29099. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29102. end;
  29103. function TINT_IPC8.getCNIS : TBits_2; inline;
  29104. begin
  29105. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29106. end;
  29107. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  29108. begin
  29109. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29110. end;
  29111. function TINT_IPC8.getCNIP : TBits_3; inline;
  29112. begin
  29113. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29114. end;
  29115. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  29116. begin
  29117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29118. end;
  29119. function TINT_IPC8.getPMPIS : TBits_2; inline;
  29120. begin
  29121. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29122. end;
  29123. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  29124. begin
  29125. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29126. end;
  29127. function TINT_IPC8.getPMPIP : TBits_3; inline;
  29128. begin
  29129. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29130. end;
  29131. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  29132. begin
  29133. pTDefRegMap(@Self)^.val := thebits;
  29134. end;
  29135. function TINT_IPC8.getw : TBits_32; inline;
  29136. begin
  29137. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29138. end;
  29139. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  29140. begin
  29141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29142. end;
  29143. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  29144. begin
  29145. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29146. end;
  29147. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  29148. begin
  29149. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29150. end;
  29151. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  29152. begin
  29153. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29154. end;
  29155. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  29156. begin
  29157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29158. end;
  29159. function TINT_IPC9.getU2IS : TBits_2; inline;
  29160. begin
  29161. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29162. end;
  29163. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  29164. begin
  29165. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29166. end;
  29167. function TINT_IPC9.getU2IP : TBits_3; inline;
  29168. begin
  29169. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29170. end;
  29171. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  29172. begin
  29173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29174. end;
  29175. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  29176. begin
  29177. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29178. end;
  29179. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  29180. begin
  29181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29182. end;
  29183. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  29184. begin
  29185. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29186. end;
  29187. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  29188. begin
  29189. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29190. end;
  29191. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  29192. begin
  29193. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29194. end;
  29195. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29198. end;
  29199. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  29200. begin
  29201. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29202. end;
  29203. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  29204. begin
  29205. pTDefRegMap(@Self)^.val := thebits;
  29206. end;
  29207. function TINT_IPC9.getw : TBits_32; inline;
  29208. begin
  29209. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29210. end;
  29211. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  29212. begin
  29213. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29214. end;
  29215. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  29216. begin
  29217. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29218. end;
  29219. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  29220. begin
  29221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29222. end;
  29223. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  29224. begin
  29225. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29226. end;
  29227. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29228. begin
  29229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29230. end;
  29231. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29232. begin
  29233. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29234. end;
  29235. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29236. begin
  29237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29238. end;
  29239. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29240. begin
  29241. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29242. end;
  29243. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29244. begin
  29245. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29246. end;
  29247. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29248. begin
  29249. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29250. end;
  29251. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29252. begin
  29253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29254. end;
  29255. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29256. begin
  29257. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29258. end;
  29259. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29260. begin
  29261. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29262. end;
  29263. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29264. begin
  29265. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29266. end;
  29267. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29268. begin
  29269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29270. end;
  29271. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29272. begin
  29273. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29274. end;
  29275. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.val := thebits;
  29278. end;
  29279. function TINT_IPC10.getw : TBits_32; inline;
  29280. begin
  29281. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29282. end;
  29283. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29284. begin
  29285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29286. end;
  29287. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29288. begin
  29289. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29290. end;
  29291. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29292. begin
  29293. pTDefRegMap(@Self)^.&set := $00000040;
  29294. end;
  29295. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29296. begin
  29297. pTDefRegMap(@Self)^.clr := $00000040;
  29298. end;
  29299. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29300. begin
  29301. if thebits = 0 then
  29302. pTDefRegMap(@Self)^.clr := $00000040
  29303. else
  29304. pTDefRegMap(@Self)^.&set := $00000040;
  29305. end;
  29306. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29307. begin
  29308. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29309. end;
  29310. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29311. begin
  29312. pTDefRegMap(@Self)^.&set := $00010000;
  29313. end;
  29314. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29315. begin
  29316. pTDefRegMap(@Self)^.clr := $00010000;
  29317. end;
  29318. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29319. begin
  29320. if thebits = 0 then
  29321. pTDefRegMap(@Self)^.clr := $00010000
  29322. else
  29323. pTDefRegMap(@Self)^.&set := $00010000;
  29324. end;
  29325. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29326. begin
  29327. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29328. end;
  29329. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29330. begin
  29331. pTDefRegMap(@Self)^.&set := $00020000;
  29332. end;
  29333. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29334. begin
  29335. pTDefRegMap(@Self)^.clr := $00020000;
  29336. end;
  29337. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29338. begin
  29339. if thebits = 0 then
  29340. pTDefRegMap(@Self)^.clr := $00020000
  29341. else
  29342. pTDefRegMap(@Self)^.&set := $00020000;
  29343. end;
  29344. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29345. begin
  29346. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29347. end;
  29348. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29349. begin
  29350. pTDefRegMap(@Self)^.&set := $00040000;
  29351. end;
  29352. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29353. begin
  29354. pTDefRegMap(@Self)^.clr := $00040000;
  29355. end;
  29356. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29357. begin
  29358. if thebits = 0 then
  29359. pTDefRegMap(@Self)^.clr := $00040000
  29360. else
  29361. pTDefRegMap(@Self)^.&set := $00040000;
  29362. end;
  29363. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29364. begin
  29365. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29366. end;
  29367. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29368. begin
  29369. pTDefRegMap(@Self)^.&set := $00080000;
  29370. end;
  29371. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29372. begin
  29373. pTDefRegMap(@Self)^.clr := $00080000;
  29374. end;
  29375. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29376. begin
  29377. if thebits = 0 then
  29378. pTDefRegMap(@Self)^.clr := $00080000
  29379. else
  29380. pTDefRegMap(@Self)^.&set := $00080000;
  29381. end;
  29382. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29383. begin
  29384. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29385. end;
  29386. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29387. begin
  29388. pTDefRegMap(@Self)^.&set := $00100000;
  29389. end;
  29390. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29391. begin
  29392. pTDefRegMap(@Self)^.clr := $00100000;
  29393. end;
  29394. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  29395. begin
  29396. if thebits = 0 then
  29397. pTDefRegMap(@Self)^.clr := $00100000
  29398. else
  29399. pTDefRegMap(@Self)^.&set := $00100000;
  29400. end;
  29401. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  29402. begin
  29403. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29404. end;
  29405. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  29406. begin
  29407. pTDefRegMap(@Self)^.&set := $04000000;
  29408. end;
  29409. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  29410. begin
  29411. pTDefRegMap(@Self)^.clr := $04000000;
  29412. end;
  29413. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  29414. begin
  29415. if thebits = 0 then
  29416. pTDefRegMap(@Self)^.clr := $04000000
  29417. else
  29418. pTDefRegMap(@Self)^.&set := $04000000;
  29419. end;
  29420. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  29421. begin
  29422. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29423. end;
  29424. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  29425. begin
  29426. pTDefRegMap(@Self)^.val := thebits;
  29427. end;
  29428. function TBMX_BMXCON.getw : TBits_32; inline;
  29429. begin
  29430. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29431. end;
  29432. procedure TDMAC_DMACON.setDMABUSY; inline;
  29433. begin
  29434. pTDefRegMap(@Self)^.&set := $00000800;
  29435. end;
  29436. procedure TDMAC_DMACON.clearDMABUSY; inline;
  29437. begin
  29438. pTDefRegMap(@Self)^.clr := $00000800;
  29439. end;
  29440. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  29441. begin
  29442. if thebits = 0 then
  29443. pTDefRegMap(@Self)^.clr := $00000800
  29444. else
  29445. pTDefRegMap(@Self)^.&set := $00000800;
  29446. end;
  29447. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  29448. begin
  29449. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29450. end;
  29451. procedure TDMAC_DMACON.setSUSPEND; inline;
  29452. begin
  29453. pTDefRegMap(@Self)^.&set := $00001000;
  29454. end;
  29455. procedure TDMAC_DMACON.clearSUSPEND; inline;
  29456. begin
  29457. pTDefRegMap(@Self)^.clr := $00001000;
  29458. end;
  29459. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  29460. begin
  29461. if thebits = 0 then
  29462. pTDefRegMap(@Self)^.clr := $00001000
  29463. else
  29464. pTDefRegMap(@Self)^.&set := $00001000;
  29465. end;
  29466. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  29467. begin
  29468. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29469. end;
  29470. procedure TDMAC_DMACON.setON; inline;
  29471. begin
  29472. pTDefRegMap(@Self)^.&set := $00008000;
  29473. end;
  29474. procedure TDMAC_DMACON.clearON; inline;
  29475. begin
  29476. pTDefRegMap(@Self)^.clr := $00008000;
  29477. end;
  29478. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  29479. begin
  29480. if thebits = 0 then
  29481. pTDefRegMap(@Self)^.clr := $00008000
  29482. else
  29483. pTDefRegMap(@Self)^.&set := $00008000;
  29484. end;
  29485. function TDMAC_DMACON.getON : TBits_1; inline;
  29486. begin
  29487. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29488. end;
  29489. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  29490. begin
  29491. pTDefRegMap(@Self)^.val := thebits;
  29492. end;
  29493. function TDMAC_DMACON.getw : TBits_32; inline;
  29494. begin
  29495. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29496. end;
  29497. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  29498. begin
  29499. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29500. end;
  29501. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  29502. begin
  29503. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29504. end;
  29505. procedure TDMAC_DMASTAT.setRDWR; inline;
  29506. begin
  29507. pTDefRegMap(@Self)^.&set := $00000008;
  29508. end;
  29509. procedure TDMAC_DMASTAT.clearRDWR; inline;
  29510. begin
  29511. pTDefRegMap(@Self)^.clr := $00000008;
  29512. end;
  29513. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  29514. begin
  29515. if thebits = 0 then
  29516. pTDefRegMap(@Self)^.clr := $00000008
  29517. else
  29518. pTDefRegMap(@Self)^.&set := $00000008;
  29519. end;
  29520. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  29521. begin
  29522. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29523. end;
  29524. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  29525. begin
  29526. pTDefRegMap(@Self)^.val := thebits;
  29527. end;
  29528. function TDMAC_DMASTAT.getw : TBits_32; inline;
  29529. begin
  29530. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29531. end;
  29532. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  29533. begin
  29534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29535. end;
  29536. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  29537. begin
  29538. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29539. end;
  29540. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  29541. begin
  29542. pTDefRegMap(@Self)^.&set := $00000020;
  29543. end;
  29544. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  29545. begin
  29546. pTDefRegMap(@Self)^.clr := $00000020;
  29547. end;
  29548. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  29549. begin
  29550. if thebits = 0 then
  29551. pTDefRegMap(@Self)^.clr := $00000020
  29552. else
  29553. pTDefRegMap(@Self)^.&set := $00000020;
  29554. end;
  29555. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  29556. begin
  29557. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29558. end;
  29559. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  29560. begin
  29561. pTDefRegMap(@Self)^.&set := $00000040;
  29562. end;
  29563. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  29564. begin
  29565. pTDefRegMap(@Self)^.clr := $00000040;
  29566. end;
  29567. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  29568. begin
  29569. if thebits = 0 then
  29570. pTDefRegMap(@Self)^.clr := $00000040
  29571. else
  29572. pTDefRegMap(@Self)^.&set := $00000040;
  29573. end;
  29574. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  29575. begin
  29576. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29577. end;
  29578. procedure TDMAC_DCRCCON.setCRCEN; inline;
  29579. begin
  29580. pTDefRegMap(@Self)^.&set := $00000080;
  29581. end;
  29582. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  29583. begin
  29584. pTDefRegMap(@Self)^.clr := $00000080;
  29585. end;
  29586. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  29587. begin
  29588. if thebits = 0 then
  29589. pTDefRegMap(@Self)^.clr := $00000080
  29590. else
  29591. pTDefRegMap(@Self)^.&set := $00000080;
  29592. end;
  29593. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  29594. begin
  29595. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29596. end;
  29597. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  29598. begin
  29599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  29600. end;
  29601. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  29602. begin
  29603. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  29604. end;
  29605. procedure TDMAC_DCRCCON.setBITO; inline;
  29606. begin
  29607. pTDefRegMap(@Self)^.&set := $01000000;
  29608. end;
  29609. procedure TDMAC_DCRCCON.clearBITO; inline;
  29610. begin
  29611. pTDefRegMap(@Self)^.clr := $01000000;
  29612. end;
  29613. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  29614. begin
  29615. if thebits = 0 then
  29616. pTDefRegMap(@Self)^.clr := $01000000
  29617. else
  29618. pTDefRegMap(@Self)^.&set := $01000000;
  29619. end;
  29620. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  29621. begin
  29622. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29623. end;
  29624. procedure TDMAC_DCRCCON.setWBO; inline;
  29625. begin
  29626. pTDefRegMap(@Self)^.&set := $08000000;
  29627. end;
  29628. procedure TDMAC_DCRCCON.clearWBO; inline;
  29629. begin
  29630. pTDefRegMap(@Self)^.clr := $08000000;
  29631. end;
  29632. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  29633. begin
  29634. if thebits = 0 then
  29635. pTDefRegMap(@Self)^.clr := $08000000
  29636. else
  29637. pTDefRegMap(@Self)^.&set := $08000000;
  29638. end;
  29639. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  29640. begin
  29641. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29642. end;
  29643. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  29644. begin
  29645. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  29646. end;
  29647. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  29648. begin
  29649. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  29650. end;
  29651. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  29652. begin
  29653. pTDefRegMap(@Self)^.val := thebits;
  29654. end;
  29655. function TDMAC_DCRCCON.getw : TBits_32; inline;
  29656. begin
  29657. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29658. end;
  29659. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  29660. begin
  29661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29662. end;
  29663. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  29664. begin
  29665. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29666. end;
  29667. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  29668. begin
  29669. pTDefRegMap(@Self)^.&set := $00000004;
  29670. end;
  29671. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  29672. begin
  29673. pTDefRegMap(@Self)^.clr := $00000004;
  29674. end;
  29675. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  29676. begin
  29677. if thebits = 0 then
  29678. pTDefRegMap(@Self)^.clr := $00000004
  29679. else
  29680. pTDefRegMap(@Self)^.&set := $00000004;
  29681. end;
  29682. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  29683. begin
  29684. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29685. end;
  29686. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  29687. begin
  29688. pTDefRegMap(@Self)^.&set := $00000010;
  29689. end;
  29690. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  29691. begin
  29692. pTDefRegMap(@Self)^.clr := $00000010;
  29693. end;
  29694. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  29695. begin
  29696. if thebits = 0 then
  29697. pTDefRegMap(@Self)^.clr := $00000010
  29698. else
  29699. pTDefRegMap(@Self)^.&set := $00000010;
  29700. end;
  29701. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  29702. begin
  29703. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29704. end;
  29705. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  29706. begin
  29707. pTDefRegMap(@Self)^.&set := $00000020;
  29708. end;
  29709. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  29710. begin
  29711. pTDefRegMap(@Self)^.clr := $00000020;
  29712. end;
  29713. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  29714. begin
  29715. if thebits = 0 then
  29716. pTDefRegMap(@Self)^.clr := $00000020
  29717. else
  29718. pTDefRegMap(@Self)^.&set := $00000020;
  29719. end;
  29720. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  29721. begin
  29722. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29723. end;
  29724. procedure TDMAC0_DCH0CON.setCHAED; inline;
  29725. begin
  29726. pTDefRegMap(@Self)^.&set := $00000040;
  29727. end;
  29728. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  29729. begin
  29730. pTDefRegMap(@Self)^.clr := $00000040;
  29731. end;
  29732. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  29733. begin
  29734. if thebits = 0 then
  29735. pTDefRegMap(@Self)^.clr := $00000040
  29736. else
  29737. pTDefRegMap(@Self)^.&set := $00000040;
  29738. end;
  29739. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  29740. begin
  29741. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29742. end;
  29743. procedure TDMAC0_DCH0CON.setCHEN; inline;
  29744. begin
  29745. pTDefRegMap(@Self)^.&set := $00000080;
  29746. end;
  29747. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  29748. begin
  29749. pTDefRegMap(@Self)^.clr := $00000080;
  29750. end;
  29751. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  29752. begin
  29753. if thebits = 0 then
  29754. pTDefRegMap(@Self)^.clr := $00000080
  29755. else
  29756. pTDefRegMap(@Self)^.&set := $00000080;
  29757. end;
  29758. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  29759. begin
  29760. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29761. end;
  29762. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  29763. begin
  29764. pTDefRegMap(@Self)^.&set := $00000100;
  29765. end;
  29766. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  29767. begin
  29768. pTDefRegMap(@Self)^.clr := $00000100;
  29769. end;
  29770. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  29771. begin
  29772. if thebits = 0 then
  29773. pTDefRegMap(@Self)^.clr := $00000100
  29774. else
  29775. pTDefRegMap(@Self)^.&set := $00000100;
  29776. end;
  29777. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  29778. begin
  29779. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29780. end;
  29781. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  29782. begin
  29783. pTDefRegMap(@Self)^.&set := $00008000;
  29784. end;
  29785. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  29786. begin
  29787. pTDefRegMap(@Self)^.clr := $00008000;
  29788. end;
  29789. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  29790. begin
  29791. if thebits = 0 then
  29792. pTDefRegMap(@Self)^.clr := $00008000
  29793. else
  29794. pTDefRegMap(@Self)^.&set := $00008000;
  29795. end;
  29796. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  29797. begin
  29798. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29799. end;
  29800. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  29801. begin
  29802. pTDefRegMap(@Self)^.val := thebits;
  29803. end;
  29804. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  29805. begin
  29806. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29807. end;
  29808. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  29809. begin
  29810. pTDefRegMap(@Self)^.&set := $00000008;
  29811. end;
  29812. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  29813. begin
  29814. pTDefRegMap(@Self)^.clr := $00000008;
  29815. end;
  29816. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  29817. begin
  29818. if thebits = 0 then
  29819. pTDefRegMap(@Self)^.clr := $00000008
  29820. else
  29821. pTDefRegMap(@Self)^.&set := $00000008;
  29822. end;
  29823. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  29824. begin
  29825. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29826. end;
  29827. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  29828. begin
  29829. pTDefRegMap(@Self)^.&set := $00000010;
  29830. end;
  29831. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  29832. begin
  29833. pTDefRegMap(@Self)^.clr := $00000010;
  29834. end;
  29835. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  29836. begin
  29837. if thebits = 0 then
  29838. pTDefRegMap(@Self)^.clr := $00000010
  29839. else
  29840. pTDefRegMap(@Self)^.&set := $00000010;
  29841. end;
  29842. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  29843. begin
  29844. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29845. end;
  29846. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  29847. begin
  29848. pTDefRegMap(@Self)^.&set := $00000020;
  29849. end;
  29850. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  29851. begin
  29852. pTDefRegMap(@Self)^.clr := $00000020;
  29853. end;
  29854. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  29855. begin
  29856. if thebits = 0 then
  29857. pTDefRegMap(@Self)^.clr := $00000020
  29858. else
  29859. pTDefRegMap(@Self)^.&set := $00000020;
  29860. end;
  29861. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  29862. begin
  29863. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29864. end;
  29865. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  29866. begin
  29867. pTDefRegMap(@Self)^.&set := $00000040;
  29868. end;
  29869. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  29870. begin
  29871. pTDefRegMap(@Self)^.clr := $00000040;
  29872. end;
  29873. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  29874. begin
  29875. if thebits = 0 then
  29876. pTDefRegMap(@Self)^.clr := $00000040
  29877. else
  29878. pTDefRegMap(@Self)^.&set := $00000040;
  29879. end;
  29880. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  29881. begin
  29882. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29883. end;
  29884. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  29885. begin
  29886. pTDefRegMap(@Self)^.&set := $00000080;
  29887. end;
  29888. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  29889. begin
  29890. pTDefRegMap(@Self)^.clr := $00000080;
  29891. end;
  29892. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  29893. begin
  29894. if thebits = 0 then
  29895. pTDefRegMap(@Self)^.clr := $00000080
  29896. else
  29897. pTDefRegMap(@Self)^.&set := $00000080;
  29898. end;
  29899. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  29900. begin
  29901. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29902. end;
  29903. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  29904. begin
  29905. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  29906. end;
  29907. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  29908. begin
  29909. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  29910. end;
  29911. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  29912. begin
  29913. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29914. end;
  29915. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  29916. begin
  29917. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29918. end;
  29919. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  29920. begin
  29921. pTDefRegMap(@Self)^.val := thebits;
  29922. end;
  29923. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  29924. begin
  29925. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29926. end;
  29927. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  29928. begin
  29929. pTDefRegMap(@Self)^.&set := $00000001;
  29930. end;
  29931. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  29932. begin
  29933. pTDefRegMap(@Self)^.clr := $00000001;
  29934. end;
  29935. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  29936. begin
  29937. if thebits = 0 then
  29938. pTDefRegMap(@Self)^.clr := $00000001
  29939. else
  29940. pTDefRegMap(@Self)^.&set := $00000001;
  29941. end;
  29942. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  29943. begin
  29944. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29945. end;
  29946. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  29947. begin
  29948. pTDefRegMap(@Self)^.&set := $00000002;
  29949. end;
  29950. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  29951. begin
  29952. pTDefRegMap(@Self)^.clr := $00000002;
  29953. end;
  29954. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  29955. begin
  29956. if thebits = 0 then
  29957. pTDefRegMap(@Self)^.clr := $00000002
  29958. else
  29959. pTDefRegMap(@Self)^.&set := $00000002;
  29960. end;
  29961. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  29962. begin
  29963. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29964. end;
  29965. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  29966. begin
  29967. pTDefRegMap(@Self)^.&set := $00000004;
  29968. end;
  29969. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  29970. begin
  29971. pTDefRegMap(@Self)^.clr := $00000004;
  29972. end;
  29973. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  29974. begin
  29975. if thebits = 0 then
  29976. pTDefRegMap(@Self)^.clr := $00000004
  29977. else
  29978. pTDefRegMap(@Self)^.&set := $00000004;
  29979. end;
  29980. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  29981. begin
  29982. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29983. end;
  29984. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  29985. begin
  29986. pTDefRegMap(@Self)^.&set := $00000008;
  29987. end;
  29988. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  29989. begin
  29990. pTDefRegMap(@Self)^.clr := $00000008;
  29991. end;
  29992. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  29993. begin
  29994. if thebits = 0 then
  29995. pTDefRegMap(@Self)^.clr := $00000008
  29996. else
  29997. pTDefRegMap(@Self)^.&set := $00000008;
  29998. end;
  29999. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  30000. begin
  30001. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30002. end;
  30003. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  30004. begin
  30005. pTDefRegMap(@Self)^.&set := $00000010;
  30006. end;
  30007. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  30008. begin
  30009. pTDefRegMap(@Self)^.clr := $00000010;
  30010. end;
  30011. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  30012. begin
  30013. if thebits = 0 then
  30014. pTDefRegMap(@Self)^.clr := $00000010
  30015. else
  30016. pTDefRegMap(@Self)^.&set := $00000010;
  30017. end;
  30018. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  30019. begin
  30020. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30021. end;
  30022. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  30023. begin
  30024. pTDefRegMap(@Self)^.&set := $00000020;
  30025. end;
  30026. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  30027. begin
  30028. pTDefRegMap(@Self)^.clr := $00000020;
  30029. end;
  30030. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  30031. begin
  30032. if thebits = 0 then
  30033. pTDefRegMap(@Self)^.clr := $00000020
  30034. else
  30035. pTDefRegMap(@Self)^.&set := $00000020;
  30036. end;
  30037. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  30038. begin
  30039. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30040. end;
  30041. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  30042. begin
  30043. pTDefRegMap(@Self)^.&set := $00000040;
  30044. end;
  30045. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  30046. begin
  30047. pTDefRegMap(@Self)^.clr := $00000040;
  30048. end;
  30049. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  30050. begin
  30051. if thebits = 0 then
  30052. pTDefRegMap(@Self)^.clr := $00000040
  30053. else
  30054. pTDefRegMap(@Self)^.&set := $00000040;
  30055. end;
  30056. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  30057. begin
  30058. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30059. end;
  30060. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  30061. begin
  30062. pTDefRegMap(@Self)^.&set := $00000080;
  30063. end;
  30064. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  30065. begin
  30066. pTDefRegMap(@Self)^.clr := $00000080;
  30067. end;
  30068. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  30069. begin
  30070. if thebits = 0 then
  30071. pTDefRegMap(@Self)^.clr := $00000080
  30072. else
  30073. pTDefRegMap(@Self)^.&set := $00000080;
  30074. end;
  30075. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  30076. begin
  30077. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30078. end;
  30079. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  30080. begin
  30081. pTDefRegMap(@Self)^.&set := $00010000;
  30082. end;
  30083. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  30084. begin
  30085. pTDefRegMap(@Self)^.clr := $00010000;
  30086. end;
  30087. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  30088. begin
  30089. if thebits = 0 then
  30090. pTDefRegMap(@Self)^.clr := $00010000
  30091. else
  30092. pTDefRegMap(@Self)^.&set := $00010000;
  30093. end;
  30094. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  30095. begin
  30096. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30097. end;
  30098. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  30099. begin
  30100. pTDefRegMap(@Self)^.&set := $00020000;
  30101. end;
  30102. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  30103. begin
  30104. pTDefRegMap(@Self)^.clr := $00020000;
  30105. end;
  30106. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  30107. begin
  30108. if thebits = 0 then
  30109. pTDefRegMap(@Self)^.clr := $00020000
  30110. else
  30111. pTDefRegMap(@Self)^.&set := $00020000;
  30112. end;
  30113. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  30114. begin
  30115. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30116. end;
  30117. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  30118. begin
  30119. pTDefRegMap(@Self)^.&set := $00040000;
  30120. end;
  30121. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  30122. begin
  30123. pTDefRegMap(@Self)^.clr := $00040000;
  30124. end;
  30125. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  30126. begin
  30127. if thebits = 0 then
  30128. pTDefRegMap(@Self)^.clr := $00040000
  30129. else
  30130. pTDefRegMap(@Self)^.&set := $00040000;
  30131. end;
  30132. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  30133. begin
  30134. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30135. end;
  30136. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  30137. begin
  30138. pTDefRegMap(@Self)^.&set := $00080000;
  30139. end;
  30140. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  30141. begin
  30142. pTDefRegMap(@Self)^.clr := $00080000;
  30143. end;
  30144. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  30145. begin
  30146. if thebits = 0 then
  30147. pTDefRegMap(@Self)^.clr := $00080000
  30148. else
  30149. pTDefRegMap(@Self)^.&set := $00080000;
  30150. end;
  30151. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  30152. begin
  30153. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30154. end;
  30155. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  30156. begin
  30157. pTDefRegMap(@Self)^.&set := $00100000;
  30158. end;
  30159. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  30160. begin
  30161. pTDefRegMap(@Self)^.clr := $00100000;
  30162. end;
  30163. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  30164. begin
  30165. if thebits = 0 then
  30166. pTDefRegMap(@Self)^.clr := $00100000
  30167. else
  30168. pTDefRegMap(@Self)^.&set := $00100000;
  30169. end;
  30170. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  30171. begin
  30172. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30173. end;
  30174. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  30175. begin
  30176. pTDefRegMap(@Self)^.&set := $00200000;
  30177. end;
  30178. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  30179. begin
  30180. pTDefRegMap(@Self)^.clr := $00200000;
  30181. end;
  30182. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  30183. begin
  30184. if thebits = 0 then
  30185. pTDefRegMap(@Self)^.clr := $00200000
  30186. else
  30187. pTDefRegMap(@Self)^.&set := $00200000;
  30188. end;
  30189. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  30190. begin
  30191. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30192. end;
  30193. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  30194. begin
  30195. pTDefRegMap(@Self)^.&set := $00400000;
  30196. end;
  30197. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  30198. begin
  30199. pTDefRegMap(@Self)^.clr := $00400000;
  30200. end;
  30201. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  30202. begin
  30203. if thebits = 0 then
  30204. pTDefRegMap(@Self)^.clr := $00400000
  30205. else
  30206. pTDefRegMap(@Self)^.&set := $00400000;
  30207. end;
  30208. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  30209. begin
  30210. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30211. end;
  30212. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  30213. begin
  30214. pTDefRegMap(@Self)^.&set := $00800000;
  30215. end;
  30216. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  30217. begin
  30218. pTDefRegMap(@Self)^.clr := $00800000;
  30219. end;
  30220. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  30221. begin
  30222. if thebits = 0 then
  30223. pTDefRegMap(@Self)^.clr := $00800000
  30224. else
  30225. pTDefRegMap(@Self)^.&set := $00800000;
  30226. end;
  30227. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30228. begin
  30229. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30230. end;
  30231. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30232. begin
  30233. pTDefRegMap(@Self)^.val := thebits;
  30234. end;
  30235. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30236. begin
  30237. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30238. end;
  30239. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30240. begin
  30241. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30242. end;
  30243. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30244. begin
  30245. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30246. end;
  30247. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30248. begin
  30249. pTDefRegMap(@Self)^.&set := $00000004;
  30250. end;
  30251. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30252. begin
  30253. pTDefRegMap(@Self)^.clr := $00000004;
  30254. end;
  30255. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30256. begin
  30257. if thebits = 0 then
  30258. pTDefRegMap(@Self)^.clr := $00000004
  30259. else
  30260. pTDefRegMap(@Self)^.&set := $00000004;
  30261. end;
  30262. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30263. begin
  30264. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30265. end;
  30266. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30267. begin
  30268. pTDefRegMap(@Self)^.&set := $00000010;
  30269. end;
  30270. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30271. begin
  30272. pTDefRegMap(@Self)^.clr := $00000010;
  30273. end;
  30274. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30275. begin
  30276. if thebits = 0 then
  30277. pTDefRegMap(@Self)^.clr := $00000010
  30278. else
  30279. pTDefRegMap(@Self)^.&set := $00000010;
  30280. end;
  30281. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30282. begin
  30283. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30284. end;
  30285. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30286. begin
  30287. pTDefRegMap(@Self)^.&set := $00000020;
  30288. end;
  30289. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30290. begin
  30291. pTDefRegMap(@Self)^.clr := $00000020;
  30292. end;
  30293. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30294. begin
  30295. if thebits = 0 then
  30296. pTDefRegMap(@Self)^.clr := $00000020
  30297. else
  30298. pTDefRegMap(@Self)^.&set := $00000020;
  30299. end;
  30300. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30301. begin
  30302. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30303. end;
  30304. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30305. begin
  30306. pTDefRegMap(@Self)^.&set := $00000040;
  30307. end;
  30308. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30309. begin
  30310. pTDefRegMap(@Self)^.clr := $00000040;
  30311. end;
  30312. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30313. begin
  30314. if thebits = 0 then
  30315. pTDefRegMap(@Self)^.clr := $00000040
  30316. else
  30317. pTDefRegMap(@Self)^.&set := $00000040;
  30318. end;
  30319. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30320. begin
  30321. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30322. end;
  30323. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30324. begin
  30325. pTDefRegMap(@Self)^.&set := $00000080;
  30326. end;
  30327. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30328. begin
  30329. pTDefRegMap(@Self)^.clr := $00000080;
  30330. end;
  30331. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30332. begin
  30333. if thebits = 0 then
  30334. pTDefRegMap(@Self)^.clr := $00000080
  30335. else
  30336. pTDefRegMap(@Self)^.&set := $00000080;
  30337. end;
  30338. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30339. begin
  30340. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30341. end;
  30342. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30343. begin
  30344. pTDefRegMap(@Self)^.&set := $00000100;
  30345. end;
  30346. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30347. begin
  30348. pTDefRegMap(@Self)^.clr := $00000100;
  30349. end;
  30350. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30351. begin
  30352. if thebits = 0 then
  30353. pTDefRegMap(@Self)^.clr := $00000100
  30354. else
  30355. pTDefRegMap(@Self)^.&set := $00000100;
  30356. end;
  30357. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30358. begin
  30359. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30360. end;
  30361. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30362. begin
  30363. pTDefRegMap(@Self)^.&set := $00008000;
  30364. end;
  30365. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30366. begin
  30367. pTDefRegMap(@Self)^.clr := $00008000;
  30368. end;
  30369. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30370. begin
  30371. if thebits = 0 then
  30372. pTDefRegMap(@Self)^.clr := $00008000
  30373. else
  30374. pTDefRegMap(@Self)^.&set := $00008000;
  30375. end;
  30376. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30377. begin
  30378. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30379. end;
  30380. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30381. begin
  30382. pTDefRegMap(@Self)^.val := thebits;
  30383. end;
  30384. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30385. begin
  30386. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30387. end;
  30388. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30389. begin
  30390. pTDefRegMap(@Self)^.&set := $00000008;
  30391. end;
  30392. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  30393. begin
  30394. pTDefRegMap(@Self)^.clr := $00000008;
  30395. end;
  30396. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  30397. begin
  30398. if thebits = 0 then
  30399. pTDefRegMap(@Self)^.clr := $00000008
  30400. else
  30401. pTDefRegMap(@Self)^.&set := $00000008;
  30402. end;
  30403. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  30404. begin
  30405. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30406. end;
  30407. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  30408. begin
  30409. pTDefRegMap(@Self)^.&set := $00000010;
  30410. end;
  30411. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  30412. begin
  30413. pTDefRegMap(@Self)^.clr := $00000010;
  30414. end;
  30415. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  30416. begin
  30417. if thebits = 0 then
  30418. pTDefRegMap(@Self)^.clr := $00000010
  30419. else
  30420. pTDefRegMap(@Self)^.&set := $00000010;
  30421. end;
  30422. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  30423. begin
  30424. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30425. end;
  30426. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  30427. begin
  30428. pTDefRegMap(@Self)^.&set := $00000020;
  30429. end;
  30430. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  30431. begin
  30432. pTDefRegMap(@Self)^.clr := $00000020;
  30433. end;
  30434. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  30435. begin
  30436. if thebits = 0 then
  30437. pTDefRegMap(@Self)^.clr := $00000020
  30438. else
  30439. pTDefRegMap(@Self)^.&set := $00000020;
  30440. end;
  30441. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  30442. begin
  30443. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30444. end;
  30445. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  30446. begin
  30447. pTDefRegMap(@Self)^.&set := $00000040;
  30448. end;
  30449. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  30450. begin
  30451. pTDefRegMap(@Self)^.clr := $00000040;
  30452. end;
  30453. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  30454. begin
  30455. if thebits = 0 then
  30456. pTDefRegMap(@Self)^.clr := $00000040
  30457. else
  30458. pTDefRegMap(@Self)^.&set := $00000040;
  30459. end;
  30460. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  30461. begin
  30462. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30463. end;
  30464. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  30465. begin
  30466. pTDefRegMap(@Self)^.&set := $00000080;
  30467. end;
  30468. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  30469. begin
  30470. pTDefRegMap(@Self)^.clr := $00000080;
  30471. end;
  30472. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  30473. begin
  30474. if thebits = 0 then
  30475. pTDefRegMap(@Self)^.clr := $00000080
  30476. else
  30477. pTDefRegMap(@Self)^.&set := $00000080;
  30478. end;
  30479. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  30480. begin
  30481. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30482. end;
  30483. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  30484. begin
  30485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30486. end;
  30487. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  30488. begin
  30489. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30490. end;
  30491. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  30492. begin
  30493. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30494. end;
  30495. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  30496. begin
  30497. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30498. end;
  30499. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  30500. begin
  30501. pTDefRegMap(@Self)^.val := thebits;
  30502. end;
  30503. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  30504. begin
  30505. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30506. end;
  30507. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  30508. begin
  30509. pTDefRegMap(@Self)^.&set := $00000001;
  30510. end;
  30511. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  30512. begin
  30513. pTDefRegMap(@Self)^.clr := $00000001;
  30514. end;
  30515. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  30516. begin
  30517. if thebits = 0 then
  30518. pTDefRegMap(@Self)^.clr := $00000001
  30519. else
  30520. pTDefRegMap(@Self)^.&set := $00000001;
  30521. end;
  30522. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  30523. begin
  30524. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30525. end;
  30526. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  30527. begin
  30528. pTDefRegMap(@Self)^.&set := $00000002;
  30529. end;
  30530. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  30531. begin
  30532. pTDefRegMap(@Self)^.clr := $00000002;
  30533. end;
  30534. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  30535. begin
  30536. if thebits = 0 then
  30537. pTDefRegMap(@Self)^.clr := $00000002
  30538. else
  30539. pTDefRegMap(@Self)^.&set := $00000002;
  30540. end;
  30541. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  30542. begin
  30543. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30544. end;
  30545. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  30546. begin
  30547. pTDefRegMap(@Self)^.&set := $00000004;
  30548. end;
  30549. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  30550. begin
  30551. pTDefRegMap(@Self)^.clr := $00000004;
  30552. end;
  30553. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  30554. begin
  30555. if thebits = 0 then
  30556. pTDefRegMap(@Self)^.clr := $00000004
  30557. else
  30558. pTDefRegMap(@Self)^.&set := $00000004;
  30559. end;
  30560. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  30561. begin
  30562. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30563. end;
  30564. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  30565. begin
  30566. pTDefRegMap(@Self)^.&set := $00000008;
  30567. end;
  30568. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  30569. begin
  30570. pTDefRegMap(@Self)^.clr := $00000008;
  30571. end;
  30572. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  30573. begin
  30574. if thebits = 0 then
  30575. pTDefRegMap(@Self)^.clr := $00000008
  30576. else
  30577. pTDefRegMap(@Self)^.&set := $00000008;
  30578. end;
  30579. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  30580. begin
  30581. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30582. end;
  30583. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  30584. begin
  30585. pTDefRegMap(@Self)^.&set := $00000010;
  30586. end;
  30587. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  30588. begin
  30589. pTDefRegMap(@Self)^.clr := $00000010;
  30590. end;
  30591. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  30592. begin
  30593. if thebits = 0 then
  30594. pTDefRegMap(@Self)^.clr := $00000010
  30595. else
  30596. pTDefRegMap(@Self)^.&set := $00000010;
  30597. end;
  30598. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  30599. begin
  30600. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30601. end;
  30602. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  30603. begin
  30604. pTDefRegMap(@Self)^.&set := $00000020;
  30605. end;
  30606. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  30607. begin
  30608. pTDefRegMap(@Self)^.clr := $00000020;
  30609. end;
  30610. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  30611. begin
  30612. if thebits = 0 then
  30613. pTDefRegMap(@Self)^.clr := $00000020
  30614. else
  30615. pTDefRegMap(@Self)^.&set := $00000020;
  30616. end;
  30617. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  30618. begin
  30619. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30620. end;
  30621. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  30622. begin
  30623. pTDefRegMap(@Self)^.&set := $00000040;
  30624. end;
  30625. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  30626. begin
  30627. pTDefRegMap(@Self)^.clr := $00000040;
  30628. end;
  30629. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  30630. begin
  30631. if thebits = 0 then
  30632. pTDefRegMap(@Self)^.clr := $00000040
  30633. else
  30634. pTDefRegMap(@Self)^.&set := $00000040;
  30635. end;
  30636. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  30637. begin
  30638. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30639. end;
  30640. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  30641. begin
  30642. pTDefRegMap(@Self)^.&set := $00000080;
  30643. end;
  30644. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  30645. begin
  30646. pTDefRegMap(@Self)^.clr := $00000080;
  30647. end;
  30648. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  30649. begin
  30650. if thebits = 0 then
  30651. pTDefRegMap(@Self)^.clr := $00000080
  30652. else
  30653. pTDefRegMap(@Self)^.&set := $00000080;
  30654. end;
  30655. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  30656. begin
  30657. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30658. end;
  30659. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  30660. begin
  30661. pTDefRegMap(@Self)^.&set := $00010000;
  30662. end;
  30663. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  30664. begin
  30665. pTDefRegMap(@Self)^.clr := $00010000;
  30666. end;
  30667. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  30668. begin
  30669. if thebits = 0 then
  30670. pTDefRegMap(@Self)^.clr := $00010000
  30671. else
  30672. pTDefRegMap(@Self)^.&set := $00010000;
  30673. end;
  30674. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  30675. begin
  30676. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30677. end;
  30678. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  30679. begin
  30680. pTDefRegMap(@Self)^.&set := $00020000;
  30681. end;
  30682. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  30683. begin
  30684. pTDefRegMap(@Self)^.clr := $00020000;
  30685. end;
  30686. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  30687. begin
  30688. if thebits = 0 then
  30689. pTDefRegMap(@Self)^.clr := $00020000
  30690. else
  30691. pTDefRegMap(@Self)^.&set := $00020000;
  30692. end;
  30693. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  30694. begin
  30695. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30696. end;
  30697. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  30698. begin
  30699. pTDefRegMap(@Self)^.&set := $00040000;
  30700. end;
  30701. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  30702. begin
  30703. pTDefRegMap(@Self)^.clr := $00040000;
  30704. end;
  30705. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  30706. begin
  30707. if thebits = 0 then
  30708. pTDefRegMap(@Self)^.clr := $00040000
  30709. else
  30710. pTDefRegMap(@Self)^.&set := $00040000;
  30711. end;
  30712. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  30713. begin
  30714. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30715. end;
  30716. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  30717. begin
  30718. pTDefRegMap(@Self)^.&set := $00080000;
  30719. end;
  30720. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  30721. begin
  30722. pTDefRegMap(@Self)^.clr := $00080000;
  30723. end;
  30724. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  30725. begin
  30726. if thebits = 0 then
  30727. pTDefRegMap(@Self)^.clr := $00080000
  30728. else
  30729. pTDefRegMap(@Self)^.&set := $00080000;
  30730. end;
  30731. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  30732. begin
  30733. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30734. end;
  30735. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  30736. begin
  30737. pTDefRegMap(@Self)^.&set := $00100000;
  30738. end;
  30739. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  30740. begin
  30741. pTDefRegMap(@Self)^.clr := $00100000;
  30742. end;
  30743. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  30744. begin
  30745. if thebits = 0 then
  30746. pTDefRegMap(@Self)^.clr := $00100000
  30747. else
  30748. pTDefRegMap(@Self)^.&set := $00100000;
  30749. end;
  30750. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  30751. begin
  30752. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30753. end;
  30754. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  30755. begin
  30756. pTDefRegMap(@Self)^.&set := $00200000;
  30757. end;
  30758. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  30759. begin
  30760. pTDefRegMap(@Self)^.clr := $00200000;
  30761. end;
  30762. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  30763. begin
  30764. if thebits = 0 then
  30765. pTDefRegMap(@Self)^.clr := $00200000
  30766. else
  30767. pTDefRegMap(@Self)^.&set := $00200000;
  30768. end;
  30769. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  30770. begin
  30771. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30772. end;
  30773. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  30774. begin
  30775. pTDefRegMap(@Self)^.&set := $00400000;
  30776. end;
  30777. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  30778. begin
  30779. pTDefRegMap(@Self)^.clr := $00400000;
  30780. end;
  30781. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  30782. begin
  30783. if thebits = 0 then
  30784. pTDefRegMap(@Self)^.clr := $00400000
  30785. else
  30786. pTDefRegMap(@Self)^.&set := $00400000;
  30787. end;
  30788. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  30789. begin
  30790. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30791. end;
  30792. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  30793. begin
  30794. pTDefRegMap(@Self)^.&set := $00800000;
  30795. end;
  30796. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  30797. begin
  30798. pTDefRegMap(@Self)^.clr := $00800000;
  30799. end;
  30800. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  30801. begin
  30802. if thebits = 0 then
  30803. pTDefRegMap(@Self)^.clr := $00800000
  30804. else
  30805. pTDefRegMap(@Self)^.&set := $00800000;
  30806. end;
  30807. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  30808. begin
  30809. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30810. end;
  30811. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  30812. begin
  30813. pTDefRegMap(@Self)^.val := thebits;
  30814. end;
  30815. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  30816. begin
  30817. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30818. end;
  30819. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  30820. begin
  30821. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30822. end;
  30823. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  30824. begin
  30825. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30826. end;
  30827. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  30828. begin
  30829. pTDefRegMap(@Self)^.&set := $00000004;
  30830. end;
  30831. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  30832. begin
  30833. pTDefRegMap(@Self)^.clr := $00000004;
  30834. end;
  30835. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  30836. begin
  30837. if thebits = 0 then
  30838. pTDefRegMap(@Self)^.clr := $00000004
  30839. else
  30840. pTDefRegMap(@Self)^.&set := $00000004;
  30841. end;
  30842. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  30843. begin
  30844. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30845. end;
  30846. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  30847. begin
  30848. pTDefRegMap(@Self)^.&set := $00000010;
  30849. end;
  30850. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  30851. begin
  30852. pTDefRegMap(@Self)^.clr := $00000010;
  30853. end;
  30854. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  30855. begin
  30856. if thebits = 0 then
  30857. pTDefRegMap(@Self)^.clr := $00000010
  30858. else
  30859. pTDefRegMap(@Self)^.&set := $00000010;
  30860. end;
  30861. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  30862. begin
  30863. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30864. end;
  30865. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  30866. begin
  30867. pTDefRegMap(@Self)^.&set := $00000020;
  30868. end;
  30869. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  30870. begin
  30871. pTDefRegMap(@Self)^.clr := $00000020;
  30872. end;
  30873. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  30874. begin
  30875. if thebits = 0 then
  30876. pTDefRegMap(@Self)^.clr := $00000020
  30877. else
  30878. pTDefRegMap(@Self)^.&set := $00000020;
  30879. end;
  30880. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  30881. begin
  30882. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30883. end;
  30884. procedure TDMAC2_DCH2CON.setCHAED; inline;
  30885. begin
  30886. pTDefRegMap(@Self)^.&set := $00000040;
  30887. end;
  30888. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  30889. begin
  30890. pTDefRegMap(@Self)^.clr := $00000040;
  30891. end;
  30892. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  30893. begin
  30894. if thebits = 0 then
  30895. pTDefRegMap(@Self)^.clr := $00000040
  30896. else
  30897. pTDefRegMap(@Self)^.&set := $00000040;
  30898. end;
  30899. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  30900. begin
  30901. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30902. end;
  30903. procedure TDMAC2_DCH2CON.setCHEN; inline;
  30904. begin
  30905. pTDefRegMap(@Self)^.&set := $00000080;
  30906. end;
  30907. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  30908. begin
  30909. pTDefRegMap(@Self)^.clr := $00000080;
  30910. end;
  30911. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  30912. begin
  30913. if thebits = 0 then
  30914. pTDefRegMap(@Self)^.clr := $00000080
  30915. else
  30916. pTDefRegMap(@Self)^.&set := $00000080;
  30917. end;
  30918. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  30919. begin
  30920. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30921. end;
  30922. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  30923. begin
  30924. pTDefRegMap(@Self)^.&set := $00000100;
  30925. end;
  30926. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  30927. begin
  30928. pTDefRegMap(@Self)^.clr := $00000100;
  30929. end;
  30930. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  30931. begin
  30932. if thebits = 0 then
  30933. pTDefRegMap(@Self)^.clr := $00000100
  30934. else
  30935. pTDefRegMap(@Self)^.&set := $00000100;
  30936. end;
  30937. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  30938. begin
  30939. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30940. end;
  30941. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  30942. begin
  30943. pTDefRegMap(@Self)^.&set := $00008000;
  30944. end;
  30945. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  30946. begin
  30947. pTDefRegMap(@Self)^.clr := $00008000;
  30948. end;
  30949. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  30950. begin
  30951. if thebits = 0 then
  30952. pTDefRegMap(@Self)^.clr := $00008000
  30953. else
  30954. pTDefRegMap(@Self)^.&set := $00008000;
  30955. end;
  30956. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  30957. begin
  30958. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30959. end;
  30960. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  30961. begin
  30962. pTDefRegMap(@Self)^.val := thebits;
  30963. end;
  30964. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  30965. begin
  30966. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30967. end;
  30968. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  30969. begin
  30970. pTDefRegMap(@Self)^.&set := $00000008;
  30971. end;
  30972. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  30973. begin
  30974. pTDefRegMap(@Self)^.clr := $00000008;
  30975. end;
  30976. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  30977. begin
  30978. if thebits = 0 then
  30979. pTDefRegMap(@Self)^.clr := $00000008
  30980. else
  30981. pTDefRegMap(@Self)^.&set := $00000008;
  30982. end;
  30983. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  30984. begin
  30985. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30986. end;
  30987. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  30988. begin
  30989. pTDefRegMap(@Self)^.&set := $00000010;
  30990. end;
  30991. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  30992. begin
  30993. pTDefRegMap(@Self)^.clr := $00000010;
  30994. end;
  30995. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  30996. begin
  30997. if thebits = 0 then
  30998. pTDefRegMap(@Self)^.clr := $00000010
  30999. else
  31000. pTDefRegMap(@Self)^.&set := $00000010;
  31001. end;
  31002. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  31003. begin
  31004. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31005. end;
  31006. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  31007. begin
  31008. pTDefRegMap(@Self)^.&set := $00000020;
  31009. end;
  31010. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  31011. begin
  31012. pTDefRegMap(@Self)^.clr := $00000020;
  31013. end;
  31014. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  31015. begin
  31016. if thebits = 0 then
  31017. pTDefRegMap(@Self)^.clr := $00000020
  31018. else
  31019. pTDefRegMap(@Self)^.&set := $00000020;
  31020. end;
  31021. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  31022. begin
  31023. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31024. end;
  31025. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  31026. begin
  31027. pTDefRegMap(@Self)^.&set := $00000040;
  31028. end;
  31029. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  31030. begin
  31031. pTDefRegMap(@Self)^.clr := $00000040;
  31032. end;
  31033. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  31034. begin
  31035. if thebits = 0 then
  31036. pTDefRegMap(@Self)^.clr := $00000040
  31037. else
  31038. pTDefRegMap(@Self)^.&set := $00000040;
  31039. end;
  31040. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  31041. begin
  31042. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31043. end;
  31044. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  31045. begin
  31046. pTDefRegMap(@Self)^.&set := $00000080;
  31047. end;
  31048. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  31049. begin
  31050. pTDefRegMap(@Self)^.clr := $00000080;
  31051. end;
  31052. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  31053. begin
  31054. if thebits = 0 then
  31055. pTDefRegMap(@Self)^.clr := $00000080
  31056. else
  31057. pTDefRegMap(@Self)^.&set := $00000080;
  31058. end;
  31059. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  31060. begin
  31061. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31062. end;
  31063. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  31064. begin
  31065. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31066. end;
  31067. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  31068. begin
  31069. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31070. end;
  31071. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  31072. begin
  31073. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31074. end;
  31075. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  31076. begin
  31077. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31078. end;
  31079. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  31080. begin
  31081. pTDefRegMap(@Self)^.val := thebits;
  31082. end;
  31083. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  31084. begin
  31085. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31086. end;
  31087. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  31088. begin
  31089. pTDefRegMap(@Self)^.&set := $00000001;
  31090. end;
  31091. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  31092. begin
  31093. pTDefRegMap(@Self)^.clr := $00000001;
  31094. end;
  31095. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  31096. begin
  31097. if thebits = 0 then
  31098. pTDefRegMap(@Self)^.clr := $00000001
  31099. else
  31100. pTDefRegMap(@Self)^.&set := $00000001;
  31101. end;
  31102. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  31103. begin
  31104. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31105. end;
  31106. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  31107. begin
  31108. pTDefRegMap(@Self)^.&set := $00000002;
  31109. end;
  31110. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  31111. begin
  31112. pTDefRegMap(@Self)^.clr := $00000002;
  31113. end;
  31114. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  31115. begin
  31116. if thebits = 0 then
  31117. pTDefRegMap(@Self)^.clr := $00000002
  31118. else
  31119. pTDefRegMap(@Self)^.&set := $00000002;
  31120. end;
  31121. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  31122. begin
  31123. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31124. end;
  31125. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  31126. begin
  31127. pTDefRegMap(@Self)^.&set := $00000004;
  31128. end;
  31129. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  31130. begin
  31131. pTDefRegMap(@Self)^.clr := $00000004;
  31132. end;
  31133. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  31134. begin
  31135. if thebits = 0 then
  31136. pTDefRegMap(@Self)^.clr := $00000004
  31137. else
  31138. pTDefRegMap(@Self)^.&set := $00000004;
  31139. end;
  31140. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  31141. begin
  31142. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31143. end;
  31144. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  31145. begin
  31146. pTDefRegMap(@Self)^.&set := $00000008;
  31147. end;
  31148. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  31149. begin
  31150. pTDefRegMap(@Self)^.clr := $00000008;
  31151. end;
  31152. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  31153. begin
  31154. if thebits = 0 then
  31155. pTDefRegMap(@Self)^.clr := $00000008
  31156. else
  31157. pTDefRegMap(@Self)^.&set := $00000008;
  31158. end;
  31159. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  31160. begin
  31161. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31162. end;
  31163. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  31164. begin
  31165. pTDefRegMap(@Self)^.&set := $00000010;
  31166. end;
  31167. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  31168. begin
  31169. pTDefRegMap(@Self)^.clr := $00000010;
  31170. end;
  31171. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  31172. begin
  31173. if thebits = 0 then
  31174. pTDefRegMap(@Self)^.clr := $00000010
  31175. else
  31176. pTDefRegMap(@Self)^.&set := $00000010;
  31177. end;
  31178. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  31179. begin
  31180. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31181. end;
  31182. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  31183. begin
  31184. pTDefRegMap(@Self)^.&set := $00000020;
  31185. end;
  31186. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  31187. begin
  31188. pTDefRegMap(@Self)^.clr := $00000020;
  31189. end;
  31190. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  31191. begin
  31192. if thebits = 0 then
  31193. pTDefRegMap(@Self)^.clr := $00000020
  31194. else
  31195. pTDefRegMap(@Self)^.&set := $00000020;
  31196. end;
  31197. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  31198. begin
  31199. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31200. end;
  31201. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  31202. begin
  31203. pTDefRegMap(@Self)^.&set := $00000040;
  31204. end;
  31205. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  31206. begin
  31207. pTDefRegMap(@Self)^.clr := $00000040;
  31208. end;
  31209. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  31210. begin
  31211. if thebits = 0 then
  31212. pTDefRegMap(@Self)^.clr := $00000040
  31213. else
  31214. pTDefRegMap(@Self)^.&set := $00000040;
  31215. end;
  31216. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  31217. begin
  31218. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31219. end;
  31220. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  31221. begin
  31222. pTDefRegMap(@Self)^.&set := $00000080;
  31223. end;
  31224. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  31225. begin
  31226. pTDefRegMap(@Self)^.clr := $00000080;
  31227. end;
  31228. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31229. begin
  31230. if thebits = 0 then
  31231. pTDefRegMap(@Self)^.clr := $00000080
  31232. else
  31233. pTDefRegMap(@Self)^.&set := $00000080;
  31234. end;
  31235. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31236. begin
  31237. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31238. end;
  31239. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31240. begin
  31241. pTDefRegMap(@Self)^.&set := $00010000;
  31242. end;
  31243. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31244. begin
  31245. pTDefRegMap(@Self)^.clr := $00010000;
  31246. end;
  31247. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  31248. begin
  31249. if thebits = 0 then
  31250. pTDefRegMap(@Self)^.clr := $00010000
  31251. else
  31252. pTDefRegMap(@Self)^.&set := $00010000;
  31253. end;
  31254. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31255. begin
  31256. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31257. end;
  31258. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31259. begin
  31260. pTDefRegMap(@Self)^.&set := $00020000;
  31261. end;
  31262. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31263. begin
  31264. pTDefRegMap(@Self)^.clr := $00020000;
  31265. end;
  31266. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31267. begin
  31268. if thebits = 0 then
  31269. pTDefRegMap(@Self)^.clr := $00020000
  31270. else
  31271. pTDefRegMap(@Self)^.&set := $00020000;
  31272. end;
  31273. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31274. begin
  31275. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31276. end;
  31277. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31278. begin
  31279. pTDefRegMap(@Self)^.&set := $00040000;
  31280. end;
  31281. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31282. begin
  31283. pTDefRegMap(@Self)^.clr := $00040000;
  31284. end;
  31285. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31286. begin
  31287. if thebits = 0 then
  31288. pTDefRegMap(@Self)^.clr := $00040000
  31289. else
  31290. pTDefRegMap(@Self)^.&set := $00040000;
  31291. end;
  31292. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31293. begin
  31294. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31295. end;
  31296. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31297. begin
  31298. pTDefRegMap(@Self)^.&set := $00080000;
  31299. end;
  31300. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31301. begin
  31302. pTDefRegMap(@Self)^.clr := $00080000;
  31303. end;
  31304. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31305. begin
  31306. if thebits = 0 then
  31307. pTDefRegMap(@Self)^.clr := $00080000
  31308. else
  31309. pTDefRegMap(@Self)^.&set := $00080000;
  31310. end;
  31311. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31312. begin
  31313. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31314. end;
  31315. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31316. begin
  31317. pTDefRegMap(@Self)^.&set := $00100000;
  31318. end;
  31319. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31320. begin
  31321. pTDefRegMap(@Self)^.clr := $00100000;
  31322. end;
  31323. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31324. begin
  31325. if thebits = 0 then
  31326. pTDefRegMap(@Self)^.clr := $00100000
  31327. else
  31328. pTDefRegMap(@Self)^.&set := $00100000;
  31329. end;
  31330. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31331. begin
  31332. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31333. end;
  31334. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31335. begin
  31336. pTDefRegMap(@Self)^.&set := $00200000;
  31337. end;
  31338. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31339. begin
  31340. pTDefRegMap(@Self)^.clr := $00200000;
  31341. end;
  31342. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31343. begin
  31344. if thebits = 0 then
  31345. pTDefRegMap(@Self)^.clr := $00200000
  31346. else
  31347. pTDefRegMap(@Self)^.&set := $00200000;
  31348. end;
  31349. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31350. begin
  31351. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31352. end;
  31353. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31354. begin
  31355. pTDefRegMap(@Self)^.&set := $00400000;
  31356. end;
  31357. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31358. begin
  31359. pTDefRegMap(@Self)^.clr := $00400000;
  31360. end;
  31361. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31362. begin
  31363. if thebits = 0 then
  31364. pTDefRegMap(@Self)^.clr := $00400000
  31365. else
  31366. pTDefRegMap(@Self)^.&set := $00400000;
  31367. end;
  31368. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31369. begin
  31370. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31371. end;
  31372. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31373. begin
  31374. pTDefRegMap(@Self)^.&set := $00800000;
  31375. end;
  31376. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31377. begin
  31378. pTDefRegMap(@Self)^.clr := $00800000;
  31379. end;
  31380. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31381. begin
  31382. if thebits = 0 then
  31383. pTDefRegMap(@Self)^.clr := $00800000
  31384. else
  31385. pTDefRegMap(@Self)^.&set := $00800000;
  31386. end;
  31387. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31388. begin
  31389. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31390. end;
  31391. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  31392. begin
  31393. pTDefRegMap(@Self)^.val := thebits;
  31394. end;
  31395. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  31396. begin
  31397. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31398. end;
  31399. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  31400. begin
  31401. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31402. end;
  31403. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  31404. begin
  31405. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31406. end;
  31407. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  31408. begin
  31409. pTDefRegMap(@Self)^.&set := $00000004;
  31410. end;
  31411. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  31412. begin
  31413. pTDefRegMap(@Self)^.clr := $00000004;
  31414. end;
  31415. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  31416. begin
  31417. if thebits = 0 then
  31418. pTDefRegMap(@Self)^.clr := $00000004
  31419. else
  31420. pTDefRegMap(@Self)^.&set := $00000004;
  31421. end;
  31422. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  31423. begin
  31424. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31425. end;
  31426. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  31427. begin
  31428. pTDefRegMap(@Self)^.&set := $00000010;
  31429. end;
  31430. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  31431. begin
  31432. pTDefRegMap(@Self)^.clr := $00000010;
  31433. end;
  31434. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  31435. begin
  31436. if thebits = 0 then
  31437. pTDefRegMap(@Self)^.clr := $00000010
  31438. else
  31439. pTDefRegMap(@Self)^.&set := $00000010;
  31440. end;
  31441. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  31442. begin
  31443. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31444. end;
  31445. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  31446. begin
  31447. pTDefRegMap(@Self)^.&set := $00000020;
  31448. end;
  31449. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  31450. begin
  31451. pTDefRegMap(@Self)^.clr := $00000020;
  31452. end;
  31453. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  31454. begin
  31455. if thebits = 0 then
  31456. pTDefRegMap(@Self)^.clr := $00000020
  31457. else
  31458. pTDefRegMap(@Self)^.&set := $00000020;
  31459. end;
  31460. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  31461. begin
  31462. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31463. end;
  31464. procedure TDMAC3_DCH3CON.setCHAED; inline;
  31465. begin
  31466. pTDefRegMap(@Self)^.&set := $00000040;
  31467. end;
  31468. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  31469. begin
  31470. pTDefRegMap(@Self)^.clr := $00000040;
  31471. end;
  31472. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  31473. begin
  31474. if thebits = 0 then
  31475. pTDefRegMap(@Self)^.clr := $00000040
  31476. else
  31477. pTDefRegMap(@Self)^.&set := $00000040;
  31478. end;
  31479. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  31480. begin
  31481. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31482. end;
  31483. procedure TDMAC3_DCH3CON.setCHEN; inline;
  31484. begin
  31485. pTDefRegMap(@Self)^.&set := $00000080;
  31486. end;
  31487. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  31488. begin
  31489. pTDefRegMap(@Self)^.clr := $00000080;
  31490. end;
  31491. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  31492. begin
  31493. if thebits = 0 then
  31494. pTDefRegMap(@Self)^.clr := $00000080
  31495. else
  31496. pTDefRegMap(@Self)^.&set := $00000080;
  31497. end;
  31498. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  31499. begin
  31500. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31501. end;
  31502. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  31503. begin
  31504. pTDefRegMap(@Self)^.&set := $00000100;
  31505. end;
  31506. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  31507. begin
  31508. pTDefRegMap(@Self)^.clr := $00000100;
  31509. end;
  31510. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  31511. begin
  31512. if thebits = 0 then
  31513. pTDefRegMap(@Self)^.clr := $00000100
  31514. else
  31515. pTDefRegMap(@Self)^.&set := $00000100;
  31516. end;
  31517. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  31518. begin
  31519. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31520. end;
  31521. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  31522. begin
  31523. pTDefRegMap(@Self)^.&set := $00008000;
  31524. end;
  31525. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  31526. begin
  31527. pTDefRegMap(@Self)^.clr := $00008000;
  31528. end;
  31529. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  31530. begin
  31531. if thebits = 0 then
  31532. pTDefRegMap(@Self)^.clr := $00008000
  31533. else
  31534. pTDefRegMap(@Self)^.&set := $00008000;
  31535. end;
  31536. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  31537. begin
  31538. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31539. end;
  31540. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  31541. begin
  31542. pTDefRegMap(@Self)^.val := thebits;
  31543. end;
  31544. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  31545. begin
  31546. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31547. end;
  31548. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  31549. begin
  31550. pTDefRegMap(@Self)^.&set := $00000008;
  31551. end;
  31552. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  31553. begin
  31554. pTDefRegMap(@Self)^.clr := $00000008;
  31555. end;
  31556. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  31557. begin
  31558. if thebits = 0 then
  31559. pTDefRegMap(@Self)^.clr := $00000008
  31560. else
  31561. pTDefRegMap(@Self)^.&set := $00000008;
  31562. end;
  31563. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  31564. begin
  31565. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31566. end;
  31567. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  31568. begin
  31569. pTDefRegMap(@Self)^.&set := $00000010;
  31570. end;
  31571. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  31572. begin
  31573. pTDefRegMap(@Self)^.clr := $00000010;
  31574. end;
  31575. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  31576. begin
  31577. if thebits = 0 then
  31578. pTDefRegMap(@Self)^.clr := $00000010
  31579. else
  31580. pTDefRegMap(@Self)^.&set := $00000010;
  31581. end;
  31582. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  31583. begin
  31584. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31585. end;
  31586. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  31587. begin
  31588. pTDefRegMap(@Self)^.&set := $00000020;
  31589. end;
  31590. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  31591. begin
  31592. pTDefRegMap(@Self)^.clr := $00000020;
  31593. end;
  31594. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  31595. begin
  31596. if thebits = 0 then
  31597. pTDefRegMap(@Self)^.clr := $00000020
  31598. else
  31599. pTDefRegMap(@Self)^.&set := $00000020;
  31600. end;
  31601. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  31602. begin
  31603. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31604. end;
  31605. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  31606. begin
  31607. pTDefRegMap(@Self)^.&set := $00000040;
  31608. end;
  31609. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  31610. begin
  31611. pTDefRegMap(@Self)^.clr := $00000040;
  31612. end;
  31613. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  31614. begin
  31615. if thebits = 0 then
  31616. pTDefRegMap(@Self)^.clr := $00000040
  31617. else
  31618. pTDefRegMap(@Self)^.&set := $00000040;
  31619. end;
  31620. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  31621. begin
  31622. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31623. end;
  31624. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  31625. begin
  31626. pTDefRegMap(@Self)^.&set := $00000080;
  31627. end;
  31628. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  31629. begin
  31630. pTDefRegMap(@Self)^.clr := $00000080;
  31631. end;
  31632. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  31633. begin
  31634. if thebits = 0 then
  31635. pTDefRegMap(@Self)^.clr := $00000080
  31636. else
  31637. pTDefRegMap(@Self)^.&set := $00000080;
  31638. end;
  31639. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  31640. begin
  31641. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31642. end;
  31643. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  31644. begin
  31645. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31646. end;
  31647. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  31648. begin
  31649. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31650. end;
  31651. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  31652. begin
  31653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31654. end;
  31655. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  31656. begin
  31657. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31658. end;
  31659. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  31660. begin
  31661. pTDefRegMap(@Self)^.val := thebits;
  31662. end;
  31663. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  31664. begin
  31665. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31666. end;
  31667. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  31668. begin
  31669. pTDefRegMap(@Self)^.&set := $00000001;
  31670. end;
  31671. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  31672. begin
  31673. pTDefRegMap(@Self)^.clr := $00000001;
  31674. end;
  31675. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  31676. begin
  31677. if thebits = 0 then
  31678. pTDefRegMap(@Self)^.clr := $00000001
  31679. else
  31680. pTDefRegMap(@Self)^.&set := $00000001;
  31681. end;
  31682. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  31683. begin
  31684. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31685. end;
  31686. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  31687. begin
  31688. pTDefRegMap(@Self)^.&set := $00000002;
  31689. end;
  31690. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  31691. begin
  31692. pTDefRegMap(@Self)^.clr := $00000002;
  31693. end;
  31694. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  31695. begin
  31696. if thebits = 0 then
  31697. pTDefRegMap(@Self)^.clr := $00000002
  31698. else
  31699. pTDefRegMap(@Self)^.&set := $00000002;
  31700. end;
  31701. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  31702. begin
  31703. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31704. end;
  31705. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  31706. begin
  31707. pTDefRegMap(@Self)^.&set := $00000004;
  31708. end;
  31709. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  31710. begin
  31711. pTDefRegMap(@Self)^.clr := $00000004;
  31712. end;
  31713. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  31714. begin
  31715. if thebits = 0 then
  31716. pTDefRegMap(@Self)^.clr := $00000004
  31717. else
  31718. pTDefRegMap(@Self)^.&set := $00000004;
  31719. end;
  31720. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  31721. begin
  31722. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31723. end;
  31724. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  31725. begin
  31726. pTDefRegMap(@Self)^.&set := $00000008;
  31727. end;
  31728. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  31729. begin
  31730. pTDefRegMap(@Self)^.clr := $00000008;
  31731. end;
  31732. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  31733. begin
  31734. if thebits = 0 then
  31735. pTDefRegMap(@Self)^.clr := $00000008
  31736. else
  31737. pTDefRegMap(@Self)^.&set := $00000008;
  31738. end;
  31739. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  31740. begin
  31741. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31742. end;
  31743. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  31744. begin
  31745. pTDefRegMap(@Self)^.&set := $00000010;
  31746. end;
  31747. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  31748. begin
  31749. pTDefRegMap(@Self)^.clr := $00000010;
  31750. end;
  31751. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  31752. begin
  31753. if thebits = 0 then
  31754. pTDefRegMap(@Self)^.clr := $00000010
  31755. else
  31756. pTDefRegMap(@Self)^.&set := $00000010;
  31757. end;
  31758. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  31759. begin
  31760. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31761. end;
  31762. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  31763. begin
  31764. pTDefRegMap(@Self)^.&set := $00000020;
  31765. end;
  31766. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  31767. begin
  31768. pTDefRegMap(@Self)^.clr := $00000020;
  31769. end;
  31770. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  31771. begin
  31772. if thebits = 0 then
  31773. pTDefRegMap(@Self)^.clr := $00000020
  31774. else
  31775. pTDefRegMap(@Self)^.&set := $00000020;
  31776. end;
  31777. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  31778. begin
  31779. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31780. end;
  31781. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  31782. begin
  31783. pTDefRegMap(@Self)^.&set := $00000040;
  31784. end;
  31785. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  31786. begin
  31787. pTDefRegMap(@Self)^.clr := $00000040;
  31788. end;
  31789. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  31790. begin
  31791. if thebits = 0 then
  31792. pTDefRegMap(@Self)^.clr := $00000040
  31793. else
  31794. pTDefRegMap(@Self)^.&set := $00000040;
  31795. end;
  31796. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  31797. begin
  31798. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31799. end;
  31800. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  31801. begin
  31802. pTDefRegMap(@Self)^.&set := $00000080;
  31803. end;
  31804. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  31805. begin
  31806. pTDefRegMap(@Self)^.clr := $00000080;
  31807. end;
  31808. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  31809. begin
  31810. if thebits = 0 then
  31811. pTDefRegMap(@Self)^.clr := $00000080
  31812. else
  31813. pTDefRegMap(@Self)^.&set := $00000080;
  31814. end;
  31815. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  31816. begin
  31817. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31818. end;
  31819. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  31820. begin
  31821. pTDefRegMap(@Self)^.&set := $00010000;
  31822. end;
  31823. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  31824. begin
  31825. pTDefRegMap(@Self)^.clr := $00010000;
  31826. end;
  31827. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  31828. begin
  31829. if thebits = 0 then
  31830. pTDefRegMap(@Self)^.clr := $00010000
  31831. else
  31832. pTDefRegMap(@Self)^.&set := $00010000;
  31833. end;
  31834. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  31835. begin
  31836. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31837. end;
  31838. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  31839. begin
  31840. pTDefRegMap(@Self)^.&set := $00020000;
  31841. end;
  31842. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  31843. begin
  31844. pTDefRegMap(@Self)^.clr := $00020000;
  31845. end;
  31846. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  31847. begin
  31848. if thebits = 0 then
  31849. pTDefRegMap(@Self)^.clr := $00020000
  31850. else
  31851. pTDefRegMap(@Self)^.&set := $00020000;
  31852. end;
  31853. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  31854. begin
  31855. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31856. end;
  31857. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  31858. begin
  31859. pTDefRegMap(@Self)^.&set := $00040000;
  31860. end;
  31861. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  31862. begin
  31863. pTDefRegMap(@Self)^.clr := $00040000;
  31864. end;
  31865. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  31866. begin
  31867. if thebits = 0 then
  31868. pTDefRegMap(@Self)^.clr := $00040000
  31869. else
  31870. pTDefRegMap(@Self)^.&set := $00040000;
  31871. end;
  31872. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  31873. begin
  31874. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31875. end;
  31876. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  31877. begin
  31878. pTDefRegMap(@Self)^.&set := $00080000;
  31879. end;
  31880. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  31881. begin
  31882. pTDefRegMap(@Self)^.clr := $00080000;
  31883. end;
  31884. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  31885. begin
  31886. if thebits = 0 then
  31887. pTDefRegMap(@Self)^.clr := $00080000
  31888. else
  31889. pTDefRegMap(@Self)^.&set := $00080000;
  31890. end;
  31891. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  31892. begin
  31893. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31894. end;
  31895. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  31896. begin
  31897. pTDefRegMap(@Self)^.&set := $00100000;
  31898. end;
  31899. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  31900. begin
  31901. pTDefRegMap(@Self)^.clr := $00100000;
  31902. end;
  31903. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  31904. begin
  31905. if thebits = 0 then
  31906. pTDefRegMap(@Self)^.clr := $00100000
  31907. else
  31908. pTDefRegMap(@Self)^.&set := $00100000;
  31909. end;
  31910. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  31911. begin
  31912. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31913. end;
  31914. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  31915. begin
  31916. pTDefRegMap(@Self)^.&set := $00200000;
  31917. end;
  31918. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  31919. begin
  31920. pTDefRegMap(@Self)^.clr := $00200000;
  31921. end;
  31922. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  31923. begin
  31924. if thebits = 0 then
  31925. pTDefRegMap(@Self)^.clr := $00200000
  31926. else
  31927. pTDefRegMap(@Self)^.&set := $00200000;
  31928. end;
  31929. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  31930. begin
  31931. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31932. end;
  31933. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  31934. begin
  31935. pTDefRegMap(@Self)^.&set := $00400000;
  31936. end;
  31937. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  31938. begin
  31939. pTDefRegMap(@Self)^.clr := $00400000;
  31940. end;
  31941. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  31942. begin
  31943. if thebits = 0 then
  31944. pTDefRegMap(@Self)^.clr := $00400000
  31945. else
  31946. pTDefRegMap(@Self)^.&set := $00400000;
  31947. end;
  31948. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  31949. begin
  31950. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31951. end;
  31952. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  31953. begin
  31954. pTDefRegMap(@Self)^.&set := $00800000;
  31955. end;
  31956. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  31957. begin
  31958. pTDefRegMap(@Self)^.clr := $00800000;
  31959. end;
  31960. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  31961. begin
  31962. if thebits = 0 then
  31963. pTDefRegMap(@Self)^.clr := $00800000
  31964. else
  31965. pTDefRegMap(@Self)^.&set := $00800000;
  31966. end;
  31967. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  31968. begin
  31969. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31970. end;
  31971. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  31972. begin
  31973. pTDefRegMap(@Self)^.val := thebits;
  31974. end;
  31975. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  31976. begin
  31977. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31978. end;
  31979. procedure TDMAC3_U1IR.setURSTIF_DETACHIF; inline;
  31980. begin
  31981. pTDefRegMap(@Self)^.&set := $00000001;
  31982. end;
  31983. procedure TDMAC3_U1IR.clearURSTIF_DETACHIF; inline;
  31984. begin
  31985. pTDefRegMap(@Self)^.clr := $00000001;
  31986. end;
  31987. procedure TDMAC3_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  31988. begin
  31989. if thebits = 0 then
  31990. pTDefRegMap(@Self)^.clr := $00000001
  31991. else
  31992. pTDefRegMap(@Self)^.&set := $00000001;
  31993. end;
  31994. function TDMAC3_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  31995. begin
  31996. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31997. end;
  31998. procedure TDMAC3_U1IR.setUERRIF; inline;
  31999. begin
  32000. pTDefRegMap(@Self)^.&set := $00000002;
  32001. end;
  32002. procedure TDMAC3_U1IR.clearUERRIF; inline;
  32003. begin
  32004. pTDefRegMap(@Self)^.clr := $00000002;
  32005. end;
  32006. procedure TDMAC3_U1IR.setUERRIF(thebits : TBits_1); inline;
  32007. begin
  32008. if thebits = 0 then
  32009. pTDefRegMap(@Self)^.clr := $00000002
  32010. else
  32011. pTDefRegMap(@Self)^.&set := $00000002;
  32012. end;
  32013. function TDMAC3_U1IR.getUERRIF : TBits_1; inline;
  32014. begin
  32015. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32016. end;
  32017. procedure TDMAC3_U1IR.setSOFIF; inline;
  32018. begin
  32019. pTDefRegMap(@Self)^.&set := $00000004;
  32020. end;
  32021. procedure TDMAC3_U1IR.clearSOFIF; inline;
  32022. begin
  32023. pTDefRegMap(@Self)^.clr := $00000004;
  32024. end;
  32025. procedure TDMAC3_U1IR.setSOFIF(thebits : TBits_1); inline;
  32026. begin
  32027. if thebits = 0 then
  32028. pTDefRegMap(@Self)^.clr := $00000004
  32029. else
  32030. pTDefRegMap(@Self)^.&set := $00000004;
  32031. end;
  32032. function TDMAC3_U1IR.getSOFIF : TBits_1; inline;
  32033. begin
  32034. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32035. end;
  32036. procedure TDMAC3_U1IR.setTRNIF; inline;
  32037. begin
  32038. pTDefRegMap(@Self)^.&set := $00000008;
  32039. end;
  32040. procedure TDMAC3_U1IR.clearTRNIF; inline;
  32041. begin
  32042. pTDefRegMap(@Self)^.clr := $00000008;
  32043. end;
  32044. procedure TDMAC3_U1IR.setTRNIF(thebits : TBits_1); inline;
  32045. begin
  32046. if thebits = 0 then
  32047. pTDefRegMap(@Self)^.clr := $00000008
  32048. else
  32049. pTDefRegMap(@Self)^.&set := $00000008;
  32050. end;
  32051. function TDMAC3_U1IR.getTRNIF : TBits_1; inline;
  32052. begin
  32053. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32054. end;
  32055. procedure TDMAC3_U1IR.setIDLEIF; inline;
  32056. begin
  32057. pTDefRegMap(@Self)^.&set := $00000010;
  32058. end;
  32059. procedure TDMAC3_U1IR.clearIDLEIF; inline;
  32060. begin
  32061. pTDefRegMap(@Self)^.clr := $00000010;
  32062. end;
  32063. procedure TDMAC3_U1IR.setIDLEIF(thebits : TBits_1); inline;
  32064. begin
  32065. if thebits = 0 then
  32066. pTDefRegMap(@Self)^.clr := $00000010
  32067. else
  32068. pTDefRegMap(@Self)^.&set := $00000010;
  32069. end;
  32070. function TDMAC3_U1IR.getIDLEIF : TBits_1; inline;
  32071. begin
  32072. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32073. end;
  32074. procedure TDMAC3_U1IR.setRESUMEIF; inline;
  32075. begin
  32076. pTDefRegMap(@Self)^.&set := $00000020;
  32077. end;
  32078. procedure TDMAC3_U1IR.clearRESUMEIF; inline;
  32079. begin
  32080. pTDefRegMap(@Self)^.clr := $00000020;
  32081. end;
  32082. procedure TDMAC3_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  32083. begin
  32084. if thebits = 0 then
  32085. pTDefRegMap(@Self)^.clr := $00000020
  32086. else
  32087. pTDefRegMap(@Self)^.&set := $00000020;
  32088. end;
  32089. function TDMAC3_U1IR.getRESUMEIF : TBits_1; inline;
  32090. begin
  32091. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32092. end;
  32093. procedure TDMAC3_U1IR.setATTACHIF; inline;
  32094. begin
  32095. pTDefRegMap(@Self)^.&set := $00000040;
  32096. end;
  32097. procedure TDMAC3_U1IR.clearATTACHIF; inline;
  32098. begin
  32099. pTDefRegMap(@Self)^.clr := $00000040;
  32100. end;
  32101. procedure TDMAC3_U1IR.setATTACHIF(thebits : TBits_1); inline;
  32102. begin
  32103. if thebits = 0 then
  32104. pTDefRegMap(@Self)^.clr := $00000040
  32105. else
  32106. pTDefRegMap(@Self)^.&set := $00000040;
  32107. end;
  32108. function TDMAC3_U1IR.getATTACHIF : TBits_1; inline;
  32109. begin
  32110. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32111. end;
  32112. procedure TDMAC3_U1IR.setSTALLIF; inline;
  32113. begin
  32114. pTDefRegMap(@Self)^.&set := $00000080;
  32115. end;
  32116. procedure TDMAC3_U1IR.clearSTALLIF; inline;
  32117. begin
  32118. pTDefRegMap(@Self)^.clr := $00000080;
  32119. end;
  32120. procedure TDMAC3_U1IR.setSTALLIF(thebits : TBits_1); inline;
  32121. begin
  32122. if thebits = 0 then
  32123. pTDefRegMap(@Self)^.clr := $00000080
  32124. else
  32125. pTDefRegMap(@Self)^.&set := $00000080;
  32126. end;
  32127. function TDMAC3_U1IR.getSTALLIF : TBits_1; inline;
  32128. begin
  32129. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32130. end;
  32131. procedure TDMAC3_U1IR.setDETACHIF; inline;
  32132. begin
  32133. pTDefRegMap(@Self)^.&set := $00000001;
  32134. end;
  32135. procedure TDMAC3_U1IR.clearDETACHIF; inline;
  32136. begin
  32137. pTDefRegMap(@Self)^.clr := $00000001;
  32138. end;
  32139. procedure TDMAC3_U1IR.setDETACHIF(thebits : TBits_1); inline;
  32140. begin
  32141. if thebits = 0 then
  32142. pTDefRegMap(@Self)^.clr := $00000001
  32143. else
  32144. pTDefRegMap(@Self)^.&set := $00000001;
  32145. end;
  32146. function TDMAC3_U1IR.getDETACHIF : TBits_1; inline;
  32147. begin
  32148. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32149. end;
  32150. procedure TDMAC3_U1IR.setURSTIF; inline;
  32151. begin
  32152. pTDefRegMap(@Self)^.&set := $00000001;
  32153. end;
  32154. procedure TDMAC3_U1IR.clearURSTIF; inline;
  32155. begin
  32156. pTDefRegMap(@Self)^.clr := $00000001;
  32157. end;
  32158. procedure TDMAC3_U1IR.setURSTIF(thebits : TBits_1); inline;
  32159. begin
  32160. if thebits = 0 then
  32161. pTDefRegMap(@Self)^.clr := $00000001
  32162. else
  32163. pTDefRegMap(@Self)^.&set := $00000001;
  32164. end;
  32165. function TDMAC3_U1IR.getURSTIF : TBits_1; inline;
  32166. begin
  32167. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32168. end;
  32169. procedure TDMAC3_U1IE.setURSTIE_DETACHIE; inline;
  32170. begin
  32171. pTDefRegMap(@Self)^.&set := $00000001;
  32172. end;
  32173. procedure TDMAC3_U1IE.clearURSTIE_DETACHIE; inline;
  32174. begin
  32175. pTDefRegMap(@Self)^.clr := $00000001;
  32176. end;
  32177. procedure TDMAC3_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  32178. begin
  32179. if thebits = 0 then
  32180. pTDefRegMap(@Self)^.clr := $00000001
  32181. else
  32182. pTDefRegMap(@Self)^.&set := $00000001;
  32183. end;
  32184. function TDMAC3_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  32185. begin
  32186. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32187. end;
  32188. procedure TDMAC3_U1IE.setUERRIE; inline;
  32189. begin
  32190. pTDefRegMap(@Self)^.&set := $00000002;
  32191. end;
  32192. procedure TDMAC3_U1IE.clearUERRIE; inline;
  32193. begin
  32194. pTDefRegMap(@Self)^.clr := $00000002;
  32195. end;
  32196. procedure TDMAC3_U1IE.setUERRIE(thebits : TBits_1); inline;
  32197. begin
  32198. if thebits = 0 then
  32199. pTDefRegMap(@Self)^.clr := $00000002
  32200. else
  32201. pTDefRegMap(@Self)^.&set := $00000002;
  32202. end;
  32203. function TDMAC3_U1IE.getUERRIE : TBits_1; inline;
  32204. begin
  32205. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32206. end;
  32207. procedure TDMAC3_U1IE.setSOFIE; inline;
  32208. begin
  32209. pTDefRegMap(@Self)^.&set := $00000004;
  32210. end;
  32211. procedure TDMAC3_U1IE.clearSOFIE; inline;
  32212. begin
  32213. pTDefRegMap(@Self)^.clr := $00000004;
  32214. end;
  32215. procedure TDMAC3_U1IE.setSOFIE(thebits : TBits_1); inline;
  32216. begin
  32217. if thebits = 0 then
  32218. pTDefRegMap(@Self)^.clr := $00000004
  32219. else
  32220. pTDefRegMap(@Self)^.&set := $00000004;
  32221. end;
  32222. function TDMAC3_U1IE.getSOFIE : TBits_1; inline;
  32223. begin
  32224. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32225. end;
  32226. procedure TDMAC3_U1IE.setTRNIE; inline;
  32227. begin
  32228. pTDefRegMap(@Self)^.&set := $00000008;
  32229. end;
  32230. procedure TDMAC3_U1IE.clearTRNIE; inline;
  32231. begin
  32232. pTDefRegMap(@Self)^.clr := $00000008;
  32233. end;
  32234. procedure TDMAC3_U1IE.setTRNIE(thebits : TBits_1); inline;
  32235. begin
  32236. if thebits = 0 then
  32237. pTDefRegMap(@Self)^.clr := $00000008
  32238. else
  32239. pTDefRegMap(@Self)^.&set := $00000008;
  32240. end;
  32241. function TDMAC3_U1IE.getTRNIE : TBits_1; inline;
  32242. begin
  32243. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32244. end;
  32245. procedure TDMAC3_U1IE.setIDLEIE; inline;
  32246. begin
  32247. pTDefRegMap(@Self)^.&set := $00000010;
  32248. end;
  32249. procedure TDMAC3_U1IE.clearIDLEIE; inline;
  32250. begin
  32251. pTDefRegMap(@Self)^.clr := $00000010;
  32252. end;
  32253. procedure TDMAC3_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32254. begin
  32255. if thebits = 0 then
  32256. pTDefRegMap(@Self)^.clr := $00000010
  32257. else
  32258. pTDefRegMap(@Self)^.&set := $00000010;
  32259. end;
  32260. function TDMAC3_U1IE.getIDLEIE : TBits_1; inline;
  32261. begin
  32262. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32263. end;
  32264. procedure TDMAC3_U1IE.setRESUMEIE; inline;
  32265. begin
  32266. pTDefRegMap(@Self)^.&set := $00000020;
  32267. end;
  32268. procedure TDMAC3_U1IE.clearRESUMEIE; inline;
  32269. begin
  32270. pTDefRegMap(@Self)^.clr := $00000020;
  32271. end;
  32272. procedure TDMAC3_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32273. begin
  32274. if thebits = 0 then
  32275. pTDefRegMap(@Self)^.clr := $00000020
  32276. else
  32277. pTDefRegMap(@Self)^.&set := $00000020;
  32278. end;
  32279. function TDMAC3_U1IE.getRESUMEIE : TBits_1; inline;
  32280. begin
  32281. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32282. end;
  32283. procedure TDMAC3_U1IE.setATTACHIE; inline;
  32284. begin
  32285. pTDefRegMap(@Self)^.&set := $00000040;
  32286. end;
  32287. procedure TDMAC3_U1IE.clearATTACHIE; inline;
  32288. begin
  32289. pTDefRegMap(@Self)^.clr := $00000040;
  32290. end;
  32291. procedure TDMAC3_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32292. begin
  32293. if thebits = 0 then
  32294. pTDefRegMap(@Self)^.clr := $00000040
  32295. else
  32296. pTDefRegMap(@Self)^.&set := $00000040;
  32297. end;
  32298. function TDMAC3_U1IE.getATTACHIE : TBits_1; inline;
  32299. begin
  32300. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32301. end;
  32302. procedure TDMAC3_U1IE.setSTALLIE; inline;
  32303. begin
  32304. pTDefRegMap(@Self)^.&set := $00000080;
  32305. end;
  32306. procedure TDMAC3_U1IE.clearSTALLIE; inline;
  32307. begin
  32308. pTDefRegMap(@Self)^.clr := $00000080;
  32309. end;
  32310. procedure TDMAC3_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32311. begin
  32312. if thebits = 0 then
  32313. pTDefRegMap(@Self)^.clr := $00000080
  32314. else
  32315. pTDefRegMap(@Self)^.&set := $00000080;
  32316. end;
  32317. function TDMAC3_U1IE.getSTALLIE : TBits_1; inline;
  32318. begin
  32319. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32320. end;
  32321. procedure TDMAC3_U1IE.setDETACHIE; inline;
  32322. begin
  32323. pTDefRegMap(@Self)^.&set := $00000001;
  32324. end;
  32325. procedure TDMAC3_U1IE.clearDETACHIE; inline;
  32326. begin
  32327. pTDefRegMap(@Self)^.clr := $00000001;
  32328. end;
  32329. procedure TDMAC3_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32330. begin
  32331. if thebits = 0 then
  32332. pTDefRegMap(@Self)^.clr := $00000001
  32333. else
  32334. pTDefRegMap(@Self)^.&set := $00000001;
  32335. end;
  32336. function TDMAC3_U1IE.getDETACHIE : TBits_1; inline;
  32337. begin
  32338. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32339. end;
  32340. procedure TDMAC3_U1IE.setURSTIE; inline;
  32341. begin
  32342. pTDefRegMap(@Self)^.&set := $00000001;
  32343. end;
  32344. procedure TDMAC3_U1IE.clearURSTIE; inline;
  32345. begin
  32346. pTDefRegMap(@Self)^.clr := $00000001;
  32347. end;
  32348. procedure TDMAC3_U1IE.setURSTIE(thebits : TBits_1); inline;
  32349. begin
  32350. if thebits = 0 then
  32351. pTDefRegMap(@Self)^.clr := $00000001
  32352. else
  32353. pTDefRegMap(@Self)^.&set := $00000001;
  32354. end;
  32355. function TDMAC3_U1IE.getURSTIE : TBits_1; inline;
  32356. begin
  32357. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32358. end;
  32359. procedure TDMAC3_U1EIR.setPIDEF; inline;
  32360. begin
  32361. pTDefRegMap(@Self)^.&set := $00000001;
  32362. end;
  32363. procedure TDMAC3_U1EIR.clearPIDEF; inline;
  32364. begin
  32365. pTDefRegMap(@Self)^.clr := $00000001;
  32366. end;
  32367. procedure TDMAC3_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32368. begin
  32369. if thebits = 0 then
  32370. pTDefRegMap(@Self)^.clr := $00000001
  32371. else
  32372. pTDefRegMap(@Self)^.&set := $00000001;
  32373. end;
  32374. function TDMAC3_U1EIR.getPIDEF : TBits_1; inline;
  32375. begin
  32376. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32377. end;
  32378. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF; inline;
  32379. begin
  32380. pTDefRegMap(@Self)^.&set := $00000002;
  32381. end;
  32382. procedure TDMAC3_U1EIR.clearCRC5EF_EOFEF; inline;
  32383. begin
  32384. pTDefRegMap(@Self)^.clr := $00000002;
  32385. end;
  32386. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32387. begin
  32388. if thebits = 0 then
  32389. pTDefRegMap(@Self)^.clr := $00000002
  32390. else
  32391. pTDefRegMap(@Self)^.&set := $00000002;
  32392. end;
  32393. function TDMAC3_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  32394. begin
  32395. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32396. end;
  32397. procedure TDMAC3_U1EIR.setCRC16EF; inline;
  32398. begin
  32399. pTDefRegMap(@Self)^.&set := $00000004;
  32400. end;
  32401. procedure TDMAC3_U1EIR.clearCRC16EF; inline;
  32402. begin
  32403. pTDefRegMap(@Self)^.clr := $00000004;
  32404. end;
  32405. procedure TDMAC3_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  32406. begin
  32407. if thebits = 0 then
  32408. pTDefRegMap(@Self)^.clr := $00000004
  32409. else
  32410. pTDefRegMap(@Self)^.&set := $00000004;
  32411. end;
  32412. function TDMAC3_U1EIR.getCRC16EF : TBits_1; inline;
  32413. begin
  32414. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32415. end;
  32416. procedure TDMAC3_U1EIR.setDFN8EF; inline;
  32417. begin
  32418. pTDefRegMap(@Self)^.&set := $00000008;
  32419. end;
  32420. procedure TDMAC3_U1EIR.clearDFN8EF; inline;
  32421. begin
  32422. pTDefRegMap(@Self)^.clr := $00000008;
  32423. end;
  32424. procedure TDMAC3_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  32425. begin
  32426. if thebits = 0 then
  32427. pTDefRegMap(@Self)^.clr := $00000008
  32428. else
  32429. pTDefRegMap(@Self)^.&set := $00000008;
  32430. end;
  32431. function TDMAC3_U1EIR.getDFN8EF : TBits_1; inline;
  32432. begin
  32433. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32434. end;
  32435. procedure TDMAC3_U1EIR.setBTOEF; inline;
  32436. begin
  32437. pTDefRegMap(@Self)^.&set := $00000010;
  32438. end;
  32439. procedure TDMAC3_U1EIR.clearBTOEF; inline;
  32440. begin
  32441. pTDefRegMap(@Self)^.clr := $00000010;
  32442. end;
  32443. procedure TDMAC3_U1EIR.setBTOEF(thebits : TBits_1); inline;
  32444. begin
  32445. if thebits = 0 then
  32446. pTDefRegMap(@Self)^.clr := $00000010
  32447. else
  32448. pTDefRegMap(@Self)^.&set := $00000010;
  32449. end;
  32450. function TDMAC3_U1EIR.getBTOEF : TBits_1; inline;
  32451. begin
  32452. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32453. end;
  32454. procedure TDMAC3_U1EIR.setDMAEF; inline;
  32455. begin
  32456. pTDefRegMap(@Self)^.&set := $00000020;
  32457. end;
  32458. procedure TDMAC3_U1EIR.clearDMAEF; inline;
  32459. begin
  32460. pTDefRegMap(@Self)^.clr := $00000020;
  32461. end;
  32462. procedure TDMAC3_U1EIR.setDMAEF(thebits : TBits_1); inline;
  32463. begin
  32464. if thebits = 0 then
  32465. pTDefRegMap(@Self)^.clr := $00000020
  32466. else
  32467. pTDefRegMap(@Self)^.&set := $00000020;
  32468. end;
  32469. function TDMAC3_U1EIR.getDMAEF : TBits_1; inline;
  32470. begin
  32471. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32472. end;
  32473. procedure TDMAC3_U1EIR.setBMXEF; inline;
  32474. begin
  32475. pTDefRegMap(@Self)^.&set := $00000040;
  32476. end;
  32477. procedure TDMAC3_U1EIR.clearBMXEF; inline;
  32478. begin
  32479. pTDefRegMap(@Self)^.clr := $00000040;
  32480. end;
  32481. procedure TDMAC3_U1EIR.setBMXEF(thebits : TBits_1); inline;
  32482. begin
  32483. if thebits = 0 then
  32484. pTDefRegMap(@Self)^.clr := $00000040
  32485. else
  32486. pTDefRegMap(@Self)^.&set := $00000040;
  32487. end;
  32488. function TDMAC3_U1EIR.getBMXEF : TBits_1; inline;
  32489. begin
  32490. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32491. end;
  32492. procedure TDMAC3_U1EIR.setBTSEF; inline;
  32493. begin
  32494. pTDefRegMap(@Self)^.&set := $00000080;
  32495. end;
  32496. procedure TDMAC3_U1EIR.clearBTSEF; inline;
  32497. begin
  32498. pTDefRegMap(@Self)^.clr := $00000080;
  32499. end;
  32500. procedure TDMAC3_U1EIR.setBTSEF(thebits : TBits_1); inline;
  32501. begin
  32502. if thebits = 0 then
  32503. pTDefRegMap(@Self)^.clr := $00000080
  32504. else
  32505. pTDefRegMap(@Self)^.&set := $00000080;
  32506. end;
  32507. function TDMAC3_U1EIR.getBTSEF : TBits_1; inline;
  32508. begin
  32509. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32510. end;
  32511. procedure TDMAC3_U1EIR.setCRC5EF; inline;
  32512. begin
  32513. pTDefRegMap(@Self)^.&set := $00000002;
  32514. end;
  32515. procedure TDMAC3_U1EIR.clearCRC5EF; inline;
  32516. begin
  32517. pTDefRegMap(@Self)^.clr := $00000002;
  32518. end;
  32519. procedure TDMAC3_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  32520. begin
  32521. if thebits = 0 then
  32522. pTDefRegMap(@Self)^.clr := $00000002
  32523. else
  32524. pTDefRegMap(@Self)^.&set := $00000002;
  32525. end;
  32526. function TDMAC3_U1EIR.getCRC5EF : TBits_1; inline;
  32527. begin
  32528. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32529. end;
  32530. procedure TDMAC3_U1EIR.setEOFEF; inline;
  32531. begin
  32532. pTDefRegMap(@Self)^.&set := $00000002;
  32533. end;
  32534. procedure TDMAC3_U1EIR.clearEOFEF; inline;
  32535. begin
  32536. pTDefRegMap(@Self)^.clr := $00000002;
  32537. end;
  32538. procedure TDMAC3_U1EIR.setEOFEF(thebits : TBits_1); inline;
  32539. begin
  32540. if thebits = 0 then
  32541. pTDefRegMap(@Self)^.clr := $00000002
  32542. else
  32543. pTDefRegMap(@Self)^.&set := $00000002;
  32544. end;
  32545. function TDMAC3_U1EIR.getEOFEF : TBits_1; inline;
  32546. begin
  32547. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32548. end;
  32549. procedure TDMAC3_U1EIE.setPIDEE; inline;
  32550. begin
  32551. pTDefRegMap(@Self)^.&set := $00000001;
  32552. end;
  32553. procedure TDMAC3_U1EIE.clearPIDEE; inline;
  32554. begin
  32555. pTDefRegMap(@Self)^.clr := $00000001;
  32556. end;
  32557. procedure TDMAC3_U1EIE.setPIDEE(thebits : TBits_1); inline;
  32558. begin
  32559. if thebits = 0 then
  32560. pTDefRegMap(@Self)^.clr := $00000001
  32561. else
  32562. pTDefRegMap(@Self)^.&set := $00000001;
  32563. end;
  32564. function TDMAC3_U1EIE.getPIDEE : TBits_1; inline;
  32565. begin
  32566. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32567. end;
  32568. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE; inline;
  32569. begin
  32570. pTDefRegMap(@Self)^.&set := $00000002;
  32571. end;
  32572. procedure TDMAC3_U1EIE.clearCRC5EE_EOFEE; inline;
  32573. begin
  32574. pTDefRegMap(@Self)^.clr := $00000002;
  32575. end;
  32576. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  32577. begin
  32578. if thebits = 0 then
  32579. pTDefRegMap(@Self)^.clr := $00000002
  32580. else
  32581. pTDefRegMap(@Self)^.&set := $00000002;
  32582. end;
  32583. function TDMAC3_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  32584. begin
  32585. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32586. end;
  32587. procedure TDMAC3_U1EIE.setCRC16EE; inline;
  32588. begin
  32589. pTDefRegMap(@Self)^.&set := $00000004;
  32590. end;
  32591. procedure TDMAC3_U1EIE.clearCRC16EE; inline;
  32592. begin
  32593. pTDefRegMap(@Self)^.clr := $00000004;
  32594. end;
  32595. procedure TDMAC3_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  32596. begin
  32597. if thebits = 0 then
  32598. pTDefRegMap(@Self)^.clr := $00000004
  32599. else
  32600. pTDefRegMap(@Self)^.&set := $00000004;
  32601. end;
  32602. function TDMAC3_U1EIE.getCRC16EE : TBits_1; inline;
  32603. begin
  32604. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32605. end;
  32606. procedure TDMAC3_U1EIE.setDFN8EE; inline;
  32607. begin
  32608. pTDefRegMap(@Self)^.&set := $00000008;
  32609. end;
  32610. procedure TDMAC3_U1EIE.clearDFN8EE; inline;
  32611. begin
  32612. pTDefRegMap(@Self)^.clr := $00000008;
  32613. end;
  32614. procedure TDMAC3_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  32615. begin
  32616. if thebits = 0 then
  32617. pTDefRegMap(@Self)^.clr := $00000008
  32618. else
  32619. pTDefRegMap(@Self)^.&set := $00000008;
  32620. end;
  32621. function TDMAC3_U1EIE.getDFN8EE : TBits_1; inline;
  32622. begin
  32623. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32624. end;
  32625. procedure TDMAC3_U1EIE.setBTOEE; inline;
  32626. begin
  32627. pTDefRegMap(@Self)^.&set := $00000010;
  32628. end;
  32629. procedure TDMAC3_U1EIE.clearBTOEE; inline;
  32630. begin
  32631. pTDefRegMap(@Self)^.clr := $00000010;
  32632. end;
  32633. procedure TDMAC3_U1EIE.setBTOEE(thebits : TBits_1); inline;
  32634. begin
  32635. if thebits = 0 then
  32636. pTDefRegMap(@Self)^.clr := $00000010
  32637. else
  32638. pTDefRegMap(@Self)^.&set := $00000010;
  32639. end;
  32640. function TDMAC3_U1EIE.getBTOEE : TBits_1; inline;
  32641. begin
  32642. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32643. end;
  32644. procedure TDMAC3_U1EIE.setDMAEE; inline;
  32645. begin
  32646. pTDefRegMap(@Self)^.&set := $00000020;
  32647. end;
  32648. procedure TDMAC3_U1EIE.clearDMAEE; inline;
  32649. begin
  32650. pTDefRegMap(@Self)^.clr := $00000020;
  32651. end;
  32652. procedure TDMAC3_U1EIE.setDMAEE(thebits : TBits_1); inline;
  32653. begin
  32654. if thebits = 0 then
  32655. pTDefRegMap(@Self)^.clr := $00000020
  32656. else
  32657. pTDefRegMap(@Self)^.&set := $00000020;
  32658. end;
  32659. function TDMAC3_U1EIE.getDMAEE : TBits_1; inline;
  32660. begin
  32661. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32662. end;
  32663. procedure TDMAC3_U1EIE.setBMXEE; inline;
  32664. begin
  32665. pTDefRegMap(@Self)^.&set := $00000040;
  32666. end;
  32667. procedure TDMAC3_U1EIE.clearBMXEE; inline;
  32668. begin
  32669. pTDefRegMap(@Self)^.clr := $00000040;
  32670. end;
  32671. procedure TDMAC3_U1EIE.setBMXEE(thebits : TBits_1); inline;
  32672. begin
  32673. if thebits = 0 then
  32674. pTDefRegMap(@Self)^.clr := $00000040
  32675. else
  32676. pTDefRegMap(@Self)^.&set := $00000040;
  32677. end;
  32678. function TDMAC3_U1EIE.getBMXEE : TBits_1; inline;
  32679. begin
  32680. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32681. end;
  32682. procedure TDMAC3_U1EIE.setBTSEE; inline;
  32683. begin
  32684. pTDefRegMap(@Self)^.&set := $00000080;
  32685. end;
  32686. procedure TDMAC3_U1EIE.clearBTSEE; inline;
  32687. begin
  32688. pTDefRegMap(@Self)^.clr := $00000080;
  32689. end;
  32690. procedure TDMAC3_U1EIE.setBTSEE(thebits : TBits_1); inline;
  32691. begin
  32692. if thebits = 0 then
  32693. pTDefRegMap(@Self)^.clr := $00000080
  32694. else
  32695. pTDefRegMap(@Self)^.&set := $00000080;
  32696. end;
  32697. function TDMAC3_U1EIE.getBTSEE : TBits_1; inline;
  32698. begin
  32699. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32700. end;
  32701. procedure TDMAC3_U1EIE.setCRC5EE; inline;
  32702. begin
  32703. pTDefRegMap(@Self)^.&set := $00000002;
  32704. end;
  32705. procedure TDMAC3_U1EIE.clearCRC5EE; inline;
  32706. begin
  32707. pTDefRegMap(@Self)^.clr := $00000002;
  32708. end;
  32709. procedure TDMAC3_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  32710. begin
  32711. if thebits = 0 then
  32712. pTDefRegMap(@Self)^.clr := $00000002
  32713. else
  32714. pTDefRegMap(@Self)^.&set := $00000002;
  32715. end;
  32716. function TDMAC3_U1EIE.getCRC5EE : TBits_1; inline;
  32717. begin
  32718. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32719. end;
  32720. procedure TDMAC3_U1EIE.setEOFEE; inline;
  32721. begin
  32722. pTDefRegMap(@Self)^.&set := $00000002;
  32723. end;
  32724. procedure TDMAC3_U1EIE.clearEOFEE; inline;
  32725. begin
  32726. pTDefRegMap(@Self)^.clr := $00000002;
  32727. end;
  32728. procedure TDMAC3_U1EIE.setEOFEE(thebits : TBits_1); inline;
  32729. begin
  32730. if thebits = 0 then
  32731. pTDefRegMap(@Self)^.clr := $00000002
  32732. else
  32733. pTDefRegMap(@Self)^.&set := $00000002;
  32734. end;
  32735. function TDMAC3_U1EIE.getEOFEE : TBits_1; inline;
  32736. begin
  32737. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32738. end;
  32739. procedure TDMAC3_U1STAT.setPPBI; inline;
  32740. begin
  32741. pTDefRegMap(@Self)^.&set := $00000004;
  32742. end;
  32743. procedure TDMAC3_U1STAT.clearPPBI; inline;
  32744. begin
  32745. pTDefRegMap(@Self)^.clr := $00000004;
  32746. end;
  32747. procedure TDMAC3_U1STAT.setPPBI(thebits : TBits_1); inline;
  32748. begin
  32749. if thebits = 0 then
  32750. pTDefRegMap(@Self)^.clr := $00000004
  32751. else
  32752. pTDefRegMap(@Self)^.&set := $00000004;
  32753. end;
  32754. function TDMAC3_U1STAT.getPPBI : TBits_1; inline;
  32755. begin
  32756. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32757. end;
  32758. procedure TDMAC3_U1STAT.setDIR; inline;
  32759. begin
  32760. pTDefRegMap(@Self)^.&set := $00000008;
  32761. end;
  32762. procedure TDMAC3_U1STAT.clearDIR; inline;
  32763. begin
  32764. pTDefRegMap(@Self)^.clr := $00000008;
  32765. end;
  32766. procedure TDMAC3_U1STAT.setDIR(thebits : TBits_1); inline;
  32767. begin
  32768. if thebits = 0 then
  32769. pTDefRegMap(@Self)^.clr := $00000008
  32770. else
  32771. pTDefRegMap(@Self)^.&set := $00000008;
  32772. end;
  32773. function TDMAC3_U1STAT.getDIR : TBits_1; inline;
  32774. begin
  32775. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32776. end;
  32777. procedure TDMAC3_U1STAT.setENDPT(thebits : TBits_4); inline;
  32778. begin
  32779. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  32780. end;
  32781. function TDMAC3_U1STAT.getENDPT : TBits_4; inline;
  32782. begin
  32783. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  32784. end;
  32785. procedure TDMAC3_U1STAT.setENDPT0; inline;
  32786. begin
  32787. pTDefRegMap(@Self)^.&set := $00000010;
  32788. end;
  32789. procedure TDMAC3_U1STAT.clearENDPT0; inline;
  32790. begin
  32791. pTDefRegMap(@Self)^.clr := $00000010;
  32792. end;
  32793. procedure TDMAC3_U1STAT.setENDPT0(thebits : TBits_1); inline;
  32794. begin
  32795. if thebits = 0 then
  32796. pTDefRegMap(@Self)^.clr := $00000010
  32797. else
  32798. pTDefRegMap(@Self)^.&set := $00000010;
  32799. end;
  32800. function TDMAC3_U1STAT.getENDPT0 : TBits_1; inline;
  32801. begin
  32802. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32803. end;
  32804. procedure TDMAC3_U1STAT.setENDPT1; inline;
  32805. begin
  32806. pTDefRegMap(@Self)^.&set := $00000020;
  32807. end;
  32808. procedure TDMAC3_U1STAT.clearENDPT1; inline;
  32809. begin
  32810. pTDefRegMap(@Self)^.clr := $00000020;
  32811. end;
  32812. procedure TDMAC3_U1STAT.setENDPT1(thebits : TBits_1); inline;
  32813. begin
  32814. if thebits = 0 then
  32815. pTDefRegMap(@Self)^.clr := $00000020
  32816. else
  32817. pTDefRegMap(@Self)^.&set := $00000020;
  32818. end;
  32819. function TDMAC3_U1STAT.getENDPT1 : TBits_1; inline;
  32820. begin
  32821. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32822. end;
  32823. procedure TDMAC3_U1STAT.setENDPT2; inline;
  32824. begin
  32825. pTDefRegMap(@Self)^.&set := $00000040;
  32826. end;
  32827. procedure TDMAC3_U1STAT.clearENDPT2; inline;
  32828. begin
  32829. pTDefRegMap(@Self)^.clr := $00000040;
  32830. end;
  32831. procedure TDMAC3_U1STAT.setENDPT2(thebits : TBits_1); inline;
  32832. begin
  32833. if thebits = 0 then
  32834. pTDefRegMap(@Self)^.clr := $00000040
  32835. else
  32836. pTDefRegMap(@Self)^.&set := $00000040;
  32837. end;
  32838. function TDMAC3_U1STAT.getENDPT2 : TBits_1; inline;
  32839. begin
  32840. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32841. end;
  32842. procedure TDMAC3_U1STAT.setENDPT3; inline;
  32843. begin
  32844. pTDefRegMap(@Self)^.&set := $00000080;
  32845. end;
  32846. procedure TDMAC3_U1STAT.clearENDPT3; inline;
  32847. begin
  32848. pTDefRegMap(@Self)^.clr := $00000080;
  32849. end;
  32850. procedure TDMAC3_U1STAT.setENDPT3(thebits : TBits_1); inline;
  32851. begin
  32852. if thebits = 0 then
  32853. pTDefRegMap(@Self)^.clr := $00000080
  32854. else
  32855. pTDefRegMap(@Self)^.&set := $00000080;
  32856. end;
  32857. function TDMAC3_U1STAT.getENDPT3 : TBits_1; inline;
  32858. begin
  32859. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32860. end;
  32861. procedure TDMAC3_U1CON.setUSBEN_SOFEN; inline;
  32862. begin
  32863. pTDefRegMap(@Self)^.&set := $00000001;
  32864. end;
  32865. procedure TDMAC3_U1CON.clearUSBEN_SOFEN; inline;
  32866. begin
  32867. pTDefRegMap(@Self)^.clr := $00000001;
  32868. end;
  32869. procedure TDMAC3_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  32870. begin
  32871. if thebits = 0 then
  32872. pTDefRegMap(@Self)^.clr := $00000001
  32873. else
  32874. pTDefRegMap(@Self)^.&set := $00000001;
  32875. end;
  32876. function TDMAC3_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  32877. begin
  32878. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32879. end;
  32880. procedure TDMAC3_U1CON.setPPBRST; inline;
  32881. begin
  32882. pTDefRegMap(@Self)^.&set := $00000002;
  32883. end;
  32884. procedure TDMAC3_U1CON.clearPPBRST; inline;
  32885. begin
  32886. pTDefRegMap(@Self)^.clr := $00000002;
  32887. end;
  32888. procedure TDMAC3_U1CON.setPPBRST(thebits : TBits_1); inline;
  32889. begin
  32890. if thebits = 0 then
  32891. pTDefRegMap(@Self)^.clr := $00000002
  32892. else
  32893. pTDefRegMap(@Self)^.&set := $00000002;
  32894. end;
  32895. function TDMAC3_U1CON.getPPBRST : TBits_1; inline;
  32896. begin
  32897. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32898. end;
  32899. procedure TDMAC3_U1CON.setRESUME; inline;
  32900. begin
  32901. pTDefRegMap(@Self)^.&set := $00000004;
  32902. end;
  32903. procedure TDMAC3_U1CON.clearRESUME; inline;
  32904. begin
  32905. pTDefRegMap(@Self)^.clr := $00000004;
  32906. end;
  32907. procedure TDMAC3_U1CON.setRESUME(thebits : TBits_1); inline;
  32908. begin
  32909. if thebits = 0 then
  32910. pTDefRegMap(@Self)^.clr := $00000004
  32911. else
  32912. pTDefRegMap(@Self)^.&set := $00000004;
  32913. end;
  32914. function TDMAC3_U1CON.getRESUME : TBits_1; inline;
  32915. begin
  32916. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32917. end;
  32918. procedure TDMAC3_U1CON.setHOSTEN; inline;
  32919. begin
  32920. pTDefRegMap(@Self)^.&set := $00000008;
  32921. end;
  32922. procedure TDMAC3_U1CON.clearHOSTEN; inline;
  32923. begin
  32924. pTDefRegMap(@Self)^.clr := $00000008;
  32925. end;
  32926. procedure TDMAC3_U1CON.setHOSTEN(thebits : TBits_1); inline;
  32927. begin
  32928. if thebits = 0 then
  32929. pTDefRegMap(@Self)^.clr := $00000008
  32930. else
  32931. pTDefRegMap(@Self)^.&set := $00000008;
  32932. end;
  32933. function TDMAC3_U1CON.getHOSTEN : TBits_1; inline;
  32934. begin
  32935. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32936. end;
  32937. procedure TDMAC3_U1CON.setUSBRST; inline;
  32938. begin
  32939. pTDefRegMap(@Self)^.&set := $00000010;
  32940. end;
  32941. procedure TDMAC3_U1CON.clearUSBRST; inline;
  32942. begin
  32943. pTDefRegMap(@Self)^.clr := $00000010;
  32944. end;
  32945. procedure TDMAC3_U1CON.setUSBRST(thebits : TBits_1); inline;
  32946. begin
  32947. if thebits = 0 then
  32948. pTDefRegMap(@Self)^.clr := $00000010
  32949. else
  32950. pTDefRegMap(@Self)^.&set := $00000010;
  32951. end;
  32952. function TDMAC3_U1CON.getUSBRST : TBits_1; inline;
  32953. begin
  32954. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32955. end;
  32956. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY; inline;
  32957. begin
  32958. pTDefRegMap(@Self)^.&set := $00000020;
  32959. end;
  32960. procedure TDMAC3_U1CON.clearPKTDIS_TOKBUSY; inline;
  32961. begin
  32962. pTDefRegMap(@Self)^.clr := $00000020;
  32963. end;
  32964. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  32965. begin
  32966. if thebits = 0 then
  32967. pTDefRegMap(@Self)^.clr := $00000020
  32968. else
  32969. pTDefRegMap(@Self)^.&set := $00000020;
  32970. end;
  32971. function TDMAC3_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  32972. begin
  32973. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32974. end;
  32975. procedure TDMAC3_U1CON.setSE0; inline;
  32976. begin
  32977. pTDefRegMap(@Self)^.&set := $00000040;
  32978. end;
  32979. procedure TDMAC3_U1CON.clearSE0; inline;
  32980. begin
  32981. pTDefRegMap(@Self)^.clr := $00000040;
  32982. end;
  32983. procedure TDMAC3_U1CON.setSE0(thebits : TBits_1); inline;
  32984. begin
  32985. if thebits = 0 then
  32986. pTDefRegMap(@Self)^.clr := $00000040
  32987. else
  32988. pTDefRegMap(@Self)^.&set := $00000040;
  32989. end;
  32990. function TDMAC3_U1CON.getSE0 : TBits_1; inline;
  32991. begin
  32992. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32993. end;
  32994. procedure TDMAC3_U1CON.setJSTATE; inline;
  32995. begin
  32996. pTDefRegMap(@Self)^.&set := $00000080;
  32997. end;
  32998. procedure TDMAC3_U1CON.clearJSTATE; inline;
  32999. begin
  33000. pTDefRegMap(@Self)^.clr := $00000080;
  33001. end;
  33002. procedure TDMAC3_U1CON.setJSTATE(thebits : TBits_1); inline;
  33003. begin
  33004. if thebits = 0 then
  33005. pTDefRegMap(@Self)^.clr := $00000080
  33006. else
  33007. pTDefRegMap(@Self)^.&set := $00000080;
  33008. end;
  33009. function TDMAC3_U1CON.getJSTATE : TBits_1; inline;
  33010. begin
  33011. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33012. end;
  33013. procedure TDMAC3_U1CON.setUSBEN; inline;
  33014. begin
  33015. pTDefRegMap(@Self)^.&set := $00000001;
  33016. end;
  33017. procedure TDMAC3_U1CON.clearUSBEN; inline;
  33018. begin
  33019. pTDefRegMap(@Self)^.clr := $00000001;
  33020. end;
  33021. procedure TDMAC3_U1CON.setUSBEN(thebits : TBits_1); inline;
  33022. begin
  33023. if thebits = 0 then
  33024. pTDefRegMap(@Self)^.clr := $00000001
  33025. else
  33026. pTDefRegMap(@Self)^.&set := $00000001;
  33027. end;
  33028. function TDMAC3_U1CON.getUSBEN : TBits_1; inline;
  33029. begin
  33030. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33031. end;
  33032. procedure TDMAC3_U1CON.setSOFEN; inline;
  33033. begin
  33034. pTDefRegMap(@Self)^.&set := $00000001;
  33035. end;
  33036. procedure TDMAC3_U1CON.clearSOFEN; inline;
  33037. begin
  33038. pTDefRegMap(@Self)^.clr := $00000001;
  33039. end;
  33040. procedure TDMAC3_U1CON.setSOFEN(thebits : TBits_1); inline;
  33041. begin
  33042. if thebits = 0 then
  33043. pTDefRegMap(@Self)^.clr := $00000001
  33044. else
  33045. pTDefRegMap(@Self)^.&set := $00000001;
  33046. end;
  33047. function TDMAC3_U1CON.getSOFEN : TBits_1; inline;
  33048. begin
  33049. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33050. end;
  33051. procedure TDMAC3_U1CON.setPKTDIS; inline;
  33052. begin
  33053. pTDefRegMap(@Self)^.&set := $00000020;
  33054. end;
  33055. procedure TDMAC3_U1CON.clearPKTDIS; inline;
  33056. begin
  33057. pTDefRegMap(@Self)^.clr := $00000020;
  33058. end;
  33059. procedure TDMAC3_U1CON.setPKTDIS(thebits : TBits_1); inline;
  33060. begin
  33061. if thebits = 0 then
  33062. pTDefRegMap(@Self)^.clr := $00000020
  33063. else
  33064. pTDefRegMap(@Self)^.&set := $00000020;
  33065. end;
  33066. function TDMAC3_U1CON.getPKTDIS : TBits_1; inline;
  33067. begin
  33068. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33069. end;
  33070. procedure TDMAC3_U1CON.setTOKBUSY; inline;
  33071. begin
  33072. pTDefRegMap(@Self)^.&set := $00000020;
  33073. end;
  33074. procedure TDMAC3_U1CON.clearTOKBUSY; inline;
  33075. begin
  33076. pTDefRegMap(@Self)^.clr := $00000020;
  33077. end;
  33078. procedure TDMAC3_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  33079. begin
  33080. if thebits = 0 then
  33081. pTDefRegMap(@Self)^.clr := $00000020
  33082. else
  33083. pTDefRegMap(@Self)^.&set := $00000020;
  33084. end;
  33085. function TDMAC3_U1CON.getTOKBUSY : TBits_1; inline;
  33086. begin
  33087. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33088. end;
  33089. procedure TDMAC3_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  33090. begin
  33091. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  33092. end;
  33093. function TDMAC3_U1ADDR.getDEVADDR : TBits_7; inline;
  33094. begin
  33095. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  33096. end;
  33097. procedure TDMAC3_U1ADDR.setLSPDEN; inline;
  33098. begin
  33099. pTDefRegMap(@Self)^.&set := $00000080;
  33100. end;
  33101. procedure TDMAC3_U1ADDR.clearLSPDEN; inline;
  33102. begin
  33103. pTDefRegMap(@Self)^.clr := $00000080;
  33104. end;
  33105. procedure TDMAC3_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  33106. begin
  33107. if thebits = 0 then
  33108. pTDefRegMap(@Self)^.clr := $00000080
  33109. else
  33110. pTDefRegMap(@Self)^.&set := $00000080;
  33111. end;
  33112. function TDMAC3_U1ADDR.getLSPDEN : TBits_1; inline;
  33113. begin
  33114. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33115. end;
  33116. procedure TDMAC3_U1ADDR.setDEVADDR0; inline;
  33117. begin
  33118. pTDefRegMap(@Self)^.&set := $00000001;
  33119. end;
  33120. procedure TDMAC3_U1ADDR.clearDEVADDR0; inline;
  33121. begin
  33122. pTDefRegMap(@Self)^.clr := $00000001;
  33123. end;
  33124. procedure TDMAC3_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  33125. begin
  33126. if thebits = 0 then
  33127. pTDefRegMap(@Self)^.clr := $00000001
  33128. else
  33129. pTDefRegMap(@Self)^.&set := $00000001;
  33130. end;
  33131. function TDMAC3_U1ADDR.getDEVADDR0 : TBits_1; inline;
  33132. begin
  33133. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33134. end;
  33135. procedure TDMAC3_U1ADDR.setDEVADDR1; inline;
  33136. begin
  33137. pTDefRegMap(@Self)^.&set := $00000002;
  33138. end;
  33139. procedure TDMAC3_U1ADDR.clearDEVADDR1; inline;
  33140. begin
  33141. pTDefRegMap(@Self)^.clr := $00000002;
  33142. end;
  33143. procedure TDMAC3_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  33144. begin
  33145. if thebits = 0 then
  33146. pTDefRegMap(@Self)^.clr := $00000002
  33147. else
  33148. pTDefRegMap(@Self)^.&set := $00000002;
  33149. end;
  33150. function TDMAC3_U1ADDR.getDEVADDR1 : TBits_1; inline;
  33151. begin
  33152. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33153. end;
  33154. procedure TDMAC3_U1ADDR.setDEVADDR2; inline;
  33155. begin
  33156. pTDefRegMap(@Self)^.&set := $00000004;
  33157. end;
  33158. procedure TDMAC3_U1ADDR.clearDEVADDR2; inline;
  33159. begin
  33160. pTDefRegMap(@Self)^.clr := $00000004;
  33161. end;
  33162. procedure TDMAC3_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  33163. begin
  33164. if thebits = 0 then
  33165. pTDefRegMap(@Self)^.clr := $00000004
  33166. else
  33167. pTDefRegMap(@Self)^.&set := $00000004;
  33168. end;
  33169. function TDMAC3_U1ADDR.getDEVADDR2 : TBits_1; inline;
  33170. begin
  33171. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33172. end;
  33173. procedure TDMAC3_U1ADDR.setDEVADDR3; inline;
  33174. begin
  33175. pTDefRegMap(@Self)^.&set := $00000008;
  33176. end;
  33177. procedure TDMAC3_U1ADDR.clearDEVADDR3; inline;
  33178. begin
  33179. pTDefRegMap(@Self)^.clr := $00000008;
  33180. end;
  33181. procedure TDMAC3_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  33182. begin
  33183. if thebits = 0 then
  33184. pTDefRegMap(@Self)^.clr := $00000008
  33185. else
  33186. pTDefRegMap(@Self)^.&set := $00000008;
  33187. end;
  33188. function TDMAC3_U1ADDR.getDEVADDR3 : TBits_1; inline;
  33189. begin
  33190. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33191. end;
  33192. procedure TDMAC3_U1ADDR.setDEVADDR4; inline;
  33193. begin
  33194. pTDefRegMap(@Self)^.&set := $00000010;
  33195. end;
  33196. procedure TDMAC3_U1ADDR.clearDEVADDR4; inline;
  33197. begin
  33198. pTDefRegMap(@Self)^.clr := $00000010;
  33199. end;
  33200. procedure TDMAC3_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  33201. begin
  33202. if thebits = 0 then
  33203. pTDefRegMap(@Self)^.clr := $00000010
  33204. else
  33205. pTDefRegMap(@Self)^.&set := $00000010;
  33206. end;
  33207. function TDMAC3_U1ADDR.getDEVADDR4 : TBits_1; inline;
  33208. begin
  33209. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33210. end;
  33211. procedure TDMAC3_U1ADDR.setDEVADDR5; inline;
  33212. begin
  33213. pTDefRegMap(@Self)^.&set := $00000020;
  33214. end;
  33215. procedure TDMAC3_U1ADDR.clearDEVADDR5; inline;
  33216. begin
  33217. pTDefRegMap(@Self)^.clr := $00000020;
  33218. end;
  33219. procedure TDMAC3_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  33220. begin
  33221. if thebits = 0 then
  33222. pTDefRegMap(@Self)^.clr := $00000020
  33223. else
  33224. pTDefRegMap(@Self)^.&set := $00000020;
  33225. end;
  33226. function TDMAC3_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33227. begin
  33228. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33229. end;
  33230. procedure TDMAC3_U1ADDR.setDEVADDR6; inline;
  33231. begin
  33232. pTDefRegMap(@Self)^.&set := $00000040;
  33233. end;
  33234. procedure TDMAC3_U1ADDR.clearDEVADDR6; inline;
  33235. begin
  33236. pTDefRegMap(@Self)^.clr := $00000040;
  33237. end;
  33238. procedure TDMAC3_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33239. begin
  33240. if thebits = 0 then
  33241. pTDefRegMap(@Self)^.clr := $00000040
  33242. else
  33243. pTDefRegMap(@Self)^.&set := $00000040;
  33244. end;
  33245. function TDMAC3_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33246. begin
  33247. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33248. end;
  33249. procedure TDMAC3_U1FRML.setFRML(thebits : TBits_8); inline;
  33250. begin
  33251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33252. end;
  33253. function TDMAC3_U1FRML.getFRML : TBits_8; inline;
  33254. begin
  33255. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33256. end;
  33257. procedure TDMAC3_U1FRML.setFRM0; inline;
  33258. begin
  33259. pTDefRegMap(@Self)^.&set := $00000001;
  33260. end;
  33261. procedure TDMAC3_U1FRML.clearFRM0; inline;
  33262. begin
  33263. pTDefRegMap(@Self)^.clr := $00000001;
  33264. end;
  33265. procedure TDMAC3_U1FRML.setFRM0(thebits : TBits_1); inline;
  33266. begin
  33267. if thebits = 0 then
  33268. pTDefRegMap(@Self)^.clr := $00000001
  33269. else
  33270. pTDefRegMap(@Self)^.&set := $00000001;
  33271. end;
  33272. function TDMAC3_U1FRML.getFRM0 : TBits_1; inline;
  33273. begin
  33274. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33275. end;
  33276. procedure TDMAC3_U1FRML.setFRM1; inline;
  33277. begin
  33278. pTDefRegMap(@Self)^.&set := $00000002;
  33279. end;
  33280. procedure TDMAC3_U1FRML.clearFRM1; inline;
  33281. begin
  33282. pTDefRegMap(@Self)^.clr := $00000002;
  33283. end;
  33284. procedure TDMAC3_U1FRML.setFRM1(thebits : TBits_1); inline;
  33285. begin
  33286. if thebits = 0 then
  33287. pTDefRegMap(@Self)^.clr := $00000002
  33288. else
  33289. pTDefRegMap(@Self)^.&set := $00000002;
  33290. end;
  33291. function TDMAC3_U1FRML.getFRM1 : TBits_1; inline;
  33292. begin
  33293. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33294. end;
  33295. procedure TDMAC3_U1FRML.setFRM2; inline;
  33296. begin
  33297. pTDefRegMap(@Self)^.&set := $00000004;
  33298. end;
  33299. procedure TDMAC3_U1FRML.clearFRM2; inline;
  33300. begin
  33301. pTDefRegMap(@Self)^.clr := $00000004;
  33302. end;
  33303. procedure TDMAC3_U1FRML.setFRM2(thebits : TBits_1); inline;
  33304. begin
  33305. if thebits = 0 then
  33306. pTDefRegMap(@Self)^.clr := $00000004
  33307. else
  33308. pTDefRegMap(@Self)^.&set := $00000004;
  33309. end;
  33310. function TDMAC3_U1FRML.getFRM2 : TBits_1; inline;
  33311. begin
  33312. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33313. end;
  33314. procedure TDMAC3_U1FRML.setFRM3; inline;
  33315. begin
  33316. pTDefRegMap(@Self)^.&set := $00000008;
  33317. end;
  33318. procedure TDMAC3_U1FRML.clearFRM3; inline;
  33319. begin
  33320. pTDefRegMap(@Self)^.clr := $00000008;
  33321. end;
  33322. procedure TDMAC3_U1FRML.setFRM3(thebits : TBits_1); inline;
  33323. begin
  33324. if thebits = 0 then
  33325. pTDefRegMap(@Self)^.clr := $00000008
  33326. else
  33327. pTDefRegMap(@Self)^.&set := $00000008;
  33328. end;
  33329. function TDMAC3_U1FRML.getFRM3 : TBits_1; inline;
  33330. begin
  33331. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33332. end;
  33333. procedure TDMAC3_U1FRML.setFRM4; inline;
  33334. begin
  33335. pTDefRegMap(@Self)^.&set := $00000010;
  33336. end;
  33337. procedure TDMAC3_U1FRML.clearFRM4; inline;
  33338. begin
  33339. pTDefRegMap(@Self)^.clr := $00000010;
  33340. end;
  33341. procedure TDMAC3_U1FRML.setFRM4(thebits : TBits_1); inline;
  33342. begin
  33343. if thebits = 0 then
  33344. pTDefRegMap(@Self)^.clr := $00000010
  33345. else
  33346. pTDefRegMap(@Self)^.&set := $00000010;
  33347. end;
  33348. function TDMAC3_U1FRML.getFRM4 : TBits_1; inline;
  33349. begin
  33350. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33351. end;
  33352. procedure TDMAC3_U1FRML.setFRM5; inline;
  33353. begin
  33354. pTDefRegMap(@Self)^.&set := $00000020;
  33355. end;
  33356. procedure TDMAC3_U1FRML.clearFRM5; inline;
  33357. begin
  33358. pTDefRegMap(@Self)^.clr := $00000020;
  33359. end;
  33360. procedure TDMAC3_U1FRML.setFRM5(thebits : TBits_1); inline;
  33361. begin
  33362. if thebits = 0 then
  33363. pTDefRegMap(@Self)^.clr := $00000020
  33364. else
  33365. pTDefRegMap(@Self)^.&set := $00000020;
  33366. end;
  33367. function TDMAC3_U1FRML.getFRM5 : TBits_1; inline;
  33368. begin
  33369. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33370. end;
  33371. procedure TDMAC3_U1FRML.setFRM6; inline;
  33372. begin
  33373. pTDefRegMap(@Self)^.&set := $00000040;
  33374. end;
  33375. procedure TDMAC3_U1FRML.clearFRM6; inline;
  33376. begin
  33377. pTDefRegMap(@Self)^.clr := $00000040;
  33378. end;
  33379. procedure TDMAC3_U1FRML.setFRM6(thebits : TBits_1); inline;
  33380. begin
  33381. if thebits = 0 then
  33382. pTDefRegMap(@Self)^.clr := $00000040
  33383. else
  33384. pTDefRegMap(@Self)^.&set := $00000040;
  33385. end;
  33386. function TDMAC3_U1FRML.getFRM6 : TBits_1; inline;
  33387. begin
  33388. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33389. end;
  33390. procedure TDMAC3_U1FRML.setFRM7; inline;
  33391. begin
  33392. pTDefRegMap(@Self)^.&set := $00000080;
  33393. end;
  33394. procedure TDMAC3_U1FRML.clearFRM7; inline;
  33395. begin
  33396. pTDefRegMap(@Self)^.clr := $00000080;
  33397. end;
  33398. procedure TDMAC3_U1FRML.setFRM7(thebits : TBits_1); inline;
  33399. begin
  33400. if thebits = 0 then
  33401. pTDefRegMap(@Self)^.clr := $00000080
  33402. else
  33403. pTDefRegMap(@Self)^.&set := $00000080;
  33404. end;
  33405. function TDMAC3_U1FRML.getFRM7 : TBits_1; inline;
  33406. begin
  33407. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33408. end;
  33409. procedure TDMAC3_U1FRMH.setFRMH(thebits : TBits_3); inline;
  33410. begin
  33411. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  33412. end;
  33413. function TDMAC3_U1FRMH.getFRMH : TBits_3; inline;
  33414. begin
  33415. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  33416. end;
  33417. procedure TDMAC3_U1FRMH.setFRM8; inline;
  33418. begin
  33419. pTDefRegMap(@Self)^.&set := $00000001;
  33420. end;
  33421. procedure TDMAC3_U1FRMH.clearFRM8; inline;
  33422. begin
  33423. pTDefRegMap(@Self)^.clr := $00000001;
  33424. end;
  33425. procedure TDMAC3_U1FRMH.setFRM8(thebits : TBits_1); inline;
  33426. begin
  33427. if thebits = 0 then
  33428. pTDefRegMap(@Self)^.clr := $00000001
  33429. else
  33430. pTDefRegMap(@Self)^.&set := $00000001;
  33431. end;
  33432. function TDMAC3_U1FRMH.getFRM8 : TBits_1; inline;
  33433. begin
  33434. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33435. end;
  33436. procedure TDMAC3_U1FRMH.setFRM9; inline;
  33437. begin
  33438. pTDefRegMap(@Self)^.&set := $00000002;
  33439. end;
  33440. procedure TDMAC3_U1FRMH.clearFRM9; inline;
  33441. begin
  33442. pTDefRegMap(@Self)^.clr := $00000002;
  33443. end;
  33444. procedure TDMAC3_U1FRMH.setFRM9(thebits : TBits_1); inline;
  33445. begin
  33446. if thebits = 0 then
  33447. pTDefRegMap(@Self)^.clr := $00000002
  33448. else
  33449. pTDefRegMap(@Self)^.&set := $00000002;
  33450. end;
  33451. function TDMAC3_U1FRMH.getFRM9 : TBits_1; inline;
  33452. begin
  33453. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33454. end;
  33455. procedure TDMAC3_U1FRMH.setFRM10; inline;
  33456. begin
  33457. pTDefRegMap(@Self)^.&set := $00000004;
  33458. end;
  33459. procedure TDMAC3_U1FRMH.clearFRM10; inline;
  33460. begin
  33461. pTDefRegMap(@Self)^.clr := $00000004;
  33462. end;
  33463. procedure TDMAC3_U1FRMH.setFRM10(thebits : TBits_1); inline;
  33464. begin
  33465. if thebits = 0 then
  33466. pTDefRegMap(@Self)^.clr := $00000004
  33467. else
  33468. pTDefRegMap(@Self)^.&set := $00000004;
  33469. end;
  33470. function TDMAC3_U1FRMH.getFRM10 : TBits_1; inline;
  33471. begin
  33472. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33473. end;
  33474. procedure TDMAC3_U1TOK.setEP(thebits : TBits_4); inline;
  33475. begin
  33476. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33477. end;
  33478. function TDMAC3_U1TOK.getEP : TBits_4; inline;
  33479. begin
  33480. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33481. end;
  33482. procedure TDMAC3_U1TOK.setPID(thebits : TBits_4); inline;
  33483. begin
  33484. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33485. end;
  33486. function TDMAC3_U1TOK.getPID : TBits_4; inline;
  33487. begin
  33488. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33489. end;
  33490. procedure TDMAC3_U1TOK.setEP0; inline;
  33491. begin
  33492. pTDefRegMap(@Self)^.&set := $00000001;
  33493. end;
  33494. procedure TDMAC3_U1TOK.clearEP0; inline;
  33495. begin
  33496. pTDefRegMap(@Self)^.clr := $00000001;
  33497. end;
  33498. procedure TDMAC3_U1TOK.setEP0(thebits : TBits_1); inline;
  33499. begin
  33500. if thebits = 0 then
  33501. pTDefRegMap(@Self)^.clr := $00000001
  33502. else
  33503. pTDefRegMap(@Self)^.&set := $00000001;
  33504. end;
  33505. function TDMAC3_U1TOK.getEP0 : TBits_1; inline;
  33506. begin
  33507. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33508. end;
  33509. procedure TDMAC3_U1TOK.setEP1; inline;
  33510. begin
  33511. pTDefRegMap(@Self)^.&set := $00000002;
  33512. end;
  33513. procedure TDMAC3_U1TOK.clearEP1; inline;
  33514. begin
  33515. pTDefRegMap(@Self)^.clr := $00000002;
  33516. end;
  33517. procedure TDMAC3_U1TOK.setEP1(thebits : TBits_1); inline;
  33518. begin
  33519. if thebits = 0 then
  33520. pTDefRegMap(@Self)^.clr := $00000002
  33521. else
  33522. pTDefRegMap(@Self)^.&set := $00000002;
  33523. end;
  33524. function TDMAC3_U1TOK.getEP1 : TBits_1; inline;
  33525. begin
  33526. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33527. end;
  33528. procedure TDMAC3_U1TOK.setEP2; inline;
  33529. begin
  33530. pTDefRegMap(@Self)^.&set := $00000004;
  33531. end;
  33532. procedure TDMAC3_U1TOK.clearEP2; inline;
  33533. begin
  33534. pTDefRegMap(@Self)^.clr := $00000004;
  33535. end;
  33536. procedure TDMAC3_U1TOK.setEP2(thebits : TBits_1); inline;
  33537. begin
  33538. if thebits = 0 then
  33539. pTDefRegMap(@Self)^.clr := $00000004
  33540. else
  33541. pTDefRegMap(@Self)^.&set := $00000004;
  33542. end;
  33543. function TDMAC3_U1TOK.getEP2 : TBits_1; inline;
  33544. begin
  33545. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33546. end;
  33547. procedure TDMAC3_U1TOK.setEP3; inline;
  33548. begin
  33549. pTDefRegMap(@Self)^.&set := $00000008;
  33550. end;
  33551. procedure TDMAC3_U1TOK.clearEP3; inline;
  33552. begin
  33553. pTDefRegMap(@Self)^.clr := $00000008;
  33554. end;
  33555. procedure TDMAC3_U1TOK.setEP3(thebits : TBits_1); inline;
  33556. begin
  33557. if thebits = 0 then
  33558. pTDefRegMap(@Self)^.clr := $00000008
  33559. else
  33560. pTDefRegMap(@Self)^.&set := $00000008;
  33561. end;
  33562. function TDMAC3_U1TOK.getEP3 : TBits_1; inline;
  33563. begin
  33564. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33565. end;
  33566. procedure TDMAC3_U1TOK.setPID0; inline;
  33567. begin
  33568. pTDefRegMap(@Self)^.&set := $00000010;
  33569. end;
  33570. procedure TDMAC3_U1TOK.clearPID0; inline;
  33571. begin
  33572. pTDefRegMap(@Self)^.clr := $00000010;
  33573. end;
  33574. procedure TDMAC3_U1TOK.setPID0(thebits : TBits_1); inline;
  33575. begin
  33576. if thebits = 0 then
  33577. pTDefRegMap(@Self)^.clr := $00000010
  33578. else
  33579. pTDefRegMap(@Self)^.&set := $00000010;
  33580. end;
  33581. function TDMAC3_U1TOK.getPID0 : TBits_1; inline;
  33582. begin
  33583. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33584. end;
  33585. procedure TDMAC3_U1TOK.setPID1; inline;
  33586. begin
  33587. pTDefRegMap(@Self)^.&set := $00000020;
  33588. end;
  33589. procedure TDMAC3_U1TOK.clearPID1; inline;
  33590. begin
  33591. pTDefRegMap(@Self)^.clr := $00000020;
  33592. end;
  33593. procedure TDMAC3_U1TOK.setPID1(thebits : TBits_1); inline;
  33594. begin
  33595. if thebits = 0 then
  33596. pTDefRegMap(@Self)^.clr := $00000020
  33597. else
  33598. pTDefRegMap(@Self)^.&set := $00000020;
  33599. end;
  33600. function TDMAC3_U1TOK.getPID1 : TBits_1; inline;
  33601. begin
  33602. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33603. end;
  33604. procedure TDMAC3_U1TOK.setPID2; inline;
  33605. begin
  33606. pTDefRegMap(@Self)^.&set := $00000040;
  33607. end;
  33608. procedure TDMAC3_U1TOK.clearPID2; inline;
  33609. begin
  33610. pTDefRegMap(@Self)^.clr := $00000040;
  33611. end;
  33612. procedure TDMAC3_U1TOK.setPID2(thebits : TBits_1); inline;
  33613. begin
  33614. if thebits = 0 then
  33615. pTDefRegMap(@Self)^.clr := $00000040
  33616. else
  33617. pTDefRegMap(@Self)^.&set := $00000040;
  33618. end;
  33619. function TDMAC3_U1TOK.getPID2 : TBits_1; inline;
  33620. begin
  33621. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33622. end;
  33623. procedure TDMAC3_U1TOK.setPID3; inline;
  33624. begin
  33625. pTDefRegMap(@Self)^.&set := $00000080;
  33626. end;
  33627. procedure TDMAC3_U1TOK.clearPID3; inline;
  33628. begin
  33629. pTDefRegMap(@Self)^.clr := $00000080;
  33630. end;
  33631. procedure TDMAC3_U1TOK.setPID3(thebits : TBits_1); inline;
  33632. begin
  33633. if thebits = 0 then
  33634. pTDefRegMap(@Self)^.clr := $00000080
  33635. else
  33636. pTDefRegMap(@Self)^.&set := $00000080;
  33637. end;
  33638. function TDMAC3_U1TOK.getPID3 : TBits_1; inline;
  33639. begin
  33640. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33641. end;
  33642. procedure TPORTA_ANSELA.setANSA0; inline;
  33643. begin
  33644. pTDefRegMap(@Self)^.&set := $00000001;
  33645. end;
  33646. procedure TPORTA_ANSELA.clearANSA0; inline;
  33647. begin
  33648. pTDefRegMap(@Self)^.clr := $00000001;
  33649. end;
  33650. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  33651. begin
  33652. if thebits = 0 then
  33653. pTDefRegMap(@Self)^.clr := $00000001
  33654. else
  33655. pTDefRegMap(@Self)^.&set := $00000001;
  33656. end;
  33657. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  33658. begin
  33659. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33660. end;
  33661. procedure TPORTA_ANSELA.setANSA1; inline;
  33662. begin
  33663. pTDefRegMap(@Self)^.&set := $00000002;
  33664. end;
  33665. procedure TPORTA_ANSELA.clearANSA1; inline;
  33666. begin
  33667. pTDefRegMap(@Self)^.clr := $00000002;
  33668. end;
  33669. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  33670. begin
  33671. if thebits = 0 then
  33672. pTDefRegMap(@Self)^.clr := $00000002
  33673. else
  33674. pTDefRegMap(@Self)^.&set := $00000002;
  33675. end;
  33676. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  33677. begin
  33678. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33679. end;
  33680. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  33681. begin
  33682. pTDefRegMap(@Self)^.val := thebits;
  33683. end;
  33684. function TPORTA_ANSELA.getw : TBits_32; inline;
  33685. begin
  33686. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33687. end;
  33688. procedure TPORTA_TRISA.setTRISA0; inline;
  33689. begin
  33690. pTDefRegMap(@Self)^.&set := $00000001;
  33691. end;
  33692. procedure TPORTA_TRISA.clearTRISA0; inline;
  33693. begin
  33694. pTDefRegMap(@Self)^.clr := $00000001;
  33695. end;
  33696. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  33697. begin
  33698. if thebits = 0 then
  33699. pTDefRegMap(@Self)^.clr := $00000001
  33700. else
  33701. pTDefRegMap(@Self)^.&set := $00000001;
  33702. end;
  33703. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  33704. begin
  33705. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33706. end;
  33707. procedure TPORTA_TRISA.setTRISA1; inline;
  33708. begin
  33709. pTDefRegMap(@Self)^.&set := $00000002;
  33710. end;
  33711. procedure TPORTA_TRISA.clearTRISA1; inline;
  33712. begin
  33713. pTDefRegMap(@Self)^.clr := $00000002;
  33714. end;
  33715. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  33716. begin
  33717. if thebits = 0 then
  33718. pTDefRegMap(@Self)^.clr := $00000002
  33719. else
  33720. pTDefRegMap(@Self)^.&set := $00000002;
  33721. end;
  33722. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  33723. begin
  33724. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33725. end;
  33726. procedure TPORTA_TRISA.setTRISA2; inline;
  33727. begin
  33728. pTDefRegMap(@Self)^.&set := $00000004;
  33729. end;
  33730. procedure TPORTA_TRISA.clearTRISA2; inline;
  33731. begin
  33732. pTDefRegMap(@Self)^.clr := $00000004;
  33733. end;
  33734. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  33735. begin
  33736. if thebits = 0 then
  33737. pTDefRegMap(@Self)^.clr := $00000004
  33738. else
  33739. pTDefRegMap(@Self)^.&set := $00000004;
  33740. end;
  33741. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  33742. begin
  33743. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33744. end;
  33745. procedure TPORTA_TRISA.setTRISA3; inline;
  33746. begin
  33747. pTDefRegMap(@Self)^.&set := $00000008;
  33748. end;
  33749. procedure TPORTA_TRISA.clearTRISA3; inline;
  33750. begin
  33751. pTDefRegMap(@Self)^.clr := $00000008;
  33752. end;
  33753. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  33754. begin
  33755. if thebits = 0 then
  33756. pTDefRegMap(@Self)^.clr := $00000008
  33757. else
  33758. pTDefRegMap(@Self)^.&set := $00000008;
  33759. end;
  33760. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  33761. begin
  33762. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33763. end;
  33764. procedure TPORTA_TRISA.setTRISA4; inline;
  33765. begin
  33766. pTDefRegMap(@Self)^.&set := $00000010;
  33767. end;
  33768. procedure TPORTA_TRISA.clearTRISA4; inline;
  33769. begin
  33770. pTDefRegMap(@Self)^.clr := $00000010;
  33771. end;
  33772. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  33773. begin
  33774. if thebits = 0 then
  33775. pTDefRegMap(@Self)^.clr := $00000010
  33776. else
  33777. pTDefRegMap(@Self)^.&set := $00000010;
  33778. end;
  33779. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  33780. begin
  33781. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33782. end;
  33783. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  33784. begin
  33785. pTDefRegMap(@Self)^.val := thebits;
  33786. end;
  33787. function TPORTA_TRISA.getw : TBits_32; inline;
  33788. begin
  33789. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33790. end;
  33791. procedure TPORTA_PORTA.setRA0; inline;
  33792. begin
  33793. pTDefRegMap(@Self)^.&set := $00000001;
  33794. end;
  33795. procedure TPORTA_PORTA.clearRA0; inline;
  33796. begin
  33797. pTDefRegMap(@Self)^.clr := $00000001;
  33798. end;
  33799. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  33800. begin
  33801. if thebits = 0 then
  33802. pTDefRegMap(@Self)^.clr := $00000001
  33803. else
  33804. pTDefRegMap(@Self)^.&set := $00000001;
  33805. end;
  33806. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  33807. begin
  33808. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33809. end;
  33810. procedure TPORTA_PORTA.setRA1; inline;
  33811. begin
  33812. pTDefRegMap(@Self)^.&set := $00000002;
  33813. end;
  33814. procedure TPORTA_PORTA.clearRA1; inline;
  33815. begin
  33816. pTDefRegMap(@Self)^.clr := $00000002;
  33817. end;
  33818. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  33819. begin
  33820. if thebits = 0 then
  33821. pTDefRegMap(@Self)^.clr := $00000002
  33822. else
  33823. pTDefRegMap(@Self)^.&set := $00000002;
  33824. end;
  33825. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  33826. begin
  33827. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33828. end;
  33829. procedure TPORTA_PORTA.setRA2; inline;
  33830. begin
  33831. pTDefRegMap(@Self)^.&set := $00000004;
  33832. end;
  33833. procedure TPORTA_PORTA.clearRA2; inline;
  33834. begin
  33835. pTDefRegMap(@Self)^.clr := $00000004;
  33836. end;
  33837. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  33838. begin
  33839. if thebits = 0 then
  33840. pTDefRegMap(@Self)^.clr := $00000004
  33841. else
  33842. pTDefRegMap(@Self)^.&set := $00000004;
  33843. end;
  33844. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  33845. begin
  33846. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33847. end;
  33848. procedure TPORTA_PORTA.setRA3; inline;
  33849. begin
  33850. pTDefRegMap(@Self)^.&set := $00000008;
  33851. end;
  33852. procedure TPORTA_PORTA.clearRA3; inline;
  33853. begin
  33854. pTDefRegMap(@Self)^.clr := $00000008;
  33855. end;
  33856. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  33857. begin
  33858. if thebits = 0 then
  33859. pTDefRegMap(@Self)^.clr := $00000008
  33860. else
  33861. pTDefRegMap(@Self)^.&set := $00000008;
  33862. end;
  33863. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  33864. begin
  33865. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33866. end;
  33867. procedure TPORTA_PORTA.setRA4; inline;
  33868. begin
  33869. pTDefRegMap(@Self)^.&set := $00000010;
  33870. end;
  33871. procedure TPORTA_PORTA.clearRA4; inline;
  33872. begin
  33873. pTDefRegMap(@Self)^.clr := $00000010;
  33874. end;
  33875. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  33876. begin
  33877. if thebits = 0 then
  33878. pTDefRegMap(@Self)^.clr := $00000010
  33879. else
  33880. pTDefRegMap(@Self)^.&set := $00000010;
  33881. end;
  33882. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  33883. begin
  33884. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33885. end;
  33886. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  33887. begin
  33888. pTDefRegMap(@Self)^.val := thebits;
  33889. end;
  33890. function TPORTA_PORTA.getw : TBits_32; inline;
  33891. begin
  33892. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33893. end;
  33894. procedure TPORTA_LATA.setLATA0; inline;
  33895. begin
  33896. pTDefRegMap(@Self)^.&set := $00000001;
  33897. end;
  33898. procedure TPORTA_LATA.clearLATA0; inline;
  33899. begin
  33900. pTDefRegMap(@Self)^.clr := $00000001;
  33901. end;
  33902. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  33903. begin
  33904. if thebits = 0 then
  33905. pTDefRegMap(@Self)^.clr := $00000001
  33906. else
  33907. pTDefRegMap(@Self)^.&set := $00000001;
  33908. end;
  33909. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  33910. begin
  33911. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33912. end;
  33913. procedure TPORTA_LATA.setLATA1; inline;
  33914. begin
  33915. pTDefRegMap(@Self)^.&set := $00000002;
  33916. end;
  33917. procedure TPORTA_LATA.clearLATA1; inline;
  33918. begin
  33919. pTDefRegMap(@Self)^.clr := $00000002;
  33920. end;
  33921. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  33922. begin
  33923. if thebits = 0 then
  33924. pTDefRegMap(@Self)^.clr := $00000002
  33925. else
  33926. pTDefRegMap(@Self)^.&set := $00000002;
  33927. end;
  33928. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  33929. begin
  33930. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33931. end;
  33932. procedure TPORTA_LATA.setLATA2; inline;
  33933. begin
  33934. pTDefRegMap(@Self)^.&set := $00000004;
  33935. end;
  33936. procedure TPORTA_LATA.clearLATA2; inline;
  33937. begin
  33938. pTDefRegMap(@Self)^.clr := $00000004;
  33939. end;
  33940. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  33941. begin
  33942. if thebits = 0 then
  33943. pTDefRegMap(@Self)^.clr := $00000004
  33944. else
  33945. pTDefRegMap(@Self)^.&set := $00000004;
  33946. end;
  33947. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  33948. begin
  33949. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33950. end;
  33951. procedure TPORTA_LATA.setLATA3; inline;
  33952. begin
  33953. pTDefRegMap(@Self)^.&set := $00000008;
  33954. end;
  33955. procedure TPORTA_LATA.clearLATA3; inline;
  33956. begin
  33957. pTDefRegMap(@Self)^.clr := $00000008;
  33958. end;
  33959. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  33960. begin
  33961. if thebits = 0 then
  33962. pTDefRegMap(@Self)^.clr := $00000008
  33963. else
  33964. pTDefRegMap(@Self)^.&set := $00000008;
  33965. end;
  33966. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  33967. begin
  33968. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33969. end;
  33970. procedure TPORTA_LATA.setLATA4; inline;
  33971. begin
  33972. pTDefRegMap(@Self)^.&set := $00000010;
  33973. end;
  33974. procedure TPORTA_LATA.clearLATA4; inline;
  33975. begin
  33976. pTDefRegMap(@Self)^.clr := $00000010;
  33977. end;
  33978. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  33979. begin
  33980. if thebits = 0 then
  33981. pTDefRegMap(@Self)^.clr := $00000010
  33982. else
  33983. pTDefRegMap(@Self)^.&set := $00000010;
  33984. end;
  33985. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  33986. begin
  33987. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33988. end;
  33989. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  33990. begin
  33991. pTDefRegMap(@Self)^.val := thebits;
  33992. end;
  33993. function TPORTA_LATA.getw : TBits_32; inline;
  33994. begin
  33995. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33996. end;
  33997. procedure TPORTA_CNPUA.setCNPUA0; inline;
  33998. begin
  33999. pTDefRegMap(@Self)^.&set := $00000001;
  34000. end;
  34001. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  34002. begin
  34003. pTDefRegMap(@Self)^.clr := $00000001;
  34004. end;
  34005. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  34006. begin
  34007. if thebits = 0 then
  34008. pTDefRegMap(@Self)^.clr := $00000001
  34009. else
  34010. pTDefRegMap(@Self)^.&set := $00000001;
  34011. end;
  34012. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  34013. begin
  34014. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34015. end;
  34016. procedure TPORTA_CNPUA.setCNPUA1; inline;
  34017. begin
  34018. pTDefRegMap(@Self)^.&set := $00000002;
  34019. end;
  34020. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  34021. begin
  34022. pTDefRegMap(@Self)^.clr := $00000002;
  34023. end;
  34024. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  34025. begin
  34026. if thebits = 0 then
  34027. pTDefRegMap(@Self)^.clr := $00000002
  34028. else
  34029. pTDefRegMap(@Self)^.&set := $00000002;
  34030. end;
  34031. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  34032. begin
  34033. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34034. end;
  34035. procedure TPORTA_CNPUA.setCNPUA2; inline;
  34036. begin
  34037. pTDefRegMap(@Self)^.&set := $00000004;
  34038. end;
  34039. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  34040. begin
  34041. pTDefRegMap(@Self)^.clr := $00000004;
  34042. end;
  34043. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  34044. begin
  34045. if thebits = 0 then
  34046. pTDefRegMap(@Self)^.clr := $00000004
  34047. else
  34048. pTDefRegMap(@Self)^.&set := $00000004;
  34049. end;
  34050. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  34051. begin
  34052. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34053. end;
  34054. procedure TPORTA_CNPUA.setCNPUA3; inline;
  34055. begin
  34056. pTDefRegMap(@Self)^.&set := $00000008;
  34057. end;
  34058. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  34059. begin
  34060. pTDefRegMap(@Self)^.clr := $00000008;
  34061. end;
  34062. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  34063. begin
  34064. if thebits = 0 then
  34065. pTDefRegMap(@Self)^.clr := $00000008
  34066. else
  34067. pTDefRegMap(@Self)^.&set := $00000008;
  34068. end;
  34069. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  34070. begin
  34071. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34072. end;
  34073. procedure TPORTA_CNPUA.setCNPUA4; inline;
  34074. begin
  34075. pTDefRegMap(@Self)^.&set := $00000010;
  34076. end;
  34077. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  34078. begin
  34079. pTDefRegMap(@Self)^.clr := $00000010;
  34080. end;
  34081. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  34082. begin
  34083. if thebits = 0 then
  34084. pTDefRegMap(@Self)^.clr := $00000010
  34085. else
  34086. pTDefRegMap(@Self)^.&set := $00000010;
  34087. end;
  34088. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  34089. begin
  34090. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34091. end;
  34092. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  34093. begin
  34094. pTDefRegMap(@Self)^.val := thebits;
  34095. end;
  34096. function TPORTA_CNPUA.getw : TBits_32; inline;
  34097. begin
  34098. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34099. end;
  34100. procedure TPORTA_CNPDA.setCNPDA0; inline;
  34101. begin
  34102. pTDefRegMap(@Self)^.&set := $00000001;
  34103. end;
  34104. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  34105. begin
  34106. pTDefRegMap(@Self)^.clr := $00000001;
  34107. end;
  34108. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  34109. begin
  34110. if thebits = 0 then
  34111. pTDefRegMap(@Self)^.clr := $00000001
  34112. else
  34113. pTDefRegMap(@Self)^.&set := $00000001;
  34114. end;
  34115. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  34116. begin
  34117. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34118. end;
  34119. procedure TPORTA_CNPDA.setCNPDA1; inline;
  34120. begin
  34121. pTDefRegMap(@Self)^.&set := $00000002;
  34122. end;
  34123. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  34124. begin
  34125. pTDefRegMap(@Self)^.clr := $00000002;
  34126. end;
  34127. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  34128. begin
  34129. if thebits = 0 then
  34130. pTDefRegMap(@Self)^.clr := $00000002
  34131. else
  34132. pTDefRegMap(@Self)^.&set := $00000002;
  34133. end;
  34134. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  34135. begin
  34136. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34137. end;
  34138. procedure TPORTA_CNPDA.setCNPDA2; inline;
  34139. begin
  34140. pTDefRegMap(@Self)^.&set := $00000004;
  34141. end;
  34142. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  34143. begin
  34144. pTDefRegMap(@Self)^.clr := $00000004;
  34145. end;
  34146. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  34147. begin
  34148. if thebits = 0 then
  34149. pTDefRegMap(@Self)^.clr := $00000004
  34150. else
  34151. pTDefRegMap(@Self)^.&set := $00000004;
  34152. end;
  34153. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  34154. begin
  34155. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34156. end;
  34157. procedure TPORTA_CNPDA.setCNPDA3; inline;
  34158. begin
  34159. pTDefRegMap(@Self)^.&set := $00000008;
  34160. end;
  34161. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  34162. begin
  34163. pTDefRegMap(@Self)^.clr := $00000008;
  34164. end;
  34165. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  34166. begin
  34167. if thebits = 0 then
  34168. pTDefRegMap(@Self)^.clr := $00000008
  34169. else
  34170. pTDefRegMap(@Self)^.&set := $00000008;
  34171. end;
  34172. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  34173. begin
  34174. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34175. end;
  34176. procedure TPORTA_CNPDA.setCNPDA4; inline;
  34177. begin
  34178. pTDefRegMap(@Self)^.&set := $00000010;
  34179. end;
  34180. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  34181. begin
  34182. pTDefRegMap(@Self)^.clr := $00000010;
  34183. end;
  34184. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  34185. begin
  34186. if thebits = 0 then
  34187. pTDefRegMap(@Self)^.clr := $00000010
  34188. else
  34189. pTDefRegMap(@Self)^.&set := $00000010;
  34190. end;
  34191. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  34192. begin
  34193. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34194. end;
  34195. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  34196. begin
  34197. pTDefRegMap(@Self)^.val := thebits;
  34198. end;
  34199. function TPORTA_CNPDA.getw : TBits_32; inline;
  34200. begin
  34201. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34202. end;
  34203. procedure TPORTA_CNCONA.setSIDL; inline;
  34204. begin
  34205. pTDefRegMap(@Self)^.&set := $00002000;
  34206. end;
  34207. procedure TPORTA_CNCONA.clearSIDL; inline;
  34208. begin
  34209. pTDefRegMap(@Self)^.clr := $00002000;
  34210. end;
  34211. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  34212. begin
  34213. if thebits = 0 then
  34214. pTDefRegMap(@Self)^.clr := $00002000
  34215. else
  34216. pTDefRegMap(@Self)^.&set := $00002000;
  34217. end;
  34218. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  34219. begin
  34220. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34221. end;
  34222. procedure TPORTA_CNCONA.setON; inline;
  34223. begin
  34224. pTDefRegMap(@Self)^.&set := $00008000;
  34225. end;
  34226. procedure TPORTA_CNCONA.clearON; inline;
  34227. begin
  34228. pTDefRegMap(@Self)^.clr := $00008000;
  34229. end;
  34230. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  34231. begin
  34232. if thebits = 0 then
  34233. pTDefRegMap(@Self)^.clr := $00008000
  34234. else
  34235. pTDefRegMap(@Self)^.&set := $00008000;
  34236. end;
  34237. function TPORTA_CNCONA.getON : TBits_1; inline;
  34238. begin
  34239. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34240. end;
  34241. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  34242. begin
  34243. pTDefRegMap(@Self)^.val := thebits;
  34244. end;
  34245. function TPORTA_CNCONA.getw : TBits_32; inline;
  34246. begin
  34247. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34248. end;
  34249. procedure TPORTA_CNENA.setCNIEA0; inline;
  34250. begin
  34251. pTDefRegMap(@Self)^.&set := $00000001;
  34252. end;
  34253. procedure TPORTA_CNENA.clearCNIEA0; inline;
  34254. begin
  34255. pTDefRegMap(@Self)^.clr := $00000001;
  34256. end;
  34257. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  34258. begin
  34259. if thebits = 0 then
  34260. pTDefRegMap(@Self)^.clr := $00000001
  34261. else
  34262. pTDefRegMap(@Self)^.&set := $00000001;
  34263. end;
  34264. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  34265. begin
  34266. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34267. end;
  34268. procedure TPORTA_CNENA.setCNIEA1; inline;
  34269. begin
  34270. pTDefRegMap(@Self)^.&set := $00000002;
  34271. end;
  34272. procedure TPORTA_CNENA.clearCNIEA1; inline;
  34273. begin
  34274. pTDefRegMap(@Self)^.clr := $00000002;
  34275. end;
  34276. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  34277. begin
  34278. if thebits = 0 then
  34279. pTDefRegMap(@Self)^.clr := $00000002
  34280. else
  34281. pTDefRegMap(@Self)^.&set := $00000002;
  34282. end;
  34283. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  34284. begin
  34285. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34286. end;
  34287. procedure TPORTA_CNENA.setCNIEA2; inline;
  34288. begin
  34289. pTDefRegMap(@Self)^.&set := $00000004;
  34290. end;
  34291. procedure TPORTA_CNENA.clearCNIEA2; inline;
  34292. begin
  34293. pTDefRegMap(@Self)^.clr := $00000004;
  34294. end;
  34295. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  34296. begin
  34297. if thebits = 0 then
  34298. pTDefRegMap(@Self)^.clr := $00000004
  34299. else
  34300. pTDefRegMap(@Self)^.&set := $00000004;
  34301. end;
  34302. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  34303. begin
  34304. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34305. end;
  34306. procedure TPORTA_CNENA.setCNIEA3; inline;
  34307. begin
  34308. pTDefRegMap(@Self)^.&set := $00000008;
  34309. end;
  34310. procedure TPORTA_CNENA.clearCNIEA3; inline;
  34311. begin
  34312. pTDefRegMap(@Self)^.clr := $00000008;
  34313. end;
  34314. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  34315. begin
  34316. if thebits = 0 then
  34317. pTDefRegMap(@Self)^.clr := $00000008
  34318. else
  34319. pTDefRegMap(@Self)^.&set := $00000008;
  34320. end;
  34321. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  34322. begin
  34323. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34324. end;
  34325. procedure TPORTA_CNENA.setCNIEA4; inline;
  34326. begin
  34327. pTDefRegMap(@Self)^.&set := $00000010;
  34328. end;
  34329. procedure TPORTA_CNENA.clearCNIEA4; inline;
  34330. begin
  34331. pTDefRegMap(@Self)^.clr := $00000010;
  34332. end;
  34333. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  34334. begin
  34335. if thebits = 0 then
  34336. pTDefRegMap(@Self)^.clr := $00000010
  34337. else
  34338. pTDefRegMap(@Self)^.&set := $00000010;
  34339. end;
  34340. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  34341. begin
  34342. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34343. end;
  34344. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  34345. begin
  34346. pTDefRegMap(@Self)^.val := thebits;
  34347. end;
  34348. function TPORTA_CNENA.getw : TBits_32; inline;
  34349. begin
  34350. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34351. end;
  34352. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  34353. begin
  34354. pTDefRegMap(@Self)^.&set := $00000001;
  34355. end;
  34356. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  34357. begin
  34358. pTDefRegMap(@Self)^.clr := $00000001;
  34359. end;
  34360. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  34361. begin
  34362. if thebits = 0 then
  34363. pTDefRegMap(@Self)^.clr := $00000001
  34364. else
  34365. pTDefRegMap(@Self)^.&set := $00000001;
  34366. end;
  34367. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  34368. begin
  34369. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34370. end;
  34371. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  34372. begin
  34373. pTDefRegMap(@Self)^.&set := $00000002;
  34374. end;
  34375. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  34376. begin
  34377. pTDefRegMap(@Self)^.clr := $00000002;
  34378. end;
  34379. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  34380. begin
  34381. if thebits = 0 then
  34382. pTDefRegMap(@Self)^.clr := $00000002
  34383. else
  34384. pTDefRegMap(@Self)^.&set := $00000002;
  34385. end;
  34386. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  34387. begin
  34388. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34389. end;
  34390. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  34391. begin
  34392. pTDefRegMap(@Self)^.&set := $00000004;
  34393. end;
  34394. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  34395. begin
  34396. pTDefRegMap(@Self)^.clr := $00000004;
  34397. end;
  34398. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  34399. begin
  34400. if thebits = 0 then
  34401. pTDefRegMap(@Self)^.clr := $00000004
  34402. else
  34403. pTDefRegMap(@Self)^.&set := $00000004;
  34404. end;
  34405. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  34406. begin
  34407. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34408. end;
  34409. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  34410. begin
  34411. pTDefRegMap(@Self)^.&set := $00000008;
  34412. end;
  34413. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  34414. begin
  34415. pTDefRegMap(@Self)^.clr := $00000008;
  34416. end;
  34417. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  34418. begin
  34419. if thebits = 0 then
  34420. pTDefRegMap(@Self)^.clr := $00000008
  34421. else
  34422. pTDefRegMap(@Self)^.&set := $00000008;
  34423. end;
  34424. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  34425. begin
  34426. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34427. end;
  34428. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  34429. begin
  34430. pTDefRegMap(@Self)^.&set := $00000010;
  34431. end;
  34432. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  34433. begin
  34434. pTDefRegMap(@Self)^.clr := $00000010;
  34435. end;
  34436. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  34437. begin
  34438. if thebits = 0 then
  34439. pTDefRegMap(@Self)^.clr := $00000010
  34440. else
  34441. pTDefRegMap(@Self)^.&set := $00000010;
  34442. end;
  34443. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  34444. begin
  34445. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34446. end;
  34447. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  34448. begin
  34449. pTDefRegMap(@Self)^.val := thebits;
  34450. end;
  34451. function TPORTA_CNSTATA.getw : TBits_32; inline;
  34452. begin
  34453. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34454. end;
  34455. procedure TPORTB_ANSELB.setANSB0; inline;
  34456. begin
  34457. pTDefRegMap(@Self)^.&set := $00000001;
  34458. end;
  34459. procedure TPORTB_ANSELB.clearANSB0; inline;
  34460. begin
  34461. pTDefRegMap(@Self)^.clr := $00000001;
  34462. end;
  34463. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  34464. begin
  34465. if thebits = 0 then
  34466. pTDefRegMap(@Self)^.clr := $00000001
  34467. else
  34468. pTDefRegMap(@Self)^.&set := $00000001;
  34469. end;
  34470. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  34471. begin
  34472. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34473. end;
  34474. procedure TPORTB_ANSELB.setANSB1; inline;
  34475. begin
  34476. pTDefRegMap(@Self)^.&set := $00000002;
  34477. end;
  34478. procedure TPORTB_ANSELB.clearANSB1; inline;
  34479. begin
  34480. pTDefRegMap(@Self)^.clr := $00000002;
  34481. end;
  34482. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  34483. begin
  34484. if thebits = 0 then
  34485. pTDefRegMap(@Self)^.clr := $00000002
  34486. else
  34487. pTDefRegMap(@Self)^.&set := $00000002;
  34488. end;
  34489. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  34490. begin
  34491. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34492. end;
  34493. procedure TPORTB_ANSELB.setANSB2; inline;
  34494. begin
  34495. pTDefRegMap(@Self)^.&set := $00000004;
  34496. end;
  34497. procedure TPORTB_ANSELB.clearANSB2; inline;
  34498. begin
  34499. pTDefRegMap(@Self)^.clr := $00000004;
  34500. end;
  34501. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  34502. begin
  34503. if thebits = 0 then
  34504. pTDefRegMap(@Self)^.clr := $00000004
  34505. else
  34506. pTDefRegMap(@Self)^.&set := $00000004;
  34507. end;
  34508. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  34509. begin
  34510. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34511. end;
  34512. procedure TPORTB_ANSELB.setANSB3; inline;
  34513. begin
  34514. pTDefRegMap(@Self)^.&set := $00000008;
  34515. end;
  34516. procedure TPORTB_ANSELB.clearANSB3; inline;
  34517. begin
  34518. pTDefRegMap(@Self)^.clr := $00000008;
  34519. end;
  34520. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  34521. begin
  34522. if thebits = 0 then
  34523. pTDefRegMap(@Self)^.clr := $00000008
  34524. else
  34525. pTDefRegMap(@Self)^.&set := $00000008;
  34526. end;
  34527. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  34528. begin
  34529. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34530. end;
  34531. procedure TPORTB_ANSELB.setANSB12; inline;
  34532. begin
  34533. pTDefRegMap(@Self)^.&set := $00001000;
  34534. end;
  34535. procedure TPORTB_ANSELB.clearANSB12; inline;
  34536. begin
  34537. pTDefRegMap(@Self)^.clr := $00001000;
  34538. end;
  34539. procedure TPORTB_ANSELB.setANSB12(thebits : TBits_1); inline;
  34540. begin
  34541. if thebits = 0 then
  34542. pTDefRegMap(@Self)^.clr := $00001000
  34543. else
  34544. pTDefRegMap(@Self)^.&set := $00001000;
  34545. end;
  34546. function TPORTB_ANSELB.getANSB12 : TBits_1; inline;
  34547. begin
  34548. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34549. end;
  34550. procedure TPORTB_ANSELB.setANSB13; inline;
  34551. begin
  34552. pTDefRegMap(@Self)^.&set := $00002000;
  34553. end;
  34554. procedure TPORTB_ANSELB.clearANSB13; inline;
  34555. begin
  34556. pTDefRegMap(@Self)^.clr := $00002000;
  34557. end;
  34558. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  34559. begin
  34560. if thebits = 0 then
  34561. pTDefRegMap(@Self)^.clr := $00002000
  34562. else
  34563. pTDefRegMap(@Self)^.&set := $00002000;
  34564. end;
  34565. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  34566. begin
  34567. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34568. end;
  34569. procedure TPORTB_ANSELB.setANSB14; inline;
  34570. begin
  34571. pTDefRegMap(@Self)^.&set := $00004000;
  34572. end;
  34573. procedure TPORTB_ANSELB.clearANSB14; inline;
  34574. begin
  34575. pTDefRegMap(@Self)^.clr := $00004000;
  34576. end;
  34577. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  34578. begin
  34579. if thebits = 0 then
  34580. pTDefRegMap(@Self)^.clr := $00004000
  34581. else
  34582. pTDefRegMap(@Self)^.&set := $00004000;
  34583. end;
  34584. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  34585. begin
  34586. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34587. end;
  34588. procedure TPORTB_ANSELB.setANSB15; inline;
  34589. begin
  34590. pTDefRegMap(@Self)^.&set := $00008000;
  34591. end;
  34592. procedure TPORTB_ANSELB.clearANSB15; inline;
  34593. begin
  34594. pTDefRegMap(@Self)^.clr := $00008000;
  34595. end;
  34596. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  34597. begin
  34598. if thebits = 0 then
  34599. pTDefRegMap(@Self)^.clr := $00008000
  34600. else
  34601. pTDefRegMap(@Self)^.&set := $00008000;
  34602. end;
  34603. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  34604. begin
  34605. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34606. end;
  34607. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  34608. begin
  34609. pTDefRegMap(@Self)^.val := thebits;
  34610. end;
  34611. function TPORTB_ANSELB.getw : TBits_32; inline;
  34612. begin
  34613. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34614. end;
  34615. procedure TPORTB_TRISB.setTRISB0; inline;
  34616. begin
  34617. pTDefRegMap(@Self)^.&set := $00000001;
  34618. end;
  34619. procedure TPORTB_TRISB.clearTRISB0; inline;
  34620. begin
  34621. pTDefRegMap(@Self)^.clr := $00000001;
  34622. end;
  34623. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  34624. begin
  34625. if thebits = 0 then
  34626. pTDefRegMap(@Self)^.clr := $00000001
  34627. else
  34628. pTDefRegMap(@Self)^.&set := $00000001;
  34629. end;
  34630. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  34631. begin
  34632. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34633. end;
  34634. procedure TPORTB_TRISB.setTRISB1; inline;
  34635. begin
  34636. pTDefRegMap(@Self)^.&set := $00000002;
  34637. end;
  34638. procedure TPORTB_TRISB.clearTRISB1; inline;
  34639. begin
  34640. pTDefRegMap(@Self)^.clr := $00000002;
  34641. end;
  34642. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  34643. begin
  34644. if thebits = 0 then
  34645. pTDefRegMap(@Self)^.clr := $00000002
  34646. else
  34647. pTDefRegMap(@Self)^.&set := $00000002;
  34648. end;
  34649. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  34650. begin
  34651. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34652. end;
  34653. procedure TPORTB_TRISB.setTRISB2; inline;
  34654. begin
  34655. pTDefRegMap(@Self)^.&set := $00000004;
  34656. end;
  34657. procedure TPORTB_TRISB.clearTRISB2; inline;
  34658. begin
  34659. pTDefRegMap(@Self)^.clr := $00000004;
  34660. end;
  34661. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  34662. begin
  34663. if thebits = 0 then
  34664. pTDefRegMap(@Self)^.clr := $00000004
  34665. else
  34666. pTDefRegMap(@Self)^.&set := $00000004;
  34667. end;
  34668. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  34669. begin
  34670. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34671. end;
  34672. procedure TPORTB_TRISB.setTRISB3; inline;
  34673. begin
  34674. pTDefRegMap(@Self)^.&set := $00000008;
  34675. end;
  34676. procedure TPORTB_TRISB.clearTRISB3; inline;
  34677. begin
  34678. pTDefRegMap(@Self)^.clr := $00000008;
  34679. end;
  34680. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  34681. begin
  34682. if thebits = 0 then
  34683. pTDefRegMap(@Self)^.clr := $00000008
  34684. else
  34685. pTDefRegMap(@Self)^.&set := $00000008;
  34686. end;
  34687. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  34688. begin
  34689. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34690. end;
  34691. procedure TPORTB_TRISB.setTRISB4; inline;
  34692. begin
  34693. pTDefRegMap(@Self)^.&set := $00000010;
  34694. end;
  34695. procedure TPORTB_TRISB.clearTRISB4; inline;
  34696. begin
  34697. pTDefRegMap(@Self)^.clr := $00000010;
  34698. end;
  34699. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  34700. begin
  34701. if thebits = 0 then
  34702. pTDefRegMap(@Self)^.clr := $00000010
  34703. else
  34704. pTDefRegMap(@Self)^.&set := $00000010;
  34705. end;
  34706. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  34707. begin
  34708. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34709. end;
  34710. procedure TPORTB_TRISB.setTRISB5; inline;
  34711. begin
  34712. pTDefRegMap(@Self)^.&set := $00000020;
  34713. end;
  34714. procedure TPORTB_TRISB.clearTRISB5; inline;
  34715. begin
  34716. pTDefRegMap(@Self)^.clr := $00000020;
  34717. end;
  34718. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  34719. begin
  34720. if thebits = 0 then
  34721. pTDefRegMap(@Self)^.clr := $00000020
  34722. else
  34723. pTDefRegMap(@Self)^.&set := $00000020;
  34724. end;
  34725. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  34726. begin
  34727. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34728. end;
  34729. procedure TPORTB_TRISB.setTRISB6; inline;
  34730. begin
  34731. pTDefRegMap(@Self)^.&set := $00000040;
  34732. end;
  34733. procedure TPORTB_TRISB.clearTRISB6; inline;
  34734. begin
  34735. pTDefRegMap(@Self)^.clr := $00000040;
  34736. end;
  34737. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  34738. begin
  34739. if thebits = 0 then
  34740. pTDefRegMap(@Self)^.clr := $00000040
  34741. else
  34742. pTDefRegMap(@Self)^.&set := $00000040;
  34743. end;
  34744. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  34745. begin
  34746. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34747. end;
  34748. procedure TPORTB_TRISB.setTRISB7; inline;
  34749. begin
  34750. pTDefRegMap(@Self)^.&set := $00000080;
  34751. end;
  34752. procedure TPORTB_TRISB.clearTRISB7; inline;
  34753. begin
  34754. pTDefRegMap(@Self)^.clr := $00000080;
  34755. end;
  34756. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  34757. begin
  34758. if thebits = 0 then
  34759. pTDefRegMap(@Self)^.clr := $00000080
  34760. else
  34761. pTDefRegMap(@Self)^.&set := $00000080;
  34762. end;
  34763. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  34764. begin
  34765. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34766. end;
  34767. procedure TPORTB_TRISB.setTRISB8; inline;
  34768. begin
  34769. pTDefRegMap(@Self)^.&set := $00000100;
  34770. end;
  34771. procedure TPORTB_TRISB.clearTRISB8; inline;
  34772. begin
  34773. pTDefRegMap(@Self)^.clr := $00000100;
  34774. end;
  34775. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  34776. begin
  34777. if thebits = 0 then
  34778. pTDefRegMap(@Self)^.clr := $00000100
  34779. else
  34780. pTDefRegMap(@Self)^.&set := $00000100;
  34781. end;
  34782. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  34783. begin
  34784. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34785. end;
  34786. procedure TPORTB_TRISB.setTRISB9; inline;
  34787. begin
  34788. pTDefRegMap(@Self)^.&set := $00000200;
  34789. end;
  34790. procedure TPORTB_TRISB.clearTRISB9; inline;
  34791. begin
  34792. pTDefRegMap(@Self)^.clr := $00000200;
  34793. end;
  34794. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  34795. begin
  34796. if thebits = 0 then
  34797. pTDefRegMap(@Self)^.clr := $00000200
  34798. else
  34799. pTDefRegMap(@Self)^.&set := $00000200;
  34800. end;
  34801. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  34802. begin
  34803. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34804. end;
  34805. procedure TPORTB_TRISB.setTRISB10; inline;
  34806. begin
  34807. pTDefRegMap(@Self)^.&set := $00000400;
  34808. end;
  34809. procedure TPORTB_TRISB.clearTRISB10; inline;
  34810. begin
  34811. pTDefRegMap(@Self)^.clr := $00000400;
  34812. end;
  34813. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  34814. begin
  34815. if thebits = 0 then
  34816. pTDefRegMap(@Self)^.clr := $00000400
  34817. else
  34818. pTDefRegMap(@Self)^.&set := $00000400;
  34819. end;
  34820. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  34821. begin
  34822. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34823. end;
  34824. procedure TPORTB_TRISB.setTRISB11; inline;
  34825. begin
  34826. pTDefRegMap(@Self)^.&set := $00000800;
  34827. end;
  34828. procedure TPORTB_TRISB.clearTRISB11; inline;
  34829. begin
  34830. pTDefRegMap(@Self)^.clr := $00000800;
  34831. end;
  34832. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  34833. begin
  34834. if thebits = 0 then
  34835. pTDefRegMap(@Self)^.clr := $00000800
  34836. else
  34837. pTDefRegMap(@Self)^.&set := $00000800;
  34838. end;
  34839. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  34840. begin
  34841. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34842. end;
  34843. procedure TPORTB_TRISB.setTRISB12; inline;
  34844. begin
  34845. pTDefRegMap(@Self)^.&set := $00001000;
  34846. end;
  34847. procedure TPORTB_TRISB.clearTRISB12; inline;
  34848. begin
  34849. pTDefRegMap(@Self)^.clr := $00001000;
  34850. end;
  34851. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  34852. begin
  34853. if thebits = 0 then
  34854. pTDefRegMap(@Self)^.clr := $00001000
  34855. else
  34856. pTDefRegMap(@Self)^.&set := $00001000;
  34857. end;
  34858. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  34859. begin
  34860. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34861. end;
  34862. procedure TPORTB_TRISB.setTRISB13; inline;
  34863. begin
  34864. pTDefRegMap(@Self)^.&set := $00002000;
  34865. end;
  34866. procedure TPORTB_TRISB.clearTRISB13; inline;
  34867. begin
  34868. pTDefRegMap(@Self)^.clr := $00002000;
  34869. end;
  34870. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  34871. begin
  34872. if thebits = 0 then
  34873. pTDefRegMap(@Self)^.clr := $00002000
  34874. else
  34875. pTDefRegMap(@Self)^.&set := $00002000;
  34876. end;
  34877. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  34878. begin
  34879. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34880. end;
  34881. procedure TPORTB_TRISB.setTRISB14; inline;
  34882. begin
  34883. pTDefRegMap(@Self)^.&set := $00004000;
  34884. end;
  34885. procedure TPORTB_TRISB.clearTRISB14; inline;
  34886. begin
  34887. pTDefRegMap(@Self)^.clr := $00004000;
  34888. end;
  34889. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  34890. begin
  34891. if thebits = 0 then
  34892. pTDefRegMap(@Self)^.clr := $00004000
  34893. else
  34894. pTDefRegMap(@Self)^.&set := $00004000;
  34895. end;
  34896. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  34897. begin
  34898. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34899. end;
  34900. procedure TPORTB_TRISB.setTRISB15; inline;
  34901. begin
  34902. pTDefRegMap(@Self)^.&set := $00008000;
  34903. end;
  34904. procedure TPORTB_TRISB.clearTRISB15; inline;
  34905. begin
  34906. pTDefRegMap(@Self)^.clr := $00008000;
  34907. end;
  34908. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  34909. begin
  34910. if thebits = 0 then
  34911. pTDefRegMap(@Self)^.clr := $00008000
  34912. else
  34913. pTDefRegMap(@Self)^.&set := $00008000;
  34914. end;
  34915. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  34916. begin
  34917. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34918. end;
  34919. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  34920. begin
  34921. pTDefRegMap(@Self)^.val := thebits;
  34922. end;
  34923. function TPORTB_TRISB.getw : TBits_32; inline;
  34924. begin
  34925. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34926. end;
  34927. procedure TPORTB_PORTB.setRB0; inline;
  34928. begin
  34929. pTDefRegMap(@Self)^.&set := $00000001;
  34930. end;
  34931. procedure TPORTB_PORTB.clearRB0; inline;
  34932. begin
  34933. pTDefRegMap(@Self)^.clr := $00000001;
  34934. end;
  34935. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  34936. begin
  34937. if thebits = 0 then
  34938. pTDefRegMap(@Self)^.clr := $00000001
  34939. else
  34940. pTDefRegMap(@Self)^.&set := $00000001;
  34941. end;
  34942. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  34943. begin
  34944. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34945. end;
  34946. procedure TPORTB_PORTB.setRB1; inline;
  34947. begin
  34948. pTDefRegMap(@Self)^.&set := $00000002;
  34949. end;
  34950. procedure TPORTB_PORTB.clearRB1; inline;
  34951. begin
  34952. pTDefRegMap(@Self)^.clr := $00000002;
  34953. end;
  34954. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  34955. begin
  34956. if thebits = 0 then
  34957. pTDefRegMap(@Self)^.clr := $00000002
  34958. else
  34959. pTDefRegMap(@Self)^.&set := $00000002;
  34960. end;
  34961. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  34962. begin
  34963. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34964. end;
  34965. procedure TPORTB_PORTB.setRB2; inline;
  34966. begin
  34967. pTDefRegMap(@Self)^.&set := $00000004;
  34968. end;
  34969. procedure TPORTB_PORTB.clearRB2; inline;
  34970. begin
  34971. pTDefRegMap(@Self)^.clr := $00000004;
  34972. end;
  34973. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  34974. begin
  34975. if thebits = 0 then
  34976. pTDefRegMap(@Self)^.clr := $00000004
  34977. else
  34978. pTDefRegMap(@Self)^.&set := $00000004;
  34979. end;
  34980. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  34981. begin
  34982. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34983. end;
  34984. procedure TPORTB_PORTB.setRB3; inline;
  34985. begin
  34986. pTDefRegMap(@Self)^.&set := $00000008;
  34987. end;
  34988. procedure TPORTB_PORTB.clearRB3; inline;
  34989. begin
  34990. pTDefRegMap(@Self)^.clr := $00000008;
  34991. end;
  34992. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  34993. begin
  34994. if thebits = 0 then
  34995. pTDefRegMap(@Self)^.clr := $00000008
  34996. else
  34997. pTDefRegMap(@Self)^.&set := $00000008;
  34998. end;
  34999. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  35000. begin
  35001. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35002. end;
  35003. procedure TPORTB_PORTB.setRB4; inline;
  35004. begin
  35005. pTDefRegMap(@Self)^.&set := $00000010;
  35006. end;
  35007. procedure TPORTB_PORTB.clearRB4; inline;
  35008. begin
  35009. pTDefRegMap(@Self)^.clr := $00000010;
  35010. end;
  35011. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  35012. begin
  35013. if thebits = 0 then
  35014. pTDefRegMap(@Self)^.clr := $00000010
  35015. else
  35016. pTDefRegMap(@Self)^.&set := $00000010;
  35017. end;
  35018. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  35019. begin
  35020. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35021. end;
  35022. procedure TPORTB_PORTB.setRB5; inline;
  35023. begin
  35024. pTDefRegMap(@Self)^.&set := $00000020;
  35025. end;
  35026. procedure TPORTB_PORTB.clearRB5; inline;
  35027. begin
  35028. pTDefRegMap(@Self)^.clr := $00000020;
  35029. end;
  35030. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  35031. begin
  35032. if thebits = 0 then
  35033. pTDefRegMap(@Self)^.clr := $00000020
  35034. else
  35035. pTDefRegMap(@Self)^.&set := $00000020;
  35036. end;
  35037. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  35038. begin
  35039. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35040. end;
  35041. procedure TPORTB_PORTB.setRB6; inline;
  35042. begin
  35043. pTDefRegMap(@Self)^.&set := $00000040;
  35044. end;
  35045. procedure TPORTB_PORTB.clearRB6; inline;
  35046. begin
  35047. pTDefRegMap(@Self)^.clr := $00000040;
  35048. end;
  35049. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  35050. begin
  35051. if thebits = 0 then
  35052. pTDefRegMap(@Self)^.clr := $00000040
  35053. else
  35054. pTDefRegMap(@Self)^.&set := $00000040;
  35055. end;
  35056. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  35057. begin
  35058. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35059. end;
  35060. procedure TPORTB_PORTB.setRB7; inline;
  35061. begin
  35062. pTDefRegMap(@Self)^.&set := $00000080;
  35063. end;
  35064. procedure TPORTB_PORTB.clearRB7; inline;
  35065. begin
  35066. pTDefRegMap(@Self)^.clr := $00000080;
  35067. end;
  35068. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  35069. begin
  35070. if thebits = 0 then
  35071. pTDefRegMap(@Self)^.clr := $00000080
  35072. else
  35073. pTDefRegMap(@Self)^.&set := $00000080;
  35074. end;
  35075. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  35076. begin
  35077. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35078. end;
  35079. procedure TPORTB_PORTB.setRB8; inline;
  35080. begin
  35081. pTDefRegMap(@Self)^.&set := $00000100;
  35082. end;
  35083. procedure TPORTB_PORTB.clearRB8; inline;
  35084. begin
  35085. pTDefRegMap(@Self)^.clr := $00000100;
  35086. end;
  35087. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  35088. begin
  35089. if thebits = 0 then
  35090. pTDefRegMap(@Self)^.clr := $00000100
  35091. else
  35092. pTDefRegMap(@Self)^.&set := $00000100;
  35093. end;
  35094. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  35095. begin
  35096. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35097. end;
  35098. procedure TPORTB_PORTB.setRB9; inline;
  35099. begin
  35100. pTDefRegMap(@Self)^.&set := $00000200;
  35101. end;
  35102. procedure TPORTB_PORTB.clearRB9; inline;
  35103. begin
  35104. pTDefRegMap(@Self)^.clr := $00000200;
  35105. end;
  35106. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  35107. begin
  35108. if thebits = 0 then
  35109. pTDefRegMap(@Self)^.clr := $00000200
  35110. else
  35111. pTDefRegMap(@Self)^.&set := $00000200;
  35112. end;
  35113. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  35114. begin
  35115. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35116. end;
  35117. procedure TPORTB_PORTB.setRB10; inline;
  35118. begin
  35119. pTDefRegMap(@Self)^.&set := $00000400;
  35120. end;
  35121. procedure TPORTB_PORTB.clearRB10; inline;
  35122. begin
  35123. pTDefRegMap(@Self)^.clr := $00000400;
  35124. end;
  35125. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  35126. begin
  35127. if thebits = 0 then
  35128. pTDefRegMap(@Self)^.clr := $00000400
  35129. else
  35130. pTDefRegMap(@Self)^.&set := $00000400;
  35131. end;
  35132. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  35133. begin
  35134. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35135. end;
  35136. procedure TPORTB_PORTB.setRB11; inline;
  35137. begin
  35138. pTDefRegMap(@Self)^.&set := $00000800;
  35139. end;
  35140. procedure TPORTB_PORTB.clearRB11; inline;
  35141. begin
  35142. pTDefRegMap(@Self)^.clr := $00000800;
  35143. end;
  35144. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  35145. begin
  35146. if thebits = 0 then
  35147. pTDefRegMap(@Self)^.clr := $00000800
  35148. else
  35149. pTDefRegMap(@Self)^.&set := $00000800;
  35150. end;
  35151. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  35152. begin
  35153. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35154. end;
  35155. procedure TPORTB_PORTB.setRB12; inline;
  35156. begin
  35157. pTDefRegMap(@Self)^.&set := $00001000;
  35158. end;
  35159. procedure TPORTB_PORTB.clearRB12; inline;
  35160. begin
  35161. pTDefRegMap(@Self)^.clr := $00001000;
  35162. end;
  35163. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  35164. begin
  35165. if thebits = 0 then
  35166. pTDefRegMap(@Self)^.clr := $00001000
  35167. else
  35168. pTDefRegMap(@Self)^.&set := $00001000;
  35169. end;
  35170. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  35171. begin
  35172. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35173. end;
  35174. procedure TPORTB_PORTB.setRB13; inline;
  35175. begin
  35176. pTDefRegMap(@Self)^.&set := $00002000;
  35177. end;
  35178. procedure TPORTB_PORTB.clearRB13; inline;
  35179. begin
  35180. pTDefRegMap(@Self)^.clr := $00002000;
  35181. end;
  35182. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  35183. begin
  35184. if thebits = 0 then
  35185. pTDefRegMap(@Self)^.clr := $00002000
  35186. else
  35187. pTDefRegMap(@Self)^.&set := $00002000;
  35188. end;
  35189. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  35190. begin
  35191. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35192. end;
  35193. procedure TPORTB_PORTB.setRB14; inline;
  35194. begin
  35195. pTDefRegMap(@Self)^.&set := $00004000;
  35196. end;
  35197. procedure TPORTB_PORTB.clearRB14; inline;
  35198. begin
  35199. pTDefRegMap(@Self)^.clr := $00004000;
  35200. end;
  35201. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  35202. begin
  35203. if thebits = 0 then
  35204. pTDefRegMap(@Self)^.clr := $00004000
  35205. else
  35206. pTDefRegMap(@Self)^.&set := $00004000;
  35207. end;
  35208. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  35209. begin
  35210. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35211. end;
  35212. procedure TPORTB_PORTB.setRB15; inline;
  35213. begin
  35214. pTDefRegMap(@Self)^.&set := $00008000;
  35215. end;
  35216. procedure TPORTB_PORTB.clearRB15; inline;
  35217. begin
  35218. pTDefRegMap(@Self)^.clr := $00008000;
  35219. end;
  35220. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  35221. begin
  35222. if thebits = 0 then
  35223. pTDefRegMap(@Self)^.clr := $00008000
  35224. else
  35225. pTDefRegMap(@Self)^.&set := $00008000;
  35226. end;
  35227. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  35228. begin
  35229. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35230. end;
  35231. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  35232. begin
  35233. pTDefRegMap(@Self)^.val := thebits;
  35234. end;
  35235. function TPORTB_PORTB.getw : TBits_32; inline;
  35236. begin
  35237. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35238. end;
  35239. procedure TPORTB_LATB.setLATB0; inline;
  35240. begin
  35241. pTDefRegMap(@Self)^.&set := $00000001;
  35242. end;
  35243. procedure TPORTB_LATB.clearLATB0; inline;
  35244. begin
  35245. pTDefRegMap(@Self)^.clr := $00000001;
  35246. end;
  35247. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  35248. begin
  35249. if thebits = 0 then
  35250. pTDefRegMap(@Self)^.clr := $00000001
  35251. else
  35252. pTDefRegMap(@Self)^.&set := $00000001;
  35253. end;
  35254. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  35255. begin
  35256. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35257. end;
  35258. procedure TPORTB_LATB.setLATB1; inline;
  35259. begin
  35260. pTDefRegMap(@Self)^.&set := $00000002;
  35261. end;
  35262. procedure TPORTB_LATB.clearLATB1; inline;
  35263. begin
  35264. pTDefRegMap(@Self)^.clr := $00000002;
  35265. end;
  35266. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  35267. begin
  35268. if thebits = 0 then
  35269. pTDefRegMap(@Self)^.clr := $00000002
  35270. else
  35271. pTDefRegMap(@Self)^.&set := $00000002;
  35272. end;
  35273. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  35274. begin
  35275. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35276. end;
  35277. procedure TPORTB_LATB.setLATB2; inline;
  35278. begin
  35279. pTDefRegMap(@Self)^.&set := $00000004;
  35280. end;
  35281. procedure TPORTB_LATB.clearLATB2; inline;
  35282. begin
  35283. pTDefRegMap(@Self)^.clr := $00000004;
  35284. end;
  35285. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  35286. begin
  35287. if thebits = 0 then
  35288. pTDefRegMap(@Self)^.clr := $00000004
  35289. else
  35290. pTDefRegMap(@Self)^.&set := $00000004;
  35291. end;
  35292. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  35293. begin
  35294. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35295. end;
  35296. procedure TPORTB_LATB.setLATB3; inline;
  35297. begin
  35298. pTDefRegMap(@Self)^.&set := $00000008;
  35299. end;
  35300. procedure TPORTB_LATB.clearLATB3; inline;
  35301. begin
  35302. pTDefRegMap(@Self)^.clr := $00000008;
  35303. end;
  35304. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  35305. begin
  35306. if thebits = 0 then
  35307. pTDefRegMap(@Self)^.clr := $00000008
  35308. else
  35309. pTDefRegMap(@Self)^.&set := $00000008;
  35310. end;
  35311. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  35312. begin
  35313. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35314. end;
  35315. procedure TPORTB_LATB.setLATB4; inline;
  35316. begin
  35317. pTDefRegMap(@Self)^.&set := $00000010;
  35318. end;
  35319. procedure TPORTB_LATB.clearLATB4; inline;
  35320. begin
  35321. pTDefRegMap(@Self)^.clr := $00000010;
  35322. end;
  35323. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  35324. begin
  35325. if thebits = 0 then
  35326. pTDefRegMap(@Self)^.clr := $00000010
  35327. else
  35328. pTDefRegMap(@Self)^.&set := $00000010;
  35329. end;
  35330. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  35331. begin
  35332. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35333. end;
  35334. procedure TPORTB_LATB.setLATB5; inline;
  35335. begin
  35336. pTDefRegMap(@Self)^.&set := $00000020;
  35337. end;
  35338. procedure TPORTB_LATB.clearLATB5; inline;
  35339. begin
  35340. pTDefRegMap(@Self)^.clr := $00000020;
  35341. end;
  35342. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  35343. begin
  35344. if thebits = 0 then
  35345. pTDefRegMap(@Self)^.clr := $00000020
  35346. else
  35347. pTDefRegMap(@Self)^.&set := $00000020;
  35348. end;
  35349. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  35350. begin
  35351. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35352. end;
  35353. procedure TPORTB_LATB.setLATB6; inline;
  35354. begin
  35355. pTDefRegMap(@Self)^.&set := $00000040;
  35356. end;
  35357. procedure TPORTB_LATB.clearLATB6; inline;
  35358. begin
  35359. pTDefRegMap(@Self)^.clr := $00000040;
  35360. end;
  35361. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  35362. begin
  35363. if thebits = 0 then
  35364. pTDefRegMap(@Self)^.clr := $00000040
  35365. else
  35366. pTDefRegMap(@Self)^.&set := $00000040;
  35367. end;
  35368. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  35369. begin
  35370. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35371. end;
  35372. procedure TPORTB_LATB.setLATB7; inline;
  35373. begin
  35374. pTDefRegMap(@Self)^.&set := $00000080;
  35375. end;
  35376. procedure TPORTB_LATB.clearLATB7; inline;
  35377. begin
  35378. pTDefRegMap(@Self)^.clr := $00000080;
  35379. end;
  35380. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  35381. begin
  35382. if thebits = 0 then
  35383. pTDefRegMap(@Self)^.clr := $00000080
  35384. else
  35385. pTDefRegMap(@Self)^.&set := $00000080;
  35386. end;
  35387. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  35388. begin
  35389. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35390. end;
  35391. procedure TPORTB_LATB.setLATB8; inline;
  35392. begin
  35393. pTDefRegMap(@Self)^.&set := $00000100;
  35394. end;
  35395. procedure TPORTB_LATB.clearLATB8; inline;
  35396. begin
  35397. pTDefRegMap(@Self)^.clr := $00000100;
  35398. end;
  35399. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  35400. begin
  35401. if thebits = 0 then
  35402. pTDefRegMap(@Self)^.clr := $00000100
  35403. else
  35404. pTDefRegMap(@Self)^.&set := $00000100;
  35405. end;
  35406. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  35407. begin
  35408. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35409. end;
  35410. procedure TPORTB_LATB.setLATB9; inline;
  35411. begin
  35412. pTDefRegMap(@Self)^.&set := $00000200;
  35413. end;
  35414. procedure TPORTB_LATB.clearLATB9; inline;
  35415. begin
  35416. pTDefRegMap(@Self)^.clr := $00000200;
  35417. end;
  35418. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  35419. begin
  35420. if thebits = 0 then
  35421. pTDefRegMap(@Self)^.clr := $00000200
  35422. else
  35423. pTDefRegMap(@Self)^.&set := $00000200;
  35424. end;
  35425. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  35426. begin
  35427. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35428. end;
  35429. procedure TPORTB_LATB.setLATB10; inline;
  35430. begin
  35431. pTDefRegMap(@Self)^.&set := $00000400;
  35432. end;
  35433. procedure TPORTB_LATB.clearLATB10; inline;
  35434. begin
  35435. pTDefRegMap(@Self)^.clr := $00000400;
  35436. end;
  35437. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  35438. begin
  35439. if thebits = 0 then
  35440. pTDefRegMap(@Self)^.clr := $00000400
  35441. else
  35442. pTDefRegMap(@Self)^.&set := $00000400;
  35443. end;
  35444. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  35445. begin
  35446. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35447. end;
  35448. procedure TPORTB_LATB.setLATB11; inline;
  35449. begin
  35450. pTDefRegMap(@Self)^.&set := $00000800;
  35451. end;
  35452. procedure TPORTB_LATB.clearLATB11; inline;
  35453. begin
  35454. pTDefRegMap(@Self)^.clr := $00000800;
  35455. end;
  35456. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  35457. begin
  35458. if thebits = 0 then
  35459. pTDefRegMap(@Self)^.clr := $00000800
  35460. else
  35461. pTDefRegMap(@Self)^.&set := $00000800;
  35462. end;
  35463. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  35464. begin
  35465. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35466. end;
  35467. procedure TPORTB_LATB.setLATB12; inline;
  35468. begin
  35469. pTDefRegMap(@Self)^.&set := $00001000;
  35470. end;
  35471. procedure TPORTB_LATB.clearLATB12; inline;
  35472. begin
  35473. pTDefRegMap(@Self)^.clr := $00001000;
  35474. end;
  35475. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  35476. begin
  35477. if thebits = 0 then
  35478. pTDefRegMap(@Self)^.clr := $00001000
  35479. else
  35480. pTDefRegMap(@Self)^.&set := $00001000;
  35481. end;
  35482. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  35483. begin
  35484. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35485. end;
  35486. procedure TPORTB_LATB.setLATB13; inline;
  35487. begin
  35488. pTDefRegMap(@Self)^.&set := $00002000;
  35489. end;
  35490. procedure TPORTB_LATB.clearLATB13; inline;
  35491. begin
  35492. pTDefRegMap(@Self)^.clr := $00002000;
  35493. end;
  35494. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  35495. begin
  35496. if thebits = 0 then
  35497. pTDefRegMap(@Self)^.clr := $00002000
  35498. else
  35499. pTDefRegMap(@Self)^.&set := $00002000;
  35500. end;
  35501. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  35502. begin
  35503. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35504. end;
  35505. procedure TPORTB_LATB.setLATB14; inline;
  35506. begin
  35507. pTDefRegMap(@Self)^.&set := $00004000;
  35508. end;
  35509. procedure TPORTB_LATB.clearLATB14; inline;
  35510. begin
  35511. pTDefRegMap(@Self)^.clr := $00004000;
  35512. end;
  35513. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  35514. begin
  35515. if thebits = 0 then
  35516. pTDefRegMap(@Self)^.clr := $00004000
  35517. else
  35518. pTDefRegMap(@Self)^.&set := $00004000;
  35519. end;
  35520. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  35521. begin
  35522. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35523. end;
  35524. procedure TPORTB_LATB.setLATB15; inline;
  35525. begin
  35526. pTDefRegMap(@Self)^.&set := $00008000;
  35527. end;
  35528. procedure TPORTB_LATB.clearLATB15; inline;
  35529. begin
  35530. pTDefRegMap(@Self)^.clr := $00008000;
  35531. end;
  35532. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  35533. begin
  35534. if thebits = 0 then
  35535. pTDefRegMap(@Self)^.clr := $00008000
  35536. else
  35537. pTDefRegMap(@Self)^.&set := $00008000;
  35538. end;
  35539. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  35540. begin
  35541. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35542. end;
  35543. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  35544. begin
  35545. pTDefRegMap(@Self)^.val := thebits;
  35546. end;
  35547. function TPORTB_LATB.getw : TBits_32; inline;
  35548. begin
  35549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35550. end;
  35551. procedure TPORTB_ODCB.setODCB4; inline;
  35552. begin
  35553. pTDefRegMap(@Self)^.&set := $00000010;
  35554. end;
  35555. procedure TPORTB_ODCB.clearODCB4; inline;
  35556. begin
  35557. pTDefRegMap(@Self)^.clr := $00000010;
  35558. end;
  35559. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  35560. begin
  35561. if thebits = 0 then
  35562. pTDefRegMap(@Self)^.clr := $00000010
  35563. else
  35564. pTDefRegMap(@Self)^.&set := $00000010;
  35565. end;
  35566. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  35567. begin
  35568. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35569. end;
  35570. procedure TPORTB_ODCB.setODCB5; inline;
  35571. begin
  35572. pTDefRegMap(@Self)^.&set := $00000020;
  35573. end;
  35574. procedure TPORTB_ODCB.clearODCB5; inline;
  35575. begin
  35576. pTDefRegMap(@Self)^.clr := $00000020;
  35577. end;
  35578. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  35579. begin
  35580. if thebits = 0 then
  35581. pTDefRegMap(@Self)^.clr := $00000020
  35582. else
  35583. pTDefRegMap(@Self)^.&set := $00000020;
  35584. end;
  35585. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  35586. begin
  35587. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35588. end;
  35589. procedure TPORTB_ODCB.setODCB6; inline;
  35590. begin
  35591. pTDefRegMap(@Self)^.&set := $00000040;
  35592. end;
  35593. procedure TPORTB_ODCB.clearODCB6; inline;
  35594. begin
  35595. pTDefRegMap(@Self)^.clr := $00000040;
  35596. end;
  35597. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  35598. begin
  35599. if thebits = 0 then
  35600. pTDefRegMap(@Self)^.clr := $00000040
  35601. else
  35602. pTDefRegMap(@Self)^.&set := $00000040;
  35603. end;
  35604. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  35605. begin
  35606. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35607. end;
  35608. procedure TPORTB_ODCB.setODCB7; inline;
  35609. begin
  35610. pTDefRegMap(@Self)^.&set := $00000080;
  35611. end;
  35612. procedure TPORTB_ODCB.clearODCB7; inline;
  35613. begin
  35614. pTDefRegMap(@Self)^.clr := $00000080;
  35615. end;
  35616. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  35617. begin
  35618. if thebits = 0 then
  35619. pTDefRegMap(@Self)^.clr := $00000080
  35620. else
  35621. pTDefRegMap(@Self)^.&set := $00000080;
  35622. end;
  35623. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  35624. begin
  35625. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35626. end;
  35627. procedure TPORTB_ODCB.setODCB8; inline;
  35628. begin
  35629. pTDefRegMap(@Self)^.&set := $00000100;
  35630. end;
  35631. procedure TPORTB_ODCB.clearODCB8; inline;
  35632. begin
  35633. pTDefRegMap(@Self)^.clr := $00000100;
  35634. end;
  35635. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  35636. begin
  35637. if thebits = 0 then
  35638. pTDefRegMap(@Self)^.clr := $00000100
  35639. else
  35640. pTDefRegMap(@Self)^.&set := $00000100;
  35641. end;
  35642. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  35643. begin
  35644. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35645. end;
  35646. procedure TPORTB_ODCB.setODCB9; inline;
  35647. begin
  35648. pTDefRegMap(@Self)^.&set := $00000200;
  35649. end;
  35650. procedure TPORTB_ODCB.clearODCB9; inline;
  35651. begin
  35652. pTDefRegMap(@Self)^.clr := $00000200;
  35653. end;
  35654. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  35655. begin
  35656. if thebits = 0 then
  35657. pTDefRegMap(@Self)^.clr := $00000200
  35658. else
  35659. pTDefRegMap(@Self)^.&set := $00000200;
  35660. end;
  35661. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  35662. begin
  35663. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35664. end;
  35665. procedure TPORTB_ODCB.setODCB10; inline;
  35666. begin
  35667. pTDefRegMap(@Self)^.&set := $00000400;
  35668. end;
  35669. procedure TPORTB_ODCB.clearODCB10; inline;
  35670. begin
  35671. pTDefRegMap(@Self)^.clr := $00000400;
  35672. end;
  35673. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  35674. begin
  35675. if thebits = 0 then
  35676. pTDefRegMap(@Self)^.clr := $00000400
  35677. else
  35678. pTDefRegMap(@Self)^.&set := $00000400;
  35679. end;
  35680. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  35681. begin
  35682. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35683. end;
  35684. procedure TPORTB_ODCB.setODCB11; inline;
  35685. begin
  35686. pTDefRegMap(@Self)^.&set := $00000800;
  35687. end;
  35688. procedure TPORTB_ODCB.clearODCB11; inline;
  35689. begin
  35690. pTDefRegMap(@Self)^.clr := $00000800;
  35691. end;
  35692. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  35693. begin
  35694. if thebits = 0 then
  35695. pTDefRegMap(@Self)^.clr := $00000800
  35696. else
  35697. pTDefRegMap(@Self)^.&set := $00000800;
  35698. end;
  35699. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  35700. begin
  35701. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35702. end;
  35703. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  35704. begin
  35705. pTDefRegMap(@Self)^.val := thebits;
  35706. end;
  35707. function TPORTB_ODCB.getw : TBits_32; inline;
  35708. begin
  35709. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35710. end;
  35711. procedure TPORTB_CNPUB.setCNPUB0; inline;
  35712. begin
  35713. pTDefRegMap(@Self)^.&set := $00000001;
  35714. end;
  35715. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  35716. begin
  35717. pTDefRegMap(@Self)^.clr := $00000001;
  35718. end;
  35719. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  35720. begin
  35721. if thebits = 0 then
  35722. pTDefRegMap(@Self)^.clr := $00000001
  35723. else
  35724. pTDefRegMap(@Self)^.&set := $00000001;
  35725. end;
  35726. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  35727. begin
  35728. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35729. end;
  35730. procedure TPORTB_CNPUB.setCNPUB1; inline;
  35731. begin
  35732. pTDefRegMap(@Self)^.&set := $00000002;
  35733. end;
  35734. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  35735. begin
  35736. pTDefRegMap(@Self)^.clr := $00000002;
  35737. end;
  35738. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  35739. begin
  35740. if thebits = 0 then
  35741. pTDefRegMap(@Self)^.clr := $00000002
  35742. else
  35743. pTDefRegMap(@Self)^.&set := $00000002;
  35744. end;
  35745. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  35746. begin
  35747. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35748. end;
  35749. procedure TPORTB_CNPUB.setCNPUB2; inline;
  35750. begin
  35751. pTDefRegMap(@Self)^.&set := $00000004;
  35752. end;
  35753. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  35754. begin
  35755. pTDefRegMap(@Self)^.clr := $00000004;
  35756. end;
  35757. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  35758. begin
  35759. if thebits = 0 then
  35760. pTDefRegMap(@Self)^.clr := $00000004
  35761. else
  35762. pTDefRegMap(@Self)^.&set := $00000004;
  35763. end;
  35764. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  35765. begin
  35766. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35767. end;
  35768. procedure TPORTB_CNPUB.setCNPUB3; inline;
  35769. begin
  35770. pTDefRegMap(@Self)^.&set := $00000008;
  35771. end;
  35772. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  35773. begin
  35774. pTDefRegMap(@Self)^.clr := $00000008;
  35775. end;
  35776. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  35777. begin
  35778. if thebits = 0 then
  35779. pTDefRegMap(@Self)^.clr := $00000008
  35780. else
  35781. pTDefRegMap(@Self)^.&set := $00000008;
  35782. end;
  35783. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  35784. begin
  35785. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35786. end;
  35787. procedure TPORTB_CNPUB.setCNPUB4; inline;
  35788. begin
  35789. pTDefRegMap(@Self)^.&set := $00000010;
  35790. end;
  35791. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  35792. begin
  35793. pTDefRegMap(@Self)^.clr := $00000010;
  35794. end;
  35795. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  35796. begin
  35797. if thebits = 0 then
  35798. pTDefRegMap(@Self)^.clr := $00000010
  35799. else
  35800. pTDefRegMap(@Self)^.&set := $00000010;
  35801. end;
  35802. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  35803. begin
  35804. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35805. end;
  35806. procedure TPORTB_CNPUB.setCNPUB5; inline;
  35807. begin
  35808. pTDefRegMap(@Self)^.&set := $00000020;
  35809. end;
  35810. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  35811. begin
  35812. pTDefRegMap(@Self)^.clr := $00000020;
  35813. end;
  35814. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  35815. begin
  35816. if thebits = 0 then
  35817. pTDefRegMap(@Self)^.clr := $00000020
  35818. else
  35819. pTDefRegMap(@Self)^.&set := $00000020;
  35820. end;
  35821. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  35822. begin
  35823. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35824. end;
  35825. procedure TPORTB_CNPUB.setCNPUB6; inline;
  35826. begin
  35827. pTDefRegMap(@Self)^.&set := $00000040;
  35828. end;
  35829. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  35830. begin
  35831. pTDefRegMap(@Self)^.clr := $00000040;
  35832. end;
  35833. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  35834. begin
  35835. if thebits = 0 then
  35836. pTDefRegMap(@Self)^.clr := $00000040
  35837. else
  35838. pTDefRegMap(@Self)^.&set := $00000040;
  35839. end;
  35840. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  35841. begin
  35842. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35843. end;
  35844. procedure TPORTB_CNPUB.setCNPUB7; inline;
  35845. begin
  35846. pTDefRegMap(@Self)^.&set := $00000080;
  35847. end;
  35848. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  35849. begin
  35850. pTDefRegMap(@Self)^.clr := $00000080;
  35851. end;
  35852. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  35853. begin
  35854. if thebits = 0 then
  35855. pTDefRegMap(@Self)^.clr := $00000080
  35856. else
  35857. pTDefRegMap(@Self)^.&set := $00000080;
  35858. end;
  35859. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  35860. begin
  35861. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35862. end;
  35863. procedure TPORTB_CNPUB.setCNPUB8; inline;
  35864. begin
  35865. pTDefRegMap(@Self)^.&set := $00000100;
  35866. end;
  35867. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  35868. begin
  35869. pTDefRegMap(@Self)^.clr := $00000100;
  35870. end;
  35871. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  35872. begin
  35873. if thebits = 0 then
  35874. pTDefRegMap(@Self)^.clr := $00000100
  35875. else
  35876. pTDefRegMap(@Self)^.&set := $00000100;
  35877. end;
  35878. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  35879. begin
  35880. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35881. end;
  35882. procedure TPORTB_CNPUB.setCNPUB9; inline;
  35883. begin
  35884. pTDefRegMap(@Self)^.&set := $00000200;
  35885. end;
  35886. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  35887. begin
  35888. pTDefRegMap(@Self)^.clr := $00000200;
  35889. end;
  35890. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  35891. begin
  35892. if thebits = 0 then
  35893. pTDefRegMap(@Self)^.clr := $00000200
  35894. else
  35895. pTDefRegMap(@Self)^.&set := $00000200;
  35896. end;
  35897. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  35898. begin
  35899. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35900. end;
  35901. procedure TPORTB_CNPUB.setCNPUB10; inline;
  35902. begin
  35903. pTDefRegMap(@Self)^.&set := $00000400;
  35904. end;
  35905. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  35906. begin
  35907. pTDefRegMap(@Self)^.clr := $00000400;
  35908. end;
  35909. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  35910. begin
  35911. if thebits = 0 then
  35912. pTDefRegMap(@Self)^.clr := $00000400
  35913. else
  35914. pTDefRegMap(@Self)^.&set := $00000400;
  35915. end;
  35916. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  35917. begin
  35918. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35919. end;
  35920. procedure TPORTB_CNPUB.setCNPUB11; inline;
  35921. begin
  35922. pTDefRegMap(@Self)^.&set := $00000800;
  35923. end;
  35924. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  35925. begin
  35926. pTDefRegMap(@Self)^.clr := $00000800;
  35927. end;
  35928. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  35929. begin
  35930. if thebits = 0 then
  35931. pTDefRegMap(@Self)^.clr := $00000800
  35932. else
  35933. pTDefRegMap(@Self)^.&set := $00000800;
  35934. end;
  35935. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  35936. begin
  35937. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35938. end;
  35939. procedure TPORTB_CNPUB.setCNPUB12; inline;
  35940. begin
  35941. pTDefRegMap(@Self)^.&set := $00001000;
  35942. end;
  35943. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  35944. begin
  35945. pTDefRegMap(@Self)^.clr := $00001000;
  35946. end;
  35947. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  35948. begin
  35949. if thebits = 0 then
  35950. pTDefRegMap(@Self)^.clr := $00001000
  35951. else
  35952. pTDefRegMap(@Self)^.&set := $00001000;
  35953. end;
  35954. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  35955. begin
  35956. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35957. end;
  35958. procedure TPORTB_CNPUB.setCNPUB13; inline;
  35959. begin
  35960. pTDefRegMap(@Self)^.&set := $00002000;
  35961. end;
  35962. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  35963. begin
  35964. pTDefRegMap(@Self)^.clr := $00002000;
  35965. end;
  35966. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  35967. begin
  35968. if thebits = 0 then
  35969. pTDefRegMap(@Self)^.clr := $00002000
  35970. else
  35971. pTDefRegMap(@Self)^.&set := $00002000;
  35972. end;
  35973. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  35974. begin
  35975. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35976. end;
  35977. procedure TPORTB_CNPUB.setCNPUB14; inline;
  35978. begin
  35979. pTDefRegMap(@Self)^.&set := $00004000;
  35980. end;
  35981. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  35982. begin
  35983. pTDefRegMap(@Self)^.clr := $00004000;
  35984. end;
  35985. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  35986. begin
  35987. if thebits = 0 then
  35988. pTDefRegMap(@Self)^.clr := $00004000
  35989. else
  35990. pTDefRegMap(@Self)^.&set := $00004000;
  35991. end;
  35992. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  35993. begin
  35994. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35995. end;
  35996. procedure TPORTB_CNPUB.setCNPUB15; inline;
  35997. begin
  35998. pTDefRegMap(@Self)^.&set := $00008000;
  35999. end;
  36000. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  36001. begin
  36002. pTDefRegMap(@Self)^.clr := $00008000;
  36003. end;
  36004. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  36005. begin
  36006. if thebits = 0 then
  36007. pTDefRegMap(@Self)^.clr := $00008000
  36008. else
  36009. pTDefRegMap(@Self)^.&set := $00008000;
  36010. end;
  36011. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  36012. begin
  36013. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36014. end;
  36015. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  36016. begin
  36017. pTDefRegMap(@Self)^.val := thebits;
  36018. end;
  36019. function TPORTB_CNPUB.getw : TBits_32; inline;
  36020. begin
  36021. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36022. end;
  36023. procedure TPORTB_CNPDB.setCNPDB0; inline;
  36024. begin
  36025. pTDefRegMap(@Self)^.&set := $00000001;
  36026. end;
  36027. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  36028. begin
  36029. pTDefRegMap(@Self)^.clr := $00000001;
  36030. end;
  36031. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  36032. begin
  36033. if thebits = 0 then
  36034. pTDefRegMap(@Self)^.clr := $00000001
  36035. else
  36036. pTDefRegMap(@Self)^.&set := $00000001;
  36037. end;
  36038. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  36039. begin
  36040. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36041. end;
  36042. procedure TPORTB_CNPDB.setCNPDB1; inline;
  36043. begin
  36044. pTDefRegMap(@Self)^.&set := $00000002;
  36045. end;
  36046. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  36047. begin
  36048. pTDefRegMap(@Self)^.clr := $00000002;
  36049. end;
  36050. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  36051. begin
  36052. if thebits = 0 then
  36053. pTDefRegMap(@Self)^.clr := $00000002
  36054. else
  36055. pTDefRegMap(@Self)^.&set := $00000002;
  36056. end;
  36057. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  36058. begin
  36059. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36060. end;
  36061. procedure TPORTB_CNPDB.setCNPDB2; inline;
  36062. begin
  36063. pTDefRegMap(@Self)^.&set := $00000004;
  36064. end;
  36065. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  36066. begin
  36067. pTDefRegMap(@Self)^.clr := $00000004;
  36068. end;
  36069. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  36070. begin
  36071. if thebits = 0 then
  36072. pTDefRegMap(@Self)^.clr := $00000004
  36073. else
  36074. pTDefRegMap(@Self)^.&set := $00000004;
  36075. end;
  36076. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  36077. begin
  36078. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36079. end;
  36080. procedure TPORTB_CNPDB.setCNPDB3; inline;
  36081. begin
  36082. pTDefRegMap(@Self)^.&set := $00000008;
  36083. end;
  36084. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  36085. begin
  36086. pTDefRegMap(@Self)^.clr := $00000008;
  36087. end;
  36088. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  36089. begin
  36090. if thebits = 0 then
  36091. pTDefRegMap(@Self)^.clr := $00000008
  36092. else
  36093. pTDefRegMap(@Self)^.&set := $00000008;
  36094. end;
  36095. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  36096. begin
  36097. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36098. end;
  36099. procedure TPORTB_CNPDB.setCNPDB4; inline;
  36100. begin
  36101. pTDefRegMap(@Self)^.&set := $00000010;
  36102. end;
  36103. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  36104. begin
  36105. pTDefRegMap(@Self)^.clr := $00000010;
  36106. end;
  36107. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  36108. begin
  36109. if thebits = 0 then
  36110. pTDefRegMap(@Self)^.clr := $00000010
  36111. else
  36112. pTDefRegMap(@Self)^.&set := $00000010;
  36113. end;
  36114. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  36115. begin
  36116. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36117. end;
  36118. procedure TPORTB_CNPDB.setCNPDB5; inline;
  36119. begin
  36120. pTDefRegMap(@Self)^.&set := $00000020;
  36121. end;
  36122. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  36123. begin
  36124. pTDefRegMap(@Self)^.clr := $00000020;
  36125. end;
  36126. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  36127. begin
  36128. if thebits = 0 then
  36129. pTDefRegMap(@Self)^.clr := $00000020
  36130. else
  36131. pTDefRegMap(@Self)^.&set := $00000020;
  36132. end;
  36133. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  36134. begin
  36135. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36136. end;
  36137. procedure TPORTB_CNPDB.setCNPDB6; inline;
  36138. begin
  36139. pTDefRegMap(@Self)^.&set := $00000040;
  36140. end;
  36141. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  36142. begin
  36143. pTDefRegMap(@Self)^.clr := $00000040;
  36144. end;
  36145. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  36146. begin
  36147. if thebits = 0 then
  36148. pTDefRegMap(@Self)^.clr := $00000040
  36149. else
  36150. pTDefRegMap(@Self)^.&set := $00000040;
  36151. end;
  36152. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  36153. begin
  36154. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36155. end;
  36156. procedure TPORTB_CNPDB.setCNPDB7; inline;
  36157. begin
  36158. pTDefRegMap(@Self)^.&set := $00000080;
  36159. end;
  36160. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  36161. begin
  36162. pTDefRegMap(@Self)^.clr := $00000080;
  36163. end;
  36164. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  36165. begin
  36166. if thebits = 0 then
  36167. pTDefRegMap(@Self)^.clr := $00000080
  36168. else
  36169. pTDefRegMap(@Self)^.&set := $00000080;
  36170. end;
  36171. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  36172. begin
  36173. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36174. end;
  36175. procedure TPORTB_CNPDB.setCNPDB8; inline;
  36176. begin
  36177. pTDefRegMap(@Self)^.&set := $00000100;
  36178. end;
  36179. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  36180. begin
  36181. pTDefRegMap(@Self)^.clr := $00000100;
  36182. end;
  36183. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  36184. begin
  36185. if thebits = 0 then
  36186. pTDefRegMap(@Self)^.clr := $00000100
  36187. else
  36188. pTDefRegMap(@Self)^.&set := $00000100;
  36189. end;
  36190. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  36191. begin
  36192. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36193. end;
  36194. procedure TPORTB_CNPDB.setCNPDB9; inline;
  36195. begin
  36196. pTDefRegMap(@Self)^.&set := $00000200;
  36197. end;
  36198. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  36199. begin
  36200. pTDefRegMap(@Self)^.clr := $00000200;
  36201. end;
  36202. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  36203. begin
  36204. if thebits = 0 then
  36205. pTDefRegMap(@Self)^.clr := $00000200
  36206. else
  36207. pTDefRegMap(@Self)^.&set := $00000200;
  36208. end;
  36209. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  36210. begin
  36211. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36212. end;
  36213. procedure TPORTB_CNPDB.setCNPDB10; inline;
  36214. begin
  36215. pTDefRegMap(@Self)^.&set := $00000400;
  36216. end;
  36217. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  36218. begin
  36219. pTDefRegMap(@Self)^.clr := $00000400;
  36220. end;
  36221. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  36222. begin
  36223. if thebits = 0 then
  36224. pTDefRegMap(@Self)^.clr := $00000400
  36225. else
  36226. pTDefRegMap(@Self)^.&set := $00000400;
  36227. end;
  36228. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  36229. begin
  36230. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36231. end;
  36232. procedure TPORTB_CNPDB.setCNPDB11; inline;
  36233. begin
  36234. pTDefRegMap(@Self)^.&set := $00000800;
  36235. end;
  36236. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  36237. begin
  36238. pTDefRegMap(@Self)^.clr := $00000800;
  36239. end;
  36240. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  36241. begin
  36242. if thebits = 0 then
  36243. pTDefRegMap(@Self)^.clr := $00000800
  36244. else
  36245. pTDefRegMap(@Self)^.&set := $00000800;
  36246. end;
  36247. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  36248. begin
  36249. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36250. end;
  36251. procedure TPORTB_CNPDB.setCNPDB12; inline;
  36252. begin
  36253. pTDefRegMap(@Self)^.&set := $00001000;
  36254. end;
  36255. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  36256. begin
  36257. pTDefRegMap(@Self)^.clr := $00001000;
  36258. end;
  36259. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  36260. begin
  36261. if thebits = 0 then
  36262. pTDefRegMap(@Self)^.clr := $00001000
  36263. else
  36264. pTDefRegMap(@Self)^.&set := $00001000;
  36265. end;
  36266. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  36267. begin
  36268. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36269. end;
  36270. procedure TPORTB_CNPDB.setCNPDB13; inline;
  36271. begin
  36272. pTDefRegMap(@Self)^.&set := $00002000;
  36273. end;
  36274. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  36275. begin
  36276. pTDefRegMap(@Self)^.clr := $00002000;
  36277. end;
  36278. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  36279. begin
  36280. if thebits = 0 then
  36281. pTDefRegMap(@Self)^.clr := $00002000
  36282. else
  36283. pTDefRegMap(@Self)^.&set := $00002000;
  36284. end;
  36285. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  36286. begin
  36287. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36288. end;
  36289. procedure TPORTB_CNPDB.setCNPDB14; inline;
  36290. begin
  36291. pTDefRegMap(@Self)^.&set := $00004000;
  36292. end;
  36293. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  36294. begin
  36295. pTDefRegMap(@Self)^.clr := $00004000;
  36296. end;
  36297. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  36298. begin
  36299. if thebits = 0 then
  36300. pTDefRegMap(@Self)^.clr := $00004000
  36301. else
  36302. pTDefRegMap(@Self)^.&set := $00004000;
  36303. end;
  36304. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  36305. begin
  36306. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36307. end;
  36308. procedure TPORTB_CNPDB.setCNPDB15; inline;
  36309. begin
  36310. pTDefRegMap(@Self)^.&set := $00008000;
  36311. end;
  36312. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  36313. begin
  36314. pTDefRegMap(@Self)^.clr := $00008000;
  36315. end;
  36316. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  36317. begin
  36318. if thebits = 0 then
  36319. pTDefRegMap(@Self)^.clr := $00008000
  36320. else
  36321. pTDefRegMap(@Self)^.&set := $00008000;
  36322. end;
  36323. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  36324. begin
  36325. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36326. end;
  36327. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  36328. begin
  36329. pTDefRegMap(@Self)^.val := thebits;
  36330. end;
  36331. function TPORTB_CNPDB.getw : TBits_32; inline;
  36332. begin
  36333. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36334. end;
  36335. procedure TPORTB_CNCONB.setSIDL; inline;
  36336. begin
  36337. pTDefRegMap(@Self)^.&set := $00002000;
  36338. end;
  36339. procedure TPORTB_CNCONB.clearSIDL; inline;
  36340. begin
  36341. pTDefRegMap(@Self)^.clr := $00002000;
  36342. end;
  36343. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  36344. begin
  36345. if thebits = 0 then
  36346. pTDefRegMap(@Self)^.clr := $00002000
  36347. else
  36348. pTDefRegMap(@Self)^.&set := $00002000;
  36349. end;
  36350. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  36351. begin
  36352. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36353. end;
  36354. procedure TPORTB_CNCONB.setON; inline;
  36355. begin
  36356. pTDefRegMap(@Self)^.&set := $00008000;
  36357. end;
  36358. procedure TPORTB_CNCONB.clearON; inline;
  36359. begin
  36360. pTDefRegMap(@Self)^.clr := $00008000;
  36361. end;
  36362. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  36363. begin
  36364. if thebits = 0 then
  36365. pTDefRegMap(@Self)^.clr := $00008000
  36366. else
  36367. pTDefRegMap(@Self)^.&set := $00008000;
  36368. end;
  36369. function TPORTB_CNCONB.getON : TBits_1; inline;
  36370. begin
  36371. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36372. end;
  36373. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  36374. begin
  36375. pTDefRegMap(@Self)^.val := thebits;
  36376. end;
  36377. function TPORTB_CNCONB.getw : TBits_32; inline;
  36378. begin
  36379. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36380. end;
  36381. procedure TPORTB_CNENB.setCNIEB0; inline;
  36382. begin
  36383. pTDefRegMap(@Self)^.&set := $00000001;
  36384. end;
  36385. procedure TPORTB_CNENB.clearCNIEB0; inline;
  36386. begin
  36387. pTDefRegMap(@Self)^.clr := $00000001;
  36388. end;
  36389. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  36390. begin
  36391. if thebits = 0 then
  36392. pTDefRegMap(@Self)^.clr := $00000001
  36393. else
  36394. pTDefRegMap(@Self)^.&set := $00000001;
  36395. end;
  36396. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  36397. begin
  36398. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36399. end;
  36400. procedure TPORTB_CNENB.setCNIEB1; inline;
  36401. begin
  36402. pTDefRegMap(@Self)^.&set := $00000002;
  36403. end;
  36404. procedure TPORTB_CNENB.clearCNIEB1; inline;
  36405. begin
  36406. pTDefRegMap(@Self)^.clr := $00000002;
  36407. end;
  36408. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  36409. begin
  36410. if thebits = 0 then
  36411. pTDefRegMap(@Self)^.clr := $00000002
  36412. else
  36413. pTDefRegMap(@Self)^.&set := $00000002;
  36414. end;
  36415. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  36416. begin
  36417. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36418. end;
  36419. procedure TPORTB_CNENB.setCNIEB2; inline;
  36420. begin
  36421. pTDefRegMap(@Self)^.&set := $00000004;
  36422. end;
  36423. procedure TPORTB_CNENB.clearCNIEB2; inline;
  36424. begin
  36425. pTDefRegMap(@Self)^.clr := $00000004;
  36426. end;
  36427. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  36428. begin
  36429. if thebits = 0 then
  36430. pTDefRegMap(@Self)^.clr := $00000004
  36431. else
  36432. pTDefRegMap(@Self)^.&set := $00000004;
  36433. end;
  36434. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  36435. begin
  36436. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36437. end;
  36438. procedure TPORTB_CNENB.setCNIEB3; inline;
  36439. begin
  36440. pTDefRegMap(@Self)^.&set := $00000008;
  36441. end;
  36442. procedure TPORTB_CNENB.clearCNIEB3; inline;
  36443. begin
  36444. pTDefRegMap(@Self)^.clr := $00000008;
  36445. end;
  36446. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  36447. begin
  36448. if thebits = 0 then
  36449. pTDefRegMap(@Self)^.clr := $00000008
  36450. else
  36451. pTDefRegMap(@Self)^.&set := $00000008;
  36452. end;
  36453. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  36454. begin
  36455. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36456. end;
  36457. procedure TPORTB_CNENB.setCNIEB4; inline;
  36458. begin
  36459. pTDefRegMap(@Self)^.&set := $00000010;
  36460. end;
  36461. procedure TPORTB_CNENB.clearCNIEB4; inline;
  36462. begin
  36463. pTDefRegMap(@Self)^.clr := $00000010;
  36464. end;
  36465. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  36466. begin
  36467. if thebits = 0 then
  36468. pTDefRegMap(@Self)^.clr := $00000010
  36469. else
  36470. pTDefRegMap(@Self)^.&set := $00000010;
  36471. end;
  36472. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  36473. begin
  36474. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36475. end;
  36476. procedure TPORTB_CNENB.setCNIEB5; inline;
  36477. begin
  36478. pTDefRegMap(@Self)^.&set := $00000020;
  36479. end;
  36480. procedure TPORTB_CNENB.clearCNIEB5; inline;
  36481. begin
  36482. pTDefRegMap(@Self)^.clr := $00000020;
  36483. end;
  36484. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  36485. begin
  36486. if thebits = 0 then
  36487. pTDefRegMap(@Self)^.clr := $00000020
  36488. else
  36489. pTDefRegMap(@Self)^.&set := $00000020;
  36490. end;
  36491. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  36492. begin
  36493. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36494. end;
  36495. procedure TPORTB_CNENB.setCNIEB6; inline;
  36496. begin
  36497. pTDefRegMap(@Self)^.&set := $00000040;
  36498. end;
  36499. procedure TPORTB_CNENB.clearCNIEB6; inline;
  36500. begin
  36501. pTDefRegMap(@Self)^.clr := $00000040;
  36502. end;
  36503. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  36504. begin
  36505. if thebits = 0 then
  36506. pTDefRegMap(@Self)^.clr := $00000040
  36507. else
  36508. pTDefRegMap(@Self)^.&set := $00000040;
  36509. end;
  36510. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  36511. begin
  36512. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36513. end;
  36514. procedure TPORTB_CNENB.setCNIEB7; inline;
  36515. begin
  36516. pTDefRegMap(@Self)^.&set := $00000080;
  36517. end;
  36518. procedure TPORTB_CNENB.clearCNIEB7; inline;
  36519. begin
  36520. pTDefRegMap(@Self)^.clr := $00000080;
  36521. end;
  36522. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  36523. begin
  36524. if thebits = 0 then
  36525. pTDefRegMap(@Self)^.clr := $00000080
  36526. else
  36527. pTDefRegMap(@Self)^.&set := $00000080;
  36528. end;
  36529. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  36530. begin
  36531. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36532. end;
  36533. procedure TPORTB_CNENB.setCNIEB8; inline;
  36534. begin
  36535. pTDefRegMap(@Self)^.&set := $00000100;
  36536. end;
  36537. procedure TPORTB_CNENB.clearCNIEB8; inline;
  36538. begin
  36539. pTDefRegMap(@Self)^.clr := $00000100;
  36540. end;
  36541. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  36542. begin
  36543. if thebits = 0 then
  36544. pTDefRegMap(@Self)^.clr := $00000100
  36545. else
  36546. pTDefRegMap(@Self)^.&set := $00000100;
  36547. end;
  36548. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  36549. begin
  36550. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36551. end;
  36552. procedure TPORTB_CNENB.setCNIEB9; inline;
  36553. begin
  36554. pTDefRegMap(@Self)^.&set := $00000200;
  36555. end;
  36556. procedure TPORTB_CNENB.clearCNIEB9; inline;
  36557. begin
  36558. pTDefRegMap(@Self)^.clr := $00000200;
  36559. end;
  36560. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  36561. begin
  36562. if thebits = 0 then
  36563. pTDefRegMap(@Self)^.clr := $00000200
  36564. else
  36565. pTDefRegMap(@Self)^.&set := $00000200;
  36566. end;
  36567. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  36568. begin
  36569. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36570. end;
  36571. procedure TPORTB_CNENB.setCNIEB10; inline;
  36572. begin
  36573. pTDefRegMap(@Self)^.&set := $00000400;
  36574. end;
  36575. procedure TPORTB_CNENB.clearCNIEB10; inline;
  36576. begin
  36577. pTDefRegMap(@Self)^.clr := $00000400;
  36578. end;
  36579. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  36580. begin
  36581. if thebits = 0 then
  36582. pTDefRegMap(@Self)^.clr := $00000400
  36583. else
  36584. pTDefRegMap(@Self)^.&set := $00000400;
  36585. end;
  36586. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  36587. begin
  36588. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36589. end;
  36590. procedure TPORTB_CNENB.setCNIEB11; inline;
  36591. begin
  36592. pTDefRegMap(@Self)^.&set := $00000800;
  36593. end;
  36594. procedure TPORTB_CNENB.clearCNIEB11; inline;
  36595. begin
  36596. pTDefRegMap(@Self)^.clr := $00000800;
  36597. end;
  36598. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  36599. begin
  36600. if thebits = 0 then
  36601. pTDefRegMap(@Self)^.clr := $00000800
  36602. else
  36603. pTDefRegMap(@Self)^.&set := $00000800;
  36604. end;
  36605. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  36606. begin
  36607. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36608. end;
  36609. procedure TPORTB_CNENB.setCNIEB12; inline;
  36610. begin
  36611. pTDefRegMap(@Self)^.&set := $00001000;
  36612. end;
  36613. procedure TPORTB_CNENB.clearCNIEB12; inline;
  36614. begin
  36615. pTDefRegMap(@Self)^.clr := $00001000;
  36616. end;
  36617. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  36618. begin
  36619. if thebits = 0 then
  36620. pTDefRegMap(@Self)^.clr := $00001000
  36621. else
  36622. pTDefRegMap(@Self)^.&set := $00001000;
  36623. end;
  36624. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  36625. begin
  36626. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36627. end;
  36628. procedure TPORTB_CNENB.setCNIEB13; inline;
  36629. begin
  36630. pTDefRegMap(@Self)^.&set := $00002000;
  36631. end;
  36632. procedure TPORTB_CNENB.clearCNIEB13; inline;
  36633. begin
  36634. pTDefRegMap(@Self)^.clr := $00002000;
  36635. end;
  36636. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  36637. begin
  36638. if thebits = 0 then
  36639. pTDefRegMap(@Self)^.clr := $00002000
  36640. else
  36641. pTDefRegMap(@Self)^.&set := $00002000;
  36642. end;
  36643. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  36644. begin
  36645. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36646. end;
  36647. procedure TPORTB_CNENB.setCNIEB14; inline;
  36648. begin
  36649. pTDefRegMap(@Self)^.&set := $00004000;
  36650. end;
  36651. procedure TPORTB_CNENB.clearCNIEB14; inline;
  36652. begin
  36653. pTDefRegMap(@Self)^.clr := $00004000;
  36654. end;
  36655. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  36656. begin
  36657. if thebits = 0 then
  36658. pTDefRegMap(@Self)^.clr := $00004000
  36659. else
  36660. pTDefRegMap(@Self)^.&set := $00004000;
  36661. end;
  36662. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  36663. begin
  36664. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36665. end;
  36666. procedure TPORTB_CNENB.setCNIEB15; inline;
  36667. begin
  36668. pTDefRegMap(@Self)^.&set := $00008000;
  36669. end;
  36670. procedure TPORTB_CNENB.clearCNIEB15; inline;
  36671. begin
  36672. pTDefRegMap(@Self)^.clr := $00008000;
  36673. end;
  36674. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  36675. begin
  36676. if thebits = 0 then
  36677. pTDefRegMap(@Self)^.clr := $00008000
  36678. else
  36679. pTDefRegMap(@Self)^.&set := $00008000;
  36680. end;
  36681. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  36682. begin
  36683. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36684. end;
  36685. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  36686. begin
  36687. pTDefRegMap(@Self)^.val := thebits;
  36688. end;
  36689. function TPORTB_CNENB.getw : TBits_32; inline;
  36690. begin
  36691. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36692. end;
  36693. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  36694. begin
  36695. pTDefRegMap(@Self)^.&set := $00000001;
  36696. end;
  36697. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  36698. begin
  36699. pTDefRegMap(@Self)^.clr := $00000001;
  36700. end;
  36701. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  36702. begin
  36703. if thebits = 0 then
  36704. pTDefRegMap(@Self)^.clr := $00000001
  36705. else
  36706. pTDefRegMap(@Self)^.&set := $00000001;
  36707. end;
  36708. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  36709. begin
  36710. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36711. end;
  36712. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  36713. begin
  36714. pTDefRegMap(@Self)^.&set := $00000002;
  36715. end;
  36716. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  36717. begin
  36718. pTDefRegMap(@Self)^.clr := $00000002;
  36719. end;
  36720. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  36721. begin
  36722. if thebits = 0 then
  36723. pTDefRegMap(@Self)^.clr := $00000002
  36724. else
  36725. pTDefRegMap(@Self)^.&set := $00000002;
  36726. end;
  36727. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  36728. begin
  36729. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36730. end;
  36731. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  36732. begin
  36733. pTDefRegMap(@Self)^.&set := $00000004;
  36734. end;
  36735. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  36736. begin
  36737. pTDefRegMap(@Self)^.clr := $00000004;
  36738. end;
  36739. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  36740. begin
  36741. if thebits = 0 then
  36742. pTDefRegMap(@Self)^.clr := $00000004
  36743. else
  36744. pTDefRegMap(@Self)^.&set := $00000004;
  36745. end;
  36746. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  36747. begin
  36748. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36749. end;
  36750. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  36751. begin
  36752. pTDefRegMap(@Self)^.&set := $00000008;
  36753. end;
  36754. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  36755. begin
  36756. pTDefRegMap(@Self)^.clr := $00000008;
  36757. end;
  36758. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  36759. begin
  36760. if thebits = 0 then
  36761. pTDefRegMap(@Self)^.clr := $00000008
  36762. else
  36763. pTDefRegMap(@Self)^.&set := $00000008;
  36764. end;
  36765. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  36766. begin
  36767. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36768. end;
  36769. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  36770. begin
  36771. pTDefRegMap(@Self)^.&set := $00000010;
  36772. end;
  36773. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  36774. begin
  36775. pTDefRegMap(@Self)^.clr := $00000010;
  36776. end;
  36777. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  36778. begin
  36779. if thebits = 0 then
  36780. pTDefRegMap(@Self)^.clr := $00000010
  36781. else
  36782. pTDefRegMap(@Self)^.&set := $00000010;
  36783. end;
  36784. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  36785. begin
  36786. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36787. end;
  36788. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  36789. begin
  36790. pTDefRegMap(@Self)^.&set := $00000020;
  36791. end;
  36792. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  36793. begin
  36794. pTDefRegMap(@Self)^.clr := $00000020;
  36795. end;
  36796. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  36797. begin
  36798. if thebits = 0 then
  36799. pTDefRegMap(@Self)^.clr := $00000020
  36800. else
  36801. pTDefRegMap(@Self)^.&set := $00000020;
  36802. end;
  36803. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  36804. begin
  36805. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36806. end;
  36807. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  36808. begin
  36809. pTDefRegMap(@Self)^.&set := $00000040;
  36810. end;
  36811. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  36812. begin
  36813. pTDefRegMap(@Self)^.clr := $00000040;
  36814. end;
  36815. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  36816. begin
  36817. if thebits = 0 then
  36818. pTDefRegMap(@Self)^.clr := $00000040
  36819. else
  36820. pTDefRegMap(@Self)^.&set := $00000040;
  36821. end;
  36822. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  36823. begin
  36824. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36825. end;
  36826. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  36827. begin
  36828. pTDefRegMap(@Self)^.&set := $00000080;
  36829. end;
  36830. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  36831. begin
  36832. pTDefRegMap(@Self)^.clr := $00000080;
  36833. end;
  36834. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  36835. begin
  36836. if thebits = 0 then
  36837. pTDefRegMap(@Self)^.clr := $00000080
  36838. else
  36839. pTDefRegMap(@Self)^.&set := $00000080;
  36840. end;
  36841. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  36842. begin
  36843. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36844. end;
  36845. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  36846. begin
  36847. pTDefRegMap(@Self)^.&set := $00000100;
  36848. end;
  36849. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  36850. begin
  36851. pTDefRegMap(@Self)^.clr := $00000100;
  36852. end;
  36853. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  36854. begin
  36855. if thebits = 0 then
  36856. pTDefRegMap(@Self)^.clr := $00000100
  36857. else
  36858. pTDefRegMap(@Self)^.&set := $00000100;
  36859. end;
  36860. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  36861. begin
  36862. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36863. end;
  36864. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  36865. begin
  36866. pTDefRegMap(@Self)^.&set := $00000200;
  36867. end;
  36868. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  36869. begin
  36870. pTDefRegMap(@Self)^.clr := $00000200;
  36871. end;
  36872. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  36873. begin
  36874. if thebits = 0 then
  36875. pTDefRegMap(@Self)^.clr := $00000200
  36876. else
  36877. pTDefRegMap(@Self)^.&set := $00000200;
  36878. end;
  36879. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  36880. begin
  36881. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36882. end;
  36883. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  36884. begin
  36885. pTDefRegMap(@Self)^.&set := $00000400;
  36886. end;
  36887. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  36888. begin
  36889. pTDefRegMap(@Self)^.clr := $00000400;
  36890. end;
  36891. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  36892. begin
  36893. if thebits = 0 then
  36894. pTDefRegMap(@Self)^.clr := $00000400
  36895. else
  36896. pTDefRegMap(@Self)^.&set := $00000400;
  36897. end;
  36898. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  36899. begin
  36900. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36901. end;
  36902. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  36903. begin
  36904. pTDefRegMap(@Self)^.&set := $00000800;
  36905. end;
  36906. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  36907. begin
  36908. pTDefRegMap(@Self)^.clr := $00000800;
  36909. end;
  36910. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  36911. begin
  36912. if thebits = 0 then
  36913. pTDefRegMap(@Self)^.clr := $00000800
  36914. else
  36915. pTDefRegMap(@Self)^.&set := $00000800;
  36916. end;
  36917. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  36918. begin
  36919. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36920. end;
  36921. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  36922. begin
  36923. pTDefRegMap(@Self)^.&set := $00001000;
  36924. end;
  36925. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  36926. begin
  36927. pTDefRegMap(@Self)^.clr := $00001000;
  36928. end;
  36929. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  36930. begin
  36931. if thebits = 0 then
  36932. pTDefRegMap(@Self)^.clr := $00001000
  36933. else
  36934. pTDefRegMap(@Self)^.&set := $00001000;
  36935. end;
  36936. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  36937. begin
  36938. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36939. end;
  36940. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  36941. begin
  36942. pTDefRegMap(@Self)^.&set := $00002000;
  36943. end;
  36944. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  36945. begin
  36946. pTDefRegMap(@Self)^.clr := $00002000;
  36947. end;
  36948. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  36949. begin
  36950. if thebits = 0 then
  36951. pTDefRegMap(@Self)^.clr := $00002000
  36952. else
  36953. pTDefRegMap(@Self)^.&set := $00002000;
  36954. end;
  36955. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  36956. begin
  36957. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36958. end;
  36959. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  36960. begin
  36961. pTDefRegMap(@Self)^.&set := $00004000;
  36962. end;
  36963. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  36964. begin
  36965. pTDefRegMap(@Self)^.clr := $00004000;
  36966. end;
  36967. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  36968. begin
  36969. if thebits = 0 then
  36970. pTDefRegMap(@Self)^.clr := $00004000
  36971. else
  36972. pTDefRegMap(@Self)^.&set := $00004000;
  36973. end;
  36974. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  36975. begin
  36976. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36977. end;
  36978. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  36979. begin
  36980. pTDefRegMap(@Self)^.&set := $00008000;
  36981. end;
  36982. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  36983. begin
  36984. pTDefRegMap(@Self)^.clr := $00008000;
  36985. end;
  36986. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  36987. begin
  36988. if thebits = 0 then
  36989. pTDefRegMap(@Self)^.clr := $00008000
  36990. else
  36991. pTDefRegMap(@Self)^.&set := $00008000;
  36992. end;
  36993. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  36994. begin
  36995. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36996. end;
  36997. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  36998. begin
  36999. pTDefRegMap(@Self)^.val := thebits;
  37000. end;
  37001. function TPORTB_CNSTATB.getw : TBits_32; inline;
  37002. begin
  37003. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37004. end;
  37005. procedure TPORTC_ANSELC.setANSC0; inline;
  37006. begin
  37007. pTDefRegMap(@Self)^.&set := $00000001;
  37008. end;
  37009. procedure TPORTC_ANSELC.clearANSC0; inline;
  37010. begin
  37011. pTDefRegMap(@Self)^.clr := $00000001;
  37012. end;
  37013. procedure TPORTC_ANSELC.setANSC0(thebits : TBits_1); inline;
  37014. begin
  37015. if thebits = 0 then
  37016. pTDefRegMap(@Self)^.clr := $00000001
  37017. else
  37018. pTDefRegMap(@Self)^.&set := $00000001;
  37019. end;
  37020. function TPORTC_ANSELC.getANSC0 : TBits_1; inline;
  37021. begin
  37022. getANSC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37023. end;
  37024. procedure TPORTC_ANSELC.setANSC1; inline;
  37025. begin
  37026. pTDefRegMap(@Self)^.&set := $00000002;
  37027. end;
  37028. procedure TPORTC_ANSELC.clearANSC1; inline;
  37029. begin
  37030. pTDefRegMap(@Self)^.clr := $00000002;
  37031. end;
  37032. procedure TPORTC_ANSELC.setANSC1(thebits : TBits_1); inline;
  37033. begin
  37034. if thebits = 0 then
  37035. pTDefRegMap(@Self)^.clr := $00000002
  37036. else
  37037. pTDefRegMap(@Self)^.&set := $00000002;
  37038. end;
  37039. function TPORTC_ANSELC.getANSC1 : TBits_1; inline;
  37040. begin
  37041. getANSC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37042. end;
  37043. procedure TPORTC_ANSELC.setANSC3; inline;
  37044. begin
  37045. pTDefRegMap(@Self)^.&set := $00000008;
  37046. end;
  37047. procedure TPORTC_ANSELC.clearANSC3; inline;
  37048. begin
  37049. pTDefRegMap(@Self)^.clr := $00000008;
  37050. end;
  37051. procedure TPORTC_ANSELC.setANSC3(thebits : TBits_1); inline;
  37052. begin
  37053. if thebits = 0 then
  37054. pTDefRegMap(@Self)^.clr := $00000008
  37055. else
  37056. pTDefRegMap(@Self)^.&set := $00000008;
  37057. end;
  37058. function TPORTC_ANSELC.getANSC3 : TBits_1; inline;
  37059. begin
  37060. getANSC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37061. end;
  37062. procedure TPORTC_ANSELC.setw(thebits : TBits_32); inline;
  37063. begin
  37064. pTDefRegMap(@Self)^.val := thebits;
  37065. end;
  37066. function TPORTC_ANSELC.getw : TBits_32; inline;
  37067. begin
  37068. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37069. end;
  37070. procedure TPORTC_TRISC.setTRISC0; inline;
  37071. begin
  37072. pTDefRegMap(@Self)^.&set := $00000001;
  37073. end;
  37074. procedure TPORTC_TRISC.clearTRISC0; inline;
  37075. begin
  37076. pTDefRegMap(@Self)^.clr := $00000001;
  37077. end;
  37078. procedure TPORTC_TRISC.setTRISC0(thebits : TBits_1); inline;
  37079. begin
  37080. if thebits = 0 then
  37081. pTDefRegMap(@Self)^.clr := $00000001
  37082. else
  37083. pTDefRegMap(@Self)^.&set := $00000001;
  37084. end;
  37085. function TPORTC_TRISC.getTRISC0 : TBits_1; inline;
  37086. begin
  37087. getTRISC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37088. end;
  37089. procedure TPORTC_TRISC.setTRISC1; inline;
  37090. begin
  37091. pTDefRegMap(@Self)^.&set := $00000002;
  37092. end;
  37093. procedure TPORTC_TRISC.clearTRISC1; inline;
  37094. begin
  37095. pTDefRegMap(@Self)^.clr := $00000002;
  37096. end;
  37097. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  37098. begin
  37099. if thebits = 0 then
  37100. pTDefRegMap(@Self)^.clr := $00000002
  37101. else
  37102. pTDefRegMap(@Self)^.&set := $00000002;
  37103. end;
  37104. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  37105. begin
  37106. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37107. end;
  37108. procedure TPORTC_TRISC.setTRISC3; inline;
  37109. begin
  37110. pTDefRegMap(@Self)^.&set := $00000008;
  37111. end;
  37112. procedure TPORTC_TRISC.clearTRISC3; inline;
  37113. begin
  37114. pTDefRegMap(@Self)^.clr := $00000008;
  37115. end;
  37116. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  37117. begin
  37118. if thebits = 0 then
  37119. pTDefRegMap(@Self)^.clr := $00000008
  37120. else
  37121. pTDefRegMap(@Self)^.&set := $00000008;
  37122. end;
  37123. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  37124. begin
  37125. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37126. end;
  37127. procedure TPORTC_TRISC.setTRISC9; inline;
  37128. begin
  37129. pTDefRegMap(@Self)^.&set := $00000200;
  37130. end;
  37131. procedure TPORTC_TRISC.clearTRISC9; inline;
  37132. begin
  37133. pTDefRegMap(@Self)^.clr := $00000200;
  37134. end;
  37135. procedure TPORTC_TRISC.setTRISC9(thebits : TBits_1); inline;
  37136. begin
  37137. if thebits = 0 then
  37138. pTDefRegMap(@Self)^.clr := $00000200
  37139. else
  37140. pTDefRegMap(@Self)^.&set := $00000200;
  37141. end;
  37142. function TPORTC_TRISC.getTRISC9 : TBits_1; inline;
  37143. begin
  37144. getTRISC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37145. end;
  37146. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  37147. begin
  37148. pTDefRegMap(@Self)^.val := thebits;
  37149. end;
  37150. function TPORTC_TRISC.getw : TBits_32; inline;
  37151. begin
  37152. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37153. end;
  37154. procedure TPORTC_PORTC.setRC0; inline;
  37155. begin
  37156. pTDefRegMap(@Self)^.&set := $00000001;
  37157. end;
  37158. procedure TPORTC_PORTC.clearRC0; inline;
  37159. begin
  37160. pTDefRegMap(@Self)^.clr := $00000001;
  37161. end;
  37162. procedure TPORTC_PORTC.setRC0(thebits : TBits_1); inline;
  37163. begin
  37164. if thebits = 0 then
  37165. pTDefRegMap(@Self)^.clr := $00000001
  37166. else
  37167. pTDefRegMap(@Self)^.&set := $00000001;
  37168. end;
  37169. function TPORTC_PORTC.getRC0 : TBits_1; inline;
  37170. begin
  37171. getRC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37172. end;
  37173. procedure TPORTC_PORTC.setRC1; inline;
  37174. begin
  37175. pTDefRegMap(@Self)^.&set := $00000002;
  37176. end;
  37177. procedure TPORTC_PORTC.clearRC1; inline;
  37178. begin
  37179. pTDefRegMap(@Self)^.clr := $00000002;
  37180. end;
  37181. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  37182. begin
  37183. if thebits = 0 then
  37184. pTDefRegMap(@Self)^.clr := $00000002
  37185. else
  37186. pTDefRegMap(@Self)^.&set := $00000002;
  37187. end;
  37188. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  37189. begin
  37190. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37191. end;
  37192. procedure TPORTC_PORTC.setRC3; inline;
  37193. begin
  37194. pTDefRegMap(@Self)^.&set := $00000008;
  37195. end;
  37196. procedure TPORTC_PORTC.clearRC3; inline;
  37197. begin
  37198. pTDefRegMap(@Self)^.clr := $00000008;
  37199. end;
  37200. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  37201. begin
  37202. if thebits = 0 then
  37203. pTDefRegMap(@Self)^.clr := $00000008
  37204. else
  37205. pTDefRegMap(@Self)^.&set := $00000008;
  37206. end;
  37207. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  37208. begin
  37209. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37210. end;
  37211. procedure TPORTC_PORTC.setRC9; inline;
  37212. begin
  37213. pTDefRegMap(@Self)^.&set := $00000200;
  37214. end;
  37215. procedure TPORTC_PORTC.clearRC9; inline;
  37216. begin
  37217. pTDefRegMap(@Self)^.clr := $00000200;
  37218. end;
  37219. procedure TPORTC_PORTC.setRC9(thebits : TBits_1); inline;
  37220. begin
  37221. if thebits = 0 then
  37222. pTDefRegMap(@Self)^.clr := $00000200
  37223. else
  37224. pTDefRegMap(@Self)^.&set := $00000200;
  37225. end;
  37226. function TPORTC_PORTC.getRC9 : TBits_1; inline;
  37227. begin
  37228. getRC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37229. end;
  37230. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  37231. begin
  37232. pTDefRegMap(@Self)^.val := thebits;
  37233. end;
  37234. function TPORTC_PORTC.getw : TBits_32; inline;
  37235. begin
  37236. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37237. end;
  37238. procedure TPORTC_LATC.setLATC0; inline;
  37239. begin
  37240. pTDefRegMap(@Self)^.&set := $00000001;
  37241. end;
  37242. procedure TPORTC_LATC.clearLATC0; inline;
  37243. begin
  37244. pTDefRegMap(@Self)^.clr := $00000001;
  37245. end;
  37246. procedure TPORTC_LATC.setLATC0(thebits : TBits_1); inline;
  37247. begin
  37248. if thebits = 0 then
  37249. pTDefRegMap(@Self)^.clr := $00000001
  37250. else
  37251. pTDefRegMap(@Self)^.&set := $00000001;
  37252. end;
  37253. function TPORTC_LATC.getLATC0 : TBits_1; inline;
  37254. begin
  37255. getLATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37256. end;
  37257. procedure TPORTC_LATC.setLATC1; inline;
  37258. begin
  37259. pTDefRegMap(@Self)^.&set := $00000002;
  37260. end;
  37261. procedure TPORTC_LATC.clearLATC1; inline;
  37262. begin
  37263. pTDefRegMap(@Self)^.clr := $00000002;
  37264. end;
  37265. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  37266. begin
  37267. if thebits = 0 then
  37268. pTDefRegMap(@Self)^.clr := $00000002
  37269. else
  37270. pTDefRegMap(@Self)^.&set := $00000002;
  37271. end;
  37272. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  37273. begin
  37274. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37275. end;
  37276. procedure TPORTC_LATC.setLATC3; inline;
  37277. begin
  37278. pTDefRegMap(@Self)^.&set := $00000008;
  37279. end;
  37280. procedure TPORTC_LATC.clearLATC3; inline;
  37281. begin
  37282. pTDefRegMap(@Self)^.clr := $00000008;
  37283. end;
  37284. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  37285. begin
  37286. if thebits = 0 then
  37287. pTDefRegMap(@Self)^.clr := $00000008
  37288. else
  37289. pTDefRegMap(@Self)^.&set := $00000008;
  37290. end;
  37291. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  37292. begin
  37293. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37294. end;
  37295. procedure TPORTC_LATC.setLATC9; inline;
  37296. begin
  37297. pTDefRegMap(@Self)^.&set := $00000200;
  37298. end;
  37299. procedure TPORTC_LATC.clearLATC9; inline;
  37300. begin
  37301. pTDefRegMap(@Self)^.clr := $00000200;
  37302. end;
  37303. procedure TPORTC_LATC.setLATC9(thebits : TBits_1); inline;
  37304. begin
  37305. if thebits = 0 then
  37306. pTDefRegMap(@Self)^.clr := $00000200
  37307. else
  37308. pTDefRegMap(@Self)^.&set := $00000200;
  37309. end;
  37310. function TPORTC_LATC.getLATC9 : TBits_1; inline;
  37311. begin
  37312. getLATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37313. end;
  37314. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  37315. begin
  37316. pTDefRegMap(@Self)^.val := thebits;
  37317. end;
  37318. function TPORTC_LATC.getw : TBits_32; inline;
  37319. begin
  37320. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37321. end;
  37322. procedure TPORTC_ODCC.setODCC9; inline;
  37323. begin
  37324. pTDefRegMap(@Self)^.&set := $00000200;
  37325. end;
  37326. procedure TPORTC_ODCC.clearODCC9; inline;
  37327. begin
  37328. pTDefRegMap(@Self)^.clr := $00000200;
  37329. end;
  37330. procedure TPORTC_ODCC.setODCC9(thebits : TBits_1); inline;
  37331. begin
  37332. if thebits = 0 then
  37333. pTDefRegMap(@Self)^.clr := $00000200
  37334. else
  37335. pTDefRegMap(@Self)^.&set := $00000200;
  37336. end;
  37337. function TPORTC_ODCC.getODCC9 : TBits_1; inline;
  37338. begin
  37339. getODCC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37340. end;
  37341. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  37342. begin
  37343. pTDefRegMap(@Self)^.val := thebits;
  37344. end;
  37345. function TPORTC_ODCC.getw : TBits_32; inline;
  37346. begin
  37347. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37348. end;
  37349. procedure TPORTC_CNPUC.setCNPUC0; inline;
  37350. begin
  37351. pTDefRegMap(@Self)^.&set := $00000001;
  37352. end;
  37353. procedure TPORTC_CNPUC.clearCNPUC0; inline;
  37354. begin
  37355. pTDefRegMap(@Self)^.clr := $00000001;
  37356. end;
  37357. procedure TPORTC_CNPUC.setCNPUC0(thebits : TBits_1); inline;
  37358. begin
  37359. if thebits = 0 then
  37360. pTDefRegMap(@Self)^.clr := $00000001
  37361. else
  37362. pTDefRegMap(@Self)^.&set := $00000001;
  37363. end;
  37364. function TPORTC_CNPUC.getCNPUC0 : TBits_1; inline;
  37365. begin
  37366. getCNPUC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37367. end;
  37368. procedure TPORTC_CNPUC.setCNPUC1; inline;
  37369. begin
  37370. pTDefRegMap(@Self)^.&set := $00000002;
  37371. end;
  37372. procedure TPORTC_CNPUC.clearCNPUC1; inline;
  37373. begin
  37374. pTDefRegMap(@Self)^.clr := $00000002;
  37375. end;
  37376. procedure TPORTC_CNPUC.setCNPUC1(thebits : TBits_1); inline;
  37377. begin
  37378. if thebits = 0 then
  37379. pTDefRegMap(@Self)^.clr := $00000002
  37380. else
  37381. pTDefRegMap(@Self)^.&set := $00000002;
  37382. end;
  37383. function TPORTC_CNPUC.getCNPUC1 : TBits_1; inline;
  37384. begin
  37385. getCNPUC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37386. end;
  37387. procedure TPORTC_CNPUC.setCNPUC3; inline;
  37388. begin
  37389. pTDefRegMap(@Self)^.&set := $00000008;
  37390. end;
  37391. procedure TPORTC_CNPUC.clearCNPUC3; inline;
  37392. begin
  37393. pTDefRegMap(@Self)^.clr := $00000008;
  37394. end;
  37395. procedure TPORTC_CNPUC.setCNPUC3(thebits : TBits_1); inline;
  37396. begin
  37397. if thebits = 0 then
  37398. pTDefRegMap(@Self)^.clr := $00000008
  37399. else
  37400. pTDefRegMap(@Self)^.&set := $00000008;
  37401. end;
  37402. function TPORTC_CNPUC.getCNPUC3 : TBits_1; inline;
  37403. begin
  37404. getCNPUC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37405. end;
  37406. procedure TPORTC_CNPUC.setCNPUC9; inline;
  37407. begin
  37408. pTDefRegMap(@Self)^.&set := $00000200;
  37409. end;
  37410. procedure TPORTC_CNPUC.clearCNPUC9; inline;
  37411. begin
  37412. pTDefRegMap(@Self)^.clr := $00000200;
  37413. end;
  37414. procedure TPORTC_CNPUC.setCNPUC9(thebits : TBits_1); inline;
  37415. begin
  37416. if thebits = 0 then
  37417. pTDefRegMap(@Self)^.clr := $00000200
  37418. else
  37419. pTDefRegMap(@Self)^.&set := $00000200;
  37420. end;
  37421. function TPORTC_CNPUC.getCNPUC9 : TBits_1; inline;
  37422. begin
  37423. getCNPUC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37424. end;
  37425. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  37426. begin
  37427. pTDefRegMap(@Self)^.val := thebits;
  37428. end;
  37429. function TPORTC_CNPUC.getw : TBits_32; inline;
  37430. begin
  37431. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37432. end;
  37433. procedure TPORTC_CNPDC.setCNPDC0; inline;
  37434. begin
  37435. pTDefRegMap(@Self)^.&set := $00000001;
  37436. end;
  37437. procedure TPORTC_CNPDC.clearCNPDC0; inline;
  37438. begin
  37439. pTDefRegMap(@Self)^.clr := $00000001;
  37440. end;
  37441. procedure TPORTC_CNPDC.setCNPDC0(thebits : TBits_1); inline;
  37442. begin
  37443. if thebits = 0 then
  37444. pTDefRegMap(@Self)^.clr := $00000001
  37445. else
  37446. pTDefRegMap(@Self)^.&set := $00000001;
  37447. end;
  37448. function TPORTC_CNPDC.getCNPDC0 : TBits_1; inline;
  37449. begin
  37450. getCNPDC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37451. end;
  37452. procedure TPORTC_CNPDC.setCNPDC1; inline;
  37453. begin
  37454. pTDefRegMap(@Self)^.&set := $00000002;
  37455. end;
  37456. procedure TPORTC_CNPDC.clearCNPDC1; inline;
  37457. begin
  37458. pTDefRegMap(@Self)^.clr := $00000002;
  37459. end;
  37460. procedure TPORTC_CNPDC.setCNPDC1(thebits : TBits_1); inline;
  37461. begin
  37462. if thebits = 0 then
  37463. pTDefRegMap(@Self)^.clr := $00000002
  37464. else
  37465. pTDefRegMap(@Self)^.&set := $00000002;
  37466. end;
  37467. function TPORTC_CNPDC.getCNPDC1 : TBits_1; inline;
  37468. begin
  37469. getCNPDC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37470. end;
  37471. procedure TPORTC_CNPDC.setCNPDC3; inline;
  37472. begin
  37473. pTDefRegMap(@Self)^.&set := $00000008;
  37474. end;
  37475. procedure TPORTC_CNPDC.clearCNPDC3; inline;
  37476. begin
  37477. pTDefRegMap(@Self)^.clr := $00000008;
  37478. end;
  37479. procedure TPORTC_CNPDC.setCNPDC3(thebits : TBits_1); inline;
  37480. begin
  37481. if thebits = 0 then
  37482. pTDefRegMap(@Self)^.clr := $00000008
  37483. else
  37484. pTDefRegMap(@Self)^.&set := $00000008;
  37485. end;
  37486. function TPORTC_CNPDC.getCNPDC3 : TBits_1; inline;
  37487. begin
  37488. getCNPDC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37489. end;
  37490. procedure TPORTC_CNPDC.setCNPDC9; inline;
  37491. begin
  37492. pTDefRegMap(@Self)^.&set := $00000200;
  37493. end;
  37494. procedure TPORTC_CNPDC.clearCNPDC9; inline;
  37495. begin
  37496. pTDefRegMap(@Self)^.clr := $00000200;
  37497. end;
  37498. procedure TPORTC_CNPDC.setCNPDC9(thebits : TBits_1); inline;
  37499. begin
  37500. if thebits = 0 then
  37501. pTDefRegMap(@Self)^.clr := $00000200
  37502. else
  37503. pTDefRegMap(@Self)^.&set := $00000200;
  37504. end;
  37505. function TPORTC_CNPDC.getCNPDC9 : TBits_1; inline;
  37506. begin
  37507. getCNPDC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37508. end;
  37509. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  37510. begin
  37511. pTDefRegMap(@Self)^.val := thebits;
  37512. end;
  37513. function TPORTC_CNPDC.getw : TBits_32; inline;
  37514. begin
  37515. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37516. end;
  37517. procedure TPORTC_CNCONC.setSIDL; inline;
  37518. begin
  37519. pTDefRegMap(@Self)^.&set := $00002000;
  37520. end;
  37521. procedure TPORTC_CNCONC.clearSIDL; inline;
  37522. begin
  37523. pTDefRegMap(@Self)^.clr := $00002000;
  37524. end;
  37525. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  37526. begin
  37527. if thebits = 0 then
  37528. pTDefRegMap(@Self)^.clr := $00002000
  37529. else
  37530. pTDefRegMap(@Self)^.&set := $00002000;
  37531. end;
  37532. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  37533. begin
  37534. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37535. end;
  37536. procedure TPORTC_CNCONC.setON; inline;
  37537. begin
  37538. pTDefRegMap(@Self)^.&set := $00008000;
  37539. end;
  37540. procedure TPORTC_CNCONC.clearON; inline;
  37541. begin
  37542. pTDefRegMap(@Self)^.clr := $00008000;
  37543. end;
  37544. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  37545. begin
  37546. if thebits = 0 then
  37547. pTDefRegMap(@Self)^.clr := $00008000
  37548. else
  37549. pTDefRegMap(@Self)^.&set := $00008000;
  37550. end;
  37551. function TPORTC_CNCONC.getON : TBits_1; inline;
  37552. begin
  37553. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37554. end;
  37555. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  37556. begin
  37557. pTDefRegMap(@Self)^.val := thebits;
  37558. end;
  37559. function TPORTC_CNCONC.getw : TBits_32; inline;
  37560. begin
  37561. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37562. end;
  37563. procedure TPORTC_CNENC.setCNIEC0; inline;
  37564. begin
  37565. pTDefRegMap(@Self)^.&set := $00000001;
  37566. end;
  37567. procedure TPORTC_CNENC.clearCNIEC0; inline;
  37568. begin
  37569. pTDefRegMap(@Self)^.clr := $00000001;
  37570. end;
  37571. procedure TPORTC_CNENC.setCNIEC0(thebits : TBits_1); inline;
  37572. begin
  37573. if thebits = 0 then
  37574. pTDefRegMap(@Self)^.clr := $00000001
  37575. else
  37576. pTDefRegMap(@Self)^.&set := $00000001;
  37577. end;
  37578. function TPORTC_CNENC.getCNIEC0 : TBits_1; inline;
  37579. begin
  37580. getCNIEC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37581. end;
  37582. procedure TPORTC_CNENC.setCNIEC1; inline;
  37583. begin
  37584. pTDefRegMap(@Self)^.&set := $00000002;
  37585. end;
  37586. procedure TPORTC_CNENC.clearCNIEC1; inline;
  37587. begin
  37588. pTDefRegMap(@Self)^.clr := $00000002;
  37589. end;
  37590. procedure TPORTC_CNENC.setCNIEC1(thebits : TBits_1); inline;
  37591. begin
  37592. if thebits = 0 then
  37593. pTDefRegMap(@Self)^.clr := $00000002
  37594. else
  37595. pTDefRegMap(@Self)^.&set := $00000002;
  37596. end;
  37597. function TPORTC_CNENC.getCNIEC1 : TBits_1; inline;
  37598. begin
  37599. getCNIEC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37600. end;
  37601. procedure TPORTC_CNENC.setCNIEC3; inline;
  37602. begin
  37603. pTDefRegMap(@Self)^.&set := $00000008;
  37604. end;
  37605. procedure TPORTC_CNENC.clearCNIEC3; inline;
  37606. begin
  37607. pTDefRegMap(@Self)^.clr := $00000008;
  37608. end;
  37609. procedure TPORTC_CNENC.setCNIEC3(thebits : TBits_1); inline;
  37610. begin
  37611. if thebits = 0 then
  37612. pTDefRegMap(@Self)^.clr := $00000008
  37613. else
  37614. pTDefRegMap(@Self)^.&set := $00000008;
  37615. end;
  37616. function TPORTC_CNENC.getCNIEC3 : TBits_1; inline;
  37617. begin
  37618. getCNIEC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37619. end;
  37620. procedure TPORTC_CNENC.setCNIEC9; inline;
  37621. begin
  37622. pTDefRegMap(@Self)^.&set := $00000200;
  37623. end;
  37624. procedure TPORTC_CNENC.clearCNIEC9; inline;
  37625. begin
  37626. pTDefRegMap(@Self)^.clr := $00000200;
  37627. end;
  37628. procedure TPORTC_CNENC.setCNIEC9(thebits : TBits_1); inline;
  37629. begin
  37630. if thebits = 0 then
  37631. pTDefRegMap(@Self)^.clr := $00000200
  37632. else
  37633. pTDefRegMap(@Self)^.&set := $00000200;
  37634. end;
  37635. function TPORTC_CNENC.getCNIEC9 : TBits_1; inline;
  37636. begin
  37637. getCNIEC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37638. end;
  37639. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  37640. begin
  37641. pTDefRegMap(@Self)^.val := thebits;
  37642. end;
  37643. function TPORTC_CNENC.getw : TBits_32; inline;
  37644. begin
  37645. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37646. end;
  37647. procedure TPORTC_CNSTATC.setCNSTATC0; inline;
  37648. begin
  37649. pTDefRegMap(@Self)^.&set := $00000001;
  37650. end;
  37651. procedure TPORTC_CNSTATC.clearCNSTATC0; inline;
  37652. begin
  37653. pTDefRegMap(@Self)^.clr := $00000001;
  37654. end;
  37655. procedure TPORTC_CNSTATC.setCNSTATC0(thebits : TBits_1); inline;
  37656. begin
  37657. if thebits = 0 then
  37658. pTDefRegMap(@Self)^.clr := $00000001
  37659. else
  37660. pTDefRegMap(@Self)^.&set := $00000001;
  37661. end;
  37662. function TPORTC_CNSTATC.getCNSTATC0 : TBits_1; inline;
  37663. begin
  37664. getCNSTATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37665. end;
  37666. procedure TPORTC_CNSTATC.setCNSTATC1; inline;
  37667. begin
  37668. pTDefRegMap(@Self)^.&set := $00000002;
  37669. end;
  37670. procedure TPORTC_CNSTATC.clearCNSTATC1; inline;
  37671. begin
  37672. pTDefRegMap(@Self)^.clr := $00000002;
  37673. end;
  37674. procedure TPORTC_CNSTATC.setCNSTATC1(thebits : TBits_1); inline;
  37675. begin
  37676. if thebits = 0 then
  37677. pTDefRegMap(@Self)^.clr := $00000002
  37678. else
  37679. pTDefRegMap(@Self)^.&set := $00000002;
  37680. end;
  37681. function TPORTC_CNSTATC.getCNSTATC1 : TBits_1; inline;
  37682. begin
  37683. getCNSTATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37684. end;
  37685. procedure TPORTC_CNSTATC.setCNSTATC3; inline;
  37686. begin
  37687. pTDefRegMap(@Self)^.&set := $00000008;
  37688. end;
  37689. procedure TPORTC_CNSTATC.clearCNSTATC3; inline;
  37690. begin
  37691. pTDefRegMap(@Self)^.clr := $00000008;
  37692. end;
  37693. procedure TPORTC_CNSTATC.setCNSTATC3(thebits : TBits_1); inline;
  37694. begin
  37695. if thebits = 0 then
  37696. pTDefRegMap(@Self)^.clr := $00000008
  37697. else
  37698. pTDefRegMap(@Self)^.&set := $00000008;
  37699. end;
  37700. function TPORTC_CNSTATC.getCNSTATC3 : TBits_1; inline;
  37701. begin
  37702. getCNSTATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37703. end;
  37704. procedure TPORTC_CNSTATC.setCNSTATC9; inline;
  37705. begin
  37706. pTDefRegMap(@Self)^.&set := $00000200;
  37707. end;
  37708. procedure TPORTC_CNSTATC.clearCNSTATC9; inline;
  37709. begin
  37710. pTDefRegMap(@Self)^.clr := $00000200;
  37711. end;
  37712. procedure TPORTC_CNSTATC.setCNSTATC9(thebits : TBits_1); inline;
  37713. begin
  37714. if thebits = 0 then
  37715. pTDefRegMap(@Self)^.clr := $00000200
  37716. else
  37717. pTDefRegMap(@Self)^.&set := $00000200;
  37718. end;
  37719. function TPORTC_CNSTATC.getCNSTATC9 : TBits_1; inline;
  37720. begin
  37721. getCNSTATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37722. end;
  37723. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  37724. begin
  37725. pTDefRegMap(@Self)^.val := thebits;
  37726. end;
  37727. function TPORTC_CNSTATC.getw : TBits_32; inline;
  37728. begin
  37729. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37730. end;
  37731. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  37732. begin
  37733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  37734. end;
  37735. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  37736. begin
  37737. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  37738. end;
  37739. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  37740. begin
  37741. pTDefRegMap(@Self)^.&set := $10000000;
  37742. end;
  37743. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  37744. begin
  37745. pTDefRegMap(@Self)^.clr := $10000000;
  37746. end;
  37747. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  37748. begin
  37749. if thebits = 0 then
  37750. pTDefRegMap(@Self)^.clr := $10000000
  37751. else
  37752. pTDefRegMap(@Self)^.&set := $10000000;
  37753. end;
  37754. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  37755. begin
  37756. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  37757. end;
  37758. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  37759. begin
  37760. pTDefRegMap(@Self)^.&set := $20000000;
  37761. end;
  37762. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  37763. begin
  37764. pTDefRegMap(@Self)^.clr := $20000000;
  37765. end;
  37766. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  37767. begin
  37768. if thebits = 0 then
  37769. pTDefRegMap(@Self)^.clr := $20000000
  37770. else
  37771. pTDefRegMap(@Self)^.&set := $20000000;
  37772. end;
  37773. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  37774. begin
  37775. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  37776. end;
  37777. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  37778. begin
  37779. pTDefRegMap(@Self)^.&set := $40000000;
  37780. end;
  37781. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  37782. begin
  37783. pTDefRegMap(@Self)^.clr := $40000000;
  37784. end;
  37785. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  37786. begin
  37787. if thebits = 0 then
  37788. pTDefRegMap(@Self)^.clr := $40000000
  37789. else
  37790. pTDefRegMap(@Self)^.&set := $40000000;
  37791. end;
  37792. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  37793. begin
  37794. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  37795. end;
  37796. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  37797. begin
  37798. pTDefRegMap(@Self)^.&set := $80000000;
  37799. end;
  37800. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  37801. begin
  37802. pTDefRegMap(@Self)^.clr := $80000000;
  37803. end;
  37804. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  37805. begin
  37806. if thebits = 0 then
  37807. pTDefRegMap(@Self)^.clr := $80000000
  37808. else
  37809. pTDefRegMap(@Self)^.&set := $80000000;
  37810. end;
  37811. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  37812. begin
  37813. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  37814. end;
  37815. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  37816. begin
  37817. pTDefRegMap(@Self)^.val := thebits;
  37818. end;
  37819. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  37820. begin
  37821. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37822. end;
  37823. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  37824. begin
  37825. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37826. end;
  37827. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  37828. begin
  37829. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37830. end;
  37831. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  37832. begin
  37833. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  37834. end;
  37835. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  37836. begin
  37837. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  37838. end;
  37839. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  37840. begin
  37841. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  37842. end;
  37843. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  37844. begin
  37845. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  37846. end;
  37847. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  37848. begin
  37849. pTDefRegMap(@Self)^.val := thebits;
  37850. end;
  37851. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  37852. begin
  37853. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37854. end;
  37855. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  37856. begin
  37857. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37858. end;
  37859. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  37860. begin
  37861. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37862. end;
  37863. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  37864. begin
  37865. pTDefRegMap(@Self)^.&set := $00000020;
  37866. end;
  37867. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  37868. begin
  37869. pTDefRegMap(@Self)^.clr := $00000020;
  37870. end;
  37871. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  37872. begin
  37873. if thebits = 0 then
  37874. pTDefRegMap(@Self)^.clr := $00000020
  37875. else
  37876. pTDefRegMap(@Self)^.&set := $00000020;
  37877. end;
  37878. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  37879. begin
  37880. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37881. end;
  37882. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  37883. begin
  37884. pTDefRegMap(@Self)^.&set := $00000080;
  37885. end;
  37886. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  37887. begin
  37888. pTDefRegMap(@Self)^.clr := $00000080;
  37889. end;
  37890. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  37891. begin
  37892. if thebits = 0 then
  37893. pTDefRegMap(@Self)^.clr := $00000080
  37894. else
  37895. pTDefRegMap(@Self)^.&set := $00000080;
  37896. end;
  37897. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  37898. begin
  37899. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37900. end;
  37901. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  37902. begin
  37903. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37904. end;
  37905. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  37906. begin
  37907. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37908. end;
  37909. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  37910. begin
  37911. pTDefRegMap(@Self)^.&set := $00000400;
  37912. end;
  37913. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  37914. begin
  37915. pTDefRegMap(@Self)^.clr := $00000400;
  37916. end;
  37917. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  37918. begin
  37919. if thebits = 0 then
  37920. pTDefRegMap(@Self)^.clr := $00000400
  37921. else
  37922. pTDefRegMap(@Self)^.&set := $00000400;
  37923. end;
  37924. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  37925. begin
  37926. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37927. end;
  37928. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  37929. begin
  37930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  37931. end;
  37932. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  37933. begin
  37934. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  37935. end;
  37936. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  37937. begin
  37938. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37939. end;
  37940. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  37941. begin
  37942. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37943. end;
  37944. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  37945. begin
  37946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  37947. end;
  37948. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  37949. begin
  37950. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  37951. end;
  37952. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  37953. begin
  37954. pTDefRegMap(@Self)^.&set := $00400000;
  37955. end;
  37956. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  37957. begin
  37958. pTDefRegMap(@Self)^.clr := $00400000;
  37959. end;
  37960. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  37961. begin
  37962. if thebits = 0 then
  37963. pTDefRegMap(@Self)^.clr := $00400000
  37964. else
  37965. pTDefRegMap(@Self)^.&set := $00400000;
  37966. end;
  37967. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  37968. begin
  37969. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  37970. end;
  37971. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  37972. begin
  37973. pTDefRegMap(@Self)^.&set := $00800000;
  37974. end;
  37975. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  37976. begin
  37977. pTDefRegMap(@Self)^.clr := $00800000;
  37978. end;
  37979. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  37980. begin
  37981. if thebits = 0 then
  37982. pTDefRegMap(@Self)^.clr := $00800000
  37983. else
  37984. pTDefRegMap(@Self)^.&set := $00800000;
  37985. end;
  37986. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  37987. begin
  37988. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37989. end;
  37990. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  37991. begin
  37992. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37993. end;
  37994. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  37995. begin
  37996. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37997. end;
  37998. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  37999. begin
  38000. pTDefRegMap(@Self)^.val := thebits;
  38001. end;
  38002. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  38003. begin
  38004. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38005. end;
  38006. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  38007. begin
  38008. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38009. end;
  38010. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  38011. begin
  38012. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38013. end;
  38014. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  38015. begin
  38016. pTDefRegMap(@Self)^.&set := $00000004;
  38017. end;
  38018. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  38019. begin
  38020. pTDefRegMap(@Self)^.clr := $00000004;
  38021. end;
  38022. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  38023. begin
  38024. if thebits = 0 then
  38025. pTDefRegMap(@Self)^.clr := $00000004
  38026. else
  38027. pTDefRegMap(@Self)^.&set := $00000004;
  38028. end;
  38029. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  38030. begin
  38031. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38032. end;
  38033. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  38034. begin
  38035. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  38036. end;
  38037. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  38038. begin
  38039. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  38040. end;
  38041. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_6); inline;
  38042. begin
  38043. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF03FF or ( thebits shl 10 );
  38044. end;
  38045. function TDEVCFG_DEVCFG0.getPWP : TBits_6; inline;
  38046. begin
  38047. getPWP := (pTDefRegMap(@Self)^.val and $0000FC00) shr 10;
  38048. end;
  38049. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  38050. begin
  38051. pTDefRegMap(@Self)^.&set := $01000000;
  38052. end;
  38053. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  38054. begin
  38055. pTDefRegMap(@Self)^.clr := $01000000;
  38056. end;
  38057. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  38058. begin
  38059. if thebits = 0 then
  38060. pTDefRegMap(@Self)^.clr := $01000000
  38061. else
  38062. pTDefRegMap(@Self)^.&set := $01000000;
  38063. end;
  38064. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  38065. begin
  38066. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  38067. end;
  38068. procedure TDEVCFG_DEVCFG0.setCP; inline;
  38069. begin
  38070. pTDefRegMap(@Self)^.&set := $10000000;
  38071. end;
  38072. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  38073. begin
  38074. pTDefRegMap(@Self)^.clr := $10000000;
  38075. end;
  38076. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  38077. begin
  38078. if thebits = 0 then
  38079. pTDefRegMap(@Self)^.clr := $10000000
  38080. else
  38081. pTDefRegMap(@Self)^.&set := $10000000;
  38082. end;
  38083. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  38084. begin
  38085. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  38086. end;
  38087. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  38088. begin
  38089. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38090. end;
  38091. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  38092. begin
  38093. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38094. end;
  38095. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  38096. begin
  38097. pTDefRegMap(@Self)^.val := thebits;
  38098. end;
  38099. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  38100. begin
  38101. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38102. end;
  38103. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  38104. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  38105. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  38106. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  38107. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  38108. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  38109. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  38110. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  38111. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  38112. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  38113. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  38114. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  38115. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  38116. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  38117. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  38118. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  38119. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  38120. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  38121. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  38122. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  38123. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  38124. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  38125. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  38126. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  38127. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  38128. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  38129. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  38130. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  38131. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  38132. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  38133. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  38134. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  38135. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  38136. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  38137. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  38138. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  38139. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  38140. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  38141. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  38142. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  38143. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  38144. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  38145. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  38146. procedure Vectors; assembler; nostackframe;
  38147. label interrupt_vectors;
  38148. asm
  38149. .section ".init.interrupt_vectors,\"ax\",@progbits"
  38150. interrupt_vectors:
  38151. j _CORE_TIMER_VECTOR_interrupt
  38152. nop
  38153. nop
  38154. nop
  38155. nop
  38156. nop
  38157. nop
  38158. nop
  38159. j _CORE_SOFTWARE_0_VECTOR_interrupt
  38160. nop
  38161. nop
  38162. nop
  38163. nop
  38164. nop
  38165. nop
  38166. nop
  38167. j _CORE_SOFTWARE_1_VECTOR_interrupt
  38168. nop
  38169. nop
  38170. nop
  38171. nop
  38172. nop
  38173. nop
  38174. nop
  38175. j _EXTERNAL_0_VECTOR_interrupt
  38176. nop
  38177. nop
  38178. nop
  38179. nop
  38180. nop
  38181. nop
  38182. nop
  38183. j _TIMER_1_VECTOR_interrupt
  38184. nop
  38185. nop
  38186. nop
  38187. nop
  38188. nop
  38189. nop
  38190. nop
  38191. j _INPUT_CAPTURE_1_VECTOR_interrupt
  38192. nop
  38193. nop
  38194. nop
  38195. nop
  38196. nop
  38197. nop
  38198. nop
  38199. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  38200. nop
  38201. nop
  38202. nop
  38203. nop
  38204. nop
  38205. nop
  38206. nop
  38207. j _EXTERNAL_1_VECTOR_interrupt
  38208. nop
  38209. nop
  38210. nop
  38211. nop
  38212. nop
  38213. nop
  38214. nop
  38215. j _TIMER_2_VECTOR_interrupt
  38216. nop
  38217. nop
  38218. nop
  38219. nop
  38220. nop
  38221. nop
  38222. nop
  38223. j _INPUT_CAPTURE_2_VECTOR_interrupt
  38224. nop
  38225. nop
  38226. nop
  38227. nop
  38228. nop
  38229. nop
  38230. nop
  38231. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  38232. nop
  38233. nop
  38234. nop
  38235. nop
  38236. nop
  38237. nop
  38238. nop
  38239. j _EXTERNAL_2_VECTOR_interrupt
  38240. nop
  38241. nop
  38242. nop
  38243. nop
  38244. nop
  38245. nop
  38246. nop
  38247. j _TIMER_3_VECTOR_interrupt
  38248. nop
  38249. nop
  38250. nop
  38251. nop
  38252. nop
  38253. nop
  38254. nop
  38255. j _INPUT_CAPTURE_3_VECTOR_interrupt
  38256. nop
  38257. nop
  38258. nop
  38259. nop
  38260. nop
  38261. nop
  38262. nop
  38263. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  38264. nop
  38265. nop
  38266. nop
  38267. nop
  38268. nop
  38269. nop
  38270. nop
  38271. j _EXTERNAL_3_VECTOR_interrupt
  38272. nop
  38273. nop
  38274. nop
  38275. nop
  38276. nop
  38277. nop
  38278. nop
  38279. j _TIMER_4_VECTOR_interrupt
  38280. nop
  38281. nop
  38282. nop
  38283. nop
  38284. nop
  38285. nop
  38286. nop
  38287. j _INPUT_CAPTURE_4_VECTOR_interrupt
  38288. nop
  38289. nop
  38290. nop
  38291. nop
  38292. nop
  38293. nop
  38294. nop
  38295. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  38296. nop
  38297. nop
  38298. nop
  38299. nop
  38300. nop
  38301. nop
  38302. nop
  38303. j _EXTERNAL_4_VECTOR_interrupt
  38304. nop
  38305. nop
  38306. nop
  38307. nop
  38308. nop
  38309. nop
  38310. nop
  38311. j _TIMER_5_VECTOR_interrupt
  38312. nop
  38313. nop
  38314. nop
  38315. nop
  38316. nop
  38317. nop
  38318. nop
  38319. j _INPUT_CAPTURE_5_VECTOR_interrupt
  38320. nop
  38321. nop
  38322. nop
  38323. nop
  38324. nop
  38325. nop
  38326. nop
  38327. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  38328. nop
  38329. nop
  38330. nop
  38331. nop
  38332. nop
  38333. nop
  38334. nop
  38335. j _ADC_VECTOR_interrupt
  38336. nop
  38337. nop
  38338. nop
  38339. nop
  38340. nop
  38341. nop
  38342. nop
  38343. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  38344. nop
  38345. nop
  38346. nop
  38347. nop
  38348. nop
  38349. nop
  38350. nop
  38351. j _RTCC_VECTOR_interrupt
  38352. nop
  38353. nop
  38354. nop
  38355. nop
  38356. nop
  38357. nop
  38358. nop
  38359. j _FCE_VECTOR_interrupt
  38360. nop
  38361. nop
  38362. nop
  38363. nop
  38364. nop
  38365. nop
  38366. nop
  38367. j _COMPARATOR_1_VECTOR_interrupt
  38368. nop
  38369. nop
  38370. nop
  38371. nop
  38372. nop
  38373. nop
  38374. nop
  38375. j _COMPARATOR_2_VECTOR_interrupt
  38376. nop
  38377. nop
  38378. nop
  38379. nop
  38380. nop
  38381. nop
  38382. nop
  38383. j _COMPARATOR_3_VECTOR_interrupt
  38384. nop
  38385. nop
  38386. nop
  38387. nop
  38388. nop
  38389. nop
  38390. nop
  38391. nop
  38392. nop
  38393. nop
  38394. nop
  38395. nop
  38396. nop
  38397. nop
  38398. nop
  38399. j _SPI_1_VECTOR_interrupt
  38400. nop
  38401. nop
  38402. nop
  38403. nop
  38404. nop
  38405. nop
  38406. nop
  38407. j _UART_1_VECTOR_interrupt
  38408. nop
  38409. nop
  38410. nop
  38411. nop
  38412. nop
  38413. nop
  38414. nop
  38415. j _I2C_1_VECTOR_interrupt
  38416. nop
  38417. nop
  38418. nop
  38419. nop
  38420. nop
  38421. nop
  38422. nop
  38423. j _CHANGE_NOTICE_VECTOR_interrupt
  38424. nop
  38425. nop
  38426. nop
  38427. nop
  38428. nop
  38429. nop
  38430. nop
  38431. j _PMP_VECTOR_interrupt
  38432. nop
  38433. nop
  38434. nop
  38435. nop
  38436. nop
  38437. nop
  38438. nop
  38439. j _SPI_2_VECTOR_interrupt
  38440. nop
  38441. nop
  38442. nop
  38443. nop
  38444. nop
  38445. nop
  38446. nop
  38447. j _UART_2_VECTOR_interrupt
  38448. nop
  38449. nop
  38450. nop
  38451. nop
  38452. nop
  38453. nop
  38454. nop
  38455. j _I2C_2_VECTOR_interrupt
  38456. nop
  38457. nop
  38458. nop
  38459. nop
  38460. nop
  38461. nop
  38462. nop
  38463. j _CTMU_VECTOR_interrupt
  38464. nop
  38465. nop
  38466. nop
  38467. nop
  38468. nop
  38469. nop
  38470. nop
  38471. j _DMA_0_VECTOR_interrupt
  38472. nop
  38473. nop
  38474. nop
  38475. nop
  38476. nop
  38477. nop
  38478. nop
  38479. j _DMA_1_VECTOR_interrupt
  38480. nop
  38481. nop
  38482. nop
  38483. nop
  38484. nop
  38485. nop
  38486. nop
  38487. j _DMA_2_VECTOR_interrupt
  38488. nop
  38489. nop
  38490. nop
  38491. nop
  38492. nop
  38493. nop
  38494. nop
  38495. j _DMA_3_VECTOR_interrupt
  38496. nop
  38497. nop
  38498. nop
  38499. nop
  38500. nop
  38501. nop
  38502. nop
  38503. .weak _CORE_TIMER_VECTOR_interrupt
  38504. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  38505. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  38506. .weak _EXTERNAL_0_VECTOR_interrupt
  38507. .weak _TIMER_1_VECTOR_interrupt
  38508. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  38509. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  38510. .weak _EXTERNAL_1_VECTOR_interrupt
  38511. .weak _TIMER_2_VECTOR_interrupt
  38512. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  38513. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  38514. .weak _EXTERNAL_2_VECTOR_interrupt
  38515. .weak _TIMER_3_VECTOR_interrupt
  38516. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  38517. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  38518. .weak _EXTERNAL_3_VECTOR_interrupt
  38519. .weak _TIMER_4_VECTOR_interrupt
  38520. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  38521. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  38522. .weak _EXTERNAL_4_VECTOR_interrupt
  38523. .weak _TIMER_5_VECTOR_interrupt
  38524. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  38525. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  38526. .weak _ADC_VECTOR_interrupt
  38527. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  38528. .weak _RTCC_VECTOR_interrupt
  38529. .weak _FCE_VECTOR_interrupt
  38530. .weak _COMPARATOR_1_VECTOR_interrupt
  38531. .weak _COMPARATOR_2_VECTOR_interrupt
  38532. .weak _COMPARATOR_3_VECTOR_interrupt
  38533. .weak _SPI_1_VECTOR_interrupt
  38534. .weak _UART_1_VECTOR_interrupt
  38535. .weak _I2C_1_VECTOR_interrupt
  38536. .weak _CHANGE_NOTICE_VECTOR_interrupt
  38537. .weak _PMP_VECTOR_interrupt
  38538. .weak _SPI_2_VECTOR_interrupt
  38539. .weak _UART_2_VECTOR_interrupt
  38540. .weak _I2C_2_VECTOR_interrupt
  38541. .weak _CTMU_VECTOR_interrupt
  38542. .weak _DMA_0_VECTOR_interrupt
  38543. .weak _DMA_1_VECTOR_interrupt
  38544. .weak _DMA_2_VECTOR_interrupt
  38545. .weak _DMA_3_VECTOR_interrupt
  38546. .text
  38547. end;
  38548. end.