pic32mx270f256d.pp 1.2 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798
  1. unit pic32mx270f256d;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getWDTWINEN : TBits_1; inline;
  55. function getw : TBits_32; inline;
  56. procedure setON(thebits : TBits_1); inline;
  57. procedure setSWDTPS(thebits : TBits_5); inline;
  58. procedure setSWDTPS0(thebits : TBits_1); inline;
  59. procedure setSWDTPS1(thebits : TBits_1); inline;
  60. procedure setSWDTPS2(thebits : TBits_1); inline;
  61. procedure setSWDTPS3(thebits : TBits_1); inline;
  62. procedure setSWDTPS4(thebits : TBits_1); inline;
  63. procedure setWDTCLR(thebits : TBits_1); inline;
  64. procedure setWDTPS(thebits : TBits_5); inline;
  65. procedure setWDTPSTA(thebits : TBits_5); inline;
  66. procedure setWDTWINEN(thebits : TBits_1); inline;
  67. procedure setw(thebits : TBits_32); inline;
  68. public
  69. procedure clearON; inline;
  70. procedure clearSWDTPS0; inline;
  71. procedure clearSWDTPS1; inline;
  72. procedure clearSWDTPS2; inline;
  73. procedure clearSWDTPS3; inline;
  74. procedure clearSWDTPS4; inline;
  75. procedure clearWDTCLR; inline;
  76. procedure clearWDTWINEN; inline;
  77. procedure setON; inline;
  78. procedure setSWDTPS0; inline;
  79. procedure setSWDTPS1; inline;
  80. procedure setSWDTPS2; inline;
  81. procedure setSWDTPS3; inline;
  82. procedure setSWDTPS4; inline;
  83. procedure setWDTCLR; inline;
  84. procedure setWDTWINEN; inline;
  85. property ON : TBits_1 read getON write setON;
  86. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  87. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  88. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  89. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  90. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  91. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  92. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  93. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  94. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  95. property WDTWINEN : TBits_1 read getWDTWINEN write setWDTWINEN;
  96. property w : TBits_32 read getw write setw;
  97. end;
  98. type
  99. TWDTRegisters = record
  100. WDTCONbits : TWDT_WDTCON;
  101. WDTCON : longWord;
  102. WDTCONCLR : longWord;
  103. WDTCONSET : longWord;
  104. WDTCONINV : longWord;
  105. end;
  106. TRTCC_RTCCON = record
  107. private
  108. function getCAL : TBits_10; inline;
  109. function getHALFSEC : TBits_1; inline;
  110. function getON : TBits_1; inline;
  111. function getRTCCLKON : TBits_1; inline;
  112. function getRTCOE : TBits_1; inline;
  113. function getRTCSYNC : TBits_1; inline;
  114. function getRTCWREN : TBits_1; inline;
  115. function getRTSECSEL : TBits_1; inline;
  116. function getSIDL : TBits_1; inline;
  117. function getw : TBits_32; inline;
  118. procedure setCAL(thebits : TBits_10); inline;
  119. procedure setHALFSEC(thebits : TBits_1); inline;
  120. procedure setON(thebits : TBits_1); inline;
  121. procedure setRTCCLKON(thebits : TBits_1); inline;
  122. procedure setRTCOE(thebits : TBits_1); inline;
  123. procedure setRTCSYNC(thebits : TBits_1); inline;
  124. procedure setRTCWREN(thebits : TBits_1); inline;
  125. procedure setRTSECSEL(thebits : TBits_1); inline;
  126. procedure setSIDL(thebits : TBits_1); inline;
  127. procedure setw(thebits : TBits_32); inline;
  128. public
  129. procedure clearHALFSEC; inline;
  130. procedure clearON; inline;
  131. procedure clearRTCCLKON; inline;
  132. procedure clearRTCOE; inline;
  133. procedure clearRTCSYNC; inline;
  134. procedure clearRTCWREN; inline;
  135. procedure clearRTSECSEL; inline;
  136. procedure clearSIDL; inline;
  137. procedure setHALFSEC; inline;
  138. procedure setON; inline;
  139. procedure setRTCCLKON; inline;
  140. procedure setRTCOE; inline;
  141. procedure setRTCSYNC; inline;
  142. procedure setRTCWREN; inline;
  143. procedure setRTSECSEL; inline;
  144. procedure setSIDL; inline;
  145. property CAL : TBits_10 read getCAL write setCAL;
  146. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  147. property ON : TBits_1 read getON write setON;
  148. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  149. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  150. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  151. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  152. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  153. property SIDL : TBits_1 read getSIDL write setSIDL;
  154. property w : TBits_32 read getw write setw;
  155. end;
  156. TRTCC_RTCALRM = record
  157. private
  158. function getALRMEN : TBits_1; inline;
  159. function getALRMSYNC : TBits_1; inline;
  160. function getAMASK : TBits_4; inline;
  161. function getARPT : TBits_8; inline;
  162. function getCHIME : TBits_1; inline;
  163. function getPIV : TBits_1; inline;
  164. function getw : TBits_32; inline;
  165. procedure setALRMEN(thebits : TBits_1); inline;
  166. procedure setALRMSYNC(thebits : TBits_1); inline;
  167. procedure setAMASK(thebits : TBits_4); inline;
  168. procedure setARPT(thebits : TBits_8); inline;
  169. procedure setCHIME(thebits : TBits_1); inline;
  170. procedure setPIV(thebits : TBits_1); inline;
  171. procedure setw(thebits : TBits_32); inline;
  172. public
  173. procedure clearALRMEN; inline;
  174. procedure clearALRMSYNC; inline;
  175. procedure clearCHIME; inline;
  176. procedure clearPIV; inline;
  177. procedure setALRMEN; inline;
  178. procedure setALRMSYNC; inline;
  179. procedure setCHIME; inline;
  180. procedure setPIV; inline;
  181. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  182. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  183. property AMASK : TBits_4 read getAMASK write setAMASK;
  184. property ARPT : TBits_8 read getARPT write setARPT;
  185. property CHIME : TBits_1 read getCHIME write setCHIME;
  186. property PIV : TBits_1 read getPIV write setPIV;
  187. property w : TBits_32 read getw write setw;
  188. end;
  189. TRTCC_RTCTIME = record
  190. private
  191. function getHR01 : TBits_4; inline;
  192. function getHR10 : TBits_4; inline;
  193. function getMIN01 : TBits_4; inline;
  194. function getMIN10 : TBits_4; inline;
  195. function getSEC01 : TBits_4; inline;
  196. function getSEC10 : TBits_4; inline;
  197. function getw : TBits_32; inline;
  198. procedure setHR01(thebits : TBits_4); inline;
  199. procedure setHR10(thebits : TBits_4); inline;
  200. procedure setMIN01(thebits : TBits_4); inline;
  201. procedure setMIN10(thebits : TBits_4); inline;
  202. procedure setSEC01(thebits : TBits_4); inline;
  203. procedure setSEC10(thebits : TBits_4); inline;
  204. procedure setw(thebits : TBits_32); inline;
  205. public
  206. property HR01 : TBits_4 read getHR01 write setHR01;
  207. property HR10 : TBits_4 read getHR10 write setHR10;
  208. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  209. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  210. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  211. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  212. property w : TBits_32 read getw write setw;
  213. end;
  214. TRTCC_RTCDATE = record
  215. private
  216. function getDAY01 : TBits_4; inline;
  217. function getDAY10 : TBits_4; inline;
  218. function getMONTH01 : TBits_4; inline;
  219. function getMONTH10 : TBits_4; inline;
  220. function getWDAY01 : TBits_4; inline;
  221. function getYEAR01 : TBits_4; inline;
  222. function getYEAR10 : TBits_4; inline;
  223. function getw : TBits_32; inline;
  224. procedure setDAY01(thebits : TBits_4); inline;
  225. procedure setDAY10(thebits : TBits_4); inline;
  226. procedure setMONTH01(thebits : TBits_4); inline;
  227. procedure setMONTH10(thebits : TBits_4); inline;
  228. procedure setWDAY01(thebits : TBits_4); inline;
  229. procedure setYEAR01(thebits : TBits_4); inline;
  230. procedure setYEAR10(thebits : TBits_4); inline;
  231. procedure setw(thebits : TBits_32); inline;
  232. public
  233. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  234. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  235. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  236. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  237. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  238. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  239. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  240. property w : TBits_32 read getw write setw;
  241. end;
  242. TRTCC_ALRMTIME = record
  243. private
  244. function getHR01 : TBits_4; inline;
  245. function getHR10 : TBits_4; inline;
  246. function getMIN01 : TBits_4; inline;
  247. function getMIN10 : TBits_4; inline;
  248. function getSEC01 : TBits_4; inline;
  249. function getSEC10 : TBits_4; inline;
  250. function getw : TBits_32; inline;
  251. procedure setHR01(thebits : TBits_4); inline;
  252. procedure setHR10(thebits : TBits_4); inline;
  253. procedure setMIN01(thebits : TBits_4); inline;
  254. procedure setMIN10(thebits : TBits_4); inline;
  255. procedure setSEC01(thebits : TBits_4); inline;
  256. procedure setSEC10(thebits : TBits_4); inline;
  257. procedure setw(thebits : TBits_32); inline;
  258. public
  259. property HR01 : TBits_4 read getHR01 write setHR01;
  260. property HR10 : TBits_4 read getHR10 write setHR10;
  261. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  262. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  263. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  264. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  265. property w : TBits_32 read getw write setw;
  266. end;
  267. TRTCC_ALRMDATE = record
  268. private
  269. function getDAY01 : TBits_4; inline;
  270. function getDAY10 : TBits_4; inline;
  271. function getMONTH01 : TBits_4; inline;
  272. function getMONTH10 : TBits_4; inline;
  273. function getWDAY01 : TBits_4; inline;
  274. function getw : TBits_32; inline;
  275. procedure setDAY01(thebits : TBits_4); inline;
  276. procedure setDAY10(thebits : TBits_4); inline;
  277. procedure setMONTH01(thebits : TBits_4); inline;
  278. procedure setMONTH10(thebits : TBits_4); inline;
  279. procedure setWDAY01(thebits : TBits_4); inline;
  280. procedure setw(thebits : TBits_32); inline;
  281. public
  282. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  283. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  284. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  285. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  286. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  287. property w : TBits_32 read getw write setw;
  288. end;
  289. type
  290. TRTCCRegisters = record
  291. RTCCONbits : TRTCC_RTCCON;
  292. RTCCON : longWord;
  293. RTCCONCLR : longWord;
  294. RTCCONSET : longWord;
  295. RTCCONINV : longWord;
  296. RTCALRMbits : TRTCC_RTCALRM;
  297. RTCALRM : longWord;
  298. RTCALRMCLR : longWord;
  299. RTCALRMSET : longWord;
  300. RTCALRMINV : longWord;
  301. RTCTIMEbits : TRTCC_RTCTIME;
  302. RTCTIME : longWord;
  303. RTCTIMECLR : longWord;
  304. RTCTIMESET : longWord;
  305. RTCTIMEINV : longWord;
  306. RTCDATEbits : TRTCC_RTCDATE;
  307. RTCDATE : longWord;
  308. RTCDATECLR : longWord;
  309. RTCDATESET : longWord;
  310. RTCDATEINV : longWord;
  311. ALRMTIMEbits : TRTCC_ALRMTIME;
  312. ALRMTIME : longWord;
  313. ALRMTIMECLR : longWord;
  314. ALRMTIMESET : longWord;
  315. ALRMTIMEINV : longWord;
  316. ALRMDATEbits : TRTCC_ALRMDATE;
  317. ALRMDATE : longWord;
  318. ALRMDATECLR : longWord;
  319. ALRMDATESET : longWord;
  320. ALRMDATEINV : longWord;
  321. end;
  322. TTMR1_T1CON = record
  323. private
  324. function getON : TBits_1; inline;
  325. function getSIDL : TBits_1; inline;
  326. function getTCKPS : TBits_2; inline;
  327. function getTCKPS0 : TBits_1; inline;
  328. function getTCKPS1 : TBits_1; inline;
  329. function getTCS : TBits_1; inline;
  330. function getTGATE : TBits_1; inline;
  331. function getTON : TBits_1; inline;
  332. function getTSIDL : TBits_1; inline;
  333. function getTSYNC : TBits_1; inline;
  334. function getTWDIS : TBits_1; inline;
  335. function getTWIP : TBits_1; inline;
  336. function getw : TBits_32; inline;
  337. procedure setON(thebits : TBits_1); inline;
  338. procedure setSIDL(thebits : TBits_1); inline;
  339. procedure setTCKPS(thebits : TBits_2); inline;
  340. procedure setTCKPS0(thebits : TBits_1); inline;
  341. procedure setTCKPS1(thebits : TBits_1); inline;
  342. procedure setTCS(thebits : TBits_1); inline;
  343. procedure setTGATE(thebits : TBits_1); inline;
  344. procedure setTON(thebits : TBits_1); inline;
  345. procedure setTSIDL(thebits : TBits_1); inline;
  346. procedure setTSYNC(thebits : TBits_1); inline;
  347. procedure setTWDIS(thebits : TBits_1); inline;
  348. procedure setTWIP(thebits : TBits_1); inline;
  349. procedure setw(thebits : TBits_32); inline;
  350. public
  351. procedure clearON; inline;
  352. procedure clearSIDL; inline;
  353. procedure clearTCKPS0; inline;
  354. procedure clearTCKPS1; inline;
  355. procedure clearTCS; inline;
  356. procedure clearTGATE; inline;
  357. procedure clearTON; inline;
  358. procedure clearTSIDL; inline;
  359. procedure clearTSYNC; inline;
  360. procedure clearTWDIS; inline;
  361. procedure clearTWIP; inline;
  362. procedure setON; inline;
  363. procedure setSIDL; inline;
  364. procedure setTCKPS0; inline;
  365. procedure setTCKPS1; inline;
  366. procedure setTCS; inline;
  367. procedure setTGATE; inline;
  368. procedure setTON; inline;
  369. procedure setTSIDL; inline;
  370. procedure setTSYNC; inline;
  371. procedure setTWDIS; inline;
  372. procedure setTWIP; inline;
  373. property ON : TBits_1 read getON write setON;
  374. property SIDL : TBits_1 read getSIDL write setSIDL;
  375. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  376. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  377. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  378. property TCS : TBits_1 read getTCS write setTCS;
  379. property TGATE : TBits_1 read getTGATE write setTGATE;
  380. property TON : TBits_1 read getTON write setTON;
  381. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  382. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  383. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  384. property TWIP : TBits_1 read getTWIP write setTWIP;
  385. property w : TBits_32 read getw write setw;
  386. end;
  387. type
  388. TTMR1Registers = record
  389. T1CONbits : TTMR1_T1CON;
  390. T1CON : longWord;
  391. T1CONCLR : longWord;
  392. T1CONSET : longWord;
  393. T1CONINV : longWord;
  394. TMR1 : longWord;
  395. TMR1CLR : longWord;
  396. TMR1SET : longWord;
  397. TMR1INV : longWord;
  398. PR1 : longWord;
  399. PR1CLR : longWord;
  400. PR1SET : longWord;
  401. PR1INV : longWord;
  402. end;
  403. TTMR2_T2CON = record
  404. private
  405. function getON : TBits_1; inline;
  406. function getSIDL : TBits_1; inline;
  407. function getT32 : TBits_1; inline;
  408. function getTCKPS : TBits_3; inline;
  409. function getTCKPS0 : TBits_1; inline;
  410. function getTCKPS1 : TBits_1; inline;
  411. function getTCKPS2 : TBits_1; inline;
  412. function getTCS : TBits_1; inline;
  413. function getTGATE : TBits_1; inline;
  414. function getTON : TBits_1; inline;
  415. function getTSIDL : TBits_1; inline;
  416. function getw : TBits_32; inline;
  417. procedure setON(thebits : TBits_1); inline;
  418. procedure setSIDL(thebits : TBits_1); inline;
  419. procedure setT32(thebits : TBits_1); inline;
  420. procedure setTCKPS(thebits : TBits_3); inline;
  421. procedure setTCKPS0(thebits : TBits_1); inline;
  422. procedure setTCKPS1(thebits : TBits_1); inline;
  423. procedure setTCKPS2(thebits : TBits_1); inline;
  424. procedure setTCS(thebits : TBits_1); inline;
  425. procedure setTGATE(thebits : TBits_1); inline;
  426. procedure setTON(thebits : TBits_1); inline;
  427. procedure setTSIDL(thebits : TBits_1); inline;
  428. procedure setw(thebits : TBits_32); inline;
  429. public
  430. procedure clearON; inline;
  431. procedure clearSIDL; inline;
  432. procedure clearT32; inline;
  433. procedure clearTCKPS0; inline;
  434. procedure clearTCKPS1; inline;
  435. procedure clearTCKPS2; inline;
  436. procedure clearTCS; inline;
  437. procedure clearTGATE; inline;
  438. procedure clearTON; inline;
  439. procedure clearTSIDL; inline;
  440. procedure setON; inline;
  441. procedure setSIDL; inline;
  442. procedure setT32; inline;
  443. procedure setTCKPS0; inline;
  444. procedure setTCKPS1; inline;
  445. procedure setTCKPS2; inline;
  446. procedure setTCS; inline;
  447. procedure setTGATE; inline;
  448. procedure setTON; inline;
  449. procedure setTSIDL; inline;
  450. property ON : TBits_1 read getON write setON;
  451. property SIDL : TBits_1 read getSIDL write setSIDL;
  452. property T32 : TBits_1 read getT32 write setT32;
  453. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  454. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  455. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  456. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  457. property TCS : TBits_1 read getTCS write setTCS;
  458. property TGATE : TBits_1 read getTGATE write setTGATE;
  459. property TON : TBits_1 read getTON write setTON;
  460. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  461. property w : TBits_32 read getw write setw;
  462. end;
  463. type
  464. TTMR2Registers = record
  465. T2CONbits : TTMR2_T2CON;
  466. T2CON : longWord;
  467. T2CONCLR : longWord;
  468. T2CONSET : longWord;
  469. T2CONINV : longWord;
  470. TMR2 : longWord;
  471. TMR2CLR : longWord;
  472. TMR2SET : longWord;
  473. TMR2INV : longWord;
  474. PR2 : longWord;
  475. PR2CLR : longWord;
  476. PR2SET : longWord;
  477. PR2INV : longWord;
  478. end;
  479. TTMR3_T3CON = record
  480. private
  481. function getON : TBits_1; inline;
  482. function getSIDL : TBits_1; inline;
  483. function getTCKPS : TBits_3; inline;
  484. function getTCKPS0 : TBits_1; inline;
  485. function getTCKPS1 : TBits_1; inline;
  486. function getTCKPS2 : TBits_1; inline;
  487. function getTCS : TBits_1; inline;
  488. function getTGATE : TBits_1; inline;
  489. function getTON : TBits_1; inline;
  490. function getTSIDL : TBits_1; inline;
  491. function getw : TBits_32; inline;
  492. procedure setON(thebits : TBits_1); inline;
  493. procedure setSIDL(thebits : TBits_1); inline;
  494. procedure setTCKPS(thebits : TBits_3); inline;
  495. procedure setTCKPS0(thebits : TBits_1); inline;
  496. procedure setTCKPS1(thebits : TBits_1); inline;
  497. procedure setTCKPS2(thebits : TBits_1); inline;
  498. procedure setTCS(thebits : TBits_1); inline;
  499. procedure setTGATE(thebits : TBits_1); inline;
  500. procedure setTON(thebits : TBits_1); inline;
  501. procedure setTSIDL(thebits : TBits_1); inline;
  502. procedure setw(thebits : TBits_32); inline;
  503. public
  504. procedure clearON; inline;
  505. procedure clearSIDL; inline;
  506. procedure clearTCKPS0; inline;
  507. procedure clearTCKPS1; inline;
  508. procedure clearTCKPS2; inline;
  509. procedure clearTCS; inline;
  510. procedure clearTGATE; inline;
  511. procedure clearTON; inline;
  512. procedure clearTSIDL; inline;
  513. procedure setON; inline;
  514. procedure setSIDL; inline;
  515. procedure setTCKPS0; inline;
  516. procedure setTCKPS1; inline;
  517. procedure setTCKPS2; inline;
  518. procedure setTCS; inline;
  519. procedure setTGATE; inline;
  520. procedure setTON; inline;
  521. procedure setTSIDL; inline;
  522. property ON : TBits_1 read getON write setON;
  523. property SIDL : TBits_1 read getSIDL write setSIDL;
  524. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  525. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  526. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  527. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  528. property TCS : TBits_1 read getTCS write setTCS;
  529. property TGATE : TBits_1 read getTGATE write setTGATE;
  530. property TON : TBits_1 read getTON write setTON;
  531. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  532. property w : TBits_32 read getw write setw;
  533. end;
  534. type
  535. TTMR3Registers = record
  536. T3CONbits : TTMR3_T3CON;
  537. T3CON : longWord;
  538. T3CONCLR : longWord;
  539. T3CONSET : longWord;
  540. T3CONINV : longWord;
  541. TMR3 : longWord;
  542. TMR3CLR : longWord;
  543. TMR3SET : longWord;
  544. TMR3INV : longWord;
  545. PR3 : longWord;
  546. PR3CLR : longWord;
  547. PR3SET : longWord;
  548. PR3INV : longWord;
  549. end;
  550. TTMR4_T4CON = record
  551. private
  552. function getON : TBits_1; inline;
  553. function getSIDL : TBits_1; inline;
  554. function getT32 : TBits_1; inline;
  555. function getTCKPS : TBits_3; inline;
  556. function getTCKPS0 : TBits_1; inline;
  557. function getTCKPS1 : TBits_1; inline;
  558. function getTCKPS2 : TBits_1; inline;
  559. function getTCS : TBits_1; inline;
  560. function getTGATE : TBits_1; inline;
  561. function getTON : TBits_1; inline;
  562. function getTSIDL : TBits_1; inline;
  563. function getw : TBits_32; inline;
  564. procedure setON(thebits : TBits_1); inline;
  565. procedure setSIDL(thebits : TBits_1); inline;
  566. procedure setT32(thebits : TBits_1); inline;
  567. procedure setTCKPS(thebits : TBits_3); inline;
  568. procedure setTCKPS0(thebits : TBits_1); inline;
  569. procedure setTCKPS1(thebits : TBits_1); inline;
  570. procedure setTCKPS2(thebits : TBits_1); inline;
  571. procedure setTCS(thebits : TBits_1); inline;
  572. procedure setTGATE(thebits : TBits_1); inline;
  573. procedure setTON(thebits : TBits_1); inline;
  574. procedure setTSIDL(thebits : TBits_1); inline;
  575. procedure setw(thebits : TBits_32); inline;
  576. public
  577. procedure clearON; inline;
  578. procedure clearSIDL; inline;
  579. procedure clearT32; inline;
  580. procedure clearTCKPS0; inline;
  581. procedure clearTCKPS1; inline;
  582. procedure clearTCKPS2; inline;
  583. procedure clearTCS; inline;
  584. procedure clearTGATE; inline;
  585. procedure clearTON; inline;
  586. procedure clearTSIDL; inline;
  587. procedure setON; inline;
  588. procedure setSIDL; inline;
  589. procedure setT32; inline;
  590. procedure setTCKPS0; inline;
  591. procedure setTCKPS1; inline;
  592. procedure setTCKPS2; inline;
  593. procedure setTCS; inline;
  594. procedure setTGATE; inline;
  595. procedure setTON; inline;
  596. procedure setTSIDL; inline;
  597. property ON : TBits_1 read getON write setON;
  598. property SIDL : TBits_1 read getSIDL write setSIDL;
  599. property T32 : TBits_1 read getT32 write setT32;
  600. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  601. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  602. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  603. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  604. property TCS : TBits_1 read getTCS write setTCS;
  605. property TGATE : TBits_1 read getTGATE write setTGATE;
  606. property TON : TBits_1 read getTON write setTON;
  607. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  608. property w : TBits_32 read getw write setw;
  609. end;
  610. type
  611. TTMR4Registers = record
  612. T4CONbits : TTMR4_T4CON;
  613. T4CON : longWord;
  614. T4CONCLR : longWord;
  615. T4CONSET : longWord;
  616. T4CONINV : longWord;
  617. TMR4 : longWord;
  618. TMR4CLR : longWord;
  619. TMR4SET : longWord;
  620. TMR4INV : longWord;
  621. PR4 : longWord;
  622. PR4CLR : longWord;
  623. PR4SET : longWord;
  624. PR4INV : longWord;
  625. end;
  626. TTMR5_T5CON = record
  627. private
  628. function getON : TBits_1; inline;
  629. function getSIDL : TBits_1; inline;
  630. function getTCKPS : TBits_3; inline;
  631. function getTCKPS0 : TBits_1; inline;
  632. function getTCKPS1 : TBits_1; inline;
  633. function getTCKPS2 : TBits_1; inline;
  634. function getTCS : TBits_1; inline;
  635. function getTGATE : TBits_1; inline;
  636. function getTON : TBits_1; inline;
  637. function getTSIDL : TBits_1; inline;
  638. function getw : TBits_32; inline;
  639. procedure setON(thebits : TBits_1); inline;
  640. procedure setSIDL(thebits : TBits_1); inline;
  641. procedure setTCKPS(thebits : TBits_3); inline;
  642. procedure setTCKPS0(thebits : TBits_1); inline;
  643. procedure setTCKPS1(thebits : TBits_1); inline;
  644. procedure setTCKPS2(thebits : TBits_1); inline;
  645. procedure setTCS(thebits : TBits_1); inline;
  646. procedure setTGATE(thebits : TBits_1); inline;
  647. procedure setTON(thebits : TBits_1); inline;
  648. procedure setTSIDL(thebits : TBits_1); inline;
  649. procedure setw(thebits : TBits_32); inline;
  650. public
  651. procedure clearON; inline;
  652. procedure clearSIDL; inline;
  653. procedure clearTCKPS0; inline;
  654. procedure clearTCKPS1; inline;
  655. procedure clearTCKPS2; inline;
  656. procedure clearTCS; inline;
  657. procedure clearTGATE; inline;
  658. procedure clearTON; inline;
  659. procedure clearTSIDL; inline;
  660. procedure setON; inline;
  661. procedure setSIDL; inline;
  662. procedure setTCKPS0; inline;
  663. procedure setTCKPS1; inline;
  664. procedure setTCKPS2; inline;
  665. procedure setTCS; inline;
  666. procedure setTGATE; inline;
  667. procedure setTON; inline;
  668. procedure setTSIDL; inline;
  669. property ON : TBits_1 read getON write setON;
  670. property SIDL : TBits_1 read getSIDL write setSIDL;
  671. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  672. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  673. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  674. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  675. property TCS : TBits_1 read getTCS write setTCS;
  676. property TGATE : TBits_1 read getTGATE write setTGATE;
  677. property TON : TBits_1 read getTON write setTON;
  678. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  679. property w : TBits_32 read getw write setw;
  680. end;
  681. type
  682. TTMR5Registers = record
  683. T5CONbits : TTMR5_T5CON;
  684. T5CON : longWord;
  685. T5CONCLR : longWord;
  686. T5CONSET : longWord;
  687. T5CONINV : longWord;
  688. TMR5 : longWord;
  689. TMR5CLR : longWord;
  690. TMR5SET : longWord;
  691. TMR5INV : longWord;
  692. PR5 : longWord;
  693. PR5CLR : longWord;
  694. PR5SET : longWord;
  695. PR5INV : longWord;
  696. end;
  697. TICAP1_IC1CON = record
  698. private
  699. function getC32 : TBits_1; inline;
  700. function getFEDGE : TBits_1; inline;
  701. function getICBNE : TBits_1; inline;
  702. function getICI : TBits_2; inline;
  703. function getICI0 : TBits_1; inline;
  704. function getICI1 : TBits_1; inline;
  705. function getICM : TBits_3; inline;
  706. function getICM0 : TBits_1; inline;
  707. function getICM1 : TBits_1; inline;
  708. function getICM2 : TBits_1; inline;
  709. function getICOV : TBits_1; inline;
  710. function getICSIDL : TBits_1; inline;
  711. function getICTMR : TBits_1; inline;
  712. function getON : TBits_1; inline;
  713. function getSIDL : TBits_1; inline;
  714. function getw : TBits_32; inline;
  715. procedure setC32(thebits : TBits_1); inline;
  716. procedure setFEDGE(thebits : TBits_1); inline;
  717. procedure setICBNE(thebits : TBits_1); inline;
  718. procedure setICI(thebits : TBits_2); inline;
  719. procedure setICI0(thebits : TBits_1); inline;
  720. procedure setICI1(thebits : TBits_1); inline;
  721. procedure setICM(thebits : TBits_3); inline;
  722. procedure setICM0(thebits : TBits_1); inline;
  723. procedure setICM1(thebits : TBits_1); inline;
  724. procedure setICM2(thebits : TBits_1); inline;
  725. procedure setICOV(thebits : TBits_1); inline;
  726. procedure setICSIDL(thebits : TBits_1); inline;
  727. procedure setICTMR(thebits : TBits_1); inline;
  728. procedure setON(thebits : TBits_1); inline;
  729. procedure setSIDL(thebits : TBits_1); inline;
  730. procedure setw(thebits : TBits_32); inline;
  731. public
  732. procedure clearC32; inline;
  733. procedure clearFEDGE; inline;
  734. procedure clearICBNE; inline;
  735. procedure clearICI0; inline;
  736. procedure clearICI1; inline;
  737. procedure clearICM0; inline;
  738. procedure clearICM1; inline;
  739. procedure clearICM2; inline;
  740. procedure clearICOV; inline;
  741. procedure clearICSIDL; inline;
  742. procedure clearICTMR; inline;
  743. procedure clearON; inline;
  744. procedure clearSIDL; inline;
  745. procedure setC32; inline;
  746. procedure setFEDGE; inline;
  747. procedure setICBNE; inline;
  748. procedure setICI0; inline;
  749. procedure setICI1; inline;
  750. procedure setICM0; inline;
  751. procedure setICM1; inline;
  752. procedure setICM2; inline;
  753. procedure setICOV; inline;
  754. procedure setICSIDL; inline;
  755. procedure setICTMR; inline;
  756. procedure setON; inline;
  757. procedure setSIDL; inline;
  758. property C32 : TBits_1 read getC32 write setC32;
  759. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  760. property ICBNE : TBits_1 read getICBNE write setICBNE;
  761. property ICI : TBits_2 read getICI write setICI;
  762. property ICI0 : TBits_1 read getICI0 write setICI0;
  763. property ICI1 : TBits_1 read getICI1 write setICI1;
  764. property ICM : TBits_3 read getICM write setICM;
  765. property ICM0 : TBits_1 read getICM0 write setICM0;
  766. property ICM1 : TBits_1 read getICM1 write setICM1;
  767. property ICM2 : TBits_1 read getICM2 write setICM2;
  768. property ICOV : TBits_1 read getICOV write setICOV;
  769. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  770. property ICTMR : TBits_1 read getICTMR write setICTMR;
  771. property ON : TBits_1 read getON write setON;
  772. property SIDL : TBits_1 read getSIDL write setSIDL;
  773. property w : TBits_32 read getw write setw;
  774. end;
  775. type
  776. TICAP1Registers = record
  777. IC1CONbits : TICAP1_IC1CON;
  778. IC1CON : longWord;
  779. IC1CONCLR : longWord;
  780. IC1CONSET : longWord;
  781. IC1CONINV : longWord;
  782. IC1BUF : longWord;
  783. end;
  784. TICAP2_IC2CON = record
  785. private
  786. function getC32 : TBits_1; inline;
  787. function getFEDGE : TBits_1; inline;
  788. function getICBNE : TBits_1; inline;
  789. function getICI : TBits_2; inline;
  790. function getICI0 : TBits_1; inline;
  791. function getICI1 : TBits_1; inline;
  792. function getICM : TBits_3; inline;
  793. function getICM0 : TBits_1; inline;
  794. function getICM1 : TBits_1; inline;
  795. function getICM2 : TBits_1; inline;
  796. function getICOV : TBits_1; inline;
  797. function getICSIDL : TBits_1; inline;
  798. function getICTMR : TBits_1; inline;
  799. function getON : TBits_1; inline;
  800. function getSIDL : TBits_1; inline;
  801. function getw : TBits_32; inline;
  802. procedure setC32(thebits : TBits_1); inline;
  803. procedure setFEDGE(thebits : TBits_1); inline;
  804. procedure setICBNE(thebits : TBits_1); inline;
  805. procedure setICI(thebits : TBits_2); inline;
  806. procedure setICI0(thebits : TBits_1); inline;
  807. procedure setICI1(thebits : TBits_1); inline;
  808. procedure setICM(thebits : TBits_3); inline;
  809. procedure setICM0(thebits : TBits_1); inline;
  810. procedure setICM1(thebits : TBits_1); inline;
  811. procedure setICM2(thebits : TBits_1); inline;
  812. procedure setICOV(thebits : TBits_1); inline;
  813. procedure setICSIDL(thebits : TBits_1); inline;
  814. procedure setICTMR(thebits : TBits_1); inline;
  815. procedure setON(thebits : TBits_1); inline;
  816. procedure setSIDL(thebits : TBits_1); inline;
  817. procedure setw(thebits : TBits_32); inline;
  818. public
  819. procedure clearC32; inline;
  820. procedure clearFEDGE; inline;
  821. procedure clearICBNE; inline;
  822. procedure clearICI0; inline;
  823. procedure clearICI1; inline;
  824. procedure clearICM0; inline;
  825. procedure clearICM1; inline;
  826. procedure clearICM2; inline;
  827. procedure clearICOV; inline;
  828. procedure clearICSIDL; inline;
  829. procedure clearICTMR; inline;
  830. procedure clearON; inline;
  831. procedure clearSIDL; inline;
  832. procedure setC32; inline;
  833. procedure setFEDGE; inline;
  834. procedure setICBNE; inline;
  835. procedure setICI0; inline;
  836. procedure setICI1; inline;
  837. procedure setICM0; inline;
  838. procedure setICM1; inline;
  839. procedure setICM2; inline;
  840. procedure setICOV; inline;
  841. procedure setICSIDL; inline;
  842. procedure setICTMR; inline;
  843. procedure setON; inline;
  844. procedure setSIDL; inline;
  845. property C32 : TBits_1 read getC32 write setC32;
  846. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  847. property ICBNE : TBits_1 read getICBNE write setICBNE;
  848. property ICI : TBits_2 read getICI write setICI;
  849. property ICI0 : TBits_1 read getICI0 write setICI0;
  850. property ICI1 : TBits_1 read getICI1 write setICI1;
  851. property ICM : TBits_3 read getICM write setICM;
  852. property ICM0 : TBits_1 read getICM0 write setICM0;
  853. property ICM1 : TBits_1 read getICM1 write setICM1;
  854. property ICM2 : TBits_1 read getICM2 write setICM2;
  855. property ICOV : TBits_1 read getICOV write setICOV;
  856. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  857. property ICTMR : TBits_1 read getICTMR write setICTMR;
  858. property ON : TBits_1 read getON write setON;
  859. property SIDL : TBits_1 read getSIDL write setSIDL;
  860. property w : TBits_32 read getw write setw;
  861. end;
  862. type
  863. TICAP2Registers = record
  864. IC2CONbits : TICAP2_IC2CON;
  865. IC2CON : longWord;
  866. IC2CONCLR : longWord;
  867. IC2CONSET : longWord;
  868. IC2CONINV : longWord;
  869. IC2BUF : longWord;
  870. end;
  871. TICAP3_IC3CON = record
  872. private
  873. function getC32 : TBits_1; inline;
  874. function getFEDGE : TBits_1; inline;
  875. function getICBNE : TBits_1; inline;
  876. function getICI : TBits_2; inline;
  877. function getICI0 : TBits_1; inline;
  878. function getICI1 : TBits_1; inline;
  879. function getICM : TBits_3; inline;
  880. function getICM0 : TBits_1; inline;
  881. function getICM1 : TBits_1; inline;
  882. function getICM2 : TBits_1; inline;
  883. function getICOV : TBits_1; inline;
  884. function getICSIDL : TBits_1; inline;
  885. function getICTMR : TBits_1; inline;
  886. function getON : TBits_1; inline;
  887. function getSIDL : TBits_1; inline;
  888. function getw : TBits_32; inline;
  889. procedure setC32(thebits : TBits_1); inline;
  890. procedure setFEDGE(thebits : TBits_1); inline;
  891. procedure setICBNE(thebits : TBits_1); inline;
  892. procedure setICI(thebits : TBits_2); inline;
  893. procedure setICI0(thebits : TBits_1); inline;
  894. procedure setICI1(thebits : TBits_1); inline;
  895. procedure setICM(thebits : TBits_3); inline;
  896. procedure setICM0(thebits : TBits_1); inline;
  897. procedure setICM1(thebits : TBits_1); inline;
  898. procedure setICM2(thebits : TBits_1); inline;
  899. procedure setICOV(thebits : TBits_1); inline;
  900. procedure setICSIDL(thebits : TBits_1); inline;
  901. procedure setICTMR(thebits : TBits_1); inline;
  902. procedure setON(thebits : TBits_1); inline;
  903. procedure setSIDL(thebits : TBits_1); inline;
  904. procedure setw(thebits : TBits_32); inline;
  905. public
  906. procedure clearC32; inline;
  907. procedure clearFEDGE; inline;
  908. procedure clearICBNE; inline;
  909. procedure clearICI0; inline;
  910. procedure clearICI1; inline;
  911. procedure clearICM0; inline;
  912. procedure clearICM1; inline;
  913. procedure clearICM2; inline;
  914. procedure clearICOV; inline;
  915. procedure clearICSIDL; inline;
  916. procedure clearICTMR; inline;
  917. procedure clearON; inline;
  918. procedure clearSIDL; inline;
  919. procedure setC32; inline;
  920. procedure setFEDGE; inline;
  921. procedure setICBNE; inline;
  922. procedure setICI0; inline;
  923. procedure setICI1; inline;
  924. procedure setICM0; inline;
  925. procedure setICM1; inline;
  926. procedure setICM2; inline;
  927. procedure setICOV; inline;
  928. procedure setICSIDL; inline;
  929. procedure setICTMR; inline;
  930. procedure setON; inline;
  931. procedure setSIDL; inline;
  932. property C32 : TBits_1 read getC32 write setC32;
  933. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  934. property ICBNE : TBits_1 read getICBNE write setICBNE;
  935. property ICI : TBits_2 read getICI write setICI;
  936. property ICI0 : TBits_1 read getICI0 write setICI0;
  937. property ICI1 : TBits_1 read getICI1 write setICI1;
  938. property ICM : TBits_3 read getICM write setICM;
  939. property ICM0 : TBits_1 read getICM0 write setICM0;
  940. property ICM1 : TBits_1 read getICM1 write setICM1;
  941. property ICM2 : TBits_1 read getICM2 write setICM2;
  942. property ICOV : TBits_1 read getICOV write setICOV;
  943. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  944. property ICTMR : TBits_1 read getICTMR write setICTMR;
  945. property ON : TBits_1 read getON write setON;
  946. property SIDL : TBits_1 read getSIDL write setSIDL;
  947. property w : TBits_32 read getw write setw;
  948. end;
  949. type
  950. TICAP3Registers = record
  951. IC3CONbits : TICAP3_IC3CON;
  952. IC3CON : longWord;
  953. IC3CONCLR : longWord;
  954. IC3CONSET : longWord;
  955. IC3CONINV : longWord;
  956. IC3BUF : longWord;
  957. end;
  958. TICAP4_IC4CON = record
  959. private
  960. function getC32 : TBits_1; inline;
  961. function getFEDGE : TBits_1; inline;
  962. function getICBNE : TBits_1; inline;
  963. function getICI : TBits_2; inline;
  964. function getICI0 : TBits_1; inline;
  965. function getICI1 : TBits_1; inline;
  966. function getICM : TBits_3; inline;
  967. function getICM0 : TBits_1; inline;
  968. function getICM1 : TBits_1; inline;
  969. function getICM2 : TBits_1; inline;
  970. function getICOV : TBits_1; inline;
  971. function getICSIDL : TBits_1; inline;
  972. function getICTMR : TBits_1; inline;
  973. function getON : TBits_1; inline;
  974. function getSIDL : TBits_1; inline;
  975. function getw : TBits_32; inline;
  976. procedure setC32(thebits : TBits_1); inline;
  977. procedure setFEDGE(thebits : TBits_1); inline;
  978. procedure setICBNE(thebits : TBits_1); inline;
  979. procedure setICI(thebits : TBits_2); inline;
  980. procedure setICI0(thebits : TBits_1); inline;
  981. procedure setICI1(thebits : TBits_1); inline;
  982. procedure setICM(thebits : TBits_3); inline;
  983. procedure setICM0(thebits : TBits_1); inline;
  984. procedure setICM1(thebits : TBits_1); inline;
  985. procedure setICM2(thebits : TBits_1); inline;
  986. procedure setICOV(thebits : TBits_1); inline;
  987. procedure setICSIDL(thebits : TBits_1); inline;
  988. procedure setICTMR(thebits : TBits_1); inline;
  989. procedure setON(thebits : TBits_1); inline;
  990. procedure setSIDL(thebits : TBits_1); inline;
  991. procedure setw(thebits : TBits_32); inline;
  992. public
  993. procedure clearC32; inline;
  994. procedure clearFEDGE; inline;
  995. procedure clearICBNE; inline;
  996. procedure clearICI0; inline;
  997. procedure clearICI1; inline;
  998. procedure clearICM0; inline;
  999. procedure clearICM1; inline;
  1000. procedure clearICM2; inline;
  1001. procedure clearICOV; inline;
  1002. procedure clearICSIDL; inline;
  1003. procedure clearICTMR; inline;
  1004. procedure clearON; inline;
  1005. procedure clearSIDL; inline;
  1006. procedure setC32; inline;
  1007. procedure setFEDGE; inline;
  1008. procedure setICBNE; inline;
  1009. procedure setICI0; inline;
  1010. procedure setICI1; inline;
  1011. procedure setICM0; inline;
  1012. procedure setICM1; inline;
  1013. procedure setICM2; inline;
  1014. procedure setICOV; inline;
  1015. procedure setICSIDL; inline;
  1016. procedure setICTMR; inline;
  1017. procedure setON; inline;
  1018. procedure setSIDL; inline;
  1019. property C32 : TBits_1 read getC32 write setC32;
  1020. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1021. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1022. property ICI : TBits_2 read getICI write setICI;
  1023. property ICI0 : TBits_1 read getICI0 write setICI0;
  1024. property ICI1 : TBits_1 read getICI1 write setICI1;
  1025. property ICM : TBits_3 read getICM write setICM;
  1026. property ICM0 : TBits_1 read getICM0 write setICM0;
  1027. property ICM1 : TBits_1 read getICM1 write setICM1;
  1028. property ICM2 : TBits_1 read getICM2 write setICM2;
  1029. property ICOV : TBits_1 read getICOV write setICOV;
  1030. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1031. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1032. property ON : TBits_1 read getON write setON;
  1033. property SIDL : TBits_1 read getSIDL write setSIDL;
  1034. property w : TBits_32 read getw write setw;
  1035. end;
  1036. type
  1037. TICAP4Registers = record
  1038. IC4CONbits : TICAP4_IC4CON;
  1039. IC4CON : longWord;
  1040. IC4CONCLR : longWord;
  1041. IC4CONSET : longWord;
  1042. IC4CONINV : longWord;
  1043. IC4BUF : longWord;
  1044. end;
  1045. TICAP5_IC5CON = record
  1046. private
  1047. function getC32 : TBits_1; inline;
  1048. function getFEDGE : TBits_1; inline;
  1049. function getICBNE : TBits_1; inline;
  1050. function getICI : TBits_2; inline;
  1051. function getICI0 : TBits_1; inline;
  1052. function getICI1 : TBits_1; inline;
  1053. function getICM : TBits_3; inline;
  1054. function getICM0 : TBits_1; inline;
  1055. function getICM1 : TBits_1; inline;
  1056. function getICM2 : TBits_1; inline;
  1057. function getICOV : TBits_1; inline;
  1058. function getICSIDL : TBits_1; inline;
  1059. function getICTMR : TBits_1; inline;
  1060. function getON : TBits_1; inline;
  1061. function getSIDL : TBits_1; inline;
  1062. function getw : TBits_32; inline;
  1063. procedure setC32(thebits : TBits_1); inline;
  1064. procedure setFEDGE(thebits : TBits_1); inline;
  1065. procedure setICBNE(thebits : TBits_1); inline;
  1066. procedure setICI(thebits : TBits_2); inline;
  1067. procedure setICI0(thebits : TBits_1); inline;
  1068. procedure setICI1(thebits : TBits_1); inline;
  1069. procedure setICM(thebits : TBits_3); inline;
  1070. procedure setICM0(thebits : TBits_1); inline;
  1071. procedure setICM1(thebits : TBits_1); inline;
  1072. procedure setICM2(thebits : TBits_1); inline;
  1073. procedure setICOV(thebits : TBits_1); inline;
  1074. procedure setICSIDL(thebits : TBits_1); inline;
  1075. procedure setICTMR(thebits : TBits_1); inline;
  1076. procedure setON(thebits : TBits_1); inline;
  1077. procedure setSIDL(thebits : TBits_1); inline;
  1078. procedure setw(thebits : TBits_32); inline;
  1079. public
  1080. procedure clearC32; inline;
  1081. procedure clearFEDGE; inline;
  1082. procedure clearICBNE; inline;
  1083. procedure clearICI0; inline;
  1084. procedure clearICI1; inline;
  1085. procedure clearICM0; inline;
  1086. procedure clearICM1; inline;
  1087. procedure clearICM2; inline;
  1088. procedure clearICOV; inline;
  1089. procedure clearICSIDL; inline;
  1090. procedure clearICTMR; inline;
  1091. procedure clearON; inline;
  1092. procedure clearSIDL; inline;
  1093. procedure setC32; inline;
  1094. procedure setFEDGE; inline;
  1095. procedure setICBNE; inline;
  1096. procedure setICI0; inline;
  1097. procedure setICI1; inline;
  1098. procedure setICM0; inline;
  1099. procedure setICM1; inline;
  1100. procedure setICM2; inline;
  1101. procedure setICOV; inline;
  1102. procedure setICSIDL; inline;
  1103. procedure setICTMR; inline;
  1104. procedure setON; inline;
  1105. procedure setSIDL; inline;
  1106. property C32 : TBits_1 read getC32 write setC32;
  1107. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1108. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1109. property ICI : TBits_2 read getICI write setICI;
  1110. property ICI0 : TBits_1 read getICI0 write setICI0;
  1111. property ICI1 : TBits_1 read getICI1 write setICI1;
  1112. property ICM : TBits_3 read getICM write setICM;
  1113. property ICM0 : TBits_1 read getICM0 write setICM0;
  1114. property ICM1 : TBits_1 read getICM1 write setICM1;
  1115. property ICM2 : TBits_1 read getICM2 write setICM2;
  1116. property ICOV : TBits_1 read getICOV write setICOV;
  1117. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1118. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1119. property ON : TBits_1 read getON write setON;
  1120. property SIDL : TBits_1 read getSIDL write setSIDL;
  1121. property w : TBits_32 read getw write setw;
  1122. end;
  1123. type
  1124. TICAP5Registers = record
  1125. IC5CONbits : TICAP5_IC5CON;
  1126. IC5CON : longWord;
  1127. IC5CONCLR : longWord;
  1128. IC5CONSET : longWord;
  1129. IC5CONINV : longWord;
  1130. IC5BUF : longWord;
  1131. end;
  1132. TOCMP1_OC1CON = record
  1133. private
  1134. function getOC32 : TBits_1; inline;
  1135. function getOCFLT : TBits_1; inline;
  1136. function getOCM : TBits_3; inline;
  1137. function getOCM0 : TBits_1; inline;
  1138. function getOCM1 : TBits_1; inline;
  1139. function getOCM2 : TBits_1; inline;
  1140. function getOCSIDL : TBits_1; inline;
  1141. function getOCTSEL : TBits_1; inline;
  1142. function getON : TBits_1; inline;
  1143. function getSIDL : TBits_1; inline;
  1144. function getw : TBits_32; inline;
  1145. procedure setOC32(thebits : TBits_1); inline;
  1146. procedure setOCFLT(thebits : TBits_1); inline;
  1147. procedure setOCM(thebits : TBits_3); inline;
  1148. procedure setOCM0(thebits : TBits_1); inline;
  1149. procedure setOCM1(thebits : TBits_1); inline;
  1150. procedure setOCM2(thebits : TBits_1); inline;
  1151. procedure setOCSIDL(thebits : TBits_1); inline;
  1152. procedure setOCTSEL(thebits : TBits_1); inline;
  1153. procedure setON(thebits : TBits_1); inline;
  1154. procedure setSIDL(thebits : TBits_1); inline;
  1155. procedure setw(thebits : TBits_32); inline;
  1156. public
  1157. procedure clearOC32; inline;
  1158. procedure clearOCFLT; inline;
  1159. procedure clearOCM0; inline;
  1160. procedure clearOCM1; inline;
  1161. procedure clearOCM2; inline;
  1162. procedure clearOCSIDL; inline;
  1163. procedure clearOCTSEL; inline;
  1164. procedure clearON; inline;
  1165. procedure clearSIDL; inline;
  1166. procedure setOC32; inline;
  1167. procedure setOCFLT; inline;
  1168. procedure setOCM0; inline;
  1169. procedure setOCM1; inline;
  1170. procedure setOCM2; inline;
  1171. procedure setOCSIDL; inline;
  1172. procedure setOCTSEL; inline;
  1173. procedure setON; inline;
  1174. procedure setSIDL; inline;
  1175. property OC32 : TBits_1 read getOC32 write setOC32;
  1176. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1177. property OCM : TBits_3 read getOCM write setOCM;
  1178. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1179. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1180. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1181. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1182. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1183. property ON : TBits_1 read getON write setON;
  1184. property SIDL : TBits_1 read getSIDL write setSIDL;
  1185. property w : TBits_32 read getw write setw;
  1186. end;
  1187. type
  1188. TOCMP1Registers = record
  1189. OC1CONbits : TOCMP1_OC1CON;
  1190. OC1CON : longWord;
  1191. OC1CONCLR : longWord;
  1192. OC1CONSET : longWord;
  1193. OC1CONINV : longWord;
  1194. OC1R : longWord;
  1195. OC1RCLR : longWord;
  1196. OC1RSET : longWord;
  1197. OC1RINV : longWord;
  1198. OC1RS : longWord;
  1199. OC1RSCLR : longWord;
  1200. OC1RSSET : longWord;
  1201. OC1RSINV : longWord;
  1202. end;
  1203. TOCMP2_OC2CON = record
  1204. private
  1205. function getOC32 : TBits_1; inline;
  1206. function getOCFLT : TBits_1; inline;
  1207. function getOCM : TBits_3; inline;
  1208. function getOCM0 : TBits_1; inline;
  1209. function getOCM1 : TBits_1; inline;
  1210. function getOCM2 : TBits_1; inline;
  1211. function getOCSIDL : TBits_1; inline;
  1212. function getOCTSEL : TBits_1; inline;
  1213. function getON : TBits_1; inline;
  1214. function getSIDL : TBits_1; inline;
  1215. function getw : TBits_32; inline;
  1216. procedure setOC32(thebits : TBits_1); inline;
  1217. procedure setOCFLT(thebits : TBits_1); inline;
  1218. procedure setOCM(thebits : TBits_3); inline;
  1219. procedure setOCM0(thebits : TBits_1); inline;
  1220. procedure setOCM1(thebits : TBits_1); inline;
  1221. procedure setOCM2(thebits : TBits_1); inline;
  1222. procedure setOCSIDL(thebits : TBits_1); inline;
  1223. procedure setOCTSEL(thebits : TBits_1); inline;
  1224. procedure setON(thebits : TBits_1); inline;
  1225. procedure setSIDL(thebits : TBits_1); inline;
  1226. procedure setw(thebits : TBits_32); inline;
  1227. public
  1228. procedure clearOC32; inline;
  1229. procedure clearOCFLT; inline;
  1230. procedure clearOCM0; inline;
  1231. procedure clearOCM1; inline;
  1232. procedure clearOCM2; inline;
  1233. procedure clearOCSIDL; inline;
  1234. procedure clearOCTSEL; inline;
  1235. procedure clearON; inline;
  1236. procedure clearSIDL; inline;
  1237. procedure setOC32; inline;
  1238. procedure setOCFLT; inline;
  1239. procedure setOCM0; inline;
  1240. procedure setOCM1; inline;
  1241. procedure setOCM2; inline;
  1242. procedure setOCSIDL; inline;
  1243. procedure setOCTSEL; inline;
  1244. procedure setON; inline;
  1245. procedure setSIDL; inline;
  1246. property OC32 : TBits_1 read getOC32 write setOC32;
  1247. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1248. property OCM : TBits_3 read getOCM write setOCM;
  1249. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1250. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1251. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1252. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1253. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1254. property ON : TBits_1 read getON write setON;
  1255. property SIDL : TBits_1 read getSIDL write setSIDL;
  1256. property w : TBits_32 read getw write setw;
  1257. end;
  1258. type
  1259. TOCMP2Registers = record
  1260. OC2CONbits : TOCMP2_OC2CON;
  1261. OC2CON : longWord;
  1262. OC2CONCLR : longWord;
  1263. OC2CONSET : longWord;
  1264. OC2CONINV : longWord;
  1265. OC2R : longWord;
  1266. OC2RCLR : longWord;
  1267. OC2RSET : longWord;
  1268. OC2RINV : longWord;
  1269. OC2RS : longWord;
  1270. OC2RSCLR : longWord;
  1271. OC2RSSET : longWord;
  1272. OC2RSINV : longWord;
  1273. end;
  1274. TOCMP3_OC3CON = record
  1275. private
  1276. function getOC32 : TBits_1; inline;
  1277. function getOCFLT : TBits_1; inline;
  1278. function getOCM : TBits_3; inline;
  1279. function getOCM0 : TBits_1; inline;
  1280. function getOCM1 : TBits_1; inline;
  1281. function getOCM2 : TBits_1; inline;
  1282. function getOCSIDL : TBits_1; inline;
  1283. function getOCTSEL : TBits_1; inline;
  1284. function getON : TBits_1; inline;
  1285. function getSIDL : TBits_1; inline;
  1286. function getw : TBits_32; inline;
  1287. procedure setOC32(thebits : TBits_1); inline;
  1288. procedure setOCFLT(thebits : TBits_1); inline;
  1289. procedure setOCM(thebits : TBits_3); inline;
  1290. procedure setOCM0(thebits : TBits_1); inline;
  1291. procedure setOCM1(thebits : TBits_1); inline;
  1292. procedure setOCM2(thebits : TBits_1); inline;
  1293. procedure setOCSIDL(thebits : TBits_1); inline;
  1294. procedure setOCTSEL(thebits : TBits_1); inline;
  1295. procedure setON(thebits : TBits_1); inline;
  1296. procedure setSIDL(thebits : TBits_1); inline;
  1297. procedure setw(thebits : TBits_32); inline;
  1298. public
  1299. procedure clearOC32; inline;
  1300. procedure clearOCFLT; inline;
  1301. procedure clearOCM0; inline;
  1302. procedure clearOCM1; inline;
  1303. procedure clearOCM2; inline;
  1304. procedure clearOCSIDL; inline;
  1305. procedure clearOCTSEL; inline;
  1306. procedure clearON; inline;
  1307. procedure clearSIDL; inline;
  1308. procedure setOC32; inline;
  1309. procedure setOCFLT; inline;
  1310. procedure setOCM0; inline;
  1311. procedure setOCM1; inline;
  1312. procedure setOCM2; inline;
  1313. procedure setOCSIDL; inline;
  1314. procedure setOCTSEL; inline;
  1315. procedure setON; inline;
  1316. procedure setSIDL; inline;
  1317. property OC32 : TBits_1 read getOC32 write setOC32;
  1318. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1319. property OCM : TBits_3 read getOCM write setOCM;
  1320. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1321. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1322. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1323. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1324. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1325. property ON : TBits_1 read getON write setON;
  1326. property SIDL : TBits_1 read getSIDL write setSIDL;
  1327. property w : TBits_32 read getw write setw;
  1328. end;
  1329. type
  1330. TOCMP3Registers = record
  1331. OC3CONbits : TOCMP3_OC3CON;
  1332. OC3CON : longWord;
  1333. OC3CONCLR : longWord;
  1334. OC3CONSET : longWord;
  1335. OC3CONINV : longWord;
  1336. OC3R : longWord;
  1337. OC3RCLR : longWord;
  1338. OC3RSET : longWord;
  1339. OC3RINV : longWord;
  1340. OC3RS : longWord;
  1341. OC3RSCLR : longWord;
  1342. OC3RSSET : longWord;
  1343. OC3RSINV : longWord;
  1344. end;
  1345. TOCMP4_OC4CON = record
  1346. private
  1347. function getOC32 : TBits_1; inline;
  1348. function getOCFLT : TBits_1; inline;
  1349. function getOCM : TBits_3; inline;
  1350. function getOCM0 : TBits_1; inline;
  1351. function getOCM1 : TBits_1; inline;
  1352. function getOCM2 : TBits_1; inline;
  1353. function getOCSIDL : TBits_1; inline;
  1354. function getOCTSEL : TBits_1; inline;
  1355. function getON : TBits_1; inline;
  1356. function getSIDL : TBits_1; inline;
  1357. function getw : TBits_32; inline;
  1358. procedure setOC32(thebits : TBits_1); inline;
  1359. procedure setOCFLT(thebits : TBits_1); inline;
  1360. procedure setOCM(thebits : TBits_3); inline;
  1361. procedure setOCM0(thebits : TBits_1); inline;
  1362. procedure setOCM1(thebits : TBits_1); inline;
  1363. procedure setOCM2(thebits : TBits_1); inline;
  1364. procedure setOCSIDL(thebits : TBits_1); inline;
  1365. procedure setOCTSEL(thebits : TBits_1); inline;
  1366. procedure setON(thebits : TBits_1); inline;
  1367. procedure setSIDL(thebits : TBits_1); inline;
  1368. procedure setw(thebits : TBits_32); inline;
  1369. public
  1370. procedure clearOC32; inline;
  1371. procedure clearOCFLT; inline;
  1372. procedure clearOCM0; inline;
  1373. procedure clearOCM1; inline;
  1374. procedure clearOCM2; inline;
  1375. procedure clearOCSIDL; inline;
  1376. procedure clearOCTSEL; inline;
  1377. procedure clearON; inline;
  1378. procedure clearSIDL; inline;
  1379. procedure setOC32; inline;
  1380. procedure setOCFLT; inline;
  1381. procedure setOCM0; inline;
  1382. procedure setOCM1; inline;
  1383. procedure setOCM2; inline;
  1384. procedure setOCSIDL; inline;
  1385. procedure setOCTSEL; inline;
  1386. procedure setON; inline;
  1387. procedure setSIDL; inline;
  1388. property OC32 : TBits_1 read getOC32 write setOC32;
  1389. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1390. property OCM : TBits_3 read getOCM write setOCM;
  1391. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1392. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1393. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1394. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1395. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1396. property ON : TBits_1 read getON write setON;
  1397. property SIDL : TBits_1 read getSIDL write setSIDL;
  1398. property w : TBits_32 read getw write setw;
  1399. end;
  1400. type
  1401. TOCMP4Registers = record
  1402. OC4CONbits : TOCMP4_OC4CON;
  1403. OC4CON : longWord;
  1404. OC4CONCLR : longWord;
  1405. OC4CONSET : longWord;
  1406. OC4CONINV : longWord;
  1407. OC4R : longWord;
  1408. OC4RCLR : longWord;
  1409. OC4RSET : longWord;
  1410. OC4RINV : longWord;
  1411. OC4RS : longWord;
  1412. OC4RSCLR : longWord;
  1413. OC4RSSET : longWord;
  1414. OC4RSINV : longWord;
  1415. end;
  1416. TOCMP5_OC5CON = record
  1417. private
  1418. function getOC32 : TBits_1; inline;
  1419. function getOCFLT : TBits_1; inline;
  1420. function getOCM : TBits_3; inline;
  1421. function getOCM0 : TBits_1; inline;
  1422. function getOCM1 : TBits_1; inline;
  1423. function getOCM2 : TBits_1; inline;
  1424. function getOCSIDL : TBits_1; inline;
  1425. function getOCTSEL : TBits_1; inline;
  1426. function getON : TBits_1; inline;
  1427. function getSIDL : TBits_1; inline;
  1428. function getw : TBits_32; inline;
  1429. procedure setOC32(thebits : TBits_1); inline;
  1430. procedure setOCFLT(thebits : TBits_1); inline;
  1431. procedure setOCM(thebits : TBits_3); inline;
  1432. procedure setOCM0(thebits : TBits_1); inline;
  1433. procedure setOCM1(thebits : TBits_1); inline;
  1434. procedure setOCM2(thebits : TBits_1); inline;
  1435. procedure setOCSIDL(thebits : TBits_1); inline;
  1436. procedure setOCTSEL(thebits : TBits_1); inline;
  1437. procedure setON(thebits : TBits_1); inline;
  1438. procedure setSIDL(thebits : TBits_1); inline;
  1439. procedure setw(thebits : TBits_32); inline;
  1440. public
  1441. procedure clearOC32; inline;
  1442. procedure clearOCFLT; inline;
  1443. procedure clearOCM0; inline;
  1444. procedure clearOCM1; inline;
  1445. procedure clearOCM2; inline;
  1446. procedure clearOCSIDL; inline;
  1447. procedure clearOCTSEL; inline;
  1448. procedure clearON; inline;
  1449. procedure clearSIDL; inline;
  1450. procedure setOC32; inline;
  1451. procedure setOCFLT; inline;
  1452. procedure setOCM0; inline;
  1453. procedure setOCM1; inline;
  1454. procedure setOCM2; inline;
  1455. procedure setOCSIDL; inline;
  1456. procedure setOCTSEL; inline;
  1457. procedure setON; inline;
  1458. procedure setSIDL; inline;
  1459. property OC32 : TBits_1 read getOC32 write setOC32;
  1460. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1461. property OCM : TBits_3 read getOCM write setOCM;
  1462. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1463. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1464. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1465. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1466. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1467. property ON : TBits_1 read getON write setON;
  1468. property SIDL : TBits_1 read getSIDL write setSIDL;
  1469. property w : TBits_32 read getw write setw;
  1470. end;
  1471. type
  1472. TOCMP5Registers = record
  1473. OC5CONbits : TOCMP5_OC5CON;
  1474. OC5CON : longWord;
  1475. OC5CONCLR : longWord;
  1476. OC5CONSET : longWord;
  1477. OC5CONINV : longWord;
  1478. OC5R : longWord;
  1479. OC5RCLR : longWord;
  1480. OC5RSET : longWord;
  1481. OC5RINV : longWord;
  1482. OC5RS : longWord;
  1483. OC5RSCLR : longWord;
  1484. OC5RSSET : longWord;
  1485. OC5RSINV : longWord;
  1486. end;
  1487. TI2C1_I2C1ACON = record
  1488. private
  1489. function getA10M : TBits_1; inline;
  1490. function getACKDT : TBits_1; inline;
  1491. function getACKEN : TBits_1; inline;
  1492. function getDISSLW : TBits_1; inline;
  1493. function getGCEN : TBits_1; inline;
  1494. function getI2CEN : TBits_1; inline;
  1495. function getI2CSIDL : TBits_1; inline;
  1496. function getIPMIEN : TBits_1; inline;
  1497. function getON : TBits_1; inline;
  1498. function getPEN : TBits_1; inline;
  1499. function getRCEN : TBits_1; inline;
  1500. function getRSEN : TBits_1; inline;
  1501. function getSCLREL : TBits_1; inline;
  1502. function getSEN : TBits_1; inline;
  1503. function getSIDL : TBits_1; inline;
  1504. function getSMEN : TBits_1; inline;
  1505. function getSTREN : TBits_1; inline;
  1506. function getSTRICT : TBits_1; inline;
  1507. function getw : TBits_32; inline;
  1508. procedure setA10M(thebits : TBits_1); inline;
  1509. procedure setACKDT(thebits : TBits_1); inline;
  1510. procedure setACKEN(thebits : TBits_1); inline;
  1511. procedure setDISSLW(thebits : TBits_1); inline;
  1512. procedure setGCEN(thebits : TBits_1); inline;
  1513. procedure setI2CEN(thebits : TBits_1); inline;
  1514. procedure setI2CSIDL(thebits : TBits_1); inline;
  1515. procedure setIPMIEN(thebits : TBits_1); inline;
  1516. procedure setON(thebits : TBits_1); inline;
  1517. procedure setPEN(thebits : TBits_1); inline;
  1518. procedure setRCEN(thebits : TBits_1); inline;
  1519. procedure setRSEN(thebits : TBits_1); inline;
  1520. procedure setSCLREL(thebits : TBits_1); inline;
  1521. procedure setSEN(thebits : TBits_1); inline;
  1522. procedure setSIDL(thebits : TBits_1); inline;
  1523. procedure setSMEN(thebits : TBits_1); inline;
  1524. procedure setSTREN(thebits : TBits_1); inline;
  1525. procedure setSTRICT(thebits : TBits_1); inline;
  1526. procedure setw(thebits : TBits_32); inline;
  1527. public
  1528. procedure clearA10M; inline;
  1529. procedure clearACKDT; inline;
  1530. procedure clearACKEN; inline;
  1531. procedure clearDISSLW; inline;
  1532. procedure clearGCEN; inline;
  1533. procedure clearI2CEN; inline;
  1534. procedure clearI2CSIDL; inline;
  1535. procedure clearIPMIEN; inline;
  1536. procedure clearON; inline;
  1537. procedure clearPEN; inline;
  1538. procedure clearRCEN; inline;
  1539. procedure clearRSEN; inline;
  1540. procedure clearSCLREL; inline;
  1541. procedure clearSEN; inline;
  1542. procedure clearSIDL; inline;
  1543. procedure clearSMEN; inline;
  1544. procedure clearSTREN; inline;
  1545. procedure clearSTRICT; inline;
  1546. procedure setA10M; inline;
  1547. procedure setACKDT; inline;
  1548. procedure setACKEN; inline;
  1549. procedure setDISSLW; inline;
  1550. procedure setGCEN; inline;
  1551. procedure setI2CEN; inline;
  1552. procedure setI2CSIDL; inline;
  1553. procedure setIPMIEN; inline;
  1554. procedure setON; inline;
  1555. procedure setPEN; inline;
  1556. procedure setRCEN; inline;
  1557. procedure setRSEN; inline;
  1558. procedure setSCLREL; inline;
  1559. procedure setSEN; inline;
  1560. procedure setSIDL; inline;
  1561. procedure setSMEN; inline;
  1562. procedure setSTREN; inline;
  1563. procedure setSTRICT; inline;
  1564. property A10M : TBits_1 read getA10M write setA10M;
  1565. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1566. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1567. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1568. property GCEN : TBits_1 read getGCEN write setGCEN;
  1569. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1570. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1571. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1572. property ON : TBits_1 read getON write setON;
  1573. property PEN : TBits_1 read getPEN write setPEN;
  1574. property RCEN : TBits_1 read getRCEN write setRCEN;
  1575. property RSEN : TBits_1 read getRSEN write setRSEN;
  1576. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1577. property SEN : TBits_1 read getSEN write setSEN;
  1578. property SIDL : TBits_1 read getSIDL write setSIDL;
  1579. property SMEN : TBits_1 read getSMEN write setSMEN;
  1580. property STREN : TBits_1 read getSTREN write setSTREN;
  1581. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1582. property w : TBits_32 read getw write setw;
  1583. end;
  1584. TI2C1_I2C1CON = record
  1585. private
  1586. function getA10M : TBits_1; inline;
  1587. function getACKDT : TBits_1; inline;
  1588. function getACKEN : TBits_1; inline;
  1589. function getDISSLW : TBits_1; inline;
  1590. function getGCEN : TBits_1; inline;
  1591. function getI2CEN : TBits_1; inline;
  1592. function getI2CSIDL : TBits_1; inline;
  1593. function getIPMIEN : TBits_1; inline;
  1594. function getON : TBits_1; inline;
  1595. function getPEN : TBits_1; inline;
  1596. function getRCEN : TBits_1; inline;
  1597. function getRSEN : TBits_1; inline;
  1598. function getSCLREL : TBits_1; inline;
  1599. function getSEN : TBits_1; inline;
  1600. function getSIDL : TBits_1; inline;
  1601. function getSMEN : TBits_1; inline;
  1602. function getSTREN : TBits_1; inline;
  1603. function getSTRICT : TBits_1; inline;
  1604. function getw : TBits_32; inline;
  1605. procedure setA10M(thebits : TBits_1); inline;
  1606. procedure setACKDT(thebits : TBits_1); inline;
  1607. procedure setACKEN(thebits : TBits_1); inline;
  1608. procedure setDISSLW(thebits : TBits_1); inline;
  1609. procedure setGCEN(thebits : TBits_1); inline;
  1610. procedure setI2CEN(thebits : TBits_1); inline;
  1611. procedure setI2CSIDL(thebits : TBits_1); inline;
  1612. procedure setIPMIEN(thebits : TBits_1); inline;
  1613. procedure setON(thebits : TBits_1); inline;
  1614. procedure setPEN(thebits : TBits_1); inline;
  1615. procedure setRCEN(thebits : TBits_1); inline;
  1616. procedure setRSEN(thebits : TBits_1); inline;
  1617. procedure setSCLREL(thebits : TBits_1); inline;
  1618. procedure setSEN(thebits : TBits_1); inline;
  1619. procedure setSIDL(thebits : TBits_1); inline;
  1620. procedure setSMEN(thebits : TBits_1); inline;
  1621. procedure setSTREN(thebits : TBits_1); inline;
  1622. procedure setSTRICT(thebits : TBits_1); inline;
  1623. procedure setw(thebits : TBits_32); inline;
  1624. public
  1625. procedure clearA10M; inline;
  1626. procedure clearACKDT; inline;
  1627. procedure clearACKEN; inline;
  1628. procedure clearDISSLW; inline;
  1629. procedure clearGCEN; inline;
  1630. procedure clearI2CEN; inline;
  1631. procedure clearI2CSIDL; inline;
  1632. procedure clearIPMIEN; inline;
  1633. procedure clearON; inline;
  1634. procedure clearPEN; inline;
  1635. procedure clearRCEN; inline;
  1636. procedure clearRSEN; inline;
  1637. procedure clearSCLREL; inline;
  1638. procedure clearSEN; inline;
  1639. procedure clearSIDL; inline;
  1640. procedure clearSMEN; inline;
  1641. procedure clearSTREN; inline;
  1642. procedure clearSTRICT; inline;
  1643. procedure setA10M; inline;
  1644. procedure setACKDT; inline;
  1645. procedure setACKEN; inline;
  1646. procedure setDISSLW; inline;
  1647. procedure setGCEN; inline;
  1648. procedure setI2CEN; inline;
  1649. procedure setI2CSIDL; inline;
  1650. procedure setIPMIEN; inline;
  1651. procedure setON; inline;
  1652. procedure setPEN; inline;
  1653. procedure setRCEN; inline;
  1654. procedure setRSEN; inline;
  1655. procedure setSCLREL; inline;
  1656. procedure setSEN; inline;
  1657. procedure setSIDL; inline;
  1658. procedure setSMEN; inline;
  1659. procedure setSTREN; inline;
  1660. procedure setSTRICT; inline;
  1661. property A10M : TBits_1 read getA10M write setA10M;
  1662. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1663. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1664. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1665. property GCEN : TBits_1 read getGCEN write setGCEN;
  1666. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1667. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1668. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1669. property ON : TBits_1 read getON write setON;
  1670. property PEN : TBits_1 read getPEN write setPEN;
  1671. property RCEN : TBits_1 read getRCEN write setRCEN;
  1672. property RSEN : TBits_1 read getRSEN write setRSEN;
  1673. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1674. property SEN : TBits_1 read getSEN write setSEN;
  1675. property SIDL : TBits_1 read getSIDL write setSIDL;
  1676. property SMEN : TBits_1 read getSMEN write setSMEN;
  1677. property STREN : TBits_1 read getSTREN write setSTREN;
  1678. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1679. property w : TBits_32 read getw write setw;
  1680. end;
  1681. TI2C1_I2C1ASTAT = record
  1682. private
  1683. function getACKSTAT : TBits_1; inline;
  1684. function getADD10 : TBits_1; inline;
  1685. function getBCL : TBits_1; inline;
  1686. function getD_A : TBits_1; inline;
  1687. function getGCSTAT : TBits_1; inline;
  1688. function getI2COV : TBits_1; inline;
  1689. function getI2CPOV : TBits_1; inline;
  1690. function getIWCOL : TBits_1; inline;
  1691. function getP : TBits_1; inline;
  1692. function getRBF : TBits_1; inline;
  1693. function getR_W : TBits_1; inline;
  1694. function getS : TBits_1; inline;
  1695. function getTBF : TBits_1; inline;
  1696. function getTRSTAT : TBits_1; inline;
  1697. function getw : TBits_32; inline;
  1698. procedure setACKSTAT(thebits : TBits_1); inline;
  1699. procedure setADD10(thebits : TBits_1); inline;
  1700. procedure setBCL(thebits : TBits_1); inline;
  1701. procedure setD_A(thebits : TBits_1); inline;
  1702. procedure setGCSTAT(thebits : TBits_1); inline;
  1703. procedure setI2COV(thebits : TBits_1); inline;
  1704. procedure setI2CPOV(thebits : TBits_1); inline;
  1705. procedure setIWCOL(thebits : TBits_1); inline;
  1706. procedure setP(thebits : TBits_1); inline;
  1707. procedure setRBF(thebits : TBits_1); inline;
  1708. procedure setR_W(thebits : TBits_1); inline;
  1709. procedure setS(thebits : TBits_1); inline;
  1710. procedure setTBF(thebits : TBits_1); inline;
  1711. procedure setTRSTAT(thebits : TBits_1); inline;
  1712. procedure setw(thebits : TBits_32); inline;
  1713. public
  1714. procedure clearACKSTAT; inline;
  1715. procedure clearADD10; inline;
  1716. procedure clearBCL; inline;
  1717. procedure clearD_A; inline;
  1718. procedure clearGCSTAT; inline;
  1719. procedure clearI2COV; inline;
  1720. procedure clearI2CPOV; inline;
  1721. procedure clearIWCOL; inline;
  1722. procedure clearP; inline;
  1723. procedure clearRBF; inline;
  1724. procedure clearR_W; inline;
  1725. procedure clearS; inline;
  1726. procedure clearTBF; inline;
  1727. procedure clearTRSTAT; inline;
  1728. procedure setACKSTAT; inline;
  1729. procedure setADD10; inline;
  1730. procedure setBCL; inline;
  1731. procedure setD_A; inline;
  1732. procedure setGCSTAT; inline;
  1733. procedure setI2COV; inline;
  1734. procedure setI2CPOV; inline;
  1735. procedure setIWCOL; inline;
  1736. procedure setP; inline;
  1737. procedure setRBF; inline;
  1738. procedure setR_W; inline;
  1739. procedure setS; inline;
  1740. procedure setTBF; inline;
  1741. procedure setTRSTAT; inline;
  1742. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1743. property ADD10 : TBits_1 read getADD10 write setADD10;
  1744. property BCL : TBits_1 read getBCL write setBCL;
  1745. property D_A : TBits_1 read getD_A write setD_A;
  1746. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1747. property I2COV : TBits_1 read getI2COV write setI2COV;
  1748. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1749. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1750. property P : TBits_1 read getP write setP;
  1751. property RBF : TBits_1 read getRBF write setRBF;
  1752. property R_W : TBits_1 read getR_W write setR_W;
  1753. property S : TBits_1 read getS write setS;
  1754. property TBF : TBits_1 read getTBF write setTBF;
  1755. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1756. property w : TBits_32 read getw write setw;
  1757. end;
  1758. TI2C1_I2C1STAT = record
  1759. private
  1760. function getACKSTAT : TBits_1; inline;
  1761. function getADD10 : TBits_1; inline;
  1762. function getBCL : TBits_1; inline;
  1763. function getD_A : TBits_1; inline;
  1764. function getGCSTAT : TBits_1; inline;
  1765. function getI2COV : TBits_1; inline;
  1766. function getI2CPOV : TBits_1; inline;
  1767. function getIWCOL : TBits_1; inline;
  1768. function getP : TBits_1; inline;
  1769. function getRBF : TBits_1; inline;
  1770. function getR_W : TBits_1; inline;
  1771. function getS : TBits_1; inline;
  1772. function getTBF : TBits_1; inline;
  1773. function getTRSTAT : TBits_1; inline;
  1774. function getw : TBits_32; inline;
  1775. procedure setACKSTAT(thebits : TBits_1); inline;
  1776. procedure setADD10(thebits : TBits_1); inline;
  1777. procedure setBCL(thebits : TBits_1); inline;
  1778. procedure setD_A(thebits : TBits_1); inline;
  1779. procedure setGCSTAT(thebits : TBits_1); inline;
  1780. procedure setI2COV(thebits : TBits_1); inline;
  1781. procedure setI2CPOV(thebits : TBits_1); inline;
  1782. procedure setIWCOL(thebits : TBits_1); inline;
  1783. procedure setP(thebits : TBits_1); inline;
  1784. procedure setRBF(thebits : TBits_1); inline;
  1785. procedure setR_W(thebits : TBits_1); inline;
  1786. procedure setS(thebits : TBits_1); inline;
  1787. procedure setTBF(thebits : TBits_1); inline;
  1788. procedure setTRSTAT(thebits : TBits_1); inline;
  1789. procedure setw(thebits : TBits_32); inline;
  1790. public
  1791. procedure clearACKSTAT; inline;
  1792. procedure clearADD10; inline;
  1793. procedure clearBCL; inline;
  1794. procedure clearD_A; inline;
  1795. procedure clearGCSTAT; inline;
  1796. procedure clearI2COV; inline;
  1797. procedure clearI2CPOV; inline;
  1798. procedure clearIWCOL; inline;
  1799. procedure clearP; inline;
  1800. procedure clearRBF; inline;
  1801. procedure clearR_W; inline;
  1802. procedure clearS; inline;
  1803. procedure clearTBF; inline;
  1804. procedure clearTRSTAT; inline;
  1805. procedure setACKSTAT; inline;
  1806. procedure setADD10; inline;
  1807. procedure setBCL; inline;
  1808. procedure setD_A; inline;
  1809. procedure setGCSTAT; inline;
  1810. procedure setI2COV; inline;
  1811. procedure setI2CPOV; inline;
  1812. procedure setIWCOL; inline;
  1813. procedure setP; inline;
  1814. procedure setRBF; inline;
  1815. procedure setR_W; inline;
  1816. procedure setS; inline;
  1817. procedure setTBF; inline;
  1818. procedure setTRSTAT; inline;
  1819. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1820. property ADD10 : TBits_1 read getADD10 write setADD10;
  1821. property BCL : TBits_1 read getBCL write setBCL;
  1822. property D_A : TBits_1 read getD_A write setD_A;
  1823. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1824. property I2COV : TBits_1 read getI2COV write setI2COV;
  1825. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1826. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1827. property P : TBits_1 read getP write setP;
  1828. property RBF : TBits_1 read getRBF write setRBF;
  1829. property R_W : TBits_1 read getR_W write setR_W;
  1830. property S : TBits_1 read getS write setS;
  1831. property TBF : TBits_1 read getTBF write setTBF;
  1832. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1833. property w : TBits_32 read getw write setw;
  1834. end;
  1835. type
  1836. TI2C1Registers = record
  1837. I2C1ACONbits : TI2C1_I2C1ACON;
  1838. I2C1ACON : longWord;
  1839. I2C1CONbits : TI2C1_I2C1CON;
  1840. I2C1CON : longWord;
  1841. I2C1ACONCLR : longWord;
  1842. I2C1CONCLR : longWord;
  1843. I2C1ACONSET : longWord;
  1844. I2C1CONSET : longWord;
  1845. I2C1ACONINV : longWord;
  1846. I2C1CONINV : longWord;
  1847. I2C1ASTATbits : TI2C1_I2C1ASTAT;
  1848. I2C1ASTAT : longWord;
  1849. I2C1STATbits : TI2C1_I2C1STAT;
  1850. I2C1STAT : longWord;
  1851. I2C1ASTATCLR : longWord;
  1852. I2C1STATCLR : longWord;
  1853. I2C1ASTATSET : longWord;
  1854. I2C1STATSET : longWord;
  1855. I2C1ASTATINV : longWord;
  1856. I2C1STATINV : longWord;
  1857. I2C1AADD : longWord;
  1858. I2C1ADD : longWord;
  1859. I2C1AADDCLR : longWord;
  1860. I2C1ADDCLR : longWord;
  1861. I2C1AADDSET : longWord;
  1862. I2C1ADDSET : longWord;
  1863. I2C1AADDINV : longWord;
  1864. I2C1ADDINV : longWord;
  1865. I2C1AMSK : longWord;
  1866. I2C1MSK : longWord;
  1867. I2C1AMSKCLR : longWord;
  1868. I2C1MSKCLR : longWord;
  1869. I2C1AMSKSET : longWord;
  1870. I2C1MSKSET : longWord;
  1871. I2C1AMSKINV : longWord;
  1872. I2C1MSKINV : longWord;
  1873. I2C1ABRG : longWord;
  1874. I2C1BRG : longWord;
  1875. I2C1ABRGCLR : longWord;
  1876. I2C1BRGCLR : longWord;
  1877. I2C1ABRGSET : longWord;
  1878. I2C1BRGSET : longWord;
  1879. I2C1ABRGINV : longWord;
  1880. I2C1BRGINV : longWord;
  1881. I2C1ATRN : longWord;
  1882. I2C1TRN : longWord;
  1883. I2C1ATRNCLR : longWord;
  1884. I2C1TRNCLR : longWord;
  1885. I2C1ATRNSET : longWord;
  1886. I2C1TRNSET : longWord;
  1887. I2C1ATRNINV : longWord;
  1888. I2C1TRNINV : longWord;
  1889. I2C1ARCV : longWord;
  1890. I2C1RCV : longWord;
  1891. end;
  1892. TI2C2_I2C2ACON = record
  1893. private
  1894. function getA10M : TBits_1; inline;
  1895. function getACKDT : TBits_1; inline;
  1896. function getACKEN : TBits_1; inline;
  1897. function getDISSLW : TBits_1; inline;
  1898. function getGCEN : TBits_1; inline;
  1899. function getI2CEN : TBits_1; inline;
  1900. function getI2CSIDL : TBits_1; inline;
  1901. function getIPMIEN : TBits_1; inline;
  1902. function getON : TBits_1; inline;
  1903. function getPEN : TBits_1; inline;
  1904. function getRCEN : TBits_1; inline;
  1905. function getRSEN : TBits_1; inline;
  1906. function getSCLREL : TBits_1; inline;
  1907. function getSEN : TBits_1; inline;
  1908. function getSIDL : TBits_1; inline;
  1909. function getSMEN : TBits_1; inline;
  1910. function getSTREN : TBits_1; inline;
  1911. function getSTRICT : TBits_1; inline;
  1912. function getw : TBits_32; inline;
  1913. procedure setA10M(thebits : TBits_1); inline;
  1914. procedure setACKDT(thebits : TBits_1); inline;
  1915. procedure setACKEN(thebits : TBits_1); inline;
  1916. procedure setDISSLW(thebits : TBits_1); inline;
  1917. procedure setGCEN(thebits : TBits_1); inline;
  1918. procedure setI2CEN(thebits : TBits_1); inline;
  1919. procedure setI2CSIDL(thebits : TBits_1); inline;
  1920. procedure setIPMIEN(thebits : TBits_1); inline;
  1921. procedure setON(thebits : TBits_1); inline;
  1922. procedure setPEN(thebits : TBits_1); inline;
  1923. procedure setRCEN(thebits : TBits_1); inline;
  1924. procedure setRSEN(thebits : TBits_1); inline;
  1925. procedure setSCLREL(thebits : TBits_1); inline;
  1926. procedure setSEN(thebits : TBits_1); inline;
  1927. procedure setSIDL(thebits : TBits_1); inline;
  1928. procedure setSMEN(thebits : TBits_1); inline;
  1929. procedure setSTREN(thebits : TBits_1); inline;
  1930. procedure setSTRICT(thebits : TBits_1); inline;
  1931. procedure setw(thebits : TBits_32); inline;
  1932. public
  1933. procedure clearA10M; inline;
  1934. procedure clearACKDT; inline;
  1935. procedure clearACKEN; inline;
  1936. procedure clearDISSLW; inline;
  1937. procedure clearGCEN; inline;
  1938. procedure clearI2CEN; inline;
  1939. procedure clearI2CSIDL; inline;
  1940. procedure clearIPMIEN; inline;
  1941. procedure clearON; inline;
  1942. procedure clearPEN; inline;
  1943. procedure clearRCEN; inline;
  1944. procedure clearRSEN; inline;
  1945. procedure clearSCLREL; inline;
  1946. procedure clearSEN; inline;
  1947. procedure clearSIDL; inline;
  1948. procedure clearSMEN; inline;
  1949. procedure clearSTREN; inline;
  1950. procedure clearSTRICT; inline;
  1951. procedure setA10M; inline;
  1952. procedure setACKDT; inline;
  1953. procedure setACKEN; inline;
  1954. procedure setDISSLW; inline;
  1955. procedure setGCEN; inline;
  1956. procedure setI2CEN; inline;
  1957. procedure setI2CSIDL; inline;
  1958. procedure setIPMIEN; inline;
  1959. procedure setON; inline;
  1960. procedure setPEN; inline;
  1961. procedure setRCEN; inline;
  1962. procedure setRSEN; inline;
  1963. procedure setSCLREL; inline;
  1964. procedure setSEN; inline;
  1965. procedure setSIDL; inline;
  1966. procedure setSMEN; inline;
  1967. procedure setSTREN; inline;
  1968. procedure setSTRICT; inline;
  1969. property A10M : TBits_1 read getA10M write setA10M;
  1970. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1971. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1972. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1973. property GCEN : TBits_1 read getGCEN write setGCEN;
  1974. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1975. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1976. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1977. property ON : TBits_1 read getON write setON;
  1978. property PEN : TBits_1 read getPEN write setPEN;
  1979. property RCEN : TBits_1 read getRCEN write setRCEN;
  1980. property RSEN : TBits_1 read getRSEN write setRSEN;
  1981. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1982. property SEN : TBits_1 read getSEN write setSEN;
  1983. property SIDL : TBits_1 read getSIDL write setSIDL;
  1984. property SMEN : TBits_1 read getSMEN write setSMEN;
  1985. property STREN : TBits_1 read getSTREN write setSTREN;
  1986. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1987. property w : TBits_32 read getw write setw;
  1988. end;
  1989. TI2C2_I2C2CON = record
  1990. private
  1991. function getA10M : TBits_1; inline;
  1992. function getACKDT : TBits_1; inline;
  1993. function getACKEN : TBits_1; inline;
  1994. function getDISSLW : TBits_1; inline;
  1995. function getGCEN : TBits_1; inline;
  1996. function getI2CEN : TBits_1; inline;
  1997. function getI2CSIDL : TBits_1; inline;
  1998. function getIPMIEN : TBits_1; inline;
  1999. function getON : TBits_1; inline;
  2000. function getPEN : TBits_1; inline;
  2001. function getRCEN : TBits_1; inline;
  2002. function getRSEN : TBits_1; inline;
  2003. function getSCLREL : TBits_1; inline;
  2004. function getSEN : TBits_1; inline;
  2005. function getSIDL : TBits_1; inline;
  2006. function getSMEN : TBits_1; inline;
  2007. function getSTREN : TBits_1; inline;
  2008. function getSTRICT : TBits_1; inline;
  2009. function getw : TBits_32; inline;
  2010. procedure setA10M(thebits : TBits_1); inline;
  2011. procedure setACKDT(thebits : TBits_1); inline;
  2012. procedure setACKEN(thebits : TBits_1); inline;
  2013. procedure setDISSLW(thebits : TBits_1); inline;
  2014. procedure setGCEN(thebits : TBits_1); inline;
  2015. procedure setI2CEN(thebits : TBits_1); inline;
  2016. procedure setI2CSIDL(thebits : TBits_1); inline;
  2017. procedure setIPMIEN(thebits : TBits_1); inline;
  2018. procedure setON(thebits : TBits_1); inline;
  2019. procedure setPEN(thebits : TBits_1); inline;
  2020. procedure setRCEN(thebits : TBits_1); inline;
  2021. procedure setRSEN(thebits : TBits_1); inline;
  2022. procedure setSCLREL(thebits : TBits_1); inline;
  2023. procedure setSEN(thebits : TBits_1); inline;
  2024. procedure setSIDL(thebits : TBits_1); inline;
  2025. procedure setSMEN(thebits : TBits_1); inline;
  2026. procedure setSTREN(thebits : TBits_1); inline;
  2027. procedure setSTRICT(thebits : TBits_1); inline;
  2028. procedure setw(thebits : TBits_32); inline;
  2029. public
  2030. procedure clearA10M; inline;
  2031. procedure clearACKDT; inline;
  2032. procedure clearACKEN; inline;
  2033. procedure clearDISSLW; inline;
  2034. procedure clearGCEN; inline;
  2035. procedure clearI2CEN; inline;
  2036. procedure clearI2CSIDL; inline;
  2037. procedure clearIPMIEN; inline;
  2038. procedure clearON; inline;
  2039. procedure clearPEN; inline;
  2040. procedure clearRCEN; inline;
  2041. procedure clearRSEN; inline;
  2042. procedure clearSCLREL; inline;
  2043. procedure clearSEN; inline;
  2044. procedure clearSIDL; inline;
  2045. procedure clearSMEN; inline;
  2046. procedure clearSTREN; inline;
  2047. procedure clearSTRICT; inline;
  2048. procedure setA10M; inline;
  2049. procedure setACKDT; inline;
  2050. procedure setACKEN; inline;
  2051. procedure setDISSLW; inline;
  2052. procedure setGCEN; inline;
  2053. procedure setI2CEN; inline;
  2054. procedure setI2CSIDL; inline;
  2055. procedure setIPMIEN; inline;
  2056. procedure setON; inline;
  2057. procedure setPEN; inline;
  2058. procedure setRCEN; inline;
  2059. procedure setRSEN; inline;
  2060. procedure setSCLREL; inline;
  2061. procedure setSEN; inline;
  2062. procedure setSIDL; inline;
  2063. procedure setSMEN; inline;
  2064. procedure setSTREN; inline;
  2065. procedure setSTRICT; inline;
  2066. property A10M : TBits_1 read getA10M write setA10M;
  2067. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2068. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2069. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2070. property GCEN : TBits_1 read getGCEN write setGCEN;
  2071. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2072. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2073. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2074. property ON : TBits_1 read getON write setON;
  2075. property PEN : TBits_1 read getPEN write setPEN;
  2076. property RCEN : TBits_1 read getRCEN write setRCEN;
  2077. property RSEN : TBits_1 read getRSEN write setRSEN;
  2078. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2079. property SEN : TBits_1 read getSEN write setSEN;
  2080. property SIDL : TBits_1 read getSIDL write setSIDL;
  2081. property SMEN : TBits_1 read getSMEN write setSMEN;
  2082. property STREN : TBits_1 read getSTREN write setSTREN;
  2083. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2084. property w : TBits_32 read getw write setw;
  2085. end;
  2086. TI2C2_I2C2ASTAT = record
  2087. private
  2088. function getACKSTAT : TBits_1; inline;
  2089. function getADD10 : TBits_1; inline;
  2090. function getBCL : TBits_1; inline;
  2091. function getD_A : TBits_1; inline;
  2092. function getGCSTAT : TBits_1; inline;
  2093. function getI2COV : TBits_1; inline;
  2094. function getI2CPOV : TBits_1; inline;
  2095. function getIWCOL : TBits_1; inline;
  2096. function getP : TBits_1; inline;
  2097. function getRBF : TBits_1; inline;
  2098. function getR_W : TBits_1; inline;
  2099. function getS : TBits_1; inline;
  2100. function getTBF : TBits_1; inline;
  2101. function getTRSTAT : TBits_1; inline;
  2102. function getw : TBits_32; inline;
  2103. procedure setACKSTAT(thebits : TBits_1); inline;
  2104. procedure setADD10(thebits : TBits_1); inline;
  2105. procedure setBCL(thebits : TBits_1); inline;
  2106. procedure setD_A(thebits : TBits_1); inline;
  2107. procedure setGCSTAT(thebits : TBits_1); inline;
  2108. procedure setI2COV(thebits : TBits_1); inline;
  2109. procedure setI2CPOV(thebits : TBits_1); inline;
  2110. procedure setIWCOL(thebits : TBits_1); inline;
  2111. procedure setP(thebits : TBits_1); inline;
  2112. procedure setRBF(thebits : TBits_1); inline;
  2113. procedure setR_W(thebits : TBits_1); inline;
  2114. procedure setS(thebits : TBits_1); inline;
  2115. procedure setTBF(thebits : TBits_1); inline;
  2116. procedure setTRSTAT(thebits : TBits_1); inline;
  2117. procedure setw(thebits : TBits_32); inline;
  2118. public
  2119. procedure clearACKSTAT; inline;
  2120. procedure clearADD10; inline;
  2121. procedure clearBCL; inline;
  2122. procedure clearD_A; inline;
  2123. procedure clearGCSTAT; inline;
  2124. procedure clearI2COV; inline;
  2125. procedure clearI2CPOV; inline;
  2126. procedure clearIWCOL; inline;
  2127. procedure clearP; inline;
  2128. procedure clearRBF; inline;
  2129. procedure clearR_W; inline;
  2130. procedure clearS; inline;
  2131. procedure clearTBF; inline;
  2132. procedure clearTRSTAT; inline;
  2133. procedure setACKSTAT; inline;
  2134. procedure setADD10; inline;
  2135. procedure setBCL; inline;
  2136. procedure setD_A; inline;
  2137. procedure setGCSTAT; inline;
  2138. procedure setI2COV; inline;
  2139. procedure setI2CPOV; inline;
  2140. procedure setIWCOL; inline;
  2141. procedure setP; inline;
  2142. procedure setRBF; inline;
  2143. procedure setR_W; inline;
  2144. procedure setS; inline;
  2145. procedure setTBF; inline;
  2146. procedure setTRSTAT; inline;
  2147. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2148. property ADD10 : TBits_1 read getADD10 write setADD10;
  2149. property BCL : TBits_1 read getBCL write setBCL;
  2150. property D_A : TBits_1 read getD_A write setD_A;
  2151. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2152. property I2COV : TBits_1 read getI2COV write setI2COV;
  2153. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2154. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2155. property P : TBits_1 read getP write setP;
  2156. property RBF : TBits_1 read getRBF write setRBF;
  2157. property R_W : TBits_1 read getR_W write setR_W;
  2158. property S : TBits_1 read getS write setS;
  2159. property TBF : TBits_1 read getTBF write setTBF;
  2160. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2161. property w : TBits_32 read getw write setw;
  2162. end;
  2163. TI2C2_I2C2STAT = record
  2164. private
  2165. function getACKSTAT : TBits_1; inline;
  2166. function getADD10 : TBits_1; inline;
  2167. function getBCL : TBits_1; inline;
  2168. function getD_A : TBits_1; inline;
  2169. function getGCSTAT : TBits_1; inline;
  2170. function getI2COV : TBits_1; inline;
  2171. function getI2CPOV : TBits_1; inline;
  2172. function getIWCOL : TBits_1; inline;
  2173. function getP : TBits_1; inline;
  2174. function getRBF : TBits_1; inline;
  2175. function getR_W : TBits_1; inline;
  2176. function getS : TBits_1; inline;
  2177. function getTBF : TBits_1; inline;
  2178. function getTRSTAT : TBits_1; inline;
  2179. function getw : TBits_32; inline;
  2180. procedure setACKSTAT(thebits : TBits_1); inline;
  2181. procedure setADD10(thebits : TBits_1); inline;
  2182. procedure setBCL(thebits : TBits_1); inline;
  2183. procedure setD_A(thebits : TBits_1); inline;
  2184. procedure setGCSTAT(thebits : TBits_1); inline;
  2185. procedure setI2COV(thebits : TBits_1); inline;
  2186. procedure setI2CPOV(thebits : TBits_1); inline;
  2187. procedure setIWCOL(thebits : TBits_1); inline;
  2188. procedure setP(thebits : TBits_1); inline;
  2189. procedure setRBF(thebits : TBits_1); inline;
  2190. procedure setR_W(thebits : TBits_1); inline;
  2191. procedure setS(thebits : TBits_1); inline;
  2192. procedure setTBF(thebits : TBits_1); inline;
  2193. procedure setTRSTAT(thebits : TBits_1); inline;
  2194. procedure setw(thebits : TBits_32); inline;
  2195. public
  2196. procedure clearACKSTAT; inline;
  2197. procedure clearADD10; inline;
  2198. procedure clearBCL; inline;
  2199. procedure clearD_A; inline;
  2200. procedure clearGCSTAT; inline;
  2201. procedure clearI2COV; inline;
  2202. procedure clearI2CPOV; inline;
  2203. procedure clearIWCOL; inline;
  2204. procedure clearP; inline;
  2205. procedure clearRBF; inline;
  2206. procedure clearR_W; inline;
  2207. procedure clearS; inline;
  2208. procedure clearTBF; inline;
  2209. procedure clearTRSTAT; inline;
  2210. procedure setACKSTAT; inline;
  2211. procedure setADD10; inline;
  2212. procedure setBCL; inline;
  2213. procedure setD_A; inline;
  2214. procedure setGCSTAT; inline;
  2215. procedure setI2COV; inline;
  2216. procedure setI2CPOV; inline;
  2217. procedure setIWCOL; inline;
  2218. procedure setP; inline;
  2219. procedure setRBF; inline;
  2220. procedure setR_W; inline;
  2221. procedure setS; inline;
  2222. procedure setTBF; inline;
  2223. procedure setTRSTAT; inline;
  2224. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2225. property ADD10 : TBits_1 read getADD10 write setADD10;
  2226. property BCL : TBits_1 read getBCL write setBCL;
  2227. property D_A : TBits_1 read getD_A write setD_A;
  2228. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2229. property I2COV : TBits_1 read getI2COV write setI2COV;
  2230. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2231. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2232. property P : TBits_1 read getP write setP;
  2233. property RBF : TBits_1 read getRBF write setRBF;
  2234. property R_W : TBits_1 read getR_W write setR_W;
  2235. property S : TBits_1 read getS write setS;
  2236. property TBF : TBits_1 read getTBF write setTBF;
  2237. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2238. property w : TBits_32 read getw write setw;
  2239. end;
  2240. type
  2241. TI2C2Registers = record
  2242. I2C2ACONbits : TI2C2_I2C2ACON;
  2243. I2C2ACON : longWord;
  2244. I2C2CONbits : TI2C2_I2C2CON;
  2245. I2C2CON : longWord;
  2246. I2C2ACONCLR : longWord;
  2247. I2C2CONCLR : longWord;
  2248. I2C2ACONSET : longWord;
  2249. I2C2CONSET : longWord;
  2250. I2C2ACONINV : longWord;
  2251. I2C2CONINV : longWord;
  2252. I2C2ASTATbits : TI2C2_I2C2ASTAT;
  2253. I2C2ASTAT : longWord;
  2254. I2C2STATbits : TI2C2_I2C2STAT;
  2255. I2C2STAT : longWord;
  2256. I2C2ASTATCLR : longWord;
  2257. I2C2STATCLR : longWord;
  2258. I2C2ASTATSET : longWord;
  2259. I2C2STATSET : longWord;
  2260. I2C2ASTATINV : longWord;
  2261. I2C2STATINV : longWord;
  2262. I2C2AADD : longWord;
  2263. I2C2ADD : longWord;
  2264. I2C2AADDCLR : longWord;
  2265. I2C2ADDCLR : longWord;
  2266. I2C2AADDSET : longWord;
  2267. I2C2ADDSET : longWord;
  2268. I2C2AADDINV : longWord;
  2269. I2C2ADDINV : longWord;
  2270. I2C2AMSK : longWord;
  2271. I2C2MSK : longWord;
  2272. I2C2AMSKCLR : longWord;
  2273. I2C2MSKCLR : longWord;
  2274. I2C2AMSKSET : longWord;
  2275. I2C2MSKSET : longWord;
  2276. I2C2AMSKINV : longWord;
  2277. I2C2MSKINV : longWord;
  2278. I2C2ABRG : longWord;
  2279. I2C2BRG : longWord;
  2280. I2C2ABRGCLR : longWord;
  2281. I2C2BRGCLR : longWord;
  2282. I2C2ABRGSET : longWord;
  2283. I2C2BRGSET : longWord;
  2284. I2C2ABRGINV : longWord;
  2285. I2C2BRGINV : longWord;
  2286. I2C2ATRN : longWord;
  2287. I2C2TRN : longWord;
  2288. I2C2ATRNCLR : longWord;
  2289. I2C2TRNCLR : longWord;
  2290. I2C2ATRNSET : longWord;
  2291. I2C2TRNSET : longWord;
  2292. I2C2ATRNINV : longWord;
  2293. I2C2TRNINV : longWord;
  2294. I2C2ARCV : longWord;
  2295. I2C2RCV : longWord;
  2296. end;
  2297. TSPI1_SPI1CON = record
  2298. private
  2299. function getCKE : TBits_1; inline;
  2300. function getCKP : TBits_1; inline;
  2301. function getDISSDI : TBits_1; inline;
  2302. function getDISSDO : TBits_1; inline;
  2303. function getENHBUF : TBits_1; inline;
  2304. function getFRMCNT : TBits_3; inline;
  2305. function getFRMEN : TBits_1; inline;
  2306. function getFRMPOL : TBits_1; inline;
  2307. function getFRMSYNC : TBits_1; inline;
  2308. function getFRMSYPW : TBits_1; inline;
  2309. function getMCLKSEL : TBits_1; inline;
  2310. function getMODE16 : TBits_1; inline;
  2311. function getMODE32 : TBits_1; inline;
  2312. function getMSSEN : TBits_1; inline;
  2313. function getMSTEN : TBits_1; inline;
  2314. function getON : TBits_1; inline;
  2315. function getSIDL : TBits_1; inline;
  2316. function getSMP : TBits_1; inline;
  2317. function getSPIFE : TBits_1; inline;
  2318. function getSRXISEL : TBits_2; inline;
  2319. function getSSEN : TBits_1; inline;
  2320. function getSTXISEL : TBits_2; inline;
  2321. function getw : TBits_32; inline;
  2322. procedure setCKE(thebits : TBits_1); inline;
  2323. procedure setCKP(thebits : TBits_1); inline;
  2324. procedure setDISSDI(thebits : TBits_1); inline;
  2325. procedure setDISSDO(thebits : TBits_1); inline;
  2326. procedure setENHBUF(thebits : TBits_1); inline;
  2327. procedure setFRMCNT(thebits : TBits_3); inline;
  2328. procedure setFRMEN(thebits : TBits_1); inline;
  2329. procedure setFRMPOL(thebits : TBits_1); inline;
  2330. procedure setFRMSYNC(thebits : TBits_1); inline;
  2331. procedure setFRMSYPW(thebits : TBits_1); inline;
  2332. procedure setMCLKSEL(thebits : TBits_1); inline;
  2333. procedure setMODE16(thebits : TBits_1); inline;
  2334. procedure setMODE32(thebits : TBits_1); inline;
  2335. procedure setMSSEN(thebits : TBits_1); inline;
  2336. procedure setMSTEN(thebits : TBits_1); inline;
  2337. procedure setON(thebits : TBits_1); inline;
  2338. procedure setSIDL(thebits : TBits_1); inline;
  2339. procedure setSMP(thebits : TBits_1); inline;
  2340. procedure setSPIFE(thebits : TBits_1); inline;
  2341. procedure setSRXISEL(thebits : TBits_2); inline;
  2342. procedure setSSEN(thebits : TBits_1); inline;
  2343. procedure setSTXISEL(thebits : TBits_2); inline;
  2344. procedure setw(thebits : TBits_32); inline;
  2345. public
  2346. procedure clearCKE; inline;
  2347. procedure clearCKP; inline;
  2348. procedure clearDISSDI; inline;
  2349. procedure clearDISSDO; inline;
  2350. procedure clearENHBUF; inline;
  2351. procedure clearFRMEN; inline;
  2352. procedure clearFRMPOL; inline;
  2353. procedure clearFRMSYNC; inline;
  2354. procedure clearFRMSYPW; inline;
  2355. procedure clearMCLKSEL; inline;
  2356. procedure clearMODE16; inline;
  2357. procedure clearMODE32; inline;
  2358. procedure clearMSSEN; inline;
  2359. procedure clearMSTEN; inline;
  2360. procedure clearON; inline;
  2361. procedure clearSIDL; inline;
  2362. procedure clearSMP; inline;
  2363. procedure clearSPIFE; inline;
  2364. procedure clearSSEN; inline;
  2365. procedure setCKE; inline;
  2366. procedure setCKP; inline;
  2367. procedure setDISSDI; inline;
  2368. procedure setDISSDO; inline;
  2369. procedure setENHBUF; inline;
  2370. procedure setFRMEN; inline;
  2371. procedure setFRMPOL; inline;
  2372. procedure setFRMSYNC; inline;
  2373. procedure setFRMSYPW; inline;
  2374. procedure setMCLKSEL; inline;
  2375. procedure setMODE16; inline;
  2376. procedure setMODE32; inline;
  2377. procedure setMSSEN; inline;
  2378. procedure setMSTEN; inline;
  2379. procedure setON; inline;
  2380. procedure setSIDL; inline;
  2381. procedure setSMP; inline;
  2382. procedure setSPIFE; inline;
  2383. procedure setSSEN; inline;
  2384. property CKE : TBits_1 read getCKE write setCKE;
  2385. property CKP : TBits_1 read getCKP write setCKP;
  2386. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2387. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2388. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2389. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2390. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2391. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2392. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2393. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2394. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2395. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2396. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2397. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2398. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2399. property ON : TBits_1 read getON write setON;
  2400. property SIDL : TBits_1 read getSIDL write setSIDL;
  2401. property SMP : TBits_1 read getSMP write setSMP;
  2402. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2403. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2404. property SSEN : TBits_1 read getSSEN write setSSEN;
  2405. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2406. property w : TBits_32 read getw write setw;
  2407. end;
  2408. TSPI1_SPI1STAT = record
  2409. private
  2410. function getFRMERR : TBits_1; inline;
  2411. function getRXBUFELM : TBits_5; inline;
  2412. function getSPIBUSY : TBits_1; inline;
  2413. function getSPIRBE : TBits_1; inline;
  2414. function getSPIRBF : TBits_1; inline;
  2415. function getSPIROV : TBits_1; inline;
  2416. function getSPITBE : TBits_1; inline;
  2417. function getSPITBF : TBits_1; inline;
  2418. function getSPITUR : TBits_1; inline;
  2419. function getSRMT : TBits_1; inline;
  2420. function getTXBUFELM : TBits_5; inline;
  2421. function getw : TBits_32; inline;
  2422. procedure setFRMERR(thebits : TBits_1); inline;
  2423. procedure setRXBUFELM(thebits : TBits_5); inline;
  2424. procedure setSPIBUSY(thebits : TBits_1); inline;
  2425. procedure setSPIRBE(thebits : TBits_1); inline;
  2426. procedure setSPIRBF(thebits : TBits_1); inline;
  2427. procedure setSPIROV(thebits : TBits_1); inline;
  2428. procedure setSPITBE(thebits : TBits_1); inline;
  2429. procedure setSPITBF(thebits : TBits_1); inline;
  2430. procedure setSPITUR(thebits : TBits_1); inline;
  2431. procedure setSRMT(thebits : TBits_1); inline;
  2432. procedure setTXBUFELM(thebits : TBits_5); inline;
  2433. procedure setw(thebits : TBits_32); inline;
  2434. public
  2435. procedure clearFRMERR; inline;
  2436. procedure clearSPIBUSY; inline;
  2437. procedure clearSPIRBE; inline;
  2438. procedure clearSPIRBF; inline;
  2439. procedure clearSPIROV; inline;
  2440. procedure clearSPITBE; inline;
  2441. procedure clearSPITBF; inline;
  2442. procedure clearSPITUR; inline;
  2443. procedure clearSRMT; inline;
  2444. procedure setFRMERR; inline;
  2445. procedure setSPIBUSY; inline;
  2446. procedure setSPIRBE; inline;
  2447. procedure setSPIRBF; inline;
  2448. procedure setSPIROV; inline;
  2449. procedure setSPITBE; inline;
  2450. procedure setSPITBF; inline;
  2451. procedure setSPITUR; inline;
  2452. procedure setSRMT; inline;
  2453. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2454. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2455. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2456. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2457. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2458. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2459. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2460. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2461. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2462. property SRMT : TBits_1 read getSRMT write setSRMT;
  2463. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2464. property w : TBits_32 read getw write setw;
  2465. end;
  2466. TSPI1_SPI1CON2 = record
  2467. private
  2468. function getAUDEN : TBits_1; inline;
  2469. function getAUDMOD : TBits_2; inline;
  2470. function getAUDMOD0 : TBits_1; inline;
  2471. function getAUDMOD1 : TBits_1; inline;
  2472. function getAUDMONO : TBits_1; inline;
  2473. function getFRMERREN : TBits_1; inline;
  2474. function getIGNROV : TBits_1; inline;
  2475. function getIGNTUR : TBits_1; inline;
  2476. function getSPIROVEN : TBits_1; inline;
  2477. function getSPISGNEXT : TBits_1; inline;
  2478. function getSPITUREN : TBits_1; inline;
  2479. function getw : TBits_32; inline;
  2480. procedure setAUDEN(thebits : TBits_1); inline;
  2481. procedure setAUDMOD(thebits : TBits_2); inline;
  2482. procedure setAUDMOD0(thebits : TBits_1); inline;
  2483. procedure setAUDMOD1(thebits : TBits_1); inline;
  2484. procedure setAUDMONO(thebits : TBits_1); inline;
  2485. procedure setFRMERREN(thebits : TBits_1); inline;
  2486. procedure setIGNROV(thebits : TBits_1); inline;
  2487. procedure setIGNTUR(thebits : TBits_1); inline;
  2488. procedure setSPIROVEN(thebits : TBits_1); inline;
  2489. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2490. procedure setSPITUREN(thebits : TBits_1); inline;
  2491. procedure setw(thebits : TBits_32); inline;
  2492. public
  2493. procedure clearAUDEN; inline;
  2494. procedure clearAUDMOD0; inline;
  2495. procedure clearAUDMOD1; inline;
  2496. procedure clearAUDMONO; inline;
  2497. procedure clearFRMERREN; inline;
  2498. procedure clearIGNROV; inline;
  2499. procedure clearIGNTUR; inline;
  2500. procedure clearSPIROVEN; inline;
  2501. procedure clearSPISGNEXT; inline;
  2502. procedure clearSPITUREN; inline;
  2503. procedure setAUDEN; inline;
  2504. procedure setAUDMOD0; inline;
  2505. procedure setAUDMOD1; inline;
  2506. procedure setAUDMONO; inline;
  2507. procedure setFRMERREN; inline;
  2508. procedure setIGNROV; inline;
  2509. procedure setIGNTUR; inline;
  2510. procedure setSPIROVEN; inline;
  2511. procedure setSPISGNEXT; inline;
  2512. procedure setSPITUREN; inline;
  2513. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2514. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2515. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2516. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2517. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2518. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2519. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2520. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2521. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2522. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2523. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2524. property w : TBits_32 read getw write setw;
  2525. end;
  2526. type
  2527. TSPI1Registers = record
  2528. SPI1CONbits : TSPI1_SPI1CON;
  2529. SPI1CON : longWord;
  2530. SPI1CONCLR : longWord;
  2531. SPI1CONSET : longWord;
  2532. SPI1CONINV : longWord;
  2533. SPI1STATbits : TSPI1_SPI1STAT;
  2534. SPI1STAT : longWord;
  2535. SPI1STATCLR : longWord;
  2536. SPI1STATSET : longWord;
  2537. SPI1STATINV : longWord;
  2538. SPI1BUF : longWord;
  2539. SPI1BRG : longWord;
  2540. SPI1BRGCLR : longWord;
  2541. SPI1BRGSET : longWord;
  2542. SPI1BRGINV : longWord;
  2543. SPI1CON2bits : TSPI1_SPI1CON2;
  2544. SPI1CON2 : longWord;
  2545. SPI1CON2CLR : longWord;
  2546. SPI1CON2SET : longWord;
  2547. SPI1CON2INV : longWord;
  2548. end;
  2549. TSPI2_SPI2CON = record
  2550. private
  2551. function getCKE : TBits_1; inline;
  2552. function getCKP : TBits_1; inline;
  2553. function getDISSDI : TBits_1; inline;
  2554. function getDISSDO : TBits_1; inline;
  2555. function getENHBUF : TBits_1; inline;
  2556. function getFRMCNT : TBits_3; inline;
  2557. function getFRMEN : TBits_1; inline;
  2558. function getFRMPOL : TBits_1; inline;
  2559. function getFRMSYNC : TBits_1; inline;
  2560. function getFRMSYPW : TBits_1; inline;
  2561. function getMCLKSEL : TBits_1; inline;
  2562. function getMODE16 : TBits_1; inline;
  2563. function getMODE32 : TBits_1; inline;
  2564. function getMSSEN : TBits_1; inline;
  2565. function getMSTEN : TBits_1; inline;
  2566. function getON : TBits_1; inline;
  2567. function getSIDL : TBits_1; inline;
  2568. function getSMP : TBits_1; inline;
  2569. function getSPIFE : TBits_1; inline;
  2570. function getSRXISEL : TBits_2; inline;
  2571. function getSSEN : TBits_1; inline;
  2572. function getSTXISEL : TBits_2; inline;
  2573. function getw : TBits_32; inline;
  2574. procedure setCKE(thebits : TBits_1); inline;
  2575. procedure setCKP(thebits : TBits_1); inline;
  2576. procedure setDISSDI(thebits : TBits_1); inline;
  2577. procedure setDISSDO(thebits : TBits_1); inline;
  2578. procedure setENHBUF(thebits : TBits_1); inline;
  2579. procedure setFRMCNT(thebits : TBits_3); inline;
  2580. procedure setFRMEN(thebits : TBits_1); inline;
  2581. procedure setFRMPOL(thebits : TBits_1); inline;
  2582. procedure setFRMSYNC(thebits : TBits_1); inline;
  2583. procedure setFRMSYPW(thebits : TBits_1); inline;
  2584. procedure setMCLKSEL(thebits : TBits_1); inline;
  2585. procedure setMODE16(thebits : TBits_1); inline;
  2586. procedure setMODE32(thebits : TBits_1); inline;
  2587. procedure setMSSEN(thebits : TBits_1); inline;
  2588. procedure setMSTEN(thebits : TBits_1); inline;
  2589. procedure setON(thebits : TBits_1); inline;
  2590. procedure setSIDL(thebits : TBits_1); inline;
  2591. procedure setSMP(thebits : TBits_1); inline;
  2592. procedure setSPIFE(thebits : TBits_1); inline;
  2593. procedure setSRXISEL(thebits : TBits_2); inline;
  2594. procedure setSSEN(thebits : TBits_1); inline;
  2595. procedure setSTXISEL(thebits : TBits_2); inline;
  2596. procedure setw(thebits : TBits_32); inline;
  2597. public
  2598. procedure clearCKE; inline;
  2599. procedure clearCKP; inline;
  2600. procedure clearDISSDI; inline;
  2601. procedure clearDISSDO; inline;
  2602. procedure clearENHBUF; inline;
  2603. procedure clearFRMEN; inline;
  2604. procedure clearFRMPOL; inline;
  2605. procedure clearFRMSYNC; inline;
  2606. procedure clearFRMSYPW; inline;
  2607. procedure clearMCLKSEL; inline;
  2608. procedure clearMODE16; inline;
  2609. procedure clearMODE32; inline;
  2610. procedure clearMSSEN; inline;
  2611. procedure clearMSTEN; inline;
  2612. procedure clearON; inline;
  2613. procedure clearSIDL; inline;
  2614. procedure clearSMP; inline;
  2615. procedure clearSPIFE; inline;
  2616. procedure clearSSEN; inline;
  2617. procedure setCKE; inline;
  2618. procedure setCKP; inline;
  2619. procedure setDISSDI; inline;
  2620. procedure setDISSDO; inline;
  2621. procedure setENHBUF; inline;
  2622. procedure setFRMEN; inline;
  2623. procedure setFRMPOL; inline;
  2624. procedure setFRMSYNC; inline;
  2625. procedure setFRMSYPW; inline;
  2626. procedure setMCLKSEL; inline;
  2627. procedure setMODE16; inline;
  2628. procedure setMODE32; inline;
  2629. procedure setMSSEN; inline;
  2630. procedure setMSTEN; inline;
  2631. procedure setON; inline;
  2632. procedure setSIDL; inline;
  2633. procedure setSMP; inline;
  2634. procedure setSPIFE; inline;
  2635. procedure setSSEN; inline;
  2636. property CKE : TBits_1 read getCKE write setCKE;
  2637. property CKP : TBits_1 read getCKP write setCKP;
  2638. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2639. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2640. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2641. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2642. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2643. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2644. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2645. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2646. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2647. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2648. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2649. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2650. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2651. property ON : TBits_1 read getON write setON;
  2652. property SIDL : TBits_1 read getSIDL write setSIDL;
  2653. property SMP : TBits_1 read getSMP write setSMP;
  2654. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2655. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2656. property SSEN : TBits_1 read getSSEN write setSSEN;
  2657. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2658. property w : TBits_32 read getw write setw;
  2659. end;
  2660. TSPI2_SPI2STAT = record
  2661. private
  2662. function getFRMERR : TBits_1; inline;
  2663. function getRXBUFELM : TBits_5; inline;
  2664. function getSPIBUSY : TBits_1; inline;
  2665. function getSPIRBE : TBits_1; inline;
  2666. function getSPIRBF : TBits_1; inline;
  2667. function getSPIROV : TBits_1; inline;
  2668. function getSPITBE : TBits_1; inline;
  2669. function getSPITBF : TBits_1; inline;
  2670. function getSPITUR : TBits_1; inline;
  2671. function getSRMT : TBits_1; inline;
  2672. function getTXBUFELM : TBits_5; inline;
  2673. function getw : TBits_32; inline;
  2674. procedure setFRMERR(thebits : TBits_1); inline;
  2675. procedure setRXBUFELM(thebits : TBits_5); inline;
  2676. procedure setSPIBUSY(thebits : TBits_1); inline;
  2677. procedure setSPIRBE(thebits : TBits_1); inline;
  2678. procedure setSPIRBF(thebits : TBits_1); inline;
  2679. procedure setSPIROV(thebits : TBits_1); inline;
  2680. procedure setSPITBE(thebits : TBits_1); inline;
  2681. procedure setSPITBF(thebits : TBits_1); inline;
  2682. procedure setSPITUR(thebits : TBits_1); inline;
  2683. procedure setSRMT(thebits : TBits_1); inline;
  2684. procedure setTXBUFELM(thebits : TBits_5); inline;
  2685. procedure setw(thebits : TBits_32); inline;
  2686. public
  2687. procedure clearFRMERR; inline;
  2688. procedure clearSPIBUSY; inline;
  2689. procedure clearSPIRBE; inline;
  2690. procedure clearSPIRBF; inline;
  2691. procedure clearSPIROV; inline;
  2692. procedure clearSPITBE; inline;
  2693. procedure clearSPITBF; inline;
  2694. procedure clearSPITUR; inline;
  2695. procedure clearSRMT; inline;
  2696. procedure setFRMERR; inline;
  2697. procedure setSPIBUSY; inline;
  2698. procedure setSPIRBE; inline;
  2699. procedure setSPIRBF; inline;
  2700. procedure setSPIROV; inline;
  2701. procedure setSPITBE; inline;
  2702. procedure setSPITBF; inline;
  2703. procedure setSPITUR; inline;
  2704. procedure setSRMT; inline;
  2705. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2706. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2707. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2708. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2709. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2710. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2711. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2712. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2713. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2714. property SRMT : TBits_1 read getSRMT write setSRMT;
  2715. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2716. property w : TBits_32 read getw write setw;
  2717. end;
  2718. TSPI2_SPI2CON2 = record
  2719. private
  2720. function getAUDEN : TBits_1; inline;
  2721. function getAUDMOD : TBits_2; inline;
  2722. function getAUDMOD0 : TBits_1; inline;
  2723. function getAUDMOD1 : TBits_1; inline;
  2724. function getAUDMONO : TBits_1; inline;
  2725. function getFRMERREN : TBits_1; inline;
  2726. function getIGNROV : TBits_1; inline;
  2727. function getIGNTUR : TBits_1; inline;
  2728. function getSPIROVEN : TBits_1; inline;
  2729. function getSPISGNEXT : TBits_1; inline;
  2730. function getSPITUREN : TBits_1; inline;
  2731. function getw : TBits_32; inline;
  2732. procedure setAUDEN(thebits : TBits_1); inline;
  2733. procedure setAUDMOD(thebits : TBits_2); inline;
  2734. procedure setAUDMOD0(thebits : TBits_1); inline;
  2735. procedure setAUDMOD1(thebits : TBits_1); inline;
  2736. procedure setAUDMONO(thebits : TBits_1); inline;
  2737. procedure setFRMERREN(thebits : TBits_1); inline;
  2738. procedure setIGNROV(thebits : TBits_1); inline;
  2739. procedure setIGNTUR(thebits : TBits_1); inline;
  2740. procedure setSPIROVEN(thebits : TBits_1); inline;
  2741. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2742. procedure setSPITUREN(thebits : TBits_1); inline;
  2743. procedure setw(thebits : TBits_32); inline;
  2744. public
  2745. procedure clearAUDEN; inline;
  2746. procedure clearAUDMOD0; inline;
  2747. procedure clearAUDMOD1; inline;
  2748. procedure clearAUDMONO; inline;
  2749. procedure clearFRMERREN; inline;
  2750. procedure clearIGNROV; inline;
  2751. procedure clearIGNTUR; inline;
  2752. procedure clearSPIROVEN; inline;
  2753. procedure clearSPISGNEXT; inline;
  2754. procedure clearSPITUREN; inline;
  2755. procedure setAUDEN; inline;
  2756. procedure setAUDMOD0; inline;
  2757. procedure setAUDMOD1; inline;
  2758. procedure setAUDMONO; inline;
  2759. procedure setFRMERREN; inline;
  2760. procedure setIGNROV; inline;
  2761. procedure setIGNTUR; inline;
  2762. procedure setSPIROVEN; inline;
  2763. procedure setSPISGNEXT; inline;
  2764. procedure setSPITUREN; inline;
  2765. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2766. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2767. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2768. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2769. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2770. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2771. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2772. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2773. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2774. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2775. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2776. property w : TBits_32 read getw write setw;
  2777. end;
  2778. type
  2779. TSPI2Registers = record
  2780. SPI2CONbits : TSPI2_SPI2CON;
  2781. SPI2CON : longWord;
  2782. SPI2CONCLR : longWord;
  2783. SPI2CONSET : longWord;
  2784. SPI2CONINV : longWord;
  2785. SPI2STATbits : TSPI2_SPI2STAT;
  2786. SPI2STAT : longWord;
  2787. SPI2STATCLR : longWord;
  2788. SPI2STATSET : longWord;
  2789. SPI2STATINV : longWord;
  2790. SPI2BUF : longWord;
  2791. SPI2BRG : longWord;
  2792. SPI2BRGCLR : longWord;
  2793. SPI2BRGSET : longWord;
  2794. SPI2BRGINV : longWord;
  2795. SPI2CON2bits : TSPI2_SPI2CON2;
  2796. SPI2CON2 : longWord;
  2797. SPI2CON2CLR : longWord;
  2798. SPI2CON2SET : longWord;
  2799. SPI2CON2INV : longWord;
  2800. end;
  2801. TUART1_U1AMODE = record
  2802. private
  2803. function getABAUD : TBits_1; inline;
  2804. function getBRGH : TBits_1; inline;
  2805. function getIREN : TBits_1; inline;
  2806. function getLPBACK : TBits_1; inline;
  2807. function getON : TBits_1; inline;
  2808. function getPDSEL : TBits_2; inline;
  2809. function getPDSEL0 : TBits_1; inline;
  2810. function getPDSEL1 : TBits_1; inline;
  2811. function getRTSMD : TBits_1; inline;
  2812. function getRXINV : TBits_1; inline;
  2813. function getSIDL : TBits_1; inline;
  2814. function getSTSEL : TBits_1; inline;
  2815. function getUARTEN : TBits_1; inline;
  2816. function getUEN : TBits_2; inline;
  2817. function getUEN0 : TBits_1; inline;
  2818. function getUEN1 : TBits_1; inline;
  2819. function getUSIDL : TBits_1; inline;
  2820. function getWAKE : TBits_1; inline;
  2821. function getw : TBits_32; inline;
  2822. procedure setABAUD(thebits : TBits_1); inline;
  2823. procedure setBRGH(thebits : TBits_1); inline;
  2824. procedure setIREN(thebits : TBits_1); inline;
  2825. procedure setLPBACK(thebits : TBits_1); inline;
  2826. procedure setON(thebits : TBits_1); inline;
  2827. procedure setPDSEL(thebits : TBits_2); inline;
  2828. procedure setPDSEL0(thebits : TBits_1); inline;
  2829. procedure setPDSEL1(thebits : TBits_1); inline;
  2830. procedure setRTSMD(thebits : TBits_1); inline;
  2831. procedure setRXINV(thebits : TBits_1); inline;
  2832. procedure setSIDL(thebits : TBits_1); inline;
  2833. procedure setSTSEL(thebits : TBits_1); inline;
  2834. procedure setUARTEN(thebits : TBits_1); inline;
  2835. procedure setUEN(thebits : TBits_2); inline;
  2836. procedure setUEN0(thebits : TBits_1); inline;
  2837. procedure setUEN1(thebits : TBits_1); inline;
  2838. procedure setUSIDL(thebits : TBits_1); inline;
  2839. procedure setWAKE(thebits : TBits_1); inline;
  2840. procedure setw(thebits : TBits_32); inline;
  2841. public
  2842. procedure clearABAUD; inline;
  2843. procedure clearBRGH; inline;
  2844. procedure clearIREN; inline;
  2845. procedure clearLPBACK; inline;
  2846. procedure clearON; inline;
  2847. procedure clearPDSEL0; inline;
  2848. procedure clearPDSEL1; inline;
  2849. procedure clearRTSMD; inline;
  2850. procedure clearRXINV; inline;
  2851. procedure clearSIDL; inline;
  2852. procedure clearSTSEL; inline;
  2853. procedure clearUARTEN; inline;
  2854. procedure clearUEN0; inline;
  2855. procedure clearUEN1; inline;
  2856. procedure clearUSIDL; inline;
  2857. procedure clearWAKE; inline;
  2858. procedure setABAUD; inline;
  2859. procedure setBRGH; inline;
  2860. procedure setIREN; inline;
  2861. procedure setLPBACK; inline;
  2862. procedure setON; inline;
  2863. procedure setPDSEL0; inline;
  2864. procedure setPDSEL1; inline;
  2865. procedure setRTSMD; inline;
  2866. procedure setRXINV; inline;
  2867. procedure setSIDL; inline;
  2868. procedure setSTSEL; inline;
  2869. procedure setUARTEN; inline;
  2870. procedure setUEN0; inline;
  2871. procedure setUEN1; inline;
  2872. procedure setUSIDL; inline;
  2873. procedure setWAKE; inline;
  2874. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2875. property BRGH : TBits_1 read getBRGH write setBRGH;
  2876. property IREN : TBits_1 read getIREN write setIREN;
  2877. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2878. property ON : TBits_1 read getON write setON;
  2879. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2880. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2881. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2882. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2883. property RXINV : TBits_1 read getRXINV write setRXINV;
  2884. property SIDL : TBits_1 read getSIDL write setSIDL;
  2885. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2886. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2887. property UEN : TBits_2 read getUEN write setUEN;
  2888. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2889. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2890. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2891. property WAKE : TBits_1 read getWAKE write setWAKE;
  2892. property w : TBits_32 read getw write setw;
  2893. end;
  2894. TUART1_U1MODE = record
  2895. private
  2896. function getABAUD : TBits_1; inline;
  2897. function getBRGH : TBits_1; inline;
  2898. function getIREN : TBits_1; inline;
  2899. function getLPBACK : TBits_1; inline;
  2900. function getON : TBits_1; inline;
  2901. function getPDSEL : TBits_2; inline;
  2902. function getPDSEL0 : TBits_1; inline;
  2903. function getPDSEL1 : TBits_1; inline;
  2904. function getRTSMD : TBits_1; inline;
  2905. function getRXINV : TBits_1; inline;
  2906. function getSIDL : TBits_1; inline;
  2907. function getSTSEL : TBits_1; inline;
  2908. function getUARTEN : TBits_1; inline;
  2909. function getUEN : TBits_2; inline;
  2910. function getUEN0 : TBits_1; inline;
  2911. function getUEN1 : TBits_1; inline;
  2912. function getUSIDL : TBits_1; inline;
  2913. function getWAKE : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setABAUD(thebits : TBits_1); inline;
  2916. procedure setBRGH(thebits : TBits_1); inline;
  2917. procedure setIREN(thebits : TBits_1); inline;
  2918. procedure setLPBACK(thebits : TBits_1); inline;
  2919. procedure setON(thebits : TBits_1); inline;
  2920. procedure setPDSEL(thebits : TBits_2); inline;
  2921. procedure setPDSEL0(thebits : TBits_1); inline;
  2922. procedure setPDSEL1(thebits : TBits_1); inline;
  2923. procedure setRTSMD(thebits : TBits_1); inline;
  2924. procedure setRXINV(thebits : TBits_1); inline;
  2925. procedure setSIDL(thebits : TBits_1); inline;
  2926. procedure setSTSEL(thebits : TBits_1); inline;
  2927. procedure setUARTEN(thebits : TBits_1); inline;
  2928. procedure setUEN(thebits : TBits_2); inline;
  2929. procedure setUEN0(thebits : TBits_1); inline;
  2930. procedure setUEN1(thebits : TBits_1); inline;
  2931. procedure setUSIDL(thebits : TBits_1); inline;
  2932. procedure setWAKE(thebits : TBits_1); inline;
  2933. procedure setw(thebits : TBits_32); inline;
  2934. public
  2935. procedure clearABAUD; inline;
  2936. procedure clearBRGH; inline;
  2937. procedure clearIREN; inline;
  2938. procedure clearLPBACK; inline;
  2939. procedure clearON; inline;
  2940. procedure clearPDSEL0; inline;
  2941. procedure clearPDSEL1; inline;
  2942. procedure clearRTSMD; inline;
  2943. procedure clearRXINV; inline;
  2944. procedure clearSIDL; inline;
  2945. procedure clearSTSEL; inline;
  2946. procedure clearUARTEN; inline;
  2947. procedure clearUEN0; inline;
  2948. procedure clearUEN1; inline;
  2949. procedure clearUSIDL; inline;
  2950. procedure clearWAKE; inline;
  2951. procedure setABAUD; inline;
  2952. procedure setBRGH; inline;
  2953. procedure setIREN; inline;
  2954. procedure setLPBACK; inline;
  2955. procedure setON; inline;
  2956. procedure setPDSEL0; inline;
  2957. procedure setPDSEL1; inline;
  2958. procedure setRTSMD; inline;
  2959. procedure setRXINV; inline;
  2960. procedure setSIDL; inline;
  2961. procedure setSTSEL; inline;
  2962. procedure setUARTEN; inline;
  2963. procedure setUEN0; inline;
  2964. procedure setUEN1; inline;
  2965. procedure setUSIDL; inline;
  2966. procedure setWAKE; inline;
  2967. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2968. property BRGH : TBits_1 read getBRGH write setBRGH;
  2969. property IREN : TBits_1 read getIREN write setIREN;
  2970. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2971. property ON : TBits_1 read getON write setON;
  2972. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2973. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2974. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2975. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2976. property RXINV : TBits_1 read getRXINV write setRXINV;
  2977. property SIDL : TBits_1 read getSIDL write setSIDL;
  2978. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2979. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2980. property UEN : TBits_2 read getUEN write setUEN;
  2981. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2982. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2983. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2984. property WAKE : TBits_1 read getWAKE write setWAKE;
  2985. property w : TBits_32 read getw write setw;
  2986. end;
  2987. TUART1_U1ASTA = record
  2988. private
  2989. function getADDEN : TBits_1; inline;
  2990. function getADDR : TBits_8; inline;
  2991. function getADM_EN : TBits_1; inline;
  2992. function getFERR : TBits_1; inline;
  2993. function getOERR : TBits_1; inline;
  2994. function getPERR : TBits_1; inline;
  2995. function getRIDLE : TBits_1; inline;
  2996. function getTRMT : TBits_1; inline;
  2997. function getURXDA : TBits_1; inline;
  2998. function getURXEN : TBits_1; inline;
  2999. function getURXISEL : TBits_2; inline;
  3000. function getURXISEL0 : TBits_1; inline;
  3001. function getURXISEL1 : TBits_1; inline;
  3002. function getUTXBF : TBits_1; inline;
  3003. function getUTXBRK : TBits_1; inline;
  3004. function getUTXEN : TBits_1; inline;
  3005. function getUTXINV : TBits_1; inline;
  3006. function getUTXISEL : TBits_2; inline;
  3007. function getUTXISEL0 : TBits_1; inline;
  3008. function getUTXISEL1 : TBits_1; inline;
  3009. function getUTXSEL : TBits_2; inline;
  3010. function getw : TBits_32; inline;
  3011. procedure setADDEN(thebits : TBits_1); inline;
  3012. procedure setADDR(thebits : TBits_8); inline;
  3013. procedure setADM_EN(thebits : TBits_1); inline;
  3014. procedure setFERR(thebits : TBits_1); inline;
  3015. procedure setOERR(thebits : TBits_1); inline;
  3016. procedure setPERR(thebits : TBits_1); inline;
  3017. procedure setRIDLE(thebits : TBits_1); inline;
  3018. procedure setTRMT(thebits : TBits_1); inline;
  3019. procedure setURXDA(thebits : TBits_1); inline;
  3020. procedure setURXEN(thebits : TBits_1); inline;
  3021. procedure setURXISEL(thebits : TBits_2); inline;
  3022. procedure setURXISEL0(thebits : TBits_1); inline;
  3023. procedure setURXISEL1(thebits : TBits_1); inline;
  3024. procedure setUTXBF(thebits : TBits_1); inline;
  3025. procedure setUTXBRK(thebits : TBits_1); inline;
  3026. procedure setUTXEN(thebits : TBits_1); inline;
  3027. procedure setUTXINV(thebits : TBits_1); inline;
  3028. procedure setUTXISEL(thebits : TBits_2); inline;
  3029. procedure setUTXISEL0(thebits : TBits_1); inline;
  3030. procedure setUTXISEL1(thebits : TBits_1); inline;
  3031. procedure setUTXSEL(thebits : TBits_2); inline;
  3032. procedure setw(thebits : TBits_32); inline;
  3033. public
  3034. procedure clearADDEN; inline;
  3035. procedure clearADM_EN; inline;
  3036. procedure clearFERR; inline;
  3037. procedure clearOERR; inline;
  3038. procedure clearPERR; inline;
  3039. procedure clearRIDLE; inline;
  3040. procedure clearTRMT; inline;
  3041. procedure clearURXDA; inline;
  3042. procedure clearURXEN; inline;
  3043. procedure clearURXISEL0; inline;
  3044. procedure clearURXISEL1; inline;
  3045. procedure clearUTXBF; inline;
  3046. procedure clearUTXBRK; inline;
  3047. procedure clearUTXEN; inline;
  3048. procedure clearUTXINV; inline;
  3049. procedure clearUTXISEL0; inline;
  3050. procedure clearUTXISEL1; inline;
  3051. procedure setADDEN; inline;
  3052. procedure setADM_EN; inline;
  3053. procedure setFERR; inline;
  3054. procedure setOERR; inline;
  3055. procedure setPERR; inline;
  3056. procedure setRIDLE; inline;
  3057. procedure setTRMT; inline;
  3058. procedure setURXDA; inline;
  3059. procedure setURXEN; inline;
  3060. procedure setURXISEL0; inline;
  3061. procedure setURXISEL1; inline;
  3062. procedure setUTXBF; inline;
  3063. procedure setUTXBRK; inline;
  3064. procedure setUTXEN; inline;
  3065. procedure setUTXINV; inline;
  3066. procedure setUTXISEL0; inline;
  3067. procedure setUTXISEL1; inline;
  3068. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3069. property ADDR : TBits_8 read getADDR write setADDR;
  3070. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3071. property FERR : TBits_1 read getFERR write setFERR;
  3072. property OERR : TBits_1 read getOERR write setOERR;
  3073. property PERR : TBits_1 read getPERR write setPERR;
  3074. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3075. property TRMT : TBits_1 read getTRMT write setTRMT;
  3076. property URXDA : TBits_1 read getURXDA write setURXDA;
  3077. property URXEN : TBits_1 read getURXEN write setURXEN;
  3078. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3079. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3080. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3081. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3082. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3083. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3084. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3085. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3086. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3087. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3088. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3089. property w : TBits_32 read getw write setw;
  3090. end;
  3091. TUART1_U1STA = record
  3092. private
  3093. function getADDEN : TBits_1; inline;
  3094. function getADDR : TBits_8; inline;
  3095. function getADM_EN : TBits_1; inline;
  3096. function getFERR : TBits_1; inline;
  3097. function getOERR : TBits_1; inline;
  3098. function getPERR : TBits_1; inline;
  3099. function getRIDLE : TBits_1; inline;
  3100. function getTRMT : TBits_1; inline;
  3101. function getURXDA : TBits_1; inline;
  3102. function getURXEN : TBits_1; inline;
  3103. function getURXISEL : TBits_2; inline;
  3104. function getURXISEL0 : TBits_1; inline;
  3105. function getURXISEL1 : TBits_1; inline;
  3106. function getUTXBF : TBits_1; inline;
  3107. function getUTXBRK : TBits_1; inline;
  3108. function getUTXEN : TBits_1; inline;
  3109. function getUTXINV : TBits_1; inline;
  3110. function getUTXISEL : TBits_2; inline;
  3111. function getUTXISEL0 : TBits_1; inline;
  3112. function getUTXISEL1 : TBits_1; inline;
  3113. function getUTXSEL : TBits_2; inline;
  3114. function getw : TBits_32; inline;
  3115. procedure setADDEN(thebits : TBits_1); inline;
  3116. procedure setADDR(thebits : TBits_8); inline;
  3117. procedure setADM_EN(thebits : TBits_1); inline;
  3118. procedure setFERR(thebits : TBits_1); inline;
  3119. procedure setOERR(thebits : TBits_1); inline;
  3120. procedure setPERR(thebits : TBits_1); inline;
  3121. procedure setRIDLE(thebits : TBits_1); inline;
  3122. procedure setTRMT(thebits : TBits_1); inline;
  3123. procedure setURXDA(thebits : TBits_1); inline;
  3124. procedure setURXEN(thebits : TBits_1); inline;
  3125. procedure setURXISEL(thebits : TBits_2); inline;
  3126. procedure setURXISEL0(thebits : TBits_1); inline;
  3127. procedure setURXISEL1(thebits : TBits_1); inline;
  3128. procedure setUTXBF(thebits : TBits_1); inline;
  3129. procedure setUTXBRK(thebits : TBits_1); inline;
  3130. procedure setUTXEN(thebits : TBits_1); inline;
  3131. procedure setUTXINV(thebits : TBits_1); inline;
  3132. procedure setUTXISEL(thebits : TBits_2); inline;
  3133. procedure setUTXISEL0(thebits : TBits_1); inline;
  3134. procedure setUTXISEL1(thebits : TBits_1); inline;
  3135. procedure setUTXSEL(thebits : TBits_2); inline;
  3136. procedure setw(thebits : TBits_32); inline;
  3137. public
  3138. procedure clearADDEN; inline;
  3139. procedure clearADM_EN; inline;
  3140. procedure clearFERR; inline;
  3141. procedure clearOERR; inline;
  3142. procedure clearPERR; inline;
  3143. procedure clearRIDLE; inline;
  3144. procedure clearTRMT; inline;
  3145. procedure clearURXDA; inline;
  3146. procedure clearURXEN; inline;
  3147. procedure clearURXISEL0; inline;
  3148. procedure clearURXISEL1; inline;
  3149. procedure clearUTXBF; inline;
  3150. procedure clearUTXBRK; inline;
  3151. procedure clearUTXEN; inline;
  3152. procedure clearUTXINV; inline;
  3153. procedure clearUTXISEL0; inline;
  3154. procedure clearUTXISEL1; inline;
  3155. procedure setADDEN; inline;
  3156. procedure setADM_EN; inline;
  3157. procedure setFERR; inline;
  3158. procedure setOERR; inline;
  3159. procedure setPERR; inline;
  3160. procedure setRIDLE; inline;
  3161. procedure setTRMT; inline;
  3162. procedure setURXDA; inline;
  3163. procedure setURXEN; inline;
  3164. procedure setURXISEL0; inline;
  3165. procedure setURXISEL1; inline;
  3166. procedure setUTXBF; inline;
  3167. procedure setUTXBRK; inline;
  3168. procedure setUTXEN; inline;
  3169. procedure setUTXINV; inline;
  3170. procedure setUTXISEL0; inline;
  3171. procedure setUTXISEL1; inline;
  3172. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3173. property ADDR : TBits_8 read getADDR write setADDR;
  3174. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3175. property FERR : TBits_1 read getFERR write setFERR;
  3176. property OERR : TBits_1 read getOERR write setOERR;
  3177. property PERR : TBits_1 read getPERR write setPERR;
  3178. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3179. property TRMT : TBits_1 read getTRMT write setTRMT;
  3180. property URXDA : TBits_1 read getURXDA write setURXDA;
  3181. property URXEN : TBits_1 read getURXEN write setURXEN;
  3182. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3183. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3184. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3185. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3186. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3187. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3188. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3189. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3190. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3191. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3192. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3193. property w : TBits_32 read getw write setw;
  3194. end;
  3195. type
  3196. TUART1Registers = record
  3197. U1AMODEbits : TUART1_U1AMODE;
  3198. U1AMODE : longWord;
  3199. U1MODEbits : TUART1_U1MODE;
  3200. U1MODE : longWord;
  3201. U1AMODECLR : longWord;
  3202. U1MODECLR : longWord;
  3203. U1AMODESET : longWord;
  3204. U1MODESET : longWord;
  3205. U1AMODEINV : longWord;
  3206. U1MODEINV : longWord;
  3207. U1ASTAbits : TUART1_U1ASTA;
  3208. U1ASTA : longWord;
  3209. U1STAbits : TUART1_U1STA;
  3210. U1STA : longWord;
  3211. U1ASTACLR : longWord;
  3212. U1STACLR : longWord;
  3213. U1ASTASET : longWord;
  3214. U1STASET : longWord;
  3215. U1ASTAINV : longWord;
  3216. U1STAINV : longWord;
  3217. U1ATXREG : longWord;
  3218. U1TXREG : longWord;
  3219. U1ARXREG : longWord;
  3220. U1RXREG : longWord;
  3221. U1ABRG : longWord;
  3222. U1BRG : longWord;
  3223. U1ABRGCLR : longWord;
  3224. U1BRGCLR : longWord;
  3225. U1ABRGSET : longWord;
  3226. U1BRGSET : longWord;
  3227. U1ABRGINV : longWord;
  3228. U1BRGINV : longWord;
  3229. end;
  3230. TUART2_U2MODE = record
  3231. private
  3232. function getABAUD : TBits_1; inline;
  3233. function getBRGH : TBits_1; inline;
  3234. function getIREN : TBits_1; inline;
  3235. function getLPBACK : TBits_1; inline;
  3236. function getON : TBits_1; inline;
  3237. function getPDSEL : TBits_2; inline;
  3238. function getPDSEL0 : TBits_1; inline;
  3239. function getPDSEL1 : TBits_1; inline;
  3240. function getRTSMD : TBits_1; inline;
  3241. function getRXINV : TBits_1; inline;
  3242. function getSIDL : TBits_1; inline;
  3243. function getSTSEL : TBits_1; inline;
  3244. function getUARTEN : TBits_1; inline;
  3245. function getUEN : TBits_2; inline;
  3246. function getUEN0 : TBits_1; inline;
  3247. function getUEN1 : TBits_1; inline;
  3248. function getUSIDL : TBits_1; inline;
  3249. function getWAKE : TBits_1; inline;
  3250. function getw : TBits_32; inline;
  3251. procedure setABAUD(thebits : TBits_1); inline;
  3252. procedure setBRGH(thebits : TBits_1); inline;
  3253. procedure setIREN(thebits : TBits_1); inline;
  3254. procedure setLPBACK(thebits : TBits_1); inline;
  3255. procedure setON(thebits : TBits_1); inline;
  3256. procedure setPDSEL(thebits : TBits_2); inline;
  3257. procedure setPDSEL0(thebits : TBits_1); inline;
  3258. procedure setPDSEL1(thebits : TBits_1); inline;
  3259. procedure setRTSMD(thebits : TBits_1); inline;
  3260. procedure setRXINV(thebits : TBits_1); inline;
  3261. procedure setSIDL(thebits : TBits_1); inline;
  3262. procedure setSTSEL(thebits : TBits_1); inline;
  3263. procedure setUARTEN(thebits : TBits_1); inline;
  3264. procedure setUEN(thebits : TBits_2); inline;
  3265. procedure setUEN0(thebits : TBits_1); inline;
  3266. procedure setUEN1(thebits : TBits_1); inline;
  3267. procedure setUSIDL(thebits : TBits_1); inline;
  3268. procedure setWAKE(thebits : TBits_1); inline;
  3269. procedure setw(thebits : TBits_32); inline;
  3270. public
  3271. procedure clearABAUD; inline;
  3272. procedure clearBRGH; inline;
  3273. procedure clearIREN; inline;
  3274. procedure clearLPBACK; inline;
  3275. procedure clearON; inline;
  3276. procedure clearPDSEL0; inline;
  3277. procedure clearPDSEL1; inline;
  3278. procedure clearRTSMD; inline;
  3279. procedure clearRXINV; inline;
  3280. procedure clearSIDL; inline;
  3281. procedure clearSTSEL; inline;
  3282. procedure clearUARTEN; inline;
  3283. procedure clearUEN0; inline;
  3284. procedure clearUEN1; inline;
  3285. procedure clearUSIDL; inline;
  3286. procedure clearWAKE; inline;
  3287. procedure setABAUD; inline;
  3288. procedure setBRGH; inline;
  3289. procedure setIREN; inline;
  3290. procedure setLPBACK; inline;
  3291. procedure setON; inline;
  3292. procedure setPDSEL0; inline;
  3293. procedure setPDSEL1; inline;
  3294. procedure setRTSMD; inline;
  3295. procedure setRXINV; inline;
  3296. procedure setSIDL; inline;
  3297. procedure setSTSEL; inline;
  3298. procedure setUARTEN; inline;
  3299. procedure setUEN0; inline;
  3300. procedure setUEN1; inline;
  3301. procedure setUSIDL; inline;
  3302. procedure setWAKE; inline;
  3303. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3304. property BRGH : TBits_1 read getBRGH write setBRGH;
  3305. property IREN : TBits_1 read getIREN write setIREN;
  3306. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3307. property ON : TBits_1 read getON write setON;
  3308. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3309. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3310. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3311. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3312. property RXINV : TBits_1 read getRXINV write setRXINV;
  3313. property SIDL : TBits_1 read getSIDL write setSIDL;
  3314. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3315. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3316. property UEN : TBits_2 read getUEN write setUEN;
  3317. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3318. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3319. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3320. property WAKE : TBits_1 read getWAKE write setWAKE;
  3321. property w : TBits_32 read getw write setw;
  3322. end;
  3323. TUART2_U3AMODE = record
  3324. private
  3325. function getABAUD : TBits_1; inline;
  3326. function getBRGH : TBits_1; inline;
  3327. function getIREN : TBits_1; inline;
  3328. function getLPBACK : TBits_1; inline;
  3329. function getON : TBits_1; inline;
  3330. function getPDSEL : TBits_2; inline;
  3331. function getPDSEL0 : TBits_1; inline;
  3332. function getPDSEL1 : TBits_1; inline;
  3333. function getRTSMD : TBits_1; inline;
  3334. function getRXINV : TBits_1; inline;
  3335. function getSIDL : TBits_1; inline;
  3336. function getSTSEL : TBits_1; inline;
  3337. function getUARTEN : TBits_1; inline;
  3338. function getUEN : TBits_2; inline;
  3339. function getUEN0 : TBits_1; inline;
  3340. function getUEN1 : TBits_1; inline;
  3341. function getUSIDL : TBits_1; inline;
  3342. function getWAKE : TBits_1; inline;
  3343. function getw : TBits_32; inline;
  3344. procedure setABAUD(thebits : TBits_1); inline;
  3345. procedure setBRGH(thebits : TBits_1); inline;
  3346. procedure setIREN(thebits : TBits_1); inline;
  3347. procedure setLPBACK(thebits : TBits_1); inline;
  3348. procedure setON(thebits : TBits_1); inline;
  3349. procedure setPDSEL(thebits : TBits_2); inline;
  3350. procedure setPDSEL0(thebits : TBits_1); inline;
  3351. procedure setPDSEL1(thebits : TBits_1); inline;
  3352. procedure setRTSMD(thebits : TBits_1); inline;
  3353. procedure setRXINV(thebits : TBits_1); inline;
  3354. procedure setSIDL(thebits : TBits_1); inline;
  3355. procedure setSTSEL(thebits : TBits_1); inline;
  3356. procedure setUARTEN(thebits : TBits_1); inline;
  3357. procedure setUEN(thebits : TBits_2); inline;
  3358. procedure setUEN0(thebits : TBits_1); inline;
  3359. procedure setUEN1(thebits : TBits_1); inline;
  3360. procedure setUSIDL(thebits : TBits_1); inline;
  3361. procedure setWAKE(thebits : TBits_1); inline;
  3362. procedure setw(thebits : TBits_32); inline;
  3363. public
  3364. procedure clearABAUD; inline;
  3365. procedure clearBRGH; inline;
  3366. procedure clearIREN; inline;
  3367. procedure clearLPBACK; inline;
  3368. procedure clearON; inline;
  3369. procedure clearPDSEL0; inline;
  3370. procedure clearPDSEL1; inline;
  3371. procedure clearRTSMD; inline;
  3372. procedure clearRXINV; inline;
  3373. procedure clearSIDL; inline;
  3374. procedure clearSTSEL; inline;
  3375. procedure clearUARTEN; inline;
  3376. procedure clearUEN0; inline;
  3377. procedure clearUEN1; inline;
  3378. procedure clearUSIDL; inline;
  3379. procedure clearWAKE; inline;
  3380. procedure setABAUD; inline;
  3381. procedure setBRGH; inline;
  3382. procedure setIREN; inline;
  3383. procedure setLPBACK; inline;
  3384. procedure setON; inline;
  3385. procedure setPDSEL0; inline;
  3386. procedure setPDSEL1; inline;
  3387. procedure setRTSMD; inline;
  3388. procedure setRXINV; inline;
  3389. procedure setSIDL; inline;
  3390. procedure setSTSEL; inline;
  3391. procedure setUARTEN; inline;
  3392. procedure setUEN0; inline;
  3393. procedure setUEN1; inline;
  3394. procedure setUSIDL; inline;
  3395. procedure setWAKE; inline;
  3396. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3397. property BRGH : TBits_1 read getBRGH write setBRGH;
  3398. property IREN : TBits_1 read getIREN write setIREN;
  3399. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3400. property ON : TBits_1 read getON write setON;
  3401. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3402. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3403. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3404. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3405. property RXINV : TBits_1 read getRXINV write setRXINV;
  3406. property SIDL : TBits_1 read getSIDL write setSIDL;
  3407. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3408. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3409. property UEN : TBits_2 read getUEN write setUEN;
  3410. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3411. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3412. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3413. property WAKE : TBits_1 read getWAKE write setWAKE;
  3414. property w : TBits_32 read getw write setw;
  3415. end;
  3416. TUART2_U2STA = record
  3417. private
  3418. function getADDEN : TBits_1; inline;
  3419. function getADDR : TBits_8; inline;
  3420. function getADM_EN : TBits_1; inline;
  3421. function getFERR : TBits_1; inline;
  3422. function getOERR : TBits_1; inline;
  3423. function getPERR : TBits_1; inline;
  3424. function getRIDLE : TBits_1; inline;
  3425. function getTRMT : TBits_1; inline;
  3426. function getURXDA : TBits_1; inline;
  3427. function getURXEN : TBits_1; inline;
  3428. function getURXISEL : TBits_2; inline;
  3429. function getURXISEL0 : TBits_1; inline;
  3430. function getURXISEL1 : TBits_1; inline;
  3431. function getUTXBF : TBits_1; inline;
  3432. function getUTXBRK : TBits_1; inline;
  3433. function getUTXEN : TBits_1; inline;
  3434. function getUTXINV : TBits_1; inline;
  3435. function getUTXISEL : TBits_2; inline;
  3436. function getUTXISEL0 : TBits_1; inline;
  3437. function getUTXISEL1 : TBits_1; inline;
  3438. function getUTXSEL : TBits_2; inline;
  3439. function getw : TBits_32; inline;
  3440. procedure setADDEN(thebits : TBits_1); inline;
  3441. procedure setADDR(thebits : TBits_8); inline;
  3442. procedure setADM_EN(thebits : TBits_1); inline;
  3443. procedure setFERR(thebits : TBits_1); inline;
  3444. procedure setOERR(thebits : TBits_1); inline;
  3445. procedure setPERR(thebits : TBits_1); inline;
  3446. procedure setRIDLE(thebits : TBits_1); inline;
  3447. procedure setTRMT(thebits : TBits_1); inline;
  3448. procedure setURXDA(thebits : TBits_1); inline;
  3449. procedure setURXEN(thebits : TBits_1); inline;
  3450. procedure setURXISEL(thebits : TBits_2); inline;
  3451. procedure setURXISEL0(thebits : TBits_1); inline;
  3452. procedure setURXISEL1(thebits : TBits_1); inline;
  3453. procedure setUTXBF(thebits : TBits_1); inline;
  3454. procedure setUTXBRK(thebits : TBits_1); inline;
  3455. procedure setUTXEN(thebits : TBits_1); inline;
  3456. procedure setUTXINV(thebits : TBits_1); inline;
  3457. procedure setUTXISEL(thebits : TBits_2); inline;
  3458. procedure setUTXISEL0(thebits : TBits_1); inline;
  3459. procedure setUTXISEL1(thebits : TBits_1); inline;
  3460. procedure setUTXSEL(thebits : TBits_2); inline;
  3461. procedure setw(thebits : TBits_32); inline;
  3462. public
  3463. procedure clearADDEN; inline;
  3464. procedure clearADM_EN; inline;
  3465. procedure clearFERR; inline;
  3466. procedure clearOERR; inline;
  3467. procedure clearPERR; inline;
  3468. procedure clearRIDLE; inline;
  3469. procedure clearTRMT; inline;
  3470. procedure clearURXDA; inline;
  3471. procedure clearURXEN; inline;
  3472. procedure clearURXISEL0; inline;
  3473. procedure clearURXISEL1; inline;
  3474. procedure clearUTXBF; inline;
  3475. procedure clearUTXBRK; inline;
  3476. procedure clearUTXEN; inline;
  3477. procedure clearUTXINV; inline;
  3478. procedure clearUTXISEL0; inline;
  3479. procedure clearUTXISEL1; inline;
  3480. procedure setADDEN; inline;
  3481. procedure setADM_EN; inline;
  3482. procedure setFERR; inline;
  3483. procedure setOERR; inline;
  3484. procedure setPERR; inline;
  3485. procedure setRIDLE; inline;
  3486. procedure setTRMT; inline;
  3487. procedure setURXDA; inline;
  3488. procedure setURXEN; inline;
  3489. procedure setURXISEL0; inline;
  3490. procedure setURXISEL1; inline;
  3491. procedure setUTXBF; inline;
  3492. procedure setUTXBRK; inline;
  3493. procedure setUTXEN; inline;
  3494. procedure setUTXINV; inline;
  3495. procedure setUTXISEL0; inline;
  3496. procedure setUTXISEL1; inline;
  3497. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3498. property ADDR : TBits_8 read getADDR write setADDR;
  3499. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3500. property FERR : TBits_1 read getFERR write setFERR;
  3501. property OERR : TBits_1 read getOERR write setOERR;
  3502. property PERR : TBits_1 read getPERR write setPERR;
  3503. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3504. property TRMT : TBits_1 read getTRMT write setTRMT;
  3505. property URXDA : TBits_1 read getURXDA write setURXDA;
  3506. property URXEN : TBits_1 read getURXEN write setURXEN;
  3507. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3508. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3509. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3510. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3511. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3512. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3513. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3514. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3515. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3516. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3517. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3518. property w : TBits_32 read getw write setw;
  3519. end;
  3520. TUART2_U3ASTA = record
  3521. private
  3522. function getADDEN : TBits_1; inline;
  3523. function getADDR : TBits_8; inline;
  3524. function getADM_EN : TBits_1; inline;
  3525. function getFERR : TBits_1; inline;
  3526. function getOERR : TBits_1; inline;
  3527. function getPERR : TBits_1; inline;
  3528. function getRIDLE : TBits_1; inline;
  3529. function getTRMT : TBits_1; inline;
  3530. function getURXDA : TBits_1; inline;
  3531. function getURXEN : TBits_1; inline;
  3532. function getURXISEL : TBits_2; inline;
  3533. function getURXISEL0 : TBits_1; inline;
  3534. function getURXISEL1 : TBits_1; inline;
  3535. function getUTXBF : TBits_1; inline;
  3536. function getUTXBRK : TBits_1; inline;
  3537. function getUTXEN : TBits_1; inline;
  3538. function getUTXINV : TBits_1; inline;
  3539. function getUTXISEL : TBits_2; inline;
  3540. function getUTXISEL0 : TBits_1; inline;
  3541. function getUTXISEL1 : TBits_1; inline;
  3542. function getUTXSEL : TBits_2; inline;
  3543. function getw : TBits_32; inline;
  3544. procedure setADDEN(thebits : TBits_1); inline;
  3545. procedure setADDR(thebits : TBits_8); inline;
  3546. procedure setADM_EN(thebits : TBits_1); inline;
  3547. procedure setFERR(thebits : TBits_1); inline;
  3548. procedure setOERR(thebits : TBits_1); inline;
  3549. procedure setPERR(thebits : TBits_1); inline;
  3550. procedure setRIDLE(thebits : TBits_1); inline;
  3551. procedure setTRMT(thebits : TBits_1); inline;
  3552. procedure setURXDA(thebits : TBits_1); inline;
  3553. procedure setURXEN(thebits : TBits_1); inline;
  3554. procedure setURXISEL(thebits : TBits_2); inline;
  3555. procedure setURXISEL0(thebits : TBits_1); inline;
  3556. procedure setURXISEL1(thebits : TBits_1); inline;
  3557. procedure setUTXBF(thebits : TBits_1); inline;
  3558. procedure setUTXBRK(thebits : TBits_1); inline;
  3559. procedure setUTXEN(thebits : TBits_1); inline;
  3560. procedure setUTXINV(thebits : TBits_1); inline;
  3561. procedure setUTXISEL(thebits : TBits_2); inline;
  3562. procedure setUTXISEL0(thebits : TBits_1); inline;
  3563. procedure setUTXISEL1(thebits : TBits_1); inline;
  3564. procedure setUTXSEL(thebits : TBits_2); inline;
  3565. procedure setw(thebits : TBits_32); inline;
  3566. public
  3567. procedure clearADDEN; inline;
  3568. procedure clearADM_EN; inline;
  3569. procedure clearFERR; inline;
  3570. procedure clearOERR; inline;
  3571. procedure clearPERR; inline;
  3572. procedure clearRIDLE; inline;
  3573. procedure clearTRMT; inline;
  3574. procedure clearURXDA; inline;
  3575. procedure clearURXEN; inline;
  3576. procedure clearURXISEL0; inline;
  3577. procedure clearURXISEL1; inline;
  3578. procedure clearUTXBF; inline;
  3579. procedure clearUTXBRK; inline;
  3580. procedure clearUTXEN; inline;
  3581. procedure clearUTXINV; inline;
  3582. procedure clearUTXISEL0; inline;
  3583. procedure clearUTXISEL1; inline;
  3584. procedure setADDEN; inline;
  3585. procedure setADM_EN; inline;
  3586. procedure setFERR; inline;
  3587. procedure setOERR; inline;
  3588. procedure setPERR; inline;
  3589. procedure setRIDLE; inline;
  3590. procedure setTRMT; inline;
  3591. procedure setURXDA; inline;
  3592. procedure setURXEN; inline;
  3593. procedure setURXISEL0; inline;
  3594. procedure setURXISEL1; inline;
  3595. procedure setUTXBF; inline;
  3596. procedure setUTXBRK; inline;
  3597. procedure setUTXEN; inline;
  3598. procedure setUTXINV; inline;
  3599. procedure setUTXISEL0; inline;
  3600. procedure setUTXISEL1; inline;
  3601. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3602. property ADDR : TBits_8 read getADDR write setADDR;
  3603. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3604. property FERR : TBits_1 read getFERR write setFERR;
  3605. property OERR : TBits_1 read getOERR write setOERR;
  3606. property PERR : TBits_1 read getPERR write setPERR;
  3607. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3608. property TRMT : TBits_1 read getTRMT write setTRMT;
  3609. property URXDA : TBits_1 read getURXDA write setURXDA;
  3610. property URXEN : TBits_1 read getURXEN write setURXEN;
  3611. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3612. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3613. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3614. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3615. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3616. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3617. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3618. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3619. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3620. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3621. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3622. property w : TBits_32 read getw write setw;
  3623. end;
  3624. type
  3625. TUART2Registers = record
  3626. U2MODEbits : TUART2_U2MODE;
  3627. U2MODE : longWord;
  3628. U3AMODEbits : TUART2_U3AMODE;
  3629. U3AMODE : longWord;
  3630. U2MODECLR : longWord;
  3631. U3AMODECLR : longWord;
  3632. U2MODESET : longWord;
  3633. U3AMODESET : longWord;
  3634. U2MODEINV : longWord;
  3635. U3AMODEINV : longWord;
  3636. U2STAbits : TUART2_U2STA;
  3637. U2STA : longWord;
  3638. U3ASTAbits : TUART2_U3ASTA;
  3639. U3ASTA : longWord;
  3640. U2STACLR : longWord;
  3641. U3ASTACLR : longWord;
  3642. U2STASET : longWord;
  3643. U3ASTASET : longWord;
  3644. U2STAINV : longWord;
  3645. U3ASTAINV : longWord;
  3646. U2TXREG : longWord;
  3647. U3ATXREG : longWord;
  3648. U2RXREG : longWord;
  3649. U3ARXREG : longWord;
  3650. U2BRG : longWord;
  3651. U3ABRG : longWord;
  3652. U2BRGCLR : longWord;
  3653. U3ABRGCLR : longWord;
  3654. U2BRGSET : longWord;
  3655. U3ABRGSET : longWord;
  3656. U2BRGINV : longWord;
  3657. U3ABRGINV : longWord;
  3658. end;
  3659. TPMP_PMCON = record
  3660. private
  3661. function getADRMUX : TBits_2; inline;
  3662. function getADRMUX0 : TBits_1; inline;
  3663. function getADRMUX1 : TBits_1; inline;
  3664. function getALP : TBits_1; inline;
  3665. function getCS1P : TBits_1; inline;
  3666. function getCSF : TBits_2; inline;
  3667. function getCSF0 : TBits_1; inline;
  3668. function getCSF1 : TBits_1; inline;
  3669. function getON : TBits_1; inline;
  3670. function getPMPEN : TBits_1; inline;
  3671. function getPMPTTL : TBits_1; inline;
  3672. function getPSIDL : TBits_1; inline;
  3673. function getPTRDEN : TBits_1; inline;
  3674. function getPTWREN : TBits_1; inline;
  3675. function getRDSP : TBits_1; inline;
  3676. function getSIDL : TBits_1; inline;
  3677. function getWRSP : TBits_1; inline;
  3678. function getw : TBits_32; inline;
  3679. procedure setADRMUX(thebits : TBits_2); inline;
  3680. procedure setADRMUX0(thebits : TBits_1); inline;
  3681. procedure setADRMUX1(thebits : TBits_1); inline;
  3682. procedure setALP(thebits : TBits_1); inline;
  3683. procedure setCS1P(thebits : TBits_1); inline;
  3684. procedure setCSF(thebits : TBits_2); inline;
  3685. procedure setCSF0(thebits : TBits_1); inline;
  3686. procedure setCSF1(thebits : TBits_1); inline;
  3687. procedure setON(thebits : TBits_1); inline;
  3688. procedure setPMPEN(thebits : TBits_1); inline;
  3689. procedure setPMPTTL(thebits : TBits_1); inline;
  3690. procedure setPSIDL(thebits : TBits_1); inline;
  3691. procedure setPTRDEN(thebits : TBits_1); inline;
  3692. procedure setPTWREN(thebits : TBits_1); inline;
  3693. procedure setRDSP(thebits : TBits_1); inline;
  3694. procedure setSIDL(thebits : TBits_1); inline;
  3695. procedure setWRSP(thebits : TBits_1); inline;
  3696. procedure setw(thebits : TBits_32); inline;
  3697. public
  3698. procedure clearADRMUX0; inline;
  3699. procedure clearADRMUX1; inline;
  3700. procedure clearALP; inline;
  3701. procedure clearCS1P; inline;
  3702. procedure clearCSF0; inline;
  3703. procedure clearCSF1; inline;
  3704. procedure clearON; inline;
  3705. procedure clearPMPEN; inline;
  3706. procedure clearPMPTTL; inline;
  3707. procedure clearPSIDL; inline;
  3708. procedure clearPTRDEN; inline;
  3709. procedure clearPTWREN; inline;
  3710. procedure clearRDSP; inline;
  3711. procedure clearSIDL; inline;
  3712. procedure clearWRSP; inline;
  3713. procedure setADRMUX0; inline;
  3714. procedure setADRMUX1; inline;
  3715. procedure setALP; inline;
  3716. procedure setCS1P; inline;
  3717. procedure setCSF0; inline;
  3718. procedure setCSF1; inline;
  3719. procedure setON; inline;
  3720. procedure setPMPEN; inline;
  3721. procedure setPMPTTL; inline;
  3722. procedure setPSIDL; inline;
  3723. procedure setPTRDEN; inline;
  3724. procedure setPTWREN; inline;
  3725. procedure setRDSP; inline;
  3726. procedure setSIDL; inline;
  3727. procedure setWRSP; inline;
  3728. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  3729. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  3730. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  3731. property ALP : TBits_1 read getALP write setALP;
  3732. property CS1P : TBits_1 read getCS1P write setCS1P;
  3733. property CSF : TBits_2 read getCSF write setCSF;
  3734. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  3735. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  3736. property ON : TBits_1 read getON write setON;
  3737. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  3738. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  3739. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  3740. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  3741. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  3742. property RDSP : TBits_1 read getRDSP write setRDSP;
  3743. property SIDL : TBits_1 read getSIDL write setSIDL;
  3744. property WRSP : TBits_1 read getWRSP write setWRSP;
  3745. property w : TBits_32 read getw write setw;
  3746. end;
  3747. TPMP_PMMODE = record
  3748. private
  3749. function getBUSY : TBits_1; inline;
  3750. function getINCM : TBits_2; inline;
  3751. function getINCM0 : TBits_1; inline;
  3752. function getINCM1 : TBits_1; inline;
  3753. function getIRQM : TBits_2; inline;
  3754. function getIRQM0 : TBits_1; inline;
  3755. function getIRQM1 : TBits_1; inline;
  3756. function getMODE : TBits_2; inline;
  3757. function getMODE0 : TBits_1; inline;
  3758. function getMODE1 : TBits_1; inline;
  3759. function getWAITB : TBits_2; inline;
  3760. function getWAITB0 : TBits_1; inline;
  3761. function getWAITB1 : TBits_1; inline;
  3762. function getWAITE : TBits_2; inline;
  3763. function getWAITE0 : TBits_1; inline;
  3764. function getWAITE1 : TBits_1; inline;
  3765. function getWAITM : TBits_4; inline;
  3766. function getWAITM0 : TBits_1; inline;
  3767. function getWAITM1 : TBits_1; inline;
  3768. function getWAITM2 : TBits_1; inline;
  3769. function getWAITM3 : TBits_1; inline;
  3770. function getw : TBits_32; inline;
  3771. procedure setBUSY(thebits : TBits_1); inline;
  3772. procedure setINCM(thebits : TBits_2); inline;
  3773. procedure setINCM0(thebits : TBits_1); inline;
  3774. procedure setINCM1(thebits : TBits_1); inline;
  3775. procedure setIRQM(thebits : TBits_2); inline;
  3776. procedure setIRQM0(thebits : TBits_1); inline;
  3777. procedure setIRQM1(thebits : TBits_1); inline;
  3778. procedure setMODE(thebits : TBits_2); inline;
  3779. procedure setMODE0(thebits : TBits_1); inline;
  3780. procedure setMODE1(thebits : TBits_1); inline;
  3781. procedure setWAITB(thebits : TBits_2); inline;
  3782. procedure setWAITB0(thebits : TBits_1); inline;
  3783. procedure setWAITB1(thebits : TBits_1); inline;
  3784. procedure setWAITE(thebits : TBits_2); inline;
  3785. procedure setWAITE0(thebits : TBits_1); inline;
  3786. procedure setWAITE1(thebits : TBits_1); inline;
  3787. procedure setWAITM(thebits : TBits_4); inline;
  3788. procedure setWAITM0(thebits : TBits_1); inline;
  3789. procedure setWAITM1(thebits : TBits_1); inline;
  3790. procedure setWAITM2(thebits : TBits_1); inline;
  3791. procedure setWAITM3(thebits : TBits_1); inline;
  3792. procedure setw(thebits : TBits_32); inline;
  3793. public
  3794. procedure clearBUSY; inline;
  3795. procedure clearINCM0; inline;
  3796. procedure clearINCM1; inline;
  3797. procedure clearIRQM0; inline;
  3798. procedure clearIRQM1; inline;
  3799. procedure clearMODE0; inline;
  3800. procedure clearMODE1; inline;
  3801. procedure clearWAITB0; inline;
  3802. procedure clearWAITB1; inline;
  3803. procedure clearWAITE0; inline;
  3804. procedure clearWAITE1; inline;
  3805. procedure clearWAITM0; inline;
  3806. procedure clearWAITM1; inline;
  3807. procedure clearWAITM2; inline;
  3808. procedure clearWAITM3; inline;
  3809. procedure setBUSY; inline;
  3810. procedure setINCM0; inline;
  3811. procedure setINCM1; inline;
  3812. procedure setIRQM0; inline;
  3813. procedure setIRQM1; inline;
  3814. procedure setMODE0; inline;
  3815. procedure setMODE1; inline;
  3816. procedure setWAITB0; inline;
  3817. procedure setWAITB1; inline;
  3818. procedure setWAITE0; inline;
  3819. procedure setWAITE1; inline;
  3820. procedure setWAITM0; inline;
  3821. procedure setWAITM1; inline;
  3822. procedure setWAITM2; inline;
  3823. procedure setWAITM3; inline;
  3824. property BUSY : TBits_1 read getBUSY write setBUSY;
  3825. property INCM : TBits_2 read getINCM write setINCM;
  3826. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  3827. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  3828. property IRQM : TBits_2 read getIRQM write setIRQM;
  3829. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  3830. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  3831. property MODE : TBits_2 read getMODE write setMODE;
  3832. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  3833. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  3834. property WAITB : TBits_2 read getWAITB write setWAITB;
  3835. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  3836. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  3837. property WAITE : TBits_2 read getWAITE write setWAITE;
  3838. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  3839. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  3840. property WAITM : TBits_4 read getWAITM write setWAITM;
  3841. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  3842. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  3843. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  3844. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  3845. property w : TBits_32 read getw write setw;
  3846. end;
  3847. TPMP_PMADDR = record
  3848. private
  3849. function getADDR : TBits_14; inline;
  3850. function getCS : TBits_2; inline;
  3851. function getCS1 : TBits_1; inline;
  3852. function getPADDR : TBits_14; inline;
  3853. function getw : TBits_32; inline;
  3854. procedure setADDR(thebits : TBits_14); inline;
  3855. procedure setCS(thebits : TBits_2); inline;
  3856. procedure setCS1(thebits : TBits_1); inline;
  3857. procedure setPADDR(thebits : TBits_14); inline;
  3858. procedure setw(thebits : TBits_32); inline;
  3859. public
  3860. procedure clearCS1; inline;
  3861. procedure setCS1; inline;
  3862. property ADDR : TBits_14 read getADDR write setADDR;
  3863. property CS : TBits_2 read getCS write setCS;
  3864. property CS1 : TBits_1 read getCS1 write setCS1;
  3865. property PADDR : TBits_14 read getPADDR write setPADDR;
  3866. property w : TBits_32 read getw write setw;
  3867. end;
  3868. TPMP_PMDOUT = record
  3869. private
  3870. function getDATAOUT : TBits_32; inline;
  3871. function getw : TBits_32; inline;
  3872. procedure setDATAOUT(thebits : TBits_32); inline;
  3873. procedure setw(thebits : TBits_32); inline;
  3874. public
  3875. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  3876. property w : TBits_32 read getw write setw;
  3877. end;
  3878. TPMP_PMDIN = record
  3879. private
  3880. function getDATAIN : TBits_32; inline;
  3881. function getw : TBits_32; inline;
  3882. procedure setDATAIN(thebits : TBits_32); inline;
  3883. procedure setw(thebits : TBits_32); inline;
  3884. public
  3885. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  3886. property w : TBits_32 read getw write setw;
  3887. end;
  3888. TPMP_PMAEN = record
  3889. private
  3890. function getPTEN : TBits_16; inline;
  3891. function getPTEN0 : TBits_1; inline;
  3892. function getPTEN1 : TBits_1; inline;
  3893. function getPTEN10 : TBits_1; inline;
  3894. function getPTEN11 : TBits_1; inline;
  3895. function getPTEN12 : TBits_1; inline;
  3896. function getPTEN13 : TBits_1; inline;
  3897. function getPTEN14 : TBits_1; inline;
  3898. function getPTEN15 : TBits_1; inline;
  3899. function getPTEN2 : TBits_1; inline;
  3900. function getPTEN3 : TBits_1; inline;
  3901. function getPTEN4 : TBits_1; inline;
  3902. function getPTEN5 : TBits_1; inline;
  3903. function getPTEN6 : TBits_1; inline;
  3904. function getPTEN7 : TBits_1; inline;
  3905. function getPTEN8 : TBits_1; inline;
  3906. function getPTEN9 : TBits_1; inline;
  3907. function getw : TBits_32; inline;
  3908. procedure setPTEN(thebits : TBits_16); inline;
  3909. procedure setPTEN0(thebits : TBits_1); inline;
  3910. procedure setPTEN1(thebits : TBits_1); inline;
  3911. procedure setPTEN10(thebits : TBits_1); inline;
  3912. procedure setPTEN11(thebits : TBits_1); inline;
  3913. procedure setPTEN12(thebits : TBits_1); inline;
  3914. procedure setPTEN13(thebits : TBits_1); inline;
  3915. procedure setPTEN14(thebits : TBits_1); inline;
  3916. procedure setPTEN15(thebits : TBits_1); inline;
  3917. procedure setPTEN2(thebits : TBits_1); inline;
  3918. procedure setPTEN3(thebits : TBits_1); inline;
  3919. procedure setPTEN4(thebits : TBits_1); inline;
  3920. procedure setPTEN5(thebits : TBits_1); inline;
  3921. procedure setPTEN6(thebits : TBits_1); inline;
  3922. procedure setPTEN7(thebits : TBits_1); inline;
  3923. procedure setPTEN8(thebits : TBits_1); inline;
  3924. procedure setPTEN9(thebits : TBits_1); inline;
  3925. procedure setw(thebits : TBits_32); inline;
  3926. public
  3927. procedure clearPTEN0; inline;
  3928. procedure clearPTEN10; inline;
  3929. procedure clearPTEN11; inline;
  3930. procedure clearPTEN12; inline;
  3931. procedure clearPTEN13; inline;
  3932. procedure clearPTEN14; inline;
  3933. procedure clearPTEN15; inline;
  3934. procedure clearPTEN1; inline;
  3935. procedure clearPTEN2; inline;
  3936. procedure clearPTEN3; inline;
  3937. procedure clearPTEN4; inline;
  3938. procedure clearPTEN5; inline;
  3939. procedure clearPTEN6; inline;
  3940. procedure clearPTEN7; inline;
  3941. procedure clearPTEN8; inline;
  3942. procedure clearPTEN9; inline;
  3943. procedure setPTEN0; inline;
  3944. procedure setPTEN10; inline;
  3945. procedure setPTEN11; inline;
  3946. procedure setPTEN12; inline;
  3947. procedure setPTEN13; inline;
  3948. procedure setPTEN14; inline;
  3949. procedure setPTEN15; inline;
  3950. procedure setPTEN1; inline;
  3951. procedure setPTEN2; inline;
  3952. procedure setPTEN3; inline;
  3953. procedure setPTEN4; inline;
  3954. procedure setPTEN5; inline;
  3955. procedure setPTEN6; inline;
  3956. procedure setPTEN7; inline;
  3957. procedure setPTEN8; inline;
  3958. procedure setPTEN9; inline;
  3959. property PTEN : TBits_16 read getPTEN write setPTEN;
  3960. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  3961. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  3962. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  3963. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  3964. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  3965. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  3966. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  3967. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  3968. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  3969. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  3970. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  3971. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  3972. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  3973. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  3974. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  3975. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  3976. property w : TBits_32 read getw write setw;
  3977. end;
  3978. TPMP_PMSTAT = record
  3979. private
  3980. function getIB0F : TBits_1; inline;
  3981. function getIB1F : TBits_1; inline;
  3982. function getIB2F : TBits_1; inline;
  3983. function getIB3F : TBits_1; inline;
  3984. function getIBF : TBits_1; inline;
  3985. function getIBOV : TBits_1; inline;
  3986. function getOB0E : TBits_1; inline;
  3987. function getOB1E : TBits_1; inline;
  3988. function getOB2E : TBits_1; inline;
  3989. function getOB3E : TBits_1; inline;
  3990. function getOBE : TBits_1; inline;
  3991. function getOBUF : TBits_1; inline;
  3992. function getw : TBits_32; inline;
  3993. procedure setIB0F(thebits : TBits_1); inline;
  3994. procedure setIB1F(thebits : TBits_1); inline;
  3995. procedure setIB2F(thebits : TBits_1); inline;
  3996. procedure setIB3F(thebits : TBits_1); inline;
  3997. procedure setIBF(thebits : TBits_1); inline;
  3998. procedure setIBOV(thebits : TBits_1); inline;
  3999. procedure setOB0E(thebits : TBits_1); inline;
  4000. procedure setOB1E(thebits : TBits_1); inline;
  4001. procedure setOB2E(thebits : TBits_1); inline;
  4002. procedure setOB3E(thebits : TBits_1); inline;
  4003. procedure setOBE(thebits : TBits_1); inline;
  4004. procedure setOBUF(thebits : TBits_1); inline;
  4005. procedure setw(thebits : TBits_32); inline;
  4006. public
  4007. procedure clearIB0F; inline;
  4008. procedure clearIB1F; inline;
  4009. procedure clearIB2F; inline;
  4010. procedure clearIB3F; inline;
  4011. procedure clearIBF; inline;
  4012. procedure clearIBOV; inline;
  4013. procedure clearOB0E; inline;
  4014. procedure clearOB1E; inline;
  4015. procedure clearOB2E; inline;
  4016. procedure clearOB3E; inline;
  4017. procedure clearOBE; inline;
  4018. procedure clearOBUF; inline;
  4019. procedure setIB0F; inline;
  4020. procedure setIB1F; inline;
  4021. procedure setIB2F; inline;
  4022. procedure setIB3F; inline;
  4023. procedure setIBF; inline;
  4024. procedure setIBOV; inline;
  4025. procedure setOB0E; inline;
  4026. procedure setOB1E; inline;
  4027. procedure setOB2E; inline;
  4028. procedure setOB3E; inline;
  4029. procedure setOBE; inline;
  4030. procedure setOBUF; inline;
  4031. property IB0F : TBits_1 read getIB0F write setIB0F;
  4032. property IB1F : TBits_1 read getIB1F write setIB1F;
  4033. property IB2F : TBits_1 read getIB2F write setIB2F;
  4034. property IB3F : TBits_1 read getIB3F write setIB3F;
  4035. property IBF : TBits_1 read getIBF write setIBF;
  4036. property IBOV : TBits_1 read getIBOV write setIBOV;
  4037. property OB0E : TBits_1 read getOB0E write setOB0E;
  4038. property OB1E : TBits_1 read getOB1E write setOB1E;
  4039. property OB2E : TBits_1 read getOB2E write setOB2E;
  4040. property OB3E : TBits_1 read getOB3E write setOB3E;
  4041. property OBE : TBits_1 read getOBE write setOBE;
  4042. property OBUF : TBits_1 read getOBUF write setOBUF;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TPMPRegisters = record
  4047. PMCONbits : TPMP_PMCON;
  4048. PMCON : longWord;
  4049. PMCONCLR : longWord;
  4050. PMCONSET : longWord;
  4051. PMCONINV : longWord;
  4052. PMMODEbits : TPMP_PMMODE;
  4053. PMMODE : longWord;
  4054. PMMODECLR : longWord;
  4055. PMMODESET : longWord;
  4056. PMMODEINV : longWord;
  4057. PMADDRbits : TPMP_PMADDR;
  4058. PMADDR : longWord;
  4059. PMADDRCLR : longWord;
  4060. PMADDRSET : longWord;
  4061. PMADDRINV : longWord;
  4062. PMDOUTbits : TPMP_PMDOUT;
  4063. PMDOUT : longWord;
  4064. PMDOUTCLR : longWord;
  4065. PMDOUTSET : longWord;
  4066. PMDOUTINV : longWord;
  4067. PMDINbits : TPMP_PMDIN;
  4068. PMDIN : longWord;
  4069. PMDINCLR : longWord;
  4070. PMDINSET : longWord;
  4071. PMDININV : longWord;
  4072. PMAENbits : TPMP_PMAEN;
  4073. PMAEN : longWord;
  4074. PMAENCLR : longWord;
  4075. PMAENSET : longWord;
  4076. PMAENINV : longWord;
  4077. PMSTATbits : TPMP_PMSTAT;
  4078. PMSTAT : longWord;
  4079. PMSTATCLR : longWord;
  4080. PMSTATSET : longWord;
  4081. PMSTATINV : longWord;
  4082. end;
  4083. TADC10_AD1CON1 = record
  4084. private
  4085. function getADON : TBits_1; inline;
  4086. function getADSIDL : TBits_1; inline;
  4087. function getASAM : TBits_1; inline;
  4088. function getCLRASAM : TBits_1; inline;
  4089. function getDONE : TBits_1; inline;
  4090. function getFORM : TBits_3; inline;
  4091. function getFORM0 : TBits_1; inline;
  4092. function getFORM1 : TBits_1; inline;
  4093. function getFORM2 : TBits_1; inline;
  4094. function getON : TBits_1; inline;
  4095. function getSAMP : TBits_1; inline;
  4096. function getSIDL : TBits_1; inline;
  4097. function getSSRC : TBits_3; inline;
  4098. function getSSRC0 : TBits_1; inline;
  4099. function getSSRC1 : TBits_1; inline;
  4100. function getSSRC2 : TBits_1; inline;
  4101. function getw : TBits_32; inline;
  4102. procedure setADON(thebits : TBits_1); inline;
  4103. procedure setADSIDL(thebits : TBits_1); inline;
  4104. procedure setASAM(thebits : TBits_1); inline;
  4105. procedure setCLRASAM(thebits : TBits_1); inline;
  4106. procedure setDONE(thebits : TBits_1); inline;
  4107. procedure setFORM(thebits : TBits_3); inline;
  4108. procedure setFORM0(thebits : TBits_1); inline;
  4109. procedure setFORM1(thebits : TBits_1); inline;
  4110. procedure setFORM2(thebits : TBits_1); inline;
  4111. procedure setON(thebits : TBits_1); inline;
  4112. procedure setSAMP(thebits : TBits_1); inline;
  4113. procedure setSIDL(thebits : TBits_1); inline;
  4114. procedure setSSRC(thebits : TBits_3); inline;
  4115. procedure setSSRC0(thebits : TBits_1); inline;
  4116. procedure setSSRC1(thebits : TBits_1); inline;
  4117. procedure setSSRC2(thebits : TBits_1); inline;
  4118. procedure setw(thebits : TBits_32); inline;
  4119. public
  4120. procedure clearADON; inline;
  4121. procedure clearADSIDL; inline;
  4122. procedure clearASAM; inline;
  4123. procedure clearCLRASAM; inline;
  4124. procedure clearDONE; inline;
  4125. procedure clearFORM0; inline;
  4126. procedure clearFORM1; inline;
  4127. procedure clearFORM2; inline;
  4128. procedure clearON; inline;
  4129. procedure clearSAMP; inline;
  4130. procedure clearSIDL; inline;
  4131. procedure clearSSRC0; inline;
  4132. procedure clearSSRC1; inline;
  4133. procedure clearSSRC2; inline;
  4134. procedure setADON; inline;
  4135. procedure setADSIDL; inline;
  4136. procedure setASAM; inline;
  4137. procedure setCLRASAM; inline;
  4138. procedure setDONE; inline;
  4139. procedure setFORM0; inline;
  4140. procedure setFORM1; inline;
  4141. procedure setFORM2; inline;
  4142. procedure setON; inline;
  4143. procedure setSAMP; inline;
  4144. procedure setSIDL; inline;
  4145. procedure setSSRC0; inline;
  4146. procedure setSSRC1; inline;
  4147. procedure setSSRC2; inline;
  4148. property ADON : TBits_1 read getADON write setADON;
  4149. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  4150. property ASAM : TBits_1 read getASAM write setASAM;
  4151. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  4152. property DONE : TBits_1 read getDONE write setDONE;
  4153. property FORM : TBits_3 read getFORM write setFORM;
  4154. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  4155. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  4156. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  4157. property ON : TBits_1 read getON write setON;
  4158. property SAMP : TBits_1 read getSAMP write setSAMP;
  4159. property SIDL : TBits_1 read getSIDL write setSIDL;
  4160. property SSRC : TBits_3 read getSSRC write setSSRC;
  4161. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  4162. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  4163. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  4164. property w : TBits_32 read getw write setw;
  4165. end;
  4166. TADC10_AD1CON2 = record
  4167. private
  4168. function getALTS : TBits_1; inline;
  4169. function getBUFM : TBits_1; inline;
  4170. function getBUFS : TBits_1; inline;
  4171. function getCSCNA : TBits_1; inline;
  4172. function getOFFCAL : TBits_1; inline;
  4173. function getSMPI : TBits_4; inline;
  4174. function getSMPI0 : TBits_1; inline;
  4175. function getSMPI1 : TBits_1; inline;
  4176. function getSMPI2 : TBits_1; inline;
  4177. function getSMPI3 : TBits_1; inline;
  4178. function getVCFG : TBits_3; inline;
  4179. function getVCFG0 : TBits_1; inline;
  4180. function getVCFG1 : TBits_1; inline;
  4181. function getVCFG2 : TBits_1; inline;
  4182. function getw : TBits_32; inline;
  4183. procedure setALTS(thebits : TBits_1); inline;
  4184. procedure setBUFM(thebits : TBits_1); inline;
  4185. procedure setBUFS(thebits : TBits_1); inline;
  4186. procedure setCSCNA(thebits : TBits_1); inline;
  4187. procedure setOFFCAL(thebits : TBits_1); inline;
  4188. procedure setSMPI(thebits : TBits_4); inline;
  4189. procedure setSMPI0(thebits : TBits_1); inline;
  4190. procedure setSMPI1(thebits : TBits_1); inline;
  4191. procedure setSMPI2(thebits : TBits_1); inline;
  4192. procedure setSMPI3(thebits : TBits_1); inline;
  4193. procedure setVCFG(thebits : TBits_3); inline;
  4194. procedure setVCFG0(thebits : TBits_1); inline;
  4195. procedure setVCFG1(thebits : TBits_1); inline;
  4196. procedure setVCFG2(thebits : TBits_1); inline;
  4197. procedure setw(thebits : TBits_32); inline;
  4198. public
  4199. procedure clearALTS; inline;
  4200. procedure clearBUFM; inline;
  4201. procedure clearBUFS; inline;
  4202. procedure clearCSCNA; inline;
  4203. procedure clearOFFCAL; inline;
  4204. procedure clearSMPI0; inline;
  4205. procedure clearSMPI1; inline;
  4206. procedure clearSMPI2; inline;
  4207. procedure clearSMPI3; inline;
  4208. procedure clearVCFG0; inline;
  4209. procedure clearVCFG1; inline;
  4210. procedure clearVCFG2; inline;
  4211. procedure setALTS; inline;
  4212. procedure setBUFM; inline;
  4213. procedure setBUFS; inline;
  4214. procedure setCSCNA; inline;
  4215. procedure setOFFCAL; inline;
  4216. procedure setSMPI0; inline;
  4217. procedure setSMPI1; inline;
  4218. procedure setSMPI2; inline;
  4219. procedure setSMPI3; inline;
  4220. procedure setVCFG0; inline;
  4221. procedure setVCFG1; inline;
  4222. procedure setVCFG2; inline;
  4223. property ALTS : TBits_1 read getALTS write setALTS;
  4224. property BUFM : TBits_1 read getBUFM write setBUFM;
  4225. property BUFS : TBits_1 read getBUFS write setBUFS;
  4226. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  4227. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  4228. property SMPI : TBits_4 read getSMPI write setSMPI;
  4229. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  4230. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  4231. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  4232. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  4233. property VCFG : TBits_3 read getVCFG write setVCFG;
  4234. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  4235. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  4236. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  4237. property w : TBits_32 read getw write setw;
  4238. end;
  4239. TADC10_AD1CON3 = record
  4240. private
  4241. function getADCS : TBits_8; inline;
  4242. function getADCS0 : TBits_1; inline;
  4243. function getADCS1 : TBits_1; inline;
  4244. function getADCS2 : TBits_1; inline;
  4245. function getADCS3 : TBits_1; inline;
  4246. function getADCS4 : TBits_1; inline;
  4247. function getADCS5 : TBits_1; inline;
  4248. function getADCS6 : TBits_1; inline;
  4249. function getADCS7 : TBits_1; inline;
  4250. function getADRC : TBits_1; inline;
  4251. function getSAMC : TBits_5; inline;
  4252. function getSAMC0 : TBits_1; inline;
  4253. function getSAMC1 : TBits_1; inline;
  4254. function getSAMC2 : TBits_1; inline;
  4255. function getSAMC3 : TBits_1; inline;
  4256. function getSAMC4 : TBits_1; inline;
  4257. function getw : TBits_32; inline;
  4258. procedure setADCS(thebits : TBits_8); inline;
  4259. procedure setADCS0(thebits : TBits_1); inline;
  4260. procedure setADCS1(thebits : TBits_1); inline;
  4261. procedure setADCS2(thebits : TBits_1); inline;
  4262. procedure setADCS3(thebits : TBits_1); inline;
  4263. procedure setADCS4(thebits : TBits_1); inline;
  4264. procedure setADCS5(thebits : TBits_1); inline;
  4265. procedure setADCS6(thebits : TBits_1); inline;
  4266. procedure setADCS7(thebits : TBits_1); inline;
  4267. procedure setADRC(thebits : TBits_1); inline;
  4268. procedure setSAMC(thebits : TBits_5); inline;
  4269. procedure setSAMC0(thebits : TBits_1); inline;
  4270. procedure setSAMC1(thebits : TBits_1); inline;
  4271. procedure setSAMC2(thebits : TBits_1); inline;
  4272. procedure setSAMC3(thebits : TBits_1); inline;
  4273. procedure setSAMC4(thebits : TBits_1); inline;
  4274. procedure setw(thebits : TBits_32); inline;
  4275. public
  4276. procedure clearADCS0; inline;
  4277. procedure clearADCS1; inline;
  4278. procedure clearADCS2; inline;
  4279. procedure clearADCS3; inline;
  4280. procedure clearADCS4; inline;
  4281. procedure clearADCS5; inline;
  4282. procedure clearADCS6; inline;
  4283. procedure clearADCS7; inline;
  4284. procedure clearADRC; inline;
  4285. procedure clearSAMC0; inline;
  4286. procedure clearSAMC1; inline;
  4287. procedure clearSAMC2; inline;
  4288. procedure clearSAMC3; inline;
  4289. procedure clearSAMC4; inline;
  4290. procedure setADCS0; inline;
  4291. procedure setADCS1; inline;
  4292. procedure setADCS2; inline;
  4293. procedure setADCS3; inline;
  4294. procedure setADCS4; inline;
  4295. procedure setADCS5; inline;
  4296. procedure setADCS6; inline;
  4297. procedure setADCS7; inline;
  4298. procedure setADRC; inline;
  4299. procedure setSAMC0; inline;
  4300. procedure setSAMC1; inline;
  4301. procedure setSAMC2; inline;
  4302. procedure setSAMC3; inline;
  4303. procedure setSAMC4; inline;
  4304. property ADCS : TBits_8 read getADCS write setADCS;
  4305. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  4306. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  4307. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  4308. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  4309. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  4310. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  4311. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  4312. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  4313. property ADRC : TBits_1 read getADRC write setADRC;
  4314. property SAMC : TBits_5 read getSAMC write setSAMC;
  4315. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  4316. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  4317. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  4318. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  4319. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  4320. property w : TBits_32 read getw write setw;
  4321. end;
  4322. TADC10_AD1CHS = record
  4323. private
  4324. function getCH0NA : TBits_1; inline;
  4325. function getCH0NB : TBits_1; inline;
  4326. function getCH0SA : TBits_4; inline;
  4327. function getCH0SA0 : TBits_1; inline;
  4328. function getCH0SA1 : TBits_1; inline;
  4329. function getCH0SA2 : TBits_1; inline;
  4330. function getCH0SA3 : TBits_1; inline;
  4331. function getCH0SB : TBits_4; inline;
  4332. function getCH0SB0 : TBits_1; inline;
  4333. function getCH0SB1 : TBits_1; inline;
  4334. function getCH0SB2 : TBits_1; inline;
  4335. function getCH0SB3 : TBits_1; inline;
  4336. function getw : TBits_32; inline;
  4337. procedure setCH0NA(thebits : TBits_1); inline;
  4338. procedure setCH0NB(thebits : TBits_1); inline;
  4339. procedure setCH0SA(thebits : TBits_4); inline;
  4340. procedure setCH0SA0(thebits : TBits_1); inline;
  4341. procedure setCH0SA1(thebits : TBits_1); inline;
  4342. procedure setCH0SA2(thebits : TBits_1); inline;
  4343. procedure setCH0SA3(thebits : TBits_1); inline;
  4344. procedure setCH0SB(thebits : TBits_4); inline;
  4345. procedure setCH0SB0(thebits : TBits_1); inline;
  4346. procedure setCH0SB1(thebits : TBits_1); inline;
  4347. procedure setCH0SB2(thebits : TBits_1); inline;
  4348. procedure setCH0SB3(thebits : TBits_1); inline;
  4349. procedure setw(thebits : TBits_32); inline;
  4350. public
  4351. procedure clearCH0NA; inline;
  4352. procedure clearCH0NB; inline;
  4353. procedure clearCH0SA0; inline;
  4354. procedure clearCH0SA1; inline;
  4355. procedure clearCH0SA2; inline;
  4356. procedure clearCH0SA3; inline;
  4357. procedure clearCH0SB0; inline;
  4358. procedure clearCH0SB1; inline;
  4359. procedure clearCH0SB2; inline;
  4360. procedure clearCH0SB3; inline;
  4361. procedure setCH0NA; inline;
  4362. procedure setCH0NB; inline;
  4363. procedure setCH0SA0; inline;
  4364. procedure setCH0SA1; inline;
  4365. procedure setCH0SA2; inline;
  4366. procedure setCH0SA3; inline;
  4367. procedure setCH0SB0; inline;
  4368. procedure setCH0SB1; inline;
  4369. procedure setCH0SB2; inline;
  4370. procedure setCH0SB3; inline;
  4371. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  4372. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  4373. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  4374. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  4375. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  4376. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  4377. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  4378. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  4379. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  4380. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  4381. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  4382. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  4383. property w : TBits_32 read getw write setw;
  4384. end;
  4385. TADC10_AD1CSSL = record
  4386. private
  4387. function getCSSL : TBits_16; inline;
  4388. function getCSSL0 : TBits_1; inline;
  4389. function getCSSL1 : TBits_1; inline;
  4390. function getCSSL10 : TBits_1; inline;
  4391. function getCSSL11 : TBits_1; inline;
  4392. function getCSSL12 : TBits_1; inline;
  4393. function getCSSL13 : TBits_1; inline;
  4394. function getCSSL14 : TBits_1; inline;
  4395. function getCSSL15 : TBits_1; inline;
  4396. function getCSSL2 : TBits_1; inline;
  4397. function getCSSL3 : TBits_1; inline;
  4398. function getCSSL4 : TBits_1; inline;
  4399. function getCSSL5 : TBits_1; inline;
  4400. function getCSSL6 : TBits_1; inline;
  4401. function getCSSL7 : TBits_1; inline;
  4402. function getCSSL8 : TBits_1; inline;
  4403. function getCSSL9 : TBits_1; inline;
  4404. function getw : TBits_32; inline;
  4405. procedure setCSSL(thebits : TBits_16); inline;
  4406. procedure setCSSL0(thebits : TBits_1); inline;
  4407. procedure setCSSL1(thebits : TBits_1); inline;
  4408. procedure setCSSL10(thebits : TBits_1); inline;
  4409. procedure setCSSL11(thebits : TBits_1); inline;
  4410. procedure setCSSL12(thebits : TBits_1); inline;
  4411. procedure setCSSL13(thebits : TBits_1); inline;
  4412. procedure setCSSL14(thebits : TBits_1); inline;
  4413. procedure setCSSL15(thebits : TBits_1); inline;
  4414. procedure setCSSL2(thebits : TBits_1); inline;
  4415. procedure setCSSL3(thebits : TBits_1); inline;
  4416. procedure setCSSL4(thebits : TBits_1); inline;
  4417. procedure setCSSL5(thebits : TBits_1); inline;
  4418. procedure setCSSL6(thebits : TBits_1); inline;
  4419. procedure setCSSL7(thebits : TBits_1); inline;
  4420. procedure setCSSL8(thebits : TBits_1); inline;
  4421. procedure setCSSL9(thebits : TBits_1); inline;
  4422. procedure setw(thebits : TBits_32); inline;
  4423. public
  4424. procedure clearCSSL0; inline;
  4425. procedure clearCSSL10; inline;
  4426. procedure clearCSSL11; inline;
  4427. procedure clearCSSL12; inline;
  4428. procedure clearCSSL13; inline;
  4429. procedure clearCSSL14; inline;
  4430. procedure clearCSSL15; inline;
  4431. procedure clearCSSL1; inline;
  4432. procedure clearCSSL2; inline;
  4433. procedure clearCSSL3; inline;
  4434. procedure clearCSSL4; inline;
  4435. procedure clearCSSL5; inline;
  4436. procedure clearCSSL6; inline;
  4437. procedure clearCSSL7; inline;
  4438. procedure clearCSSL8; inline;
  4439. procedure clearCSSL9; inline;
  4440. procedure setCSSL0; inline;
  4441. procedure setCSSL10; inline;
  4442. procedure setCSSL11; inline;
  4443. procedure setCSSL12; inline;
  4444. procedure setCSSL13; inline;
  4445. procedure setCSSL14; inline;
  4446. procedure setCSSL15; inline;
  4447. procedure setCSSL1; inline;
  4448. procedure setCSSL2; inline;
  4449. procedure setCSSL3; inline;
  4450. procedure setCSSL4; inline;
  4451. procedure setCSSL5; inline;
  4452. procedure setCSSL6; inline;
  4453. procedure setCSSL7; inline;
  4454. procedure setCSSL8; inline;
  4455. procedure setCSSL9; inline;
  4456. property CSSL : TBits_16 read getCSSL write setCSSL;
  4457. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  4458. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  4459. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  4460. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  4461. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  4462. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  4463. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  4464. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  4465. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  4466. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  4467. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  4468. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  4469. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  4470. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  4471. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  4472. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  4473. property w : TBits_32 read getw write setw;
  4474. end;
  4475. type
  4476. TADC10Registers = record
  4477. AD1CON1bits : TADC10_AD1CON1;
  4478. AD1CON1 : longWord;
  4479. AD1CON1CLR : longWord;
  4480. AD1CON1SET : longWord;
  4481. AD1CON1INV : longWord;
  4482. AD1CON2bits : TADC10_AD1CON2;
  4483. AD1CON2 : longWord;
  4484. AD1CON2CLR : longWord;
  4485. AD1CON2SET : longWord;
  4486. AD1CON2INV : longWord;
  4487. AD1CON3bits : TADC10_AD1CON3;
  4488. AD1CON3 : longWord;
  4489. AD1CON3CLR : longWord;
  4490. AD1CON3SET : longWord;
  4491. AD1CON3INV : longWord;
  4492. AD1CHSbits : TADC10_AD1CHS;
  4493. AD1CHS : longWord;
  4494. AD1CHSCLR : longWord;
  4495. AD1CHSSET : longWord;
  4496. AD1CHSINV : longWord;
  4497. AD1CSSLbits : TADC10_AD1CSSL;
  4498. AD1CSSL : longWord;
  4499. AD1CSSLCLR : longWord;
  4500. AD1CSSLSET : longWord;
  4501. AD1CSSLINV : longWord;
  4502. ADC1BUF0 : longWord;
  4503. ADC1BUF1 : longWord;
  4504. ADC1BUF2 : longWord;
  4505. ADC1BUF3 : longWord;
  4506. ADC1BUF4 : longWord;
  4507. ADC1BUF5 : longWord;
  4508. ADC1BUF6 : longWord;
  4509. ADC1BUF7 : longWord;
  4510. ADC1BUF8 : longWord;
  4511. ADC1BUF9 : longWord;
  4512. ADC1BUFA : longWord;
  4513. ADC1BUFB : longWord;
  4514. ADC1BUFC : longWord;
  4515. ADC1BUFD : longWord;
  4516. ADC1BUFE : longWord;
  4517. ADC1BUFF : longWord;
  4518. end;
  4519. TCVR_CVRCON = record
  4520. private
  4521. function getCVR : TBits_4; inline;
  4522. function getCVR0 : TBits_1; inline;
  4523. function getCVR1 : TBits_1; inline;
  4524. function getCVR2 : TBits_1; inline;
  4525. function getCVR3 : TBits_1; inline;
  4526. function getCVROE : TBits_1; inline;
  4527. function getCVRR : TBits_1; inline;
  4528. function getCVRSS : TBits_1; inline;
  4529. function getON : TBits_1; inline;
  4530. function getw : TBits_32; inline;
  4531. procedure setCVR(thebits : TBits_4); inline;
  4532. procedure setCVR0(thebits : TBits_1); inline;
  4533. procedure setCVR1(thebits : TBits_1); inline;
  4534. procedure setCVR2(thebits : TBits_1); inline;
  4535. procedure setCVR3(thebits : TBits_1); inline;
  4536. procedure setCVROE(thebits : TBits_1); inline;
  4537. procedure setCVRR(thebits : TBits_1); inline;
  4538. procedure setCVRSS(thebits : TBits_1); inline;
  4539. procedure setON(thebits : TBits_1); inline;
  4540. procedure setw(thebits : TBits_32); inline;
  4541. public
  4542. procedure clearCVR0; inline;
  4543. procedure clearCVR1; inline;
  4544. procedure clearCVR2; inline;
  4545. procedure clearCVR3; inline;
  4546. procedure clearCVROE; inline;
  4547. procedure clearCVRR; inline;
  4548. procedure clearCVRSS; inline;
  4549. procedure clearON; inline;
  4550. procedure setCVR0; inline;
  4551. procedure setCVR1; inline;
  4552. procedure setCVR2; inline;
  4553. procedure setCVR3; inline;
  4554. procedure setCVROE; inline;
  4555. procedure setCVRR; inline;
  4556. procedure setCVRSS; inline;
  4557. procedure setON; inline;
  4558. property CVR : TBits_4 read getCVR write setCVR;
  4559. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  4560. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  4561. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  4562. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  4563. property CVROE : TBits_1 read getCVROE write setCVROE;
  4564. property CVRR : TBits_1 read getCVRR write setCVRR;
  4565. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  4566. property ON : TBits_1 read getON write setON;
  4567. property w : TBits_32 read getw write setw;
  4568. end;
  4569. type
  4570. TCVRRegisters = record
  4571. CVRCONbits : TCVR_CVRCON;
  4572. CVRCON : longWord;
  4573. CVRCONCLR : longWord;
  4574. CVRCONSET : longWord;
  4575. CVRCONINV : longWord;
  4576. end;
  4577. TCMP_CM1CON = record
  4578. private
  4579. function getCCH : TBits_2; inline;
  4580. function getCCH0 : TBits_1; inline;
  4581. function getCCH1 : TBits_1; inline;
  4582. function getCOE : TBits_1; inline;
  4583. function getCOUT : TBits_1; inline;
  4584. function getCPOL : TBits_1; inline;
  4585. function getCREF : TBits_1; inline;
  4586. function getEVPOL : TBits_2; inline;
  4587. function getEVPOL0 : TBits_1; inline;
  4588. function getEVPOL1 : TBits_1; inline;
  4589. function getON : TBits_1; inline;
  4590. function getw : TBits_32; inline;
  4591. procedure setCCH(thebits : TBits_2); inline;
  4592. procedure setCCH0(thebits : TBits_1); inline;
  4593. procedure setCCH1(thebits : TBits_1); inline;
  4594. procedure setCOE(thebits : TBits_1); inline;
  4595. procedure setCOUT(thebits : TBits_1); inline;
  4596. procedure setCPOL(thebits : TBits_1); inline;
  4597. procedure setCREF(thebits : TBits_1); inline;
  4598. procedure setEVPOL(thebits : TBits_2); inline;
  4599. procedure setEVPOL0(thebits : TBits_1); inline;
  4600. procedure setEVPOL1(thebits : TBits_1); inline;
  4601. procedure setON(thebits : TBits_1); inline;
  4602. procedure setw(thebits : TBits_32); inline;
  4603. public
  4604. procedure clearCCH0; inline;
  4605. procedure clearCCH1; inline;
  4606. procedure clearCOE; inline;
  4607. procedure clearCOUT; inline;
  4608. procedure clearCPOL; inline;
  4609. procedure clearCREF; inline;
  4610. procedure clearEVPOL0; inline;
  4611. procedure clearEVPOL1; inline;
  4612. procedure clearON; inline;
  4613. procedure setCCH0; inline;
  4614. procedure setCCH1; inline;
  4615. procedure setCOE; inline;
  4616. procedure setCOUT; inline;
  4617. procedure setCPOL; inline;
  4618. procedure setCREF; inline;
  4619. procedure setEVPOL0; inline;
  4620. procedure setEVPOL1; inline;
  4621. procedure setON; inline;
  4622. property CCH : TBits_2 read getCCH write setCCH;
  4623. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4624. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4625. property COE : TBits_1 read getCOE write setCOE;
  4626. property COUT : TBits_1 read getCOUT write setCOUT;
  4627. property CPOL : TBits_1 read getCPOL write setCPOL;
  4628. property CREF : TBits_1 read getCREF write setCREF;
  4629. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4630. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4631. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4632. property ON : TBits_1 read getON write setON;
  4633. property w : TBits_32 read getw write setw;
  4634. end;
  4635. TCMP_CM2CON = record
  4636. private
  4637. function getCCH : TBits_2; inline;
  4638. function getCCH0 : TBits_1; inline;
  4639. function getCCH1 : TBits_1; inline;
  4640. function getCOE : TBits_1; inline;
  4641. function getCOUT : TBits_1; inline;
  4642. function getCPOL : TBits_1; inline;
  4643. function getCREF : TBits_1; inline;
  4644. function getEVPOL : TBits_2; inline;
  4645. function getEVPOL0 : TBits_1; inline;
  4646. function getEVPOL1 : TBits_1; inline;
  4647. function getON : TBits_1; inline;
  4648. function getw : TBits_32; inline;
  4649. procedure setCCH(thebits : TBits_2); inline;
  4650. procedure setCCH0(thebits : TBits_1); inline;
  4651. procedure setCCH1(thebits : TBits_1); inline;
  4652. procedure setCOE(thebits : TBits_1); inline;
  4653. procedure setCOUT(thebits : TBits_1); inline;
  4654. procedure setCPOL(thebits : TBits_1); inline;
  4655. procedure setCREF(thebits : TBits_1); inline;
  4656. procedure setEVPOL(thebits : TBits_2); inline;
  4657. procedure setEVPOL0(thebits : TBits_1); inline;
  4658. procedure setEVPOL1(thebits : TBits_1); inline;
  4659. procedure setON(thebits : TBits_1); inline;
  4660. procedure setw(thebits : TBits_32); inline;
  4661. public
  4662. procedure clearCCH0; inline;
  4663. procedure clearCCH1; inline;
  4664. procedure clearCOE; inline;
  4665. procedure clearCOUT; inline;
  4666. procedure clearCPOL; inline;
  4667. procedure clearCREF; inline;
  4668. procedure clearEVPOL0; inline;
  4669. procedure clearEVPOL1; inline;
  4670. procedure clearON; inline;
  4671. procedure setCCH0; inline;
  4672. procedure setCCH1; inline;
  4673. procedure setCOE; inline;
  4674. procedure setCOUT; inline;
  4675. procedure setCPOL; inline;
  4676. procedure setCREF; inline;
  4677. procedure setEVPOL0; inline;
  4678. procedure setEVPOL1; inline;
  4679. procedure setON; inline;
  4680. property CCH : TBits_2 read getCCH write setCCH;
  4681. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4682. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4683. property COE : TBits_1 read getCOE write setCOE;
  4684. property COUT : TBits_1 read getCOUT write setCOUT;
  4685. property CPOL : TBits_1 read getCPOL write setCPOL;
  4686. property CREF : TBits_1 read getCREF write setCREF;
  4687. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4688. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4689. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4690. property ON : TBits_1 read getON write setON;
  4691. property w : TBits_32 read getw write setw;
  4692. end;
  4693. TCMP_CM3CON = record
  4694. private
  4695. function getCCH : TBits_2; inline;
  4696. function getCCH0 : TBits_1; inline;
  4697. function getCCH1 : TBits_1; inline;
  4698. function getCOE : TBits_1; inline;
  4699. function getCOUT : TBits_1; inline;
  4700. function getCPOL : TBits_1; inline;
  4701. function getCREF : TBits_1; inline;
  4702. function getEVPOL : TBits_2; inline;
  4703. function getEVPOL0 : TBits_1; inline;
  4704. function getEVPOL1 : TBits_1; inline;
  4705. function getON : TBits_1; inline;
  4706. function getw : TBits_32; inline;
  4707. procedure setCCH(thebits : TBits_2); inline;
  4708. procedure setCCH0(thebits : TBits_1); inline;
  4709. procedure setCCH1(thebits : TBits_1); inline;
  4710. procedure setCOE(thebits : TBits_1); inline;
  4711. procedure setCOUT(thebits : TBits_1); inline;
  4712. procedure setCPOL(thebits : TBits_1); inline;
  4713. procedure setCREF(thebits : TBits_1); inline;
  4714. procedure setEVPOL(thebits : TBits_2); inline;
  4715. procedure setEVPOL0(thebits : TBits_1); inline;
  4716. procedure setEVPOL1(thebits : TBits_1); inline;
  4717. procedure setON(thebits : TBits_1); inline;
  4718. procedure setw(thebits : TBits_32); inline;
  4719. public
  4720. procedure clearCCH0; inline;
  4721. procedure clearCCH1; inline;
  4722. procedure clearCOE; inline;
  4723. procedure clearCOUT; inline;
  4724. procedure clearCPOL; inline;
  4725. procedure clearCREF; inline;
  4726. procedure clearEVPOL0; inline;
  4727. procedure clearEVPOL1; inline;
  4728. procedure clearON; inline;
  4729. procedure setCCH0; inline;
  4730. procedure setCCH1; inline;
  4731. procedure setCOE; inline;
  4732. procedure setCOUT; inline;
  4733. procedure setCPOL; inline;
  4734. procedure setCREF; inline;
  4735. procedure setEVPOL0; inline;
  4736. procedure setEVPOL1; inline;
  4737. procedure setON; inline;
  4738. property CCH : TBits_2 read getCCH write setCCH;
  4739. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4740. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4741. property COE : TBits_1 read getCOE write setCOE;
  4742. property COUT : TBits_1 read getCOUT write setCOUT;
  4743. property CPOL : TBits_1 read getCPOL write setCPOL;
  4744. property CREF : TBits_1 read getCREF write setCREF;
  4745. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4746. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4747. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4748. property ON : TBits_1 read getON write setON;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TCMP_CMSTAT = record
  4752. private
  4753. function getC1OUT : TBits_1; inline;
  4754. function getC2OUT : TBits_1; inline;
  4755. function getC3OUT : TBits_1; inline;
  4756. function getSIDL : TBits_1; inline;
  4757. function getw : TBits_32; inline;
  4758. procedure setC1OUT(thebits : TBits_1); inline;
  4759. procedure setC2OUT(thebits : TBits_1); inline;
  4760. procedure setC3OUT(thebits : TBits_1); inline;
  4761. procedure setSIDL(thebits : TBits_1); inline;
  4762. procedure setw(thebits : TBits_32); inline;
  4763. public
  4764. procedure clearC1OUT; inline;
  4765. procedure clearC2OUT; inline;
  4766. procedure clearC3OUT; inline;
  4767. procedure clearSIDL; inline;
  4768. procedure setC1OUT; inline;
  4769. procedure setC2OUT; inline;
  4770. procedure setC3OUT; inline;
  4771. procedure setSIDL; inline;
  4772. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  4773. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  4774. property C3OUT : TBits_1 read getC3OUT write setC3OUT;
  4775. property SIDL : TBits_1 read getSIDL write setSIDL;
  4776. property w : TBits_32 read getw write setw;
  4777. end;
  4778. TCMP_CTMUCON = record
  4779. private
  4780. function getCTMUSIDL : TBits_1; inline;
  4781. function getCTTRIG : TBits_1; inline;
  4782. function getEDG1MOD : TBits_1; inline;
  4783. function getEDG1POL : TBits_1; inline;
  4784. function getEDG1SEL : TBits_4; inline;
  4785. function getEDG1STAT : TBits_1; inline;
  4786. function getEDG2MOD : TBits_1; inline;
  4787. function getEDG2POL : TBits_1; inline;
  4788. function getEDG2SEL : TBits_4; inline;
  4789. function getEDG2STAT : TBits_1; inline;
  4790. function getEDGEN : TBits_1; inline;
  4791. function getEDGSEQEN : TBits_1; inline;
  4792. function getIDISSEN : TBits_1; inline;
  4793. function getIRNG : TBits_2; inline;
  4794. function getITRIM : TBits_6; inline;
  4795. function getON : TBits_1; inline;
  4796. function getTGEN : TBits_1; inline;
  4797. function getw : TBits_32; inline;
  4798. procedure setCTMUSIDL(thebits : TBits_1); inline;
  4799. procedure setCTTRIG(thebits : TBits_1); inline;
  4800. procedure setEDG1MOD(thebits : TBits_1); inline;
  4801. procedure setEDG1POL(thebits : TBits_1); inline;
  4802. procedure setEDG1SEL(thebits : TBits_4); inline;
  4803. procedure setEDG1STAT(thebits : TBits_1); inline;
  4804. procedure setEDG2MOD(thebits : TBits_1); inline;
  4805. procedure setEDG2POL(thebits : TBits_1); inline;
  4806. procedure setEDG2SEL(thebits : TBits_4); inline;
  4807. procedure setEDG2STAT(thebits : TBits_1); inline;
  4808. procedure setEDGEN(thebits : TBits_1); inline;
  4809. procedure setEDGSEQEN(thebits : TBits_1); inline;
  4810. procedure setIDISSEN(thebits : TBits_1); inline;
  4811. procedure setIRNG(thebits : TBits_2); inline;
  4812. procedure setITRIM(thebits : TBits_6); inline;
  4813. procedure setON(thebits : TBits_1); inline;
  4814. procedure setTGEN(thebits : TBits_1); inline;
  4815. procedure setw(thebits : TBits_32); inline;
  4816. public
  4817. procedure clearCTMUSIDL; inline;
  4818. procedure clearCTTRIG; inline;
  4819. procedure clearEDG1MOD; inline;
  4820. procedure clearEDG1POL; inline;
  4821. procedure clearEDG1STAT; inline;
  4822. procedure clearEDG2MOD; inline;
  4823. procedure clearEDG2POL; inline;
  4824. procedure clearEDG2STAT; inline;
  4825. procedure clearEDGEN; inline;
  4826. procedure clearEDGSEQEN; inline;
  4827. procedure clearIDISSEN; inline;
  4828. procedure clearON; inline;
  4829. procedure clearTGEN; inline;
  4830. procedure setCTMUSIDL; inline;
  4831. procedure setCTTRIG; inline;
  4832. procedure setEDG1MOD; inline;
  4833. procedure setEDG1POL; inline;
  4834. procedure setEDG1STAT; inline;
  4835. procedure setEDG2MOD; inline;
  4836. procedure setEDG2POL; inline;
  4837. procedure setEDG2STAT; inline;
  4838. procedure setEDGEN; inline;
  4839. procedure setEDGSEQEN; inline;
  4840. procedure setIDISSEN; inline;
  4841. procedure setON; inline;
  4842. procedure setTGEN; inline;
  4843. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  4844. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  4845. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  4846. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  4847. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  4848. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  4849. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  4850. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  4851. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  4852. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  4853. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  4854. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  4855. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  4856. property IRNG : TBits_2 read getIRNG write setIRNG;
  4857. property ITRIM : TBits_6 read getITRIM write setITRIM;
  4858. property ON : TBits_1 read getON write setON;
  4859. property TGEN : TBits_1 read getTGEN write setTGEN;
  4860. property w : TBits_32 read getw write setw;
  4861. end;
  4862. type
  4863. TCMPRegisters = record
  4864. CM1CONbits : TCMP_CM1CON;
  4865. CM1CON : longWord;
  4866. CM1CONCLR : longWord;
  4867. CM1CONSET : longWord;
  4868. CM1CONINV : longWord;
  4869. CM2CONbits : TCMP_CM2CON;
  4870. CM2CON : longWord;
  4871. CM2CONCLR : longWord;
  4872. CM2CONSET : longWord;
  4873. CM2CONINV : longWord;
  4874. CM3CONbits : TCMP_CM3CON;
  4875. CM3CON : longWord;
  4876. CM3CONCLR : longWord;
  4877. CM3CONSET : longWord;
  4878. CM3CONINV : longWord;
  4879. CMSTATbits : TCMP_CMSTAT;
  4880. CMSTAT : longWord;
  4881. CMSTATCLR : longWord;
  4882. CMSTATSET : longWord;
  4883. CMSTATINV : longWord;
  4884. CTMUCONbits : TCMP_CTMUCON;
  4885. CTMUCON : longWord;
  4886. CTMUCONCLR : longWord;
  4887. CTMUCONSET : longWord;
  4888. CTMUCONINV : longWord;
  4889. end;
  4890. TOSC_OSCCON = record
  4891. private
  4892. function getCF : TBits_1; inline;
  4893. function getCLKLOCK : TBits_1; inline;
  4894. function getCOSC : TBits_3; inline;
  4895. function getCOSC0 : TBits_1; inline;
  4896. function getCOSC1 : TBits_1; inline;
  4897. function getCOSC2 : TBits_1; inline;
  4898. function getFRCDIV : TBits_3; inline;
  4899. function getFRCDIV0 : TBits_1; inline;
  4900. function getFRCDIV1 : TBits_1; inline;
  4901. function getFRCDIV2 : TBits_1; inline;
  4902. function getNOSC : TBits_3; inline;
  4903. function getNOSC0 : TBits_1; inline;
  4904. function getNOSC1 : TBits_1; inline;
  4905. function getNOSC2 : TBits_1; inline;
  4906. function getOSWEN : TBits_1; inline;
  4907. function getPBDIV : TBits_2; inline;
  4908. function getPBDIV0 : TBits_1; inline;
  4909. function getPBDIV1 : TBits_1; inline;
  4910. function getPBDIVRDY : TBits_1; inline;
  4911. function getPLLMULT : TBits_3; inline;
  4912. function getPLLMULT0 : TBits_1; inline;
  4913. function getPLLMULT1 : TBits_1; inline;
  4914. function getPLLMULT2 : TBits_1; inline;
  4915. function getPLLODIV : TBits_3; inline;
  4916. function getPLLODIV0 : TBits_1; inline;
  4917. function getPLLODIV1 : TBits_1; inline;
  4918. function getPLLODIV2 : TBits_1; inline;
  4919. function getSLOCK : TBits_1; inline;
  4920. function getSLPEN : TBits_1; inline;
  4921. function getSOSCEN : TBits_1; inline;
  4922. function getSOSCRDY : TBits_1; inline;
  4923. function getUFRCEN : TBits_1; inline;
  4924. function getULOCK : TBits_1; inline;
  4925. function getw : TBits_32; inline;
  4926. procedure setCF(thebits : TBits_1); inline;
  4927. procedure setCLKLOCK(thebits : TBits_1); inline;
  4928. procedure setCOSC(thebits : TBits_3); inline;
  4929. procedure setCOSC0(thebits : TBits_1); inline;
  4930. procedure setCOSC1(thebits : TBits_1); inline;
  4931. procedure setCOSC2(thebits : TBits_1); inline;
  4932. procedure setFRCDIV(thebits : TBits_3); inline;
  4933. procedure setFRCDIV0(thebits : TBits_1); inline;
  4934. procedure setFRCDIV1(thebits : TBits_1); inline;
  4935. procedure setFRCDIV2(thebits : TBits_1); inline;
  4936. procedure setNOSC(thebits : TBits_3); inline;
  4937. procedure setNOSC0(thebits : TBits_1); inline;
  4938. procedure setNOSC1(thebits : TBits_1); inline;
  4939. procedure setNOSC2(thebits : TBits_1); inline;
  4940. procedure setOSWEN(thebits : TBits_1); inline;
  4941. procedure setPBDIV(thebits : TBits_2); inline;
  4942. procedure setPBDIV0(thebits : TBits_1); inline;
  4943. procedure setPBDIV1(thebits : TBits_1); inline;
  4944. procedure setPBDIVRDY(thebits : TBits_1); inline;
  4945. procedure setPLLMULT(thebits : TBits_3); inline;
  4946. procedure setPLLMULT0(thebits : TBits_1); inline;
  4947. procedure setPLLMULT1(thebits : TBits_1); inline;
  4948. procedure setPLLMULT2(thebits : TBits_1); inline;
  4949. procedure setPLLODIV(thebits : TBits_3); inline;
  4950. procedure setPLLODIV0(thebits : TBits_1); inline;
  4951. procedure setPLLODIV1(thebits : TBits_1); inline;
  4952. procedure setPLLODIV2(thebits : TBits_1); inline;
  4953. procedure setSLOCK(thebits : TBits_1); inline;
  4954. procedure setSLPEN(thebits : TBits_1); inline;
  4955. procedure setSOSCEN(thebits : TBits_1); inline;
  4956. procedure setSOSCRDY(thebits : TBits_1); inline;
  4957. procedure setUFRCEN(thebits : TBits_1); inline;
  4958. procedure setULOCK(thebits : TBits_1); inline;
  4959. procedure setw(thebits : TBits_32); inline;
  4960. public
  4961. procedure clearCF; inline;
  4962. procedure clearCLKLOCK; inline;
  4963. procedure clearCOSC0; inline;
  4964. procedure clearCOSC1; inline;
  4965. procedure clearCOSC2; inline;
  4966. procedure clearFRCDIV0; inline;
  4967. procedure clearFRCDIV1; inline;
  4968. procedure clearFRCDIV2; inline;
  4969. procedure clearNOSC0; inline;
  4970. procedure clearNOSC1; inline;
  4971. procedure clearNOSC2; inline;
  4972. procedure clearOSWEN; inline;
  4973. procedure clearPBDIV0; inline;
  4974. procedure clearPBDIV1; inline;
  4975. procedure clearPBDIVRDY; inline;
  4976. procedure clearPLLMULT0; inline;
  4977. procedure clearPLLMULT1; inline;
  4978. procedure clearPLLMULT2; inline;
  4979. procedure clearPLLODIV0; inline;
  4980. procedure clearPLLODIV1; inline;
  4981. procedure clearPLLODIV2; inline;
  4982. procedure clearSLOCK; inline;
  4983. procedure clearSLPEN; inline;
  4984. procedure clearSOSCEN; inline;
  4985. procedure clearSOSCRDY; inline;
  4986. procedure clearUFRCEN; inline;
  4987. procedure clearULOCK; inline;
  4988. procedure setCF; inline;
  4989. procedure setCLKLOCK; inline;
  4990. procedure setCOSC0; inline;
  4991. procedure setCOSC1; inline;
  4992. procedure setCOSC2; inline;
  4993. procedure setFRCDIV0; inline;
  4994. procedure setFRCDIV1; inline;
  4995. procedure setFRCDIV2; inline;
  4996. procedure setNOSC0; inline;
  4997. procedure setNOSC1; inline;
  4998. procedure setNOSC2; inline;
  4999. procedure setOSWEN; inline;
  5000. procedure setPBDIV0; inline;
  5001. procedure setPBDIV1; inline;
  5002. procedure setPBDIVRDY; inline;
  5003. procedure setPLLMULT0; inline;
  5004. procedure setPLLMULT1; inline;
  5005. procedure setPLLMULT2; inline;
  5006. procedure setPLLODIV0; inline;
  5007. procedure setPLLODIV1; inline;
  5008. procedure setPLLODIV2; inline;
  5009. procedure setSLOCK; inline;
  5010. procedure setSLPEN; inline;
  5011. procedure setSOSCEN; inline;
  5012. procedure setSOSCRDY; inline;
  5013. procedure setUFRCEN; inline;
  5014. procedure setULOCK; inline;
  5015. property CF : TBits_1 read getCF write setCF;
  5016. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5017. property COSC : TBits_3 read getCOSC write setCOSC;
  5018. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5019. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5020. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5021. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5022. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5023. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5024. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5025. property NOSC : TBits_3 read getNOSC write setNOSC;
  5026. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5027. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5028. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5029. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5030. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5031. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5032. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5033. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5034. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5035. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5036. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5037. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5038. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5039. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5040. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5041. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5042. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5043. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5044. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5045. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5046. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5047. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5048. property w : TBits_32 read getw write setw;
  5049. end;
  5050. TOSC_OSCTUN = record
  5051. private
  5052. function getTUN : TBits_6; inline;
  5053. function getTUN0 : TBits_1; inline;
  5054. function getTUN1 : TBits_1; inline;
  5055. function getTUN2 : TBits_1; inline;
  5056. function getTUN3 : TBits_1; inline;
  5057. function getTUN4 : TBits_1; inline;
  5058. function getTUN5 : TBits_1; inline;
  5059. function getw : TBits_32; inline;
  5060. procedure setTUN(thebits : TBits_6); inline;
  5061. procedure setTUN0(thebits : TBits_1); inline;
  5062. procedure setTUN1(thebits : TBits_1); inline;
  5063. procedure setTUN2(thebits : TBits_1); inline;
  5064. procedure setTUN3(thebits : TBits_1); inline;
  5065. procedure setTUN4(thebits : TBits_1); inline;
  5066. procedure setTUN5(thebits : TBits_1); inline;
  5067. procedure setw(thebits : TBits_32); inline;
  5068. public
  5069. procedure clearTUN0; inline;
  5070. procedure clearTUN1; inline;
  5071. procedure clearTUN2; inline;
  5072. procedure clearTUN3; inline;
  5073. procedure clearTUN4; inline;
  5074. procedure clearTUN5; inline;
  5075. procedure setTUN0; inline;
  5076. procedure setTUN1; inline;
  5077. procedure setTUN2; inline;
  5078. procedure setTUN3; inline;
  5079. procedure setTUN4; inline;
  5080. procedure setTUN5; inline;
  5081. property TUN : TBits_6 read getTUN write setTUN;
  5082. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5083. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5084. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5085. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5086. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5087. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5088. property w : TBits_32 read getw write setw;
  5089. end;
  5090. TOSC_REFOCON = record
  5091. private
  5092. function getACTIVE : TBits_1; inline;
  5093. function getDIVSWEN : TBits_1; inline;
  5094. function getOE : TBits_1; inline;
  5095. function getON : TBits_1; inline;
  5096. function getRODIV : TBits_15; inline;
  5097. function getROSEL : TBits_4; inline;
  5098. function getRSLP : TBits_1; inline;
  5099. function getSIDL : TBits_1; inline;
  5100. function getw : TBits_32; inline;
  5101. procedure setACTIVE(thebits : TBits_1); inline;
  5102. procedure setDIVSWEN(thebits : TBits_1); inline;
  5103. procedure setOE(thebits : TBits_1); inline;
  5104. procedure setON(thebits : TBits_1); inline;
  5105. procedure setRODIV(thebits : TBits_15); inline;
  5106. procedure setROSEL(thebits : TBits_4); inline;
  5107. procedure setRSLP(thebits : TBits_1); inline;
  5108. procedure setSIDL(thebits : TBits_1); inline;
  5109. procedure setw(thebits : TBits_32); inline;
  5110. public
  5111. procedure clearACTIVE; inline;
  5112. procedure clearDIVSWEN; inline;
  5113. procedure clearOE; inline;
  5114. procedure clearON; inline;
  5115. procedure clearRSLP; inline;
  5116. procedure clearSIDL; inline;
  5117. procedure setACTIVE; inline;
  5118. procedure setDIVSWEN; inline;
  5119. procedure setOE; inline;
  5120. procedure setON; inline;
  5121. procedure setRSLP; inline;
  5122. procedure setSIDL; inline;
  5123. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  5124. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  5125. property OE : TBits_1 read getOE write setOE;
  5126. property ON : TBits_1 read getON write setON;
  5127. property RODIV : TBits_15 read getRODIV write setRODIV;
  5128. property ROSEL : TBits_4 read getROSEL write setROSEL;
  5129. property RSLP : TBits_1 read getRSLP write setRSLP;
  5130. property SIDL : TBits_1 read getSIDL write setSIDL;
  5131. property w : TBits_32 read getw write setw;
  5132. end;
  5133. TOSC_REFOTRIM = record
  5134. private
  5135. function getROTRIM : TBits_9; inline;
  5136. function getw : TBits_32; inline;
  5137. procedure setROTRIM(thebits : TBits_9); inline;
  5138. procedure setw(thebits : TBits_32); inline;
  5139. public
  5140. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  5141. property w : TBits_32 read getw write setw;
  5142. end;
  5143. type
  5144. TOSCRegisters = record
  5145. OSCCONbits : TOSC_OSCCON;
  5146. OSCCON : longWord;
  5147. OSCCONCLR : longWord;
  5148. OSCCONSET : longWord;
  5149. OSCCONINV : longWord;
  5150. OSCTUNbits : TOSC_OSCTUN;
  5151. OSCTUN : longWord;
  5152. OSCTUNCLR : longWord;
  5153. OSCTUNSET : longWord;
  5154. OSCTUNINV : longWord;
  5155. REFOCONbits : TOSC_REFOCON;
  5156. REFOCON : longWord;
  5157. REFOCONCLR : longWord;
  5158. REFOCONSET : longWord;
  5159. REFOCONINV : longWord;
  5160. REFOTRIMbits : TOSC_REFOTRIM;
  5161. REFOTRIM : longWord;
  5162. REFOTRIMCLR : longWord;
  5163. REFOTRIMSET : longWord;
  5164. REFOTRIMINV : longWord;
  5165. end;
  5166. TCFG_PMD5 = record
  5167. private
  5168. function getI2C1MD : TBits_1; inline;
  5169. function getI2C2MD : TBits_1; inline;
  5170. function getSPI1MD : TBits_1; inline;
  5171. function getSPI2MD : TBits_1; inline;
  5172. function getU1MD : TBits_1; inline;
  5173. function getU2MD : TBits_1; inline;
  5174. function getUSB1MD : TBits_1; inline;
  5175. function getUSBMD : TBits_1; inline;
  5176. procedure setI2C1MD(thebits : TBits_1); inline;
  5177. procedure setI2C2MD(thebits : TBits_1); inline;
  5178. procedure setSPI1MD(thebits : TBits_1); inline;
  5179. procedure setSPI2MD(thebits : TBits_1); inline;
  5180. procedure setU1MD(thebits : TBits_1); inline;
  5181. procedure setU2MD(thebits : TBits_1); inline;
  5182. procedure setUSB1MD(thebits : TBits_1); inline;
  5183. procedure setUSBMD(thebits : TBits_1); inline;
  5184. public
  5185. procedure clearI2C1MD; inline;
  5186. procedure clearI2C2MD; inline;
  5187. procedure clearSPI1MD; inline;
  5188. procedure clearSPI2MD; inline;
  5189. procedure clearU1MD; inline;
  5190. procedure clearU2MD; inline;
  5191. procedure clearUSB1MD; inline;
  5192. procedure clearUSBMD; inline;
  5193. procedure setI2C1MD; inline;
  5194. procedure setI2C2MD; inline;
  5195. procedure setSPI1MD; inline;
  5196. procedure setSPI2MD; inline;
  5197. procedure setU1MD; inline;
  5198. procedure setU2MD; inline;
  5199. procedure setUSB1MD; inline;
  5200. procedure setUSBMD; inline;
  5201. property I2C1MD : TBits_1 read getI2C1MD write setI2C1MD;
  5202. property I2C2MD : TBits_1 read getI2C2MD write setI2C2MD;
  5203. property SPI1MD : TBits_1 read getSPI1MD write setSPI1MD;
  5204. property SPI2MD : TBits_1 read getSPI2MD write setSPI2MD;
  5205. property U1MD : TBits_1 read getU1MD write setU1MD;
  5206. property U2MD : TBits_1 read getU2MD write setU2MD;
  5207. property USB1MD : TBits_1 read getUSB1MD write setUSB1MD;
  5208. property USBMD : TBits_1 read getUSBMD write setUSBMD;
  5209. end;
  5210. type
  5211. TCFGRegisters = record
  5212. CFGCON : longWord;
  5213. DDPCON : longWord;
  5214. DEVID : longWord;
  5215. SYSKEY : longWord;
  5216. SYSKEYCLR : longWord;
  5217. SYSKEYSET : longWord;
  5218. SYSKEYINV : longWord;
  5219. PMD1 : longWord;
  5220. PMD1CLR : longWord;
  5221. PMD1SET : longWord;
  5222. PMD1INV : longWord;
  5223. PMD2 : longWord;
  5224. PMD2CLR : longWord;
  5225. PMD2SET : longWord;
  5226. PMD2INV : longWord;
  5227. PMD3 : longWord;
  5228. PMD3CLR : longWord;
  5229. PMD3SET : longWord;
  5230. PMD3INV : longWord;
  5231. PMD4 : longWord;
  5232. PMD4CLR : longWord;
  5233. PMD4SET : longWord;
  5234. PMD4INV : longWord;
  5235. PMD5bits : TCFG_PMD5;
  5236. PMD5 : longWord;
  5237. PMD5CLR : longWord;
  5238. PMD5SET : longWord;
  5239. PMD5INV : longWord;
  5240. PMD6 : longWord;
  5241. PMD6CLR : longWord;
  5242. PMD6SET : longWord;
  5243. PMD6INV : longWord;
  5244. end;
  5245. TNVM_NVMCON = record
  5246. private
  5247. function getLVDERR : TBits_1; inline;
  5248. function getLVDSTAT : TBits_1; inline;
  5249. function getNVMOP : TBits_4; inline;
  5250. function getNVMOP0 : TBits_1; inline;
  5251. function getNVMOP1 : TBits_1; inline;
  5252. function getNVMOP2 : TBits_1; inline;
  5253. function getNVMOP3 : TBits_1; inline;
  5254. function getPROGOP : TBits_4; inline;
  5255. function getPROGOP0 : TBits_1; inline;
  5256. function getPROGOP1 : TBits_1; inline;
  5257. function getPROGOP2 : TBits_1; inline;
  5258. function getPROGOP3 : TBits_1; inline;
  5259. function getWR : TBits_1; inline;
  5260. function getWREN : TBits_1; inline;
  5261. function getWRERR : TBits_1; inline;
  5262. function getw : TBits_32; inline;
  5263. procedure setLVDERR(thebits : TBits_1); inline;
  5264. procedure setLVDSTAT(thebits : TBits_1); inline;
  5265. procedure setNVMOP(thebits : TBits_4); inline;
  5266. procedure setNVMOP0(thebits : TBits_1); inline;
  5267. procedure setNVMOP1(thebits : TBits_1); inline;
  5268. procedure setNVMOP2(thebits : TBits_1); inline;
  5269. procedure setNVMOP3(thebits : TBits_1); inline;
  5270. procedure setPROGOP(thebits : TBits_4); inline;
  5271. procedure setPROGOP0(thebits : TBits_1); inline;
  5272. procedure setPROGOP1(thebits : TBits_1); inline;
  5273. procedure setPROGOP2(thebits : TBits_1); inline;
  5274. procedure setPROGOP3(thebits : TBits_1); inline;
  5275. procedure setWR(thebits : TBits_1); inline;
  5276. procedure setWREN(thebits : TBits_1); inline;
  5277. procedure setWRERR(thebits : TBits_1); inline;
  5278. procedure setw(thebits : TBits_32); inline;
  5279. public
  5280. procedure clearLVDERR; inline;
  5281. procedure clearLVDSTAT; inline;
  5282. procedure clearNVMOP0; inline;
  5283. procedure clearNVMOP1; inline;
  5284. procedure clearNVMOP2; inline;
  5285. procedure clearNVMOP3; inline;
  5286. procedure clearPROGOP0; inline;
  5287. procedure clearPROGOP1; inline;
  5288. procedure clearPROGOP2; inline;
  5289. procedure clearPROGOP3; inline;
  5290. procedure clearWR; inline;
  5291. procedure clearWREN; inline;
  5292. procedure clearWRERR; inline;
  5293. procedure setLVDERR; inline;
  5294. procedure setLVDSTAT; inline;
  5295. procedure setNVMOP0; inline;
  5296. procedure setNVMOP1; inline;
  5297. procedure setNVMOP2; inline;
  5298. procedure setNVMOP3; inline;
  5299. procedure setPROGOP0; inline;
  5300. procedure setPROGOP1; inline;
  5301. procedure setPROGOP2; inline;
  5302. procedure setPROGOP3; inline;
  5303. procedure setWR; inline;
  5304. procedure setWREN; inline;
  5305. procedure setWRERR; inline;
  5306. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  5307. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  5308. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  5309. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  5310. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  5311. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  5312. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  5313. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  5314. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  5315. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  5316. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  5317. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  5318. property WR : TBits_1 read getWR write setWR;
  5319. property WREN : TBits_1 read getWREN write setWREN;
  5320. property WRERR : TBits_1 read getWRERR write setWRERR;
  5321. property w : TBits_32 read getw write setw;
  5322. end;
  5323. type
  5324. TNVMRegisters = record
  5325. NVMCONbits : TNVM_NVMCON;
  5326. NVMCON : longWord;
  5327. NVMCONCLR : longWord;
  5328. NVMCONSET : longWord;
  5329. NVMCONINV : longWord;
  5330. NVMKEY : longWord;
  5331. NVMADDR : longWord;
  5332. NVMADDRCLR : longWord;
  5333. NVMADDRSET : longWord;
  5334. NVMADDRINV : longWord;
  5335. NVMDATA : longWord;
  5336. NVMSRCADDR : longWord;
  5337. end;
  5338. TRCON_RCON = record
  5339. private
  5340. function getBOR : TBits_1; inline;
  5341. function getCMR : TBits_1; inline;
  5342. function getEXTR : TBits_1; inline;
  5343. function getIDLE : TBits_1; inline;
  5344. function getPOR : TBits_1; inline;
  5345. function getSLEEP : TBits_1; inline;
  5346. function getSWR : TBits_1; inline;
  5347. function getVREGS : TBits_1; inline;
  5348. function getWDTO : TBits_1; inline;
  5349. function getw : TBits_32; inline;
  5350. procedure setBOR(thebits : TBits_1); inline;
  5351. procedure setCMR(thebits : TBits_1); inline;
  5352. procedure setEXTR(thebits : TBits_1); inline;
  5353. procedure setIDLE(thebits : TBits_1); inline;
  5354. procedure setPOR(thebits : TBits_1); inline;
  5355. procedure setSLEEP(thebits : TBits_1); inline;
  5356. procedure setSWR(thebits : TBits_1); inline;
  5357. procedure setVREGS(thebits : TBits_1); inline;
  5358. procedure setWDTO(thebits : TBits_1); inline;
  5359. procedure setw(thebits : TBits_32); inline;
  5360. public
  5361. procedure clearBOR; inline;
  5362. procedure clearCMR; inline;
  5363. procedure clearEXTR; inline;
  5364. procedure clearIDLE; inline;
  5365. procedure clearPOR; inline;
  5366. procedure clearSLEEP; inline;
  5367. procedure clearSWR; inline;
  5368. procedure clearVREGS; inline;
  5369. procedure clearWDTO; inline;
  5370. procedure setBOR; inline;
  5371. procedure setCMR; inline;
  5372. procedure setEXTR; inline;
  5373. procedure setIDLE; inline;
  5374. procedure setPOR; inline;
  5375. procedure setSLEEP; inline;
  5376. procedure setSWR; inline;
  5377. procedure setVREGS; inline;
  5378. procedure setWDTO; inline;
  5379. property BOR : TBits_1 read getBOR write setBOR;
  5380. property CMR : TBits_1 read getCMR write setCMR;
  5381. property EXTR : TBits_1 read getEXTR write setEXTR;
  5382. property IDLE : TBits_1 read getIDLE write setIDLE;
  5383. property POR : TBits_1 read getPOR write setPOR;
  5384. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  5385. property SWR : TBits_1 read getSWR write setSWR;
  5386. property VREGS : TBits_1 read getVREGS write setVREGS;
  5387. property WDTO : TBits_1 read getWDTO write setWDTO;
  5388. property w : TBits_32 read getw write setw;
  5389. end;
  5390. TRCON_RSWRST = record
  5391. private
  5392. function getSWRST : TBits_1; inline;
  5393. function getw : TBits_32; inline;
  5394. procedure setSWRST(thebits : TBits_1); inline;
  5395. procedure setw(thebits : TBits_32); inline;
  5396. public
  5397. procedure clearSWRST; inline;
  5398. procedure setSWRST; inline;
  5399. property SWRST : TBits_1 read getSWRST write setSWRST;
  5400. property w : TBits_32 read getw write setw;
  5401. end;
  5402. type
  5403. TRCONRegisters = record
  5404. RCONbits : TRCON_RCON;
  5405. RCON : longWord;
  5406. RCONCLR : longWord;
  5407. RCONSET : longWord;
  5408. RCONINV : longWord;
  5409. RSWRSTbits : TRCON_RSWRST;
  5410. RSWRST : longWord;
  5411. RSWRSTCLR : longWord;
  5412. RSWRSTSET : longWord;
  5413. RSWRSTINV : longWord;
  5414. INT1R : longWord;
  5415. INT2R : longWord;
  5416. INT3R : longWord;
  5417. INT4R : longWord;
  5418. T2CKR : longWord;
  5419. T3CKR : longWord;
  5420. T4CKR : longWord;
  5421. T5CKR : longWord;
  5422. IC1R : longWord;
  5423. IC2R : longWord;
  5424. IC3R : longWord;
  5425. IC4R : longWord;
  5426. IC5R : longWord;
  5427. OCFAR : longWord;
  5428. OCFBR : longWord;
  5429. U1RXR : longWord;
  5430. U1CTSR : longWord;
  5431. U2RXR : longWord;
  5432. U2CTSR : longWord;
  5433. SDI1R : longWord;
  5434. SS1R : longWord;
  5435. SDI2R : longWord;
  5436. SS2R : longWord;
  5437. REFCLKIR : longWord;
  5438. RPA0R : longWord;
  5439. RPA1R : longWord;
  5440. RPA2R : longWord;
  5441. RPA3R : longWord;
  5442. RPA4R : longWord;
  5443. RPA8R : longWord;
  5444. RPA9R : longWord;
  5445. RPB0R : longWord;
  5446. RPB1R : longWord;
  5447. RPB2R : longWord;
  5448. RPB3R : longWord;
  5449. RPB4R : longWord;
  5450. RPB5R : longWord;
  5451. RPB7R : longWord;
  5452. RPB8R : longWord;
  5453. RPB9R : longWord;
  5454. RPB10R : longWord;
  5455. RPB11R : longWord;
  5456. RPB13R : longWord;
  5457. RPB14R : longWord;
  5458. RPB15R : longWord;
  5459. RPC0R : longWord;
  5460. RPC1R : longWord;
  5461. RPC2R : longWord;
  5462. RPC3R : longWord;
  5463. RPC4R : longWord;
  5464. RPC5R : longWord;
  5465. RPC6R : longWord;
  5466. RPC7R : longWord;
  5467. RPC8R : longWord;
  5468. RPC9R : longWord;
  5469. end;
  5470. TINT_INTCON = record
  5471. private
  5472. function getINT0EP : TBits_1; inline;
  5473. function getINT1EP : TBits_1; inline;
  5474. function getINT2EP : TBits_1; inline;
  5475. function getINT3EP : TBits_1; inline;
  5476. function getINT4EP : TBits_1; inline;
  5477. function getMVEC : TBits_1; inline;
  5478. function getSS0 : TBits_1; inline;
  5479. function getTPC : TBits_3; inline;
  5480. function getw : TBits_32; inline;
  5481. procedure setINT0EP(thebits : TBits_1); inline;
  5482. procedure setINT1EP(thebits : TBits_1); inline;
  5483. procedure setINT2EP(thebits : TBits_1); inline;
  5484. procedure setINT3EP(thebits : TBits_1); inline;
  5485. procedure setINT4EP(thebits : TBits_1); inline;
  5486. procedure setMVEC(thebits : TBits_1); inline;
  5487. procedure setSS0(thebits : TBits_1); inline;
  5488. procedure setTPC(thebits : TBits_3); inline;
  5489. procedure setw(thebits : TBits_32); inline;
  5490. public
  5491. procedure clearINT0EP; inline;
  5492. procedure clearINT1EP; inline;
  5493. procedure clearINT2EP; inline;
  5494. procedure clearINT3EP; inline;
  5495. procedure clearINT4EP; inline;
  5496. procedure clearMVEC; inline;
  5497. procedure clearSS0; inline;
  5498. procedure setINT0EP; inline;
  5499. procedure setINT1EP; inline;
  5500. procedure setINT2EP; inline;
  5501. procedure setINT3EP; inline;
  5502. procedure setINT4EP; inline;
  5503. procedure setMVEC; inline;
  5504. procedure setSS0; inline;
  5505. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  5506. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  5507. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  5508. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  5509. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  5510. property MVEC : TBits_1 read getMVEC write setMVEC;
  5511. property SS0 : TBits_1 read getSS0 write setSS0;
  5512. property TPC : TBits_3 read getTPC write setTPC;
  5513. property w : TBits_32 read getw write setw;
  5514. end;
  5515. TINT_IFS0 = record
  5516. private
  5517. function getAD1IF : TBits_1; inline;
  5518. function getCS0IF : TBits_1; inline;
  5519. function getCS1IF : TBits_1; inline;
  5520. function getCTIF : TBits_1; inline;
  5521. function getFCEIF : TBits_1; inline;
  5522. function getFSCMIF : TBits_1; inline;
  5523. function getIC1EIF : TBits_1; inline;
  5524. function getIC1IF : TBits_1; inline;
  5525. function getIC2EIF : TBits_1; inline;
  5526. function getIC2IF : TBits_1; inline;
  5527. function getIC3EIF : TBits_1; inline;
  5528. function getIC3IF : TBits_1; inline;
  5529. function getIC4EIF : TBits_1; inline;
  5530. function getIC4IF : TBits_1; inline;
  5531. function getIC5EIF : TBits_1; inline;
  5532. function getIC5IF : TBits_1; inline;
  5533. function getINT0IF : TBits_1; inline;
  5534. function getINT1IF : TBits_1; inline;
  5535. function getINT2IF : TBits_1; inline;
  5536. function getINT3IF : TBits_1; inline;
  5537. function getINT4IF : TBits_1; inline;
  5538. function getOC1IF : TBits_1; inline;
  5539. function getOC2IF : TBits_1; inline;
  5540. function getOC3IF : TBits_1; inline;
  5541. function getOC4IF : TBits_1; inline;
  5542. function getOC5IF : TBits_1; inline;
  5543. function getRTCCIF : TBits_1; inline;
  5544. function getT1IF : TBits_1; inline;
  5545. function getT2IF : TBits_1; inline;
  5546. function getT3IF : TBits_1; inline;
  5547. function getT4IF : TBits_1; inline;
  5548. function getT5IF : TBits_1; inline;
  5549. function getw : TBits_32; inline;
  5550. procedure setAD1IF(thebits : TBits_1); inline;
  5551. procedure setCS0IF(thebits : TBits_1); inline;
  5552. procedure setCS1IF(thebits : TBits_1); inline;
  5553. procedure setCTIF(thebits : TBits_1); inline;
  5554. procedure setFCEIF(thebits : TBits_1); inline;
  5555. procedure setFSCMIF(thebits : TBits_1); inline;
  5556. procedure setIC1EIF(thebits : TBits_1); inline;
  5557. procedure setIC1IF(thebits : TBits_1); inline;
  5558. procedure setIC2EIF(thebits : TBits_1); inline;
  5559. procedure setIC2IF(thebits : TBits_1); inline;
  5560. procedure setIC3EIF(thebits : TBits_1); inline;
  5561. procedure setIC3IF(thebits : TBits_1); inline;
  5562. procedure setIC4EIF(thebits : TBits_1); inline;
  5563. procedure setIC4IF(thebits : TBits_1); inline;
  5564. procedure setIC5EIF(thebits : TBits_1); inline;
  5565. procedure setIC5IF(thebits : TBits_1); inline;
  5566. procedure setINT0IF(thebits : TBits_1); inline;
  5567. procedure setINT1IF(thebits : TBits_1); inline;
  5568. procedure setINT2IF(thebits : TBits_1); inline;
  5569. procedure setINT3IF(thebits : TBits_1); inline;
  5570. procedure setINT4IF(thebits : TBits_1); inline;
  5571. procedure setOC1IF(thebits : TBits_1); inline;
  5572. procedure setOC2IF(thebits : TBits_1); inline;
  5573. procedure setOC3IF(thebits : TBits_1); inline;
  5574. procedure setOC4IF(thebits : TBits_1); inline;
  5575. procedure setOC5IF(thebits : TBits_1); inline;
  5576. procedure setRTCCIF(thebits : TBits_1); inline;
  5577. procedure setT1IF(thebits : TBits_1); inline;
  5578. procedure setT2IF(thebits : TBits_1); inline;
  5579. procedure setT3IF(thebits : TBits_1); inline;
  5580. procedure setT4IF(thebits : TBits_1); inline;
  5581. procedure setT5IF(thebits : TBits_1); inline;
  5582. procedure setw(thebits : TBits_32); inline;
  5583. public
  5584. procedure clearAD1IF; inline;
  5585. procedure clearCS0IF; inline;
  5586. procedure clearCS1IF; inline;
  5587. procedure clearCTIF; inline;
  5588. procedure clearFCEIF; inline;
  5589. procedure clearFSCMIF; inline;
  5590. procedure clearIC1EIF; inline;
  5591. procedure clearIC1IF; inline;
  5592. procedure clearIC2EIF; inline;
  5593. procedure clearIC2IF; inline;
  5594. procedure clearIC3EIF; inline;
  5595. procedure clearIC3IF; inline;
  5596. procedure clearIC4EIF; inline;
  5597. procedure clearIC4IF; inline;
  5598. procedure clearIC5EIF; inline;
  5599. procedure clearIC5IF; inline;
  5600. procedure clearINT0IF; inline;
  5601. procedure clearINT1IF; inline;
  5602. procedure clearINT2IF; inline;
  5603. procedure clearINT3IF; inline;
  5604. procedure clearINT4IF; inline;
  5605. procedure clearOC1IF; inline;
  5606. procedure clearOC2IF; inline;
  5607. procedure clearOC3IF; inline;
  5608. procedure clearOC4IF; inline;
  5609. procedure clearOC5IF; inline;
  5610. procedure clearRTCCIF; inline;
  5611. procedure clearT1IF; inline;
  5612. procedure clearT2IF; inline;
  5613. procedure clearT3IF; inline;
  5614. procedure clearT4IF; inline;
  5615. procedure clearT5IF; inline;
  5616. procedure setAD1IF; inline;
  5617. procedure setCS0IF; inline;
  5618. procedure setCS1IF; inline;
  5619. procedure setCTIF; inline;
  5620. procedure setFCEIF; inline;
  5621. procedure setFSCMIF; inline;
  5622. procedure setIC1EIF; inline;
  5623. procedure setIC1IF; inline;
  5624. procedure setIC2EIF; inline;
  5625. procedure setIC2IF; inline;
  5626. procedure setIC3EIF; inline;
  5627. procedure setIC3IF; inline;
  5628. procedure setIC4EIF; inline;
  5629. procedure setIC4IF; inline;
  5630. procedure setIC5EIF; inline;
  5631. procedure setIC5IF; inline;
  5632. procedure setINT0IF; inline;
  5633. procedure setINT1IF; inline;
  5634. procedure setINT2IF; inline;
  5635. procedure setINT3IF; inline;
  5636. procedure setINT4IF; inline;
  5637. procedure setOC1IF; inline;
  5638. procedure setOC2IF; inline;
  5639. procedure setOC3IF; inline;
  5640. procedure setOC4IF; inline;
  5641. procedure setOC5IF; inline;
  5642. procedure setRTCCIF; inline;
  5643. procedure setT1IF; inline;
  5644. procedure setT2IF; inline;
  5645. procedure setT3IF; inline;
  5646. procedure setT4IF; inline;
  5647. procedure setT5IF; inline;
  5648. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  5649. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  5650. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  5651. property CTIF : TBits_1 read getCTIF write setCTIF;
  5652. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  5653. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  5654. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  5655. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  5656. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  5657. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  5658. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  5659. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  5660. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  5661. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  5662. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  5663. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  5664. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  5665. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  5666. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  5667. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  5668. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  5669. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  5670. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  5671. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  5672. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  5673. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  5674. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  5675. property T1IF : TBits_1 read getT1IF write setT1IF;
  5676. property T2IF : TBits_1 read getT2IF write setT2IF;
  5677. property T3IF : TBits_1 read getT3IF write setT3IF;
  5678. property T4IF : TBits_1 read getT4IF write setT4IF;
  5679. property T5IF : TBits_1 read getT5IF write setT5IF;
  5680. property w : TBits_32 read getw write setw;
  5681. end;
  5682. TINT_IFS1 = record
  5683. private
  5684. function getCMP1IF : TBits_1; inline;
  5685. function getCMP2IF : TBits_1; inline;
  5686. function getCMP3IF : TBits_1; inline;
  5687. function getCNAIF : TBits_1; inline;
  5688. function getCNBIF : TBits_1; inline;
  5689. function getCNCIF : TBits_1; inline;
  5690. function getCTMUIF : TBits_1; inline;
  5691. function getDMA0IF : TBits_1; inline;
  5692. function getDMA1IF : TBits_1; inline;
  5693. function getDMA2IF : TBits_1; inline;
  5694. function getDMA3IF : TBits_1; inline;
  5695. function getI2C1BIF : TBits_1; inline;
  5696. function getI2C1MIF : TBits_1; inline;
  5697. function getI2C1SIF : TBits_1; inline;
  5698. function getI2C2BIF : TBits_1; inline;
  5699. function getI2C2MIF : TBits_1; inline;
  5700. function getI2C2SIF : TBits_1; inline;
  5701. function getPMPEIF : TBits_1; inline;
  5702. function getPMPIF : TBits_1; inline;
  5703. function getSPI1EIF : TBits_1; inline;
  5704. function getSPI1RXIF : TBits_1; inline;
  5705. function getSPI1TXIF : TBits_1; inline;
  5706. function getSPI2EIF : TBits_1; inline;
  5707. function getSPI2RXIF : TBits_1; inline;
  5708. function getSPI2TXIF : TBits_1; inline;
  5709. function getU1EIF : TBits_1; inline;
  5710. function getU1RXIF : TBits_1; inline;
  5711. function getU1TXIF : TBits_1; inline;
  5712. function getU2EIF : TBits_1; inline;
  5713. function getU2RXIF : TBits_1; inline;
  5714. function getU2TXIF : TBits_1; inline;
  5715. function getUSBIF : TBits_1; inline;
  5716. function getw : TBits_32; inline;
  5717. procedure setCMP1IF(thebits : TBits_1); inline;
  5718. procedure setCMP2IF(thebits : TBits_1); inline;
  5719. procedure setCMP3IF(thebits : TBits_1); inline;
  5720. procedure setCNAIF(thebits : TBits_1); inline;
  5721. procedure setCNBIF(thebits : TBits_1); inline;
  5722. procedure setCNCIF(thebits : TBits_1); inline;
  5723. procedure setCTMUIF(thebits : TBits_1); inline;
  5724. procedure setDMA0IF(thebits : TBits_1); inline;
  5725. procedure setDMA1IF(thebits : TBits_1); inline;
  5726. procedure setDMA2IF(thebits : TBits_1); inline;
  5727. procedure setDMA3IF(thebits : TBits_1); inline;
  5728. procedure setI2C1BIF(thebits : TBits_1); inline;
  5729. procedure setI2C1MIF(thebits : TBits_1); inline;
  5730. procedure setI2C1SIF(thebits : TBits_1); inline;
  5731. procedure setI2C2BIF(thebits : TBits_1); inline;
  5732. procedure setI2C2MIF(thebits : TBits_1); inline;
  5733. procedure setI2C2SIF(thebits : TBits_1); inline;
  5734. procedure setPMPEIF(thebits : TBits_1); inline;
  5735. procedure setPMPIF(thebits : TBits_1); inline;
  5736. procedure setSPI1EIF(thebits : TBits_1); inline;
  5737. procedure setSPI1RXIF(thebits : TBits_1); inline;
  5738. procedure setSPI1TXIF(thebits : TBits_1); inline;
  5739. procedure setSPI2EIF(thebits : TBits_1); inline;
  5740. procedure setSPI2RXIF(thebits : TBits_1); inline;
  5741. procedure setSPI2TXIF(thebits : TBits_1); inline;
  5742. procedure setU1EIF(thebits : TBits_1); inline;
  5743. procedure setU1RXIF(thebits : TBits_1); inline;
  5744. procedure setU1TXIF(thebits : TBits_1); inline;
  5745. procedure setU2EIF(thebits : TBits_1); inline;
  5746. procedure setU2RXIF(thebits : TBits_1); inline;
  5747. procedure setU2TXIF(thebits : TBits_1); inline;
  5748. procedure setUSBIF(thebits : TBits_1); inline;
  5749. procedure setw(thebits : TBits_32); inline;
  5750. public
  5751. procedure clearCMP1IF; inline;
  5752. procedure clearCMP2IF; inline;
  5753. procedure clearCMP3IF; inline;
  5754. procedure clearCNAIF; inline;
  5755. procedure clearCNBIF; inline;
  5756. procedure clearCNCIF; inline;
  5757. procedure clearCTMUIF; inline;
  5758. procedure clearDMA0IF; inline;
  5759. procedure clearDMA1IF; inline;
  5760. procedure clearDMA2IF; inline;
  5761. procedure clearDMA3IF; inline;
  5762. procedure clearI2C1BIF; inline;
  5763. procedure clearI2C1MIF; inline;
  5764. procedure clearI2C1SIF; inline;
  5765. procedure clearI2C2BIF; inline;
  5766. procedure clearI2C2MIF; inline;
  5767. procedure clearI2C2SIF; inline;
  5768. procedure clearPMPEIF; inline;
  5769. procedure clearPMPIF; inline;
  5770. procedure clearSPI1EIF; inline;
  5771. procedure clearSPI1RXIF; inline;
  5772. procedure clearSPI1TXIF; inline;
  5773. procedure clearSPI2EIF; inline;
  5774. procedure clearSPI2RXIF; inline;
  5775. procedure clearSPI2TXIF; inline;
  5776. procedure clearU1EIF; inline;
  5777. procedure clearU1RXIF; inline;
  5778. procedure clearU1TXIF; inline;
  5779. procedure clearU2EIF; inline;
  5780. procedure clearU2RXIF; inline;
  5781. procedure clearU2TXIF; inline;
  5782. procedure clearUSBIF; inline;
  5783. procedure setCMP1IF; inline;
  5784. procedure setCMP2IF; inline;
  5785. procedure setCMP3IF; inline;
  5786. procedure setCNAIF; inline;
  5787. procedure setCNBIF; inline;
  5788. procedure setCNCIF; inline;
  5789. procedure setCTMUIF; inline;
  5790. procedure setDMA0IF; inline;
  5791. procedure setDMA1IF; inline;
  5792. procedure setDMA2IF; inline;
  5793. procedure setDMA3IF; inline;
  5794. procedure setI2C1BIF; inline;
  5795. procedure setI2C1MIF; inline;
  5796. procedure setI2C1SIF; inline;
  5797. procedure setI2C2BIF; inline;
  5798. procedure setI2C2MIF; inline;
  5799. procedure setI2C2SIF; inline;
  5800. procedure setPMPEIF; inline;
  5801. procedure setPMPIF; inline;
  5802. procedure setSPI1EIF; inline;
  5803. procedure setSPI1RXIF; inline;
  5804. procedure setSPI1TXIF; inline;
  5805. procedure setSPI2EIF; inline;
  5806. procedure setSPI2RXIF; inline;
  5807. procedure setSPI2TXIF; inline;
  5808. procedure setU1EIF; inline;
  5809. procedure setU1RXIF; inline;
  5810. procedure setU1TXIF; inline;
  5811. procedure setU2EIF; inline;
  5812. procedure setU2RXIF; inline;
  5813. procedure setU2TXIF; inline;
  5814. procedure setUSBIF; inline;
  5815. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  5816. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  5817. property CMP3IF : TBits_1 read getCMP3IF write setCMP3IF;
  5818. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  5819. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  5820. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  5821. property CTMUIF : TBits_1 read getCTMUIF write setCTMUIF;
  5822. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  5823. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  5824. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  5825. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  5826. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  5827. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  5828. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  5829. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  5830. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  5831. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  5832. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  5833. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  5834. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  5835. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  5836. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  5837. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  5838. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  5839. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  5840. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  5841. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  5842. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  5843. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  5844. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  5845. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  5846. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  5847. property w : TBits_32 read getw write setw;
  5848. end;
  5849. TINT_IEC0 = record
  5850. private
  5851. function getAD1IE : TBits_1; inline;
  5852. function getCS0IE : TBits_1; inline;
  5853. function getCS1IE : TBits_1; inline;
  5854. function getCTIE : TBits_1; inline;
  5855. function getFCEIE : TBits_1; inline;
  5856. function getFSCMIE : TBits_1; inline;
  5857. function getIC1EIE : TBits_1; inline;
  5858. function getIC1IE : TBits_1; inline;
  5859. function getIC2EIE : TBits_1; inline;
  5860. function getIC2IE : TBits_1; inline;
  5861. function getIC3EIE : TBits_1; inline;
  5862. function getIC3IE : TBits_1; inline;
  5863. function getIC4EIE : TBits_1; inline;
  5864. function getIC4IE : TBits_1; inline;
  5865. function getIC5EIE : TBits_1; inline;
  5866. function getIC5IE : TBits_1; inline;
  5867. function getINT0IE : TBits_1; inline;
  5868. function getINT1IE : TBits_1; inline;
  5869. function getINT2IE : TBits_1; inline;
  5870. function getINT3IE : TBits_1; inline;
  5871. function getINT4IE : TBits_1; inline;
  5872. function getOC1IE : TBits_1; inline;
  5873. function getOC2IE : TBits_1; inline;
  5874. function getOC3IE : TBits_1; inline;
  5875. function getOC4IE : TBits_1; inline;
  5876. function getOC5IE : TBits_1; inline;
  5877. function getRTCCIE : TBits_1; inline;
  5878. function getT1IE : TBits_1; inline;
  5879. function getT2IE : TBits_1; inline;
  5880. function getT3IE : TBits_1; inline;
  5881. function getT4IE : TBits_1; inline;
  5882. function getT5IE : TBits_1; inline;
  5883. function getw : TBits_32; inline;
  5884. procedure setAD1IE(thebits : TBits_1); inline;
  5885. procedure setCS0IE(thebits : TBits_1); inline;
  5886. procedure setCS1IE(thebits : TBits_1); inline;
  5887. procedure setCTIE(thebits : TBits_1); inline;
  5888. procedure setFCEIE(thebits : TBits_1); inline;
  5889. procedure setFSCMIE(thebits : TBits_1); inline;
  5890. procedure setIC1EIE(thebits : TBits_1); inline;
  5891. procedure setIC1IE(thebits : TBits_1); inline;
  5892. procedure setIC2EIE(thebits : TBits_1); inline;
  5893. procedure setIC2IE(thebits : TBits_1); inline;
  5894. procedure setIC3EIE(thebits : TBits_1); inline;
  5895. procedure setIC3IE(thebits : TBits_1); inline;
  5896. procedure setIC4EIE(thebits : TBits_1); inline;
  5897. procedure setIC4IE(thebits : TBits_1); inline;
  5898. procedure setIC5EIE(thebits : TBits_1); inline;
  5899. procedure setIC5IE(thebits : TBits_1); inline;
  5900. procedure setINT0IE(thebits : TBits_1); inline;
  5901. procedure setINT1IE(thebits : TBits_1); inline;
  5902. procedure setINT2IE(thebits : TBits_1); inline;
  5903. procedure setINT3IE(thebits : TBits_1); inline;
  5904. procedure setINT4IE(thebits : TBits_1); inline;
  5905. procedure setOC1IE(thebits : TBits_1); inline;
  5906. procedure setOC2IE(thebits : TBits_1); inline;
  5907. procedure setOC3IE(thebits : TBits_1); inline;
  5908. procedure setOC4IE(thebits : TBits_1); inline;
  5909. procedure setOC5IE(thebits : TBits_1); inline;
  5910. procedure setRTCCIE(thebits : TBits_1); inline;
  5911. procedure setT1IE(thebits : TBits_1); inline;
  5912. procedure setT2IE(thebits : TBits_1); inline;
  5913. procedure setT3IE(thebits : TBits_1); inline;
  5914. procedure setT4IE(thebits : TBits_1); inline;
  5915. procedure setT5IE(thebits : TBits_1); inline;
  5916. procedure setw(thebits : TBits_32); inline;
  5917. public
  5918. procedure clearAD1IE; inline;
  5919. procedure clearCS0IE; inline;
  5920. procedure clearCS1IE; inline;
  5921. procedure clearCTIE; inline;
  5922. procedure clearFCEIE; inline;
  5923. procedure clearFSCMIE; inline;
  5924. procedure clearIC1EIE; inline;
  5925. procedure clearIC1IE; inline;
  5926. procedure clearIC2EIE; inline;
  5927. procedure clearIC2IE; inline;
  5928. procedure clearIC3EIE; inline;
  5929. procedure clearIC3IE; inline;
  5930. procedure clearIC4EIE; inline;
  5931. procedure clearIC4IE; inline;
  5932. procedure clearIC5EIE; inline;
  5933. procedure clearIC5IE; inline;
  5934. procedure clearINT0IE; inline;
  5935. procedure clearINT1IE; inline;
  5936. procedure clearINT2IE; inline;
  5937. procedure clearINT3IE; inline;
  5938. procedure clearINT4IE; inline;
  5939. procedure clearOC1IE; inline;
  5940. procedure clearOC2IE; inline;
  5941. procedure clearOC3IE; inline;
  5942. procedure clearOC4IE; inline;
  5943. procedure clearOC5IE; inline;
  5944. procedure clearRTCCIE; inline;
  5945. procedure clearT1IE; inline;
  5946. procedure clearT2IE; inline;
  5947. procedure clearT3IE; inline;
  5948. procedure clearT4IE; inline;
  5949. procedure clearT5IE; inline;
  5950. procedure setAD1IE; inline;
  5951. procedure setCS0IE; inline;
  5952. procedure setCS1IE; inline;
  5953. procedure setCTIE; inline;
  5954. procedure setFCEIE; inline;
  5955. procedure setFSCMIE; inline;
  5956. procedure setIC1EIE; inline;
  5957. procedure setIC1IE; inline;
  5958. procedure setIC2EIE; inline;
  5959. procedure setIC2IE; inline;
  5960. procedure setIC3EIE; inline;
  5961. procedure setIC3IE; inline;
  5962. procedure setIC4EIE; inline;
  5963. procedure setIC4IE; inline;
  5964. procedure setIC5EIE; inline;
  5965. procedure setIC5IE; inline;
  5966. procedure setINT0IE; inline;
  5967. procedure setINT1IE; inline;
  5968. procedure setINT2IE; inline;
  5969. procedure setINT3IE; inline;
  5970. procedure setINT4IE; inline;
  5971. procedure setOC1IE; inline;
  5972. procedure setOC2IE; inline;
  5973. procedure setOC3IE; inline;
  5974. procedure setOC4IE; inline;
  5975. procedure setOC5IE; inline;
  5976. procedure setRTCCIE; inline;
  5977. procedure setT1IE; inline;
  5978. procedure setT2IE; inline;
  5979. procedure setT3IE; inline;
  5980. procedure setT4IE; inline;
  5981. procedure setT5IE; inline;
  5982. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  5983. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  5984. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  5985. property CTIE : TBits_1 read getCTIE write setCTIE;
  5986. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  5987. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  5988. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  5989. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  5990. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  5991. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  5992. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  5993. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  5994. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  5995. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  5996. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  5997. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  5998. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  5999. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  6000. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  6001. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  6002. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  6003. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  6004. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  6005. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  6006. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  6007. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  6008. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  6009. property T1IE : TBits_1 read getT1IE write setT1IE;
  6010. property T2IE : TBits_1 read getT2IE write setT2IE;
  6011. property T3IE : TBits_1 read getT3IE write setT3IE;
  6012. property T4IE : TBits_1 read getT4IE write setT4IE;
  6013. property T5IE : TBits_1 read getT5IE write setT5IE;
  6014. property w : TBits_32 read getw write setw;
  6015. end;
  6016. TINT_IEC1 = record
  6017. private
  6018. function getCMP1IE : TBits_1; inline;
  6019. function getCMP2IE : TBits_1; inline;
  6020. function getCMP3IE : TBits_1; inline;
  6021. function getCNAIE : TBits_1; inline;
  6022. function getCNBIE : TBits_1; inline;
  6023. function getCNCIE : TBits_1; inline;
  6024. function getCTMUIE : TBits_1; inline;
  6025. function getDMA0IE : TBits_1; inline;
  6026. function getDMA1IE : TBits_1; inline;
  6027. function getDMA2IE : TBits_1; inline;
  6028. function getDMA3IE : TBits_1; inline;
  6029. function getI2C1BIE : TBits_1; inline;
  6030. function getI2C1MIE : TBits_1; inline;
  6031. function getI2C1SIE : TBits_1; inline;
  6032. function getI2C2BIE : TBits_1; inline;
  6033. function getI2C2MIE : TBits_1; inline;
  6034. function getI2C2SIE : TBits_1; inline;
  6035. function getPMPEIE : TBits_1; inline;
  6036. function getPMPIE : TBits_1; inline;
  6037. function getSPI1EIE : TBits_1; inline;
  6038. function getSPI1RXIE : TBits_1; inline;
  6039. function getSPI1TXIE : TBits_1; inline;
  6040. function getSPI2EIE : TBits_1; inline;
  6041. function getSPI2RXIE : TBits_1; inline;
  6042. function getSPI2TXIE : TBits_1; inline;
  6043. function getU1EIE : TBits_1; inline;
  6044. function getU1RXIE : TBits_1; inline;
  6045. function getU1TXIE : TBits_1; inline;
  6046. function getU2EIE : TBits_1; inline;
  6047. function getU2RXIE : TBits_1; inline;
  6048. function getU2TXIE : TBits_1; inline;
  6049. function getUSBIE : TBits_1; inline;
  6050. function getw : TBits_32; inline;
  6051. procedure setCMP1IE(thebits : TBits_1); inline;
  6052. procedure setCMP2IE(thebits : TBits_1); inline;
  6053. procedure setCMP3IE(thebits : TBits_1); inline;
  6054. procedure setCNAIE(thebits : TBits_1); inline;
  6055. procedure setCNBIE(thebits : TBits_1); inline;
  6056. procedure setCNCIE(thebits : TBits_1); inline;
  6057. procedure setCTMUIE(thebits : TBits_1); inline;
  6058. procedure setDMA0IE(thebits : TBits_1); inline;
  6059. procedure setDMA1IE(thebits : TBits_1); inline;
  6060. procedure setDMA2IE(thebits : TBits_1); inline;
  6061. procedure setDMA3IE(thebits : TBits_1); inline;
  6062. procedure setI2C1BIE(thebits : TBits_1); inline;
  6063. procedure setI2C1MIE(thebits : TBits_1); inline;
  6064. procedure setI2C1SIE(thebits : TBits_1); inline;
  6065. procedure setI2C2BIE(thebits : TBits_1); inline;
  6066. procedure setI2C2MIE(thebits : TBits_1); inline;
  6067. procedure setI2C2SIE(thebits : TBits_1); inline;
  6068. procedure setPMPEIE(thebits : TBits_1); inline;
  6069. procedure setPMPIE(thebits : TBits_1); inline;
  6070. procedure setSPI1EIE(thebits : TBits_1); inline;
  6071. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6072. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6073. procedure setSPI2EIE(thebits : TBits_1); inline;
  6074. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6075. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6076. procedure setU1EIE(thebits : TBits_1); inline;
  6077. procedure setU1RXIE(thebits : TBits_1); inline;
  6078. procedure setU1TXIE(thebits : TBits_1); inline;
  6079. procedure setU2EIE(thebits : TBits_1); inline;
  6080. procedure setU2RXIE(thebits : TBits_1); inline;
  6081. procedure setU2TXIE(thebits : TBits_1); inline;
  6082. procedure setUSBIE(thebits : TBits_1); inline;
  6083. procedure setw(thebits : TBits_32); inline;
  6084. public
  6085. procedure clearCMP1IE; inline;
  6086. procedure clearCMP2IE; inline;
  6087. procedure clearCMP3IE; inline;
  6088. procedure clearCNAIE; inline;
  6089. procedure clearCNBIE; inline;
  6090. procedure clearCNCIE; inline;
  6091. procedure clearCTMUIE; inline;
  6092. procedure clearDMA0IE; inline;
  6093. procedure clearDMA1IE; inline;
  6094. procedure clearDMA2IE; inline;
  6095. procedure clearDMA3IE; inline;
  6096. procedure clearI2C1BIE; inline;
  6097. procedure clearI2C1MIE; inline;
  6098. procedure clearI2C1SIE; inline;
  6099. procedure clearI2C2BIE; inline;
  6100. procedure clearI2C2MIE; inline;
  6101. procedure clearI2C2SIE; inline;
  6102. procedure clearPMPEIE; inline;
  6103. procedure clearPMPIE; inline;
  6104. procedure clearSPI1EIE; inline;
  6105. procedure clearSPI1RXIE; inline;
  6106. procedure clearSPI1TXIE; inline;
  6107. procedure clearSPI2EIE; inline;
  6108. procedure clearSPI2RXIE; inline;
  6109. procedure clearSPI2TXIE; inline;
  6110. procedure clearU1EIE; inline;
  6111. procedure clearU1RXIE; inline;
  6112. procedure clearU1TXIE; inline;
  6113. procedure clearU2EIE; inline;
  6114. procedure clearU2RXIE; inline;
  6115. procedure clearU2TXIE; inline;
  6116. procedure clearUSBIE; inline;
  6117. procedure setCMP1IE; inline;
  6118. procedure setCMP2IE; inline;
  6119. procedure setCMP3IE; inline;
  6120. procedure setCNAIE; inline;
  6121. procedure setCNBIE; inline;
  6122. procedure setCNCIE; inline;
  6123. procedure setCTMUIE; inline;
  6124. procedure setDMA0IE; inline;
  6125. procedure setDMA1IE; inline;
  6126. procedure setDMA2IE; inline;
  6127. procedure setDMA3IE; inline;
  6128. procedure setI2C1BIE; inline;
  6129. procedure setI2C1MIE; inline;
  6130. procedure setI2C1SIE; inline;
  6131. procedure setI2C2BIE; inline;
  6132. procedure setI2C2MIE; inline;
  6133. procedure setI2C2SIE; inline;
  6134. procedure setPMPEIE; inline;
  6135. procedure setPMPIE; inline;
  6136. procedure setSPI1EIE; inline;
  6137. procedure setSPI1RXIE; inline;
  6138. procedure setSPI1TXIE; inline;
  6139. procedure setSPI2EIE; inline;
  6140. procedure setSPI2RXIE; inline;
  6141. procedure setSPI2TXIE; inline;
  6142. procedure setU1EIE; inline;
  6143. procedure setU1RXIE; inline;
  6144. procedure setU1TXIE; inline;
  6145. procedure setU2EIE; inline;
  6146. procedure setU2RXIE; inline;
  6147. procedure setU2TXIE; inline;
  6148. procedure setUSBIE; inline;
  6149. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  6150. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  6151. property CMP3IE : TBits_1 read getCMP3IE write setCMP3IE;
  6152. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  6153. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  6154. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  6155. property CTMUIE : TBits_1 read getCTMUIE write setCTMUIE;
  6156. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  6157. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  6158. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  6159. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  6160. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  6161. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  6162. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  6163. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  6164. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  6165. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  6166. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  6167. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  6168. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  6169. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  6170. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  6171. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  6172. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  6173. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  6174. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  6175. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  6176. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  6177. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  6178. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  6179. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  6180. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  6181. property w : TBits_32 read getw write setw;
  6182. end;
  6183. TINT_IPC0 = record
  6184. private
  6185. function getCS0IP : TBits_3; inline;
  6186. function getCS0IS : TBits_2; inline;
  6187. function getCS1IP : TBits_3; inline;
  6188. function getCS1IS : TBits_2; inline;
  6189. function getCTIP : TBits_3; inline;
  6190. function getCTIS : TBits_2; inline;
  6191. function getINT0IP : TBits_3; inline;
  6192. function getINT0IS : TBits_2; inline;
  6193. function getw : TBits_32; inline;
  6194. procedure setCS0IP(thebits : TBits_3); inline;
  6195. procedure setCS0IS(thebits : TBits_2); inline;
  6196. procedure setCS1IP(thebits : TBits_3); inline;
  6197. procedure setCS1IS(thebits : TBits_2); inline;
  6198. procedure setCTIP(thebits : TBits_3); inline;
  6199. procedure setCTIS(thebits : TBits_2); inline;
  6200. procedure setINT0IP(thebits : TBits_3); inline;
  6201. procedure setINT0IS(thebits : TBits_2); inline;
  6202. procedure setw(thebits : TBits_32); inline;
  6203. public
  6204. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  6205. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  6206. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  6207. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  6208. property CTIP : TBits_3 read getCTIP write setCTIP;
  6209. property CTIS : TBits_2 read getCTIS write setCTIS;
  6210. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  6211. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  6212. property w : TBits_32 read getw write setw;
  6213. end;
  6214. TINT_IPC1 = record
  6215. private
  6216. function getIC1IP : TBits_3; inline;
  6217. function getIC1IS : TBits_2; inline;
  6218. function getINT1IP : TBits_3; inline;
  6219. function getINT1IS : TBits_2; inline;
  6220. function getOC1IP : TBits_3; inline;
  6221. function getOC1IS : TBits_2; inline;
  6222. function getT1IP : TBits_3; inline;
  6223. function getT1IS : TBits_2; inline;
  6224. function getw : TBits_32; inline;
  6225. procedure setIC1IP(thebits : TBits_3); inline;
  6226. procedure setIC1IS(thebits : TBits_2); inline;
  6227. procedure setINT1IP(thebits : TBits_3); inline;
  6228. procedure setINT1IS(thebits : TBits_2); inline;
  6229. procedure setOC1IP(thebits : TBits_3); inline;
  6230. procedure setOC1IS(thebits : TBits_2); inline;
  6231. procedure setT1IP(thebits : TBits_3); inline;
  6232. procedure setT1IS(thebits : TBits_2); inline;
  6233. procedure setw(thebits : TBits_32); inline;
  6234. public
  6235. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  6236. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  6237. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  6238. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  6239. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  6240. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  6241. property T1IP : TBits_3 read getT1IP write setT1IP;
  6242. property T1IS : TBits_2 read getT1IS write setT1IS;
  6243. property w : TBits_32 read getw write setw;
  6244. end;
  6245. TINT_IPC2 = record
  6246. private
  6247. function getIC2IP : TBits_3; inline;
  6248. function getIC2IS : TBits_2; inline;
  6249. function getINT2IP : TBits_3; inline;
  6250. function getINT2IS : TBits_2; inline;
  6251. function getOC2IP : TBits_3; inline;
  6252. function getOC2IS : TBits_2; inline;
  6253. function getT2IP : TBits_3; inline;
  6254. function getT2IS : TBits_2; inline;
  6255. function getw : TBits_32; inline;
  6256. procedure setIC2IP(thebits : TBits_3); inline;
  6257. procedure setIC2IS(thebits : TBits_2); inline;
  6258. procedure setINT2IP(thebits : TBits_3); inline;
  6259. procedure setINT2IS(thebits : TBits_2); inline;
  6260. procedure setOC2IP(thebits : TBits_3); inline;
  6261. procedure setOC2IS(thebits : TBits_2); inline;
  6262. procedure setT2IP(thebits : TBits_3); inline;
  6263. procedure setT2IS(thebits : TBits_2); inline;
  6264. procedure setw(thebits : TBits_32); inline;
  6265. public
  6266. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  6267. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  6268. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  6269. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  6270. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  6271. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  6272. property T2IP : TBits_3 read getT2IP write setT2IP;
  6273. property T2IS : TBits_2 read getT2IS write setT2IS;
  6274. property w : TBits_32 read getw write setw;
  6275. end;
  6276. TINT_IPC3 = record
  6277. private
  6278. function getIC3IP : TBits_3; inline;
  6279. function getIC3IS : TBits_2; inline;
  6280. function getINT3IP : TBits_3; inline;
  6281. function getINT3IS : TBits_2; inline;
  6282. function getOC3IP : TBits_3; inline;
  6283. function getOC3IS : TBits_2; inline;
  6284. function getT3IP : TBits_3; inline;
  6285. function getT3IS : TBits_2; inline;
  6286. function getw : TBits_32; inline;
  6287. procedure setIC3IP(thebits : TBits_3); inline;
  6288. procedure setIC3IS(thebits : TBits_2); inline;
  6289. procedure setINT3IP(thebits : TBits_3); inline;
  6290. procedure setINT3IS(thebits : TBits_2); inline;
  6291. procedure setOC3IP(thebits : TBits_3); inline;
  6292. procedure setOC3IS(thebits : TBits_2); inline;
  6293. procedure setT3IP(thebits : TBits_3); inline;
  6294. procedure setT3IS(thebits : TBits_2); inline;
  6295. procedure setw(thebits : TBits_32); inline;
  6296. public
  6297. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  6298. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  6299. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  6300. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  6301. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  6302. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  6303. property T3IP : TBits_3 read getT3IP write setT3IP;
  6304. property T3IS : TBits_2 read getT3IS write setT3IS;
  6305. property w : TBits_32 read getw write setw;
  6306. end;
  6307. TINT_IPC4 = record
  6308. private
  6309. function getIC4IP : TBits_3; inline;
  6310. function getIC4IS : TBits_2; inline;
  6311. function getINT4IP : TBits_3; inline;
  6312. function getINT4IS : TBits_2; inline;
  6313. function getOC4IP : TBits_3; inline;
  6314. function getOC4IS : TBits_2; inline;
  6315. function getT4IP : TBits_3; inline;
  6316. function getT4IS : TBits_2; inline;
  6317. function getw : TBits_32; inline;
  6318. procedure setIC4IP(thebits : TBits_3); inline;
  6319. procedure setIC4IS(thebits : TBits_2); inline;
  6320. procedure setINT4IP(thebits : TBits_3); inline;
  6321. procedure setINT4IS(thebits : TBits_2); inline;
  6322. procedure setOC4IP(thebits : TBits_3); inline;
  6323. procedure setOC4IS(thebits : TBits_2); inline;
  6324. procedure setT4IP(thebits : TBits_3); inline;
  6325. procedure setT4IS(thebits : TBits_2); inline;
  6326. procedure setw(thebits : TBits_32); inline;
  6327. public
  6328. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  6329. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  6330. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  6331. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  6332. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  6333. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  6334. property T4IP : TBits_3 read getT4IP write setT4IP;
  6335. property T4IS : TBits_2 read getT4IS write setT4IS;
  6336. property w : TBits_32 read getw write setw;
  6337. end;
  6338. TINT_IPC5 = record
  6339. private
  6340. function getAD1IP : TBits_3; inline;
  6341. function getAD1IS : TBits_2; inline;
  6342. function getIC5IP : TBits_3; inline;
  6343. function getIC5IS : TBits_2; inline;
  6344. function getOC5IP : TBits_3; inline;
  6345. function getOC5IS : TBits_2; inline;
  6346. function getT5IP : TBits_3; inline;
  6347. function getT5IS : TBits_2; inline;
  6348. function getw : TBits_32; inline;
  6349. procedure setAD1IP(thebits : TBits_3); inline;
  6350. procedure setAD1IS(thebits : TBits_2); inline;
  6351. procedure setIC5IP(thebits : TBits_3); inline;
  6352. procedure setIC5IS(thebits : TBits_2); inline;
  6353. procedure setOC5IP(thebits : TBits_3); inline;
  6354. procedure setOC5IS(thebits : TBits_2); inline;
  6355. procedure setT5IP(thebits : TBits_3); inline;
  6356. procedure setT5IS(thebits : TBits_2); inline;
  6357. procedure setw(thebits : TBits_32); inline;
  6358. public
  6359. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  6360. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  6361. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  6362. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  6363. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  6364. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  6365. property T5IP : TBits_3 read getT5IP write setT5IP;
  6366. property T5IS : TBits_2 read getT5IS write setT5IS;
  6367. property w : TBits_32 read getw write setw;
  6368. end;
  6369. TINT_IPC6 = record
  6370. private
  6371. function getCMP1IP : TBits_3; inline;
  6372. function getCMP1IS : TBits_2; inline;
  6373. function getFCEIP : TBits_3; inline;
  6374. function getFCEIS : TBits_2; inline;
  6375. function getFSCMIP : TBits_3; inline;
  6376. function getFSCMIS : TBits_2; inline;
  6377. function getRTCCIP : TBits_3; inline;
  6378. function getRTCCIS : TBits_2; inline;
  6379. function getw : TBits_32; inline;
  6380. procedure setCMP1IP(thebits : TBits_3); inline;
  6381. procedure setCMP1IS(thebits : TBits_2); inline;
  6382. procedure setFCEIP(thebits : TBits_3); inline;
  6383. procedure setFCEIS(thebits : TBits_2); inline;
  6384. procedure setFSCMIP(thebits : TBits_3); inline;
  6385. procedure setFSCMIS(thebits : TBits_2); inline;
  6386. procedure setRTCCIP(thebits : TBits_3); inline;
  6387. procedure setRTCCIS(thebits : TBits_2); inline;
  6388. procedure setw(thebits : TBits_32); inline;
  6389. public
  6390. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  6391. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  6392. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  6393. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  6394. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  6395. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  6396. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  6397. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  6398. property w : TBits_32 read getw write setw;
  6399. end;
  6400. TINT_IPC7 = record
  6401. private
  6402. function getCMP2IP : TBits_3; inline;
  6403. function getCMP2IS : TBits_2; inline;
  6404. function getCMP3IP : TBits_3; inline;
  6405. function getCMP3IS : TBits_2; inline;
  6406. function getSPI1IP : TBits_3; inline;
  6407. function getSPI1IS : TBits_2; inline;
  6408. function getUSBIP : TBits_3; inline;
  6409. function getUSBIS : TBits_2; inline;
  6410. function getw : TBits_32; inline;
  6411. procedure setCMP2IP(thebits : TBits_3); inline;
  6412. procedure setCMP2IS(thebits : TBits_2); inline;
  6413. procedure setCMP3IP(thebits : TBits_3); inline;
  6414. procedure setCMP3IS(thebits : TBits_2); inline;
  6415. procedure setSPI1IP(thebits : TBits_3); inline;
  6416. procedure setSPI1IS(thebits : TBits_2); inline;
  6417. procedure setUSBIP(thebits : TBits_3); inline;
  6418. procedure setUSBIS(thebits : TBits_2); inline;
  6419. procedure setw(thebits : TBits_32); inline;
  6420. public
  6421. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  6422. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  6423. property CMP3IP : TBits_3 read getCMP3IP write setCMP3IP;
  6424. property CMP3IS : TBits_2 read getCMP3IS write setCMP3IS;
  6425. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  6426. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  6427. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  6428. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  6429. property w : TBits_32 read getw write setw;
  6430. end;
  6431. TINT_IPC8 = record
  6432. private
  6433. function getCNIP : TBits_3; inline;
  6434. function getCNIS : TBits_2; inline;
  6435. function getI2C1IP : TBits_3; inline;
  6436. function getI2C1IS : TBits_2; inline;
  6437. function getPMPIP : TBits_3; inline;
  6438. function getPMPIS : TBits_2; inline;
  6439. function getU1IP : TBits_3; inline;
  6440. function getU1IS : TBits_2; inline;
  6441. function getw : TBits_32; inline;
  6442. procedure setCNIP(thebits : TBits_3); inline;
  6443. procedure setCNIS(thebits : TBits_2); inline;
  6444. procedure setI2C1IP(thebits : TBits_3); inline;
  6445. procedure setI2C1IS(thebits : TBits_2); inline;
  6446. procedure setPMPIP(thebits : TBits_3); inline;
  6447. procedure setPMPIS(thebits : TBits_2); inline;
  6448. procedure setU1IP(thebits : TBits_3); inline;
  6449. procedure setU1IS(thebits : TBits_2); inline;
  6450. procedure setw(thebits : TBits_32); inline;
  6451. public
  6452. property CNIP : TBits_3 read getCNIP write setCNIP;
  6453. property CNIS : TBits_2 read getCNIS write setCNIS;
  6454. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  6455. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  6456. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  6457. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  6458. property U1IP : TBits_3 read getU1IP write setU1IP;
  6459. property U1IS : TBits_2 read getU1IS write setU1IS;
  6460. property w : TBits_32 read getw write setw;
  6461. end;
  6462. TINT_IPC9 = record
  6463. private
  6464. function getCTMUIP : TBits_3; inline;
  6465. function getCTMUIS : TBits_2; inline;
  6466. function getI2C2IP : TBits_3; inline;
  6467. function getI2C2IS : TBits_2; inline;
  6468. function getSPI2IP : TBits_3; inline;
  6469. function getSPI2IS : TBits_2; inline;
  6470. function getU2IP : TBits_3; inline;
  6471. function getU2IS : TBits_2; inline;
  6472. function getw : TBits_32; inline;
  6473. procedure setCTMUIP(thebits : TBits_3); inline;
  6474. procedure setCTMUIS(thebits : TBits_2); inline;
  6475. procedure setI2C2IP(thebits : TBits_3); inline;
  6476. procedure setI2C2IS(thebits : TBits_2); inline;
  6477. procedure setSPI2IP(thebits : TBits_3); inline;
  6478. procedure setSPI2IS(thebits : TBits_2); inline;
  6479. procedure setU2IP(thebits : TBits_3); inline;
  6480. procedure setU2IS(thebits : TBits_2); inline;
  6481. procedure setw(thebits : TBits_32); inline;
  6482. public
  6483. property CTMUIP : TBits_3 read getCTMUIP write setCTMUIP;
  6484. property CTMUIS : TBits_2 read getCTMUIS write setCTMUIS;
  6485. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  6486. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  6487. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  6488. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  6489. property U2IP : TBits_3 read getU2IP write setU2IP;
  6490. property U2IS : TBits_2 read getU2IS write setU2IS;
  6491. property w : TBits_32 read getw write setw;
  6492. end;
  6493. TINT_IPC10 = record
  6494. private
  6495. function getDMA0IP : TBits_3; inline;
  6496. function getDMA0IS : TBits_2; inline;
  6497. function getDMA1IP : TBits_3; inline;
  6498. function getDMA1IS : TBits_2; inline;
  6499. function getDMA2IP : TBits_3; inline;
  6500. function getDMA2IS : TBits_2; inline;
  6501. function getDMA3IP : TBits_3; inline;
  6502. function getDMA3IS : TBits_2; inline;
  6503. function getw : TBits_32; inline;
  6504. procedure setDMA0IP(thebits : TBits_3); inline;
  6505. procedure setDMA0IS(thebits : TBits_2); inline;
  6506. procedure setDMA1IP(thebits : TBits_3); inline;
  6507. procedure setDMA1IS(thebits : TBits_2); inline;
  6508. procedure setDMA2IP(thebits : TBits_3); inline;
  6509. procedure setDMA2IS(thebits : TBits_2); inline;
  6510. procedure setDMA3IP(thebits : TBits_3); inline;
  6511. procedure setDMA3IS(thebits : TBits_2); inline;
  6512. procedure setw(thebits : TBits_32); inline;
  6513. public
  6514. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  6515. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  6516. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  6517. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  6518. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  6519. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  6520. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  6521. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  6522. property w : TBits_32 read getw write setw;
  6523. end;
  6524. type
  6525. TINTRegisters = record
  6526. INTCONbits : TINT_INTCON;
  6527. INTCON : longWord;
  6528. INTCONCLR : longWord;
  6529. INTCONSET : longWord;
  6530. INTCONINV : longWord;
  6531. INTSTAT : longWord;
  6532. IPTMR : longWord;
  6533. IPTMRCLR : longWord;
  6534. IPTMRSET : longWord;
  6535. IPTMRINV : longWord;
  6536. IFS0bits : TINT_IFS0;
  6537. IFS0 : longWord;
  6538. IFS0CLR : longWord;
  6539. IFS0SET : longWord;
  6540. IFS0INV : longWord;
  6541. IFS1bits : TINT_IFS1;
  6542. IFS1 : longWord;
  6543. IFS1CLR : longWord;
  6544. IFS1SET : longWord;
  6545. IFS1INV : longWord;
  6546. IEC0bits : TINT_IEC0;
  6547. IEC0 : longWord;
  6548. IEC0CLR : longWord;
  6549. IEC0SET : longWord;
  6550. IEC0INV : longWord;
  6551. IEC1bits : TINT_IEC1;
  6552. IEC1 : longWord;
  6553. IEC1CLR : longWord;
  6554. IEC1SET : longWord;
  6555. IEC1INV : longWord;
  6556. IPC0bits : TINT_IPC0;
  6557. IPC0 : longWord;
  6558. IPC0CLR : longWord;
  6559. IPC0SET : longWord;
  6560. IPC0INV : longWord;
  6561. IPC1bits : TINT_IPC1;
  6562. IPC1 : longWord;
  6563. IPC1CLR : longWord;
  6564. IPC1SET : longWord;
  6565. IPC1INV : longWord;
  6566. IPC2bits : TINT_IPC2;
  6567. IPC2 : longWord;
  6568. IPC2CLR : longWord;
  6569. IPC2SET : longWord;
  6570. IPC2INV : longWord;
  6571. IPC3bits : TINT_IPC3;
  6572. IPC3 : longWord;
  6573. IPC3CLR : longWord;
  6574. IPC3SET : longWord;
  6575. IPC3INV : longWord;
  6576. IPC4bits : TINT_IPC4;
  6577. IPC4 : longWord;
  6578. IPC4CLR : longWord;
  6579. IPC4SET : longWord;
  6580. IPC4INV : longWord;
  6581. IPC5bits : TINT_IPC5;
  6582. IPC5 : longWord;
  6583. IPC5CLR : longWord;
  6584. IPC5SET : longWord;
  6585. IPC5INV : longWord;
  6586. IPC6bits : TINT_IPC6;
  6587. IPC6 : longWord;
  6588. IPC6CLR : longWord;
  6589. IPC6SET : longWord;
  6590. IPC6INV : longWord;
  6591. IPC7bits : TINT_IPC7;
  6592. IPC7 : longWord;
  6593. IPC7CLR : longWord;
  6594. IPC7SET : longWord;
  6595. IPC7INV : longWord;
  6596. IPC8bits : TINT_IPC8;
  6597. IPC8 : longWord;
  6598. IPC8CLR : longWord;
  6599. IPC8SET : longWord;
  6600. IPC8INV : longWord;
  6601. IPC9bits : TINT_IPC9;
  6602. IPC9 : longWord;
  6603. IPC9CLR : longWord;
  6604. IPC9SET : longWord;
  6605. IPC9INV : longWord;
  6606. IPC10bits : TINT_IPC10;
  6607. IPC10 : longWord;
  6608. IPC10CLR : longWord;
  6609. IPC10SET : longWord;
  6610. IPC10INV : longWord;
  6611. end;
  6612. TBMX_BMXCON = record
  6613. private
  6614. function getBMXARB : TBits_3; inline;
  6615. function getBMXCHEDMA : TBits_1; inline;
  6616. function getBMXERRDMA : TBits_1; inline;
  6617. function getBMXERRDS : TBits_1; inline;
  6618. function getBMXERRICD : TBits_1; inline;
  6619. function getBMXERRIS : TBits_1; inline;
  6620. function getBMXERRIXI : TBits_1; inline;
  6621. function getBMXWSDRM : TBits_1; inline;
  6622. function getw : TBits_32; inline;
  6623. procedure setBMXARB(thebits : TBits_3); inline;
  6624. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  6625. procedure setBMXERRDMA(thebits : TBits_1); inline;
  6626. procedure setBMXERRDS(thebits : TBits_1); inline;
  6627. procedure setBMXERRICD(thebits : TBits_1); inline;
  6628. procedure setBMXERRIS(thebits : TBits_1); inline;
  6629. procedure setBMXERRIXI(thebits : TBits_1); inline;
  6630. procedure setBMXWSDRM(thebits : TBits_1); inline;
  6631. procedure setw(thebits : TBits_32); inline;
  6632. public
  6633. procedure clearBMXCHEDMA; inline;
  6634. procedure clearBMXERRDMA; inline;
  6635. procedure clearBMXERRDS; inline;
  6636. procedure clearBMXERRICD; inline;
  6637. procedure clearBMXERRIS; inline;
  6638. procedure clearBMXERRIXI; inline;
  6639. procedure clearBMXWSDRM; inline;
  6640. procedure setBMXCHEDMA; inline;
  6641. procedure setBMXERRDMA; inline;
  6642. procedure setBMXERRDS; inline;
  6643. procedure setBMXERRICD; inline;
  6644. procedure setBMXERRIS; inline;
  6645. procedure setBMXERRIXI; inline;
  6646. procedure setBMXWSDRM; inline;
  6647. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  6648. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  6649. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  6650. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  6651. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  6652. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  6653. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  6654. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  6655. property w : TBits_32 read getw write setw;
  6656. end;
  6657. type
  6658. TBMXRegisters = record
  6659. BMXCONbits : TBMX_BMXCON;
  6660. BMXCON : longWord;
  6661. BMXCONCLR : longWord;
  6662. BMXCONSET : longWord;
  6663. BMXCONINV : longWord;
  6664. BMXDKPBA : longWord;
  6665. BMXDKPBACLR : longWord;
  6666. BMXDKPBASET : longWord;
  6667. BMXDKPBAINV : longWord;
  6668. BMXDUDBA : longWord;
  6669. BMXDUDBACLR : longWord;
  6670. BMXDUDBASET : longWord;
  6671. BMXDUDBAINV : longWord;
  6672. BMXDUPBA : longWord;
  6673. BMXDUPBACLR : longWord;
  6674. BMXDUPBASET : longWord;
  6675. BMXDUPBAINV : longWord;
  6676. BMXDRMSZ : longWord;
  6677. BMXPUPBA : longWord;
  6678. BMXPUPBACLR : longWord;
  6679. BMXPUPBASET : longWord;
  6680. BMXPUPBAINV : longWord;
  6681. BMXPFMSZ : longWord;
  6682. BMXBOOTSZ : longWord;
  6683. end;
  6684. TDMAC_DMACON = record
  6685. private
  6686. function getDMABUSY : TBits_1; inline;
  6687. function getON : TBits_1; inline;
  6688. function getSUSPEND : TBits_1; inline;
  6689. function getw : TBits_32; inline;
  6690. procedure setDMABUSY(thebits : TBits_1); inline;
  6691. procedure setON(thebits : TBits_1); inline;
  6692. procedure setSUSPEND(thebits : TBits_1); inline;
  6693. procedure setw(thebits : TBits_32); inline;
  6694. public
  6695. procedure clearDMABUSY; inline;
  6696. procedure clearON; inline;
  6697. procedure clearSUSPEND; inline;
  6698. procedure setDMABUSY; inline;
  6699. procedure setON; inline;
  6700. procedure setSUSPEND; inline;
  6701. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  6702. property ON : TBits_1 read getON write setON;
  6703. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  6704. property w : TBits_32 read getw write setw;
  6705. end;
  6706. TDMAC_DMASTAT = record
  6707. private
  6708. function getDMACH : TBits_3; inline;
  6709. function getRDWR : TBits_1; inline;
  6710. function getw : TBits_32; inline;
  6711. procedure setDMACH(thebits : TBits_3); inline;
  6712. procedure setRDWR(thebits : TBits_1); inline;
  6713. procedure setw(thebits : TBits_32); inline;
  6714. public
  6715. procedure clearRDWR; inline;
  6716. procedure setRDWR; inline;
  6717. property DMACH : TBits_3 read getDMACH write setDMACH;
  6718. property RDWR : TBits_1 read getRDWR write setRDWR;
  6719. property w : TBits_32 read getw write setw;
  6720. end;
  6721. TDMAC_DCRCCON = record
  6722. private
  6723. function getBITO : TBits_1; inline;
  6724. function getBYTO : TBits_2; inline;
  6725. function getCRCAPP : TBits_1; inline;
  6726. function getCRCCH : TBits_3; inline;
  6727. function getCRCEN : TBits_1; inline;
  6728. function getCRCTYP : TBits_1; inline;
  6729. function getPLEN : TBits_5; inline;
  6730. function getWBO : TBits_1; inline;
  6731. function getw : TBits_32; inline;
  6732. procedure setBITO(thebits : TBits_1); inline;
  6733. procedure setBYTO(thebits : TBits_2); inline;
  6734. procedure setCRCAPP(thebits : TBits_1); inline;
  6735. procedure setCRCCH(thebits : TBits_3); inline;
  6736. procedure setCRCEN(thebits : TBits_1); inline;
  6737. procedure setCRCTYP(thebits : TBits_1); inline;
  6738. procedure setPLEN(thebits : TBits_5); inline;
  6739. procedure setWBO(thebits : TBits_1); inline;
  6740. procedure setw(thebits : TBits_32); inline;
  6741. public
  6742. procedure clearBITO; inline;
  6743. procedure clearCRCAPP; inline;
  6744. procedure clearCRCEN; inline;
  6745. procedure clearCRCTYP; inline;
  6746. procedure clearWBO; inline;
  6747. procedure setBITO; inline;
  6748. procedure setCRCAPP; inline;
  6749. procedure setCRCEN; inline;
  6750. procedure setCRCTYP; inline;
  6751. procedure setWBO; inline;
  6752. property BITO : TBits_1 read getBITO write setBITO;
  6753. property BYTO : TBits_2 read getBYTO write setBYTO;
  6754. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  6755. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  6756. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  6757. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  6758. property PLEN : TBits_5 read getPLEN write setPLEN;
  6759. property WBO : TBits_1 read getWBO write setWBO;
  6760. property w : TBits_32 read getw write setw;
  6761. end;
  6762. type
  6763. TDMACRegisters = record
  6764. DMACONbits : TDMAC_DMACON;
  6765. DMACON : longWord;
  6766. DMACONCLR : longWord;
  6767. DMACONSET : longWord;
  6768. DMACONINV : longWord;
  6769. DMASTATbits : TDMAC_DMASTAT;
  6770. DMASTAT : longWord;
  6771. DMASTATCLR : longWord;
  6772. DMASTATSET : longWord;
  6773. DMASTATINV : longWord;
  6774. DMAADDR : longWord;
  6775. DMAADDRCLR : longWord;
  6776. DMAADDRSET : longWord;
  6777. DMAADDRINV : longWord;
  6778. DCRCCONbits : TDMAC_DCRCCON;
  6779. DCRCCON : longWord;
  6780. DCRCCONCLR : longWord;
  6781. DCRCCONSET : longWord;
  6782. DCRCCONINV : longWord;
  6783. DCRCDATA : longWord;
  6784. DCRCDATACLR : longWord;
  6785. DCRCDATASET : longWord;
  6786. DCRCDATAINV : longWord;
  6787. DCRCXOR : longWord;
  6788. DCRCXORCLR : longWord;
  6789. DCRCXORSET : longWord;
  6790. DCRCXORINV : longWord;
  6791. end;
  6792. TDMAC0_DCH0CON = record
  6793. private
  6794. function getCHAED : TBits_1; inline;
  6795. function getCHAEN : TBits_1; inline;
  6796. function getCHBUSY : TBits_1; inline;
  6797. function getCHCHN : TBits_1; inline;
  6798. function getCHCHNS : TBits_1; inline;
  6799. function getCHEDET : TBits_1; inline;
  6800. function getCHEN : TBits_1; inline;
  6801. function getCHPRI : TBits_2; inline;
  6802. function getw : TBits_32; inline;
  6803. procedure setCHAED(thebits : TBits_1); inline;
  6804. procedure setCHAEN(thebits : TBits_1); inline;
  6805. procedure setCHBUSY(thebits : TBits_1); inline;
  6806. procedure setCHCHN(thebits : TBits_1); inline;
  6807. procedure setCHCHNS(thebits : TBits_1); inline;
  6808. procedure setCHEDET(thebits : TBits_1); inline;
  6809. procedure setCHEN(thebits : TBits_1); inline;
  6810. procedure setCHPRI(thebits : TBits_2); inline;
  6811. procedure setw(thebits : TBits_32); inline;
  6812. public
  6813. procedure clearCHAED; inline;
  6814. procedure clearCHAEN; inline;
  6815. procedure clearCHBUSY; inline;
  6816. procedure clearCHCHN; inline;
  6817. procedure clearCHCHNS; inline;
  6818. procedure clearCHEDET; inline;
  6819. procedure clearCHEN; inline;
  6820. procedure setCHAED; inline;
  6821. procedure setCHAEN; inline;
  6822. procedure setCHBUSY; inline;
  6823. procedure setCHCHN; inline;
  6824. procedure setCHCHNS; inline;
  6825. procedure setCHEDET; inline;
  6826. procedure setCHEN; inline;
  6827. property CHAED : TBits_1 read getCHAED write setCHAED;
  6828. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6829. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6830. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6831. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6832. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6833. property CHEN : TBits_1 read getCHEN write setCHEN;
  6834. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  6835. property w : TBits_32 read getw write setw;
  6836. end;
  6837. TDMAC0_DCH0ECON = record
  6838. private
  6839. function getAIRQEN : TBits_1; inline;
  6840. function getCABORT : TBits_1; inline;
  6841. function getCFORCE : TBits_1; inline;
  6842. function getCHAIRQ : TBits_8; inline;
  6843. function getCHSIRQ : TBits_8; inline;
  6844. function getPATEN : TBits_1; inline;
  6845. function getSIRQEN : TBits_1; inline;
  6846. function getw : TBits_32; inline;
  6847. procedure setAIRQEN(thebits : TBits_1); inline;
  6848. procedure setCABORT(thebits : TBits_1); inline;
  6849. procedure setCFORCE(thebits : TBits_1); inline;
  6850. procedure setCHAIRQ(thebits : TBits_8); inline;
  6851. procedure setCHSIRQ(thebits : TBits_8); inline;
  6852. procedure setPATEN(thebits : TBits_1); inline;
  6853. procedure setSIRQEN(thebits : TBits_1); inline;
  6854. procedure setw(thebits : TBits_32); inline;
  6855. public
  6856. procedure clearAIRQEN; inline;
  6857. procedure clearCABORT; inline;
  6858. procedure clearCFORCE; inline;
  6859. procedure clearPATEN; inline;
  6860. procedure clearSIRQEN; inline;
  6861. procedure setAIRQEN; inline;
  6862. procedure setCABORT; inline;
  6863. procedure setCFORCE; inline;
  6864. procedure setPATEN; inline;
  6865. procedure setSIRQEN; inline;
  6866. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  6867. property CABORT : TBits_1 read getCABORT write setCABORT;
  6868. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  6869. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  6870. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  6871. property PATEN : TBits_1 read getPATEN write setPATEN;
  6872. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  6873. property w : TBits_32 read getw write setw;
  6874. end;
  6875. TDMAC0_DCH0INT = record
  6876. private
  6877. function getCHBCIE : TBits_1; inline;
  6878. function getCHBCIF : TBits_1; inline;
  6879. function getCHCCIE : TBits_1; inline;
  6880. function getCHCCIF : TBits_1; inline;
  6881. function getCHDDIE : TBits_1; inline;
  6882. function getCHDDIF : TBits_1; inline;
  6883. function getCHDHIE : TBits_1; inline;
  6884. function getCHDHIF : TBits_1; inline;
  6885. function getCHERIE : TBits_1; inline;
  6886. function getCHERIF : TBits_1; inline;
  6887. function getCHSDIE : TBits_1; inline;
  6888. function getCHSDIF : TBits_1; inline;
  6889. function getCHSHIE : TBits_1; inline;
  6890. function getCHSHIF : TBits_1; inline;
  6891. function getCHTAIE : TBits_1; inline;
  6892. function getCHTAIF : TBits_1; inline;
  6893. function getw : TBits_32; inline;
  6894. procedure setCHBCIE(thebits : TBits_1); inline;
  6895. procedure setCHBCIF(thebits : TBits_1); inline;
  6896. procedure setCHCCIE(thebits : TBits_1); inline;
  6897. procedure setCHCCIF(thebits : TBits_1); inline;
  6898. procedure setCHDDIE(thebits : TBits_1); inline;
  6899. procedure setCHDDIF(thebits : TBits_1); inline;
  6900. procedure setCHDHIE(thebits : TBits_1); inline;
  6901. procedure setCHDHIF(thebits : TBits_1); inline;
  6902. procedure setCHERIE(thebits : TBits_1); inline;
  6903. procedure setCHERIF(thebits : TBits_1); inline;
  6904. procedure setCHSDIE(thebits : TBits_1); inline;
  6905. procedure setCHSDIF(thebits : TBits_1); inline;
  6906. procedure setCHSHIE(thebits : TBits_1); inline;
  6907. procedure setCHSHIF(thebits : TBits_1); inline;
  6908. procedure setCHTAIE(thebits : TBits_1); inline;
  6909. procedure setCHTAIF(thebits : TBits_1); inline;
  6910. procedure setw(thebits : TBits_32); inline;
  6911. public
  6912. procedure clearCHBCIE; inline;
  6913. procedure clearCHBCIF; inline;
  6914. procedure clearCHCCIE; inline;
  6915. procedure clearCHCCIF; inline;
  6916. procedure clearCHDDIE; inline;
  6917. procedure clearCHDDIF; inline;
  6918. procedure clearCHDHIE; inline;
  6919. procedure clearCHDHIF; inline;
  6920. procedure clearCHERIE; inline;
  6921. procedure clearCHERIF; inline;
  6922. procedure clearCHSDIE; inline;
  6923. procedure clearCHSDIF; inline;
  6924. procedure clearCHSHIE; inline;
  6925. procedure clearCHSHIF; inline;
  6926. procedure clearCHTAIE; inline;
  6927. procedure clearCHTAIF; inline;
  6928. procedure setCHBCIE; inline;
  6929. procedure setCHBCIF; inline;
  6930. procedure setCHCCIE; inline;
  6931. procedure setCHCCIF; inline;
  6932. procedure setCHDDIE; inline;
  6933. procedure setCHDDIF; inline;
  6934. procedure setCHDHIE; inline;
  6935. procedure setCHDHIF; inline;
  6936. procedure setCHERIE; inline;
  6937. procedure setCHERIF; inline;
  6938. procedure setCHSDIE; inline;
  6939. procedure setCHSDIF; inline;
  6940. procedure setCHSHIE; inline;
  6941. procedure setCHSHIF; inline;
  6942. procedure setCHTAIE; inline;
  6943. procedure setCHTAIF; inline;
  6944. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  6945. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  6946. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  6947. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  6948. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  6949. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  6950. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  6951. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  6952. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  6953. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  6954. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  6955. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  6956. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  6957. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  6958. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  6959. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  6960. property w : TBits_32 read getw write setw;
  6961. end;
  6962. type
  6963. TDMAC0Registers = record
  6964. DCH0CONbits : TDMAC0_DCH0CON;
  6965. DCH0CON : longWord;
  6966. DCH0CONCLR : longWord;
  6967. DCH0CONSET : longWord;
  6968. DCH0CONINV : longWord;
  6969. DCH0ECONbits : TDMAC0_DCH0ECON;
  6970. DCH0ECON : longWord;
  6971. DCH0ECONCLR : longWord;
  6972. DCH0ECONSET : longWord;
  6973. DCH0ECONINV : longWord;
  6974. DCH0INTbits : TDMAC0_DCH0INT;
  6975. DCH0INT : longWord;
  6976. DCH0INTCLR : longWord;
  6977. DCH0INTSET : longWord;
  6978. DCH0INTINV : longWord;
  6979. DCH0SSA : longWord;
  6980. DCH0SSACLR : longWord;
  6981. DCH0SSASET : longWord;
  6982. DCH0SSAINV : longWord;
  6983. DCH0DSA : longWord;
  6984. DCH0DSACLR : longWord;
  6985. DCH0DSASET : longWord;
  6986. DCH0DSAINV : longWord;
  6987. DCH0SSIZ : longWord;
  6988. DCH0SSIZCLR : longWord;
  6989. DCH0SSIZSET : longWord;
  6990. DCH0SSIZINV : longWord;
  6991. DCH0DSIZ : longWord;
  6992. DCH0DSIZCLR : longWord;
  6993. DCH0DSIZSET : longWord;
  6994. DCH0DSIZINV : longWord;
  6995. DCH0SPTR : longWord;
  6996. DCH0SPTRCLR : longWord;
  6997. DCH0SPTRSET : longWord;
  6998. DCH0SPTRINV : longWord;
  6999. DCH0DPTR : longWord;
  7000. DCH0DPTRCLR : longWord;
  7001. DCH0DPTRSET : longWord;
  7002. DCH0DPTRINV : longWord;
  7003. DCH0CSIZ : longWord;
  7004. DCH0CSIZCLR : longWord;
  7005. DCH0CSIZSET : longWord;
  7006. DCH0CSIZINV : longWord;
  7007. DCH0CPTR : longWord;
  7008. DCH0CPTRCLR : longWord;
  7009. DCH0CPTRSET : longWord;
  7010. DCH0CPTRINV : longWord;
  7011. DCH0DAT : longWord;
  7012. DCH0DATCLR : longWord;
  7013. DCH0DATSET : longWord;
  7014. DCH0DATINV : longWord;
  7015. end;
  7016. TDMAC1_DCH1CON = record
  7017. private
  7018. function getCHAED : TBits_1; inline;
  7019. function getCHAEN : TBits_1; inline;
  7020. function getCHBUSY : TBits_1; inline;
  7021. function getCHCHN : TBits_1; inline;
  7022. function getCHCHNS : TBits_1; inline;
  7023. function getCHEDET : TBits_1; inline;
  7024. function getCHEN : TBits_1; inline;
  7025. function getCHPRI : TBits_2; inline;
  7026. function getw : TBits_32; inline;
  7027. procedure setCHAED(thebits : TBits_1); inline;
  7028. procedure setCHAEN(thebits : TBits_1); inline;
  7029. procedure setCHBUSY(thebits : TBits_1); inline;
  7030. procedure setCHCHN(thebits : TBits_1); inline;
  7031. procedure setCHCHNS(thebits : TBits_1); inline;
  7032. procedure setCHEDET(thebits : TBits_1); inline;
  7033. procedure setCHEN(thebits : TBits_1); inline;
  7034. procedure setCHPRI(thebits : TBits_2); inline;
  7035. procedure setw(thebits : TBits_32); inline;
  7036. public
  7037. procedure clearCHAED; inline;
  7038. procedure clearCHAEN; inline;
  7039. procedure clearCHBUSY; inline;
  7040. procedure clearCHCHN; inline;
  7041. procedure clearCHCHNS; inline;
  7042. procedure clearCHEDET; inline;
  7043. procedure clearCHEN; inline;
  7044. procedure setCHAED; inline;
  7045. procedure setCHAEN; inline;
  7046. procedure setCHBUSY; inline;
  7047. procedure setCHCHN; inline;
  7048. procedure setCHCHNS; inline;
  7049. procedure setCHEDET; inline;
  7050. procedure setCHEN; inline;
  7051. property CHAED : TBits_1 read getCHAED write setCHAED;
  7052. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7053. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7054. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7055. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7056. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7057. property CHEN : TBits_1 read getCHEN write setCHEN;
  7058. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7059. property w : TBits_32 read getw write setw;
  7060. end;
  7061. TDMAC1_DCH1ECON = record
  7062. private
  7063. function getAIRQEN : TBits_1; inline;
  7064. function getCABORT : TBits_1; inline;
  7065. function getCFORCE : TBits_1; inline;
  7066. function getCHAIRQ : TBits_8; inline;
  7067. function getCHSIRQ : TBits_8; inline;
  7068. function getPATEN : TBits_1; inline;
  7069. function getSIRQEN : TBits_1; inline;
  7070. function getw : TBits_32; inline;
  7071. procedure setAIRQEN(thebits : TBits_1); inline;
  7072. procedure setCABORT(thebits : TBits_1); inline;
  7073. procedure setCFORCE(thebits : TBits_1); inline;
  7074. procedure setCHAIRQ(thebits : TBits_8); inline;
  7075. procedure setCHSIRQ(thebits : TBits_8); inline;
  7076. procedure setPATEN(thebits : TBits_1); inline;
  7077. procedure setSIRQEN(thebits : TBits_1); inline;
  7078. procedure setw(thebits : TBits_32); inline;
  7079. public
  7080. procedure clearAIRQEN; inline;
  7081. procedure clearCABORT; inline;
  7082. procedure clearCFORCE; inline;
  7083. procedure clearPATEN; inline;
  7084. procedure clearSIRQEN; inline;
  7085. procedure setAIRQEN; inline;
  7086. procedure setCABORT; inline;
  7087. procedure setCFORCE; inline;
  7088. procedure setPATEN; inline;
  7089. procedure setSIRQEN; inline;
  7090. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7091. property CABORT : TBits_1 read getCABORT write setCABORT;
  7092. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7093. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7094. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7095. property PATEN : TBits_1 read getPATEN write setPATEN;
  7096. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7097. property w : TBits_32 read getw write setw;
  7098. end;
  7099. TDMAC1_DCH1INT = record
  7100. private
  7101. function getCHBCIE : TBits_1; inline;
  7102. function getCHBCIF : TBits_1; inline;
  7103. function getCHCCIE : TBits_1; inline;
  7104. function getCHCCIF : TBits_1; inline;
  7105. function getCHDDIE : TBits_1; inline;
  7106. function getCHDDIF : TBits_1; inline;
  7107. function getCHDHIE : TBits_1; inline;
  7108. function getCHDHIF : TBits_1; inline;
  7109. function getCHERIE : TBits_1; inline;
  7110. function getCHERIF : TBits_1; inline;
  7111. function getCHSDIE : TBits_1; inline;
  7112. function getCHSDIF : TBits_1; inline;
  7113. function getCHSHIE : TBits_1; inline;
  7114. function getCHSHIF : TBits_1; inline;
  7115. function getCHTAIE : TBits_1; inline;
  7116. function getCHTAIF : TBits_1; inline;
  7117. function getw : TBits_32; inline;
  7118. procedure setCHBCIE(thebits : TBits_1); inline;
  7119. procedure setCHBCIF(thebits : TBits_1); inline;
  7120. procedure setCHCCIE(thebits : TBits_1); inline;
  7121. procedure setCHCCIF(thebits : TBits_1); inline;
  7122. procedure setCHDDIE(thebits : TBits_1); inline;
  7123. procedure setCHDDIF(thebits : TBits_1); inline;
  7124. procedure setCHDHIE(thebits : TBits_1); inline;
  7125. procedure setCHDHIF(thebits : TBits_1); inline;
  7126. procedure setCHERIE(thebits : TBits_1); inline;
  7127. procedure setCHERIF(thebits : TBits_1); inline;
  7128. procedure setCHSDIE(thebits : TBits_1); inline;
  7129. procedure setCHSDIF(thebits : TBits_1); inline;
  7130. procedure setCHSHIE(thebits : TBits_1); inline;
  7131. procedure setCHSHIF(thebits : TBits_1); inline;
  7132. procedure setCHTAIE(thebits : TBits_1); inline;
  7133. procedure setCHTAIF(thebits : TBits_1); inline;
  7134. procedure setw(thebits : TBits_32); inline;
  7135. public
  7136. procedure clearCHBCIE; inline;
  7137. procedure clearCHBCIF; inline;
  7138. procedure clearCHCCIE; inline;
  7139. procedure clearCHCCIF; inline;
  7140. procedure clearCHDDIE; inline;
  7141. procedure clearCHDDIF; inline;
  7142. procedure clearCHDHIE; inline;
  7143. procedure clearCHDHIF; inline;
  7144. procedure clearCHERIE; inline;
  7145. procedure clearCHERIF; inline;
  7146. procedure clearCHSDIE; inline;
  7147. procedure clearCHSDIF; inline;
  7148. procedure clearCHSHIE; inline;
  7149. procedure clearCHSHIF; inline;
  7150. procedure clearCHTAIE; inline;
  7151. procedure clearCHTAIF; inline;
  7152. procedure setCHBCIE; inline;
  7153. procedure setCHBCIF; inline;
  7154. procedure setCHCCIE; inline;
  7155. procedure setCHCCIF; inline;
  7156. procedure setCHDDIE; inline;
  7157. procedure setCHDDIF; inline;
  7158. procedure setCHDHIE; inline;
  7159. procedure setCHDHIF; inline;
  7160. procedure setCHERIE; inline;
  7161. procedure setCHERIF; inline;
  7162. procedure setCHSDIE; inline;
  7163. procedure setCHSDIF; inline;
  7164. procedure setCHSHIE; inline;
  7165. procedure setCHSHIF; inline;
  7166. procedure setCHTAIE; inline;
  7167. procedure setCHTAIF; inline;
  7168. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7169. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7170. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7171. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7172. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7173. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7174. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7175. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7176. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7177. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7178. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7179. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7180. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7181. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7182. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7183. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7184. property w : TBits_32 read getw write setw;
  7185. end;
  7186. type
  7187. TDMAC1Registers = record
  7188. DCH1CONbits : TDMAC1_DCH1CON;
  7189. DCH1CON : longWord;
  7190. DCH1CONCLR : longWord;
  7191. DCH1CONSET : longWord;
  7192. DCH1CONINV : longWord;
  7193. DCH1ECONbits : TDMAC1_DCH1ECON;
  7194. DCH1ECON : longWord;
  7195. DCH1ECONCLR : longWord;
  7196. DCH1ECONSET : longWord;
  7197. DCH1ECONINV : longWord;
  7198. DCH1INTbits : TDMAC1_DCH1INT;
  7199. DCH1INT : longWord;
  7200. DCH1INTCLR : longWord;
  7201. DCH1INTSET : longWord;
  7202. DCH1INTINV : longWord;
  7203. DCH1SSA : longWord;
  7204. DCH1SSACLR : longWord;
  7205. DCH1SSASET : longWord;
  7206. DCH1SSAINV : longWord;
  7207. DCH1DSA : longWord;
  7208. DCH1DSACLR : longWord;
  7209. DCH1DSASET : longWord;
  7210. DCH1DSAINV : longWord;
  7211. DCH1SSIZ : longWord;
  7212. DCH1SSIZCLR : longWord;
  7213. DCH1SSIZSET : longWord;
  7214. DCH1SSIZINV : longWord;
  7215. DCH1DSIZ : longWord;
  7216. DCH1DSIZCLR : longWord;
  7217. DCH1DSIZSET : longWord;
  7218. DCH1DSIZINV : longWord;
  7219. DCH1SPTR : longWord;
  7220. DCH1SPTRCLR : longWord;
  7221. DCH1SPTRSET : longWord;
  7222. DCH1SPTRINV : longWord;
  7223. DCH1DPTR : longWord;
  7224. DCH1DPTRCLR : longWord;
  7225. DCH1DPTRSET : longWord;
  7226. DCH1DPTRINV : longWord;
  7227. DCH1CSIZ : longWord;
  7228. DCH1CSIZCLR : longWord;
  7229. DCH1CSIZSET : longWord;
  7230. DCH1CSIZINV : longWord;
  7231. DCH1CPTR : longWord;
  7232. DCH1CPTRCLR : longWord;
  7233. DCH1CPTRSET : longWord;
  7234. DCH1CPTRINV : longWord;
  7235. DCH1DAT : longWord;
  7236. DCH1DATCLR : longWord;
  7237. DCH1DATSET : longWord;
  7238. DCH1DATINV : longWord;
  7239. end;
  7240. TDMAC2_DCH2CON = record
  7241. private
  7242. function getCHAED : TBits_1; inline;
  7243. function getCHAEN : TBits_1; inline;
  7244. function getCHBUSY : TBits_1; inline;
  7245. function getCHCHN : TBits_1; inline;
  7246. function getCHCHNS : TBits_1; inline;
  7247. function getCHEDET : TBits_1; inline;
  7248. function getCHEN : TBits_1; inline;
  7249. function getCHPRI : TBits_2; inline;
  7250. function getw : TBits_32; inline;
  7251. procedure setCHAED(thebits : TBits_1); inline;
  7252. procedure setCHAEN(thebits : TBits_1); inline;
  7253. procedure setCHBUSY(thebits : TBits_1); inline;
  7254. procedure setCHCHN(thebits : TBits_1); inline;
  7255. procedure setCHCHNS(thebits : TBits_1); inline;
  7256. procedure setCHEDET(thebits : TBits_1); inline;
  7257. procedure setCHEN(thebits : TBits_1); inline;
  7258. procedure setCHPRI(thebits : TBits_2); inline;
  7259. procedure setw(thebits : TBits_32); inline;
  7260. public
  7261. procedure clearCHAED; inline;
  7262. procedure clearCHAEN; inline;
  7263. procedure clearCHBUSY; inline;
  7264. procedure clearCHCHN; inline;
  7265. procedure clearCHCHNS; inline;
  7266. procedure clearCHEDET; inline;
  7267. procedure clearCHEN; inline;
  7268. procedure setCHAED; inline;
  7269. procedure setCHAEN; inline;
  7270. procedure setCHBUSY; inline;
  7271. procedure setCHCHN; inline;
  7272. procedure setCHCHNS; inline;
  7273. procedure setCHEDET; inline;
  7274. procedure setCHEN; inline;
  7275. property CHAED : TBits_1 read getCHAED write setCHAED;
  7276. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7277. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7278. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7279. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7280. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7281. property CHEN : TBits_1 read getCHEN write setCHEN;
  7282. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7283. property w : TBits_32 read getw write setw;
  7284. end;
  7285. TDMAC2_DCH2ECON = record
  7286. private
  7287. function getAIRQEN : TBits_1; inline;
  7288. function getCABORT : TBits_1; inline;
  7289. function getCFORCE : TBits_1; inline;
  7290. function getCHAIRQ : TBits_8; inline;
  7291. function getCHSIRQ : TBits_8; inline;
  7292. function getPATEN : TBits_1; inline;
  7293. function getSIRQEN : TBits_1; inline;
  7294. function getw : TBits_32; inline;
  7295. procedure setAIRQEN(thebits : TBits_1); inline;
  7296. procedure setCABORT(thebits : TBits_1); inline;
  7297. procedure setCFORCE(thebits : TBits_1); inline;
  7298. procedure setCHAIRQ(thebits : TBits_8); inline;
  7299. procedure setCHSIRQ(thebits : TBits_8); inline;
  7300. procedure setPATEN(thebits : TBits_1); inline;
  7301. procedure setSIRQEN(thebits : TBits_1); inline;
  7302. procedure setw(thebits : TBits_32); inline;
  7303. public
  7304. procedure clearAIRQEN; inline;
  7305. procedure clearCABORT; inline;
  7306. procedure clearCFORCE; inline;
  7307. procedure clearPATEN; inline;
  7308. procedure clearSIRQEN; inline;
  7309. procedure setAIRQEN; inline;
  7310. procedure setCABORT; inline;
  7311. procedure setCFORCE; inline;
  7312. procedure setPATEN; inline;
  7313. procedure setSIRQEN; inline;
  7314. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7315. property CABORT : TBits_1 read getCABORT write setCABORT;
  7316. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7317. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7318. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7319. property PATEN : TBits_1 read getPATEN write setPATEN;
  7320. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7321. property w : TBits_32 read getw write setw;
  7322. end;
  7323. TDMAC2_DCH2INT = record
  7324. private
  7325. function getCHBCIE : TBits_1; inline;
  7326. function getCHBCIF : TBits_1; inline;
  7327. function getCHCCIE : TBits_1; inline;
  7328. function getCHCCIF : TBits_1; inline;
  7329. function getCHDDIE : TBits_1; inline;
  7330. function getCHDDIF : TBits_1; inline;
  7331. function getCHDHIE : TBits_1; inline;
  7332. function getCHDHIF : TBits_1; inline;
  7333. function getCHERIE : TBits_1; inline;
  7334. function getCHERIF : TBits_1; inline;
  7335. function getCHSDIE : TBits_1; inline;
  7336. function getCHSDIF : TBits_1; inline;
  7337. function getCHSHIE : TBits_1; inline;
  7338. function getCHSHIF : TBits_1; inline;
  7339. function getCHTAIE : TBits_1; inline;
  7340. function getCHTAIF : TBits_1; inline;
  7341. function getw : TBits_32; inline;
  7342. procedure setCHBCIE(thebits : TBits_1); inline;
  7343. procedure setCHBCIF(thebits : TBits_1); inline;
  7344. procedure setCHCCIE(thebits : TBits_1); inline;
  7345. procedure setCHCCIF(thebits : TBits_1); inline;
  7346. procedure setCHDDIE(thebits : TBits_1); inline;
  7347. procedure setCHDDIF(thebits : TBits_1); inline;
  7348. procedure setCHDHIE(thebits : TBits_1); inline;
  7349. procedure setCHDHIF(thebits : TBits_1); inline;
  7350. procedure setCHERIE(thebits : TBits_1); inline;
  7351. procedure setCHERIF(thebits : TBits_1); inline;
  7352. procedure setCHSDIE(thebits : TBits_1); inline;
  7353. procedure setCHSDIF(thebits : TBits_1); inline;
  7354. procedure setCHSHIE(thebits : TBits_1); inline;
  7355. procedure setCHSHIF(thebits : TBits_1); inline;
  7356. procedure setCHTAIE(thebits : TBits_1); inline;
  7357. procedure setCHTAIF(thebits : TBits_1); inline;
  7358. procedure setw(thebits : TBits_32); inline;
  7359. public
  7360. procedure clearCHBCIE; inline;
  7361. procedure clearCHBCIF; inline;
  7362. procedure clearCHCCIE; inline;
  7363. procedure clearCHCCIF; inline;
  7364. procedure clearCHDDIE; inline;
  7365. procedure clearCHDDIF; inline;
  7366. procedure clearCHDHIE; inline;
  7367. procedure clearCHDHIF; inline;
  7368. procedure clearCHERIE; inline;
  7369. procedure clearCHERIF; inline;
  7370. procedure clearCHSDIE; inline;
  7371. procedure clearCHSDIF; inline;
  7372. procedure clearCHSHIE; inline;
  7373. procedure clearCHSHIF; inline;
  7374. procedure clearCHTAIE; inline;
  7375. procedure clearCHTAIF; inline;
  7376. procedure setCHBCIE; inline;
  7377. procedure setCHBCIF; inline;
  7378. procedure setCHCCIE; inline;
  7379. procedure setCHCCIF; inline;
  7380. procedure setCHDDIE; inline;
  7381. procedure setCHDDIF; inline;
  7382. procedure setCHDHIE; inline;
  7383. procedure setCHDHIF; inline;
  7384. procedure setCHERIE; inline;
  7385. procedure setCHERIF; inline;
  7386. procedure setCHSDIE; inline;
  7387. procedure setCHSDIF; inline;
  7388. procedure setCHSHIE; inline;
  7389. procedure setCHSHIF; inline;
  7390. procedure setCHTAIE; inline;
  7391. procedure setCHTAIF; inline;
  7392. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7393. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7394. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7395. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7396. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7397. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7398. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7399. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7400. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7401. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7402. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7403. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7404. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7405. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7406. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7407. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7408. property w : TBits_32 read getw write setw;
  7409. end;
  7410. type
  7411. TDMAC2Registers = record
  7412. DCH2CONbits : TDMAC2_DCH2CON;
  7413. DCH2CON : longWord;
  7414. DCH2CONCLR : longWord;
  7415. DCH2CONSET : longWord;
  7416. DCH2CONINV : longWord;
  7417. DCH2ECONbits : TDMAC2_DCH2ECON;
  7418. DCH2ECON : longWord;
  7419. DCH2ECONCLR : longWord;
  7420. DCH2ECONSET : longWord;
  7421. DCH2ECONINV : longWord;
  7422. DCH2INTbits : TDMAC2_DCH2INT;
  7423. DCH2INT : longWord;
  7424. DCH2INTCLR : longWord;
  7425. DCH2INTSET : longWord;
  7426. DCH2INTINV : longWord;
  7427. DCH2SSA : longWord;
  7428. DCH2SSACLR : longWord;
  7429. DCH2SSASET : longWord;
  7430. DCH2SSAINV : longWord;
  7431. DCH2DSA : longWord;
  7432. DCH2DSACLR : longWord;
  7433. DCH2DSASET : longWord;
  7434. DCH2DSAINV : longWord;
  7435. DCH2SSIZ : longWord;
  7436. DCH2SSIZCLR : longWord;
  7437. DCH2SSIZSET : longWord;
  7438. DCH2SSIZINV : longWord;
  7439. DCH2DSIZ : longWord;
  7440. DCH2DSIZCLR : longWord;
  7441. DCH2DSIZSET : longWord;
  7442. DCH2DSIZINV : longWord;
  7443. DCH2SPTR : longWord;
  7444. DCH2SPTRCLR : longWord;
  7445. DCH2SPTRSET : longWord;
  7446. DCH2SPTRINV : longWord;
  7447. DCH2DPTR : longWord;
  7448. DCH2DPTRCLR : longWord;
  7449. DCH2DPTRSET : longWord;
  7450. DCH2DPTRINV : longWord;
  7451. DCH2CSIZ : longWord;
  7452. DCH2CSIZCLR : longWord;
  7453. DCH2CSIZSET : longWord;
  7454. DCH2CSIZINV : longWord;
  7455. DCH2CPTR : longWord;
  7456. DCH2CPTRCLR : longWord;
  7457. DCH2CPTRSET : longWord;
  7458. DCH2CPTRINV : longWord;
  7459. DCH2DAT : longWord;
  7460. DCH2DATCLR : longWord;
  7461. DCH2DATSET : longWord;
  7462. DCH2DATINV : longWord;
  7463. end;
  7464. TDMAC3_DCH3CON = record
  7465. private
  7466. function getCHAED : TBits_1; inline;
  7467. function getCHAEN : TBits_1; inline;
  7468. function getCHBUSY : TBits_1; inline;
  7469. function getCHCHN : TBits_1; inline;
  7470. function getCHCHNS : TBits_1; inline;
  7471. function getCHEDET : TBits_1; inline;
  7472. function getCHEN : TBits_1; inline;
  7473. function getCHPRI : TBits_2; inline;
  7474. function getw : TBits_32; inline;
  7475. procedure setCHAED(thebits : TBits_1); inline;
  7476. procedure setCHAEN(thebits : TBits_1); inline;
  7477. procedure setCHBUSY(thebits : TBits_1); inline;
  7478. procedure setCHCHN(thebits : TBits_1); inline;
  7479. procedure setCHCHNS(thebits : TBits_1); inline;
  7480. procedure setCHEDET(thebits : TBits_1); inline;
  7481. procedure setCHEN(thebits : TBits_1); inline;
  7482. procedure setCHPRI(thebits : TBits_2); inline;
  7483. procedure setw(thebits : TBits_32); inline;
  7484. public
  7485. procedure clearCHAED; inline;
  7486. procedure clearCHAEN; inline;
  7487. procedure clearCHBUSY; inline;
  7488. procedure clearCHCHN; inline;
  7489. procedure clearCHCHNS; inline;
  7490. procedure clearCHEDET; inline;
  7491. procedure clearCHEN; inline;
  7492. procedure setCHAED; inline;
  7493. procedure setCHAEN; inline;
  7494. procedure setCHBUSY; inline;
  7495. procedure setCHCHN; inline;
  7496. procedure setCHCHNS; inline;
  7497. procedure setCHEDET; inline;
  7498. procedure setCHEN; inline;
  7499. property CHAED : TBits_1 read getCHAED write setCHAED;
  7500. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7501. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7502. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7503. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7504. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7505. property CHEN : TBits_1 read getCHEN write setCHEN;
  7506. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7507. property w : TBits_32 read getw write setw;
  7508. end;
  7509. TDMAC3_DCH3ECON = record
  7510. private
  7511. function getAIRQEN : TBits_1; inline;
  7512. function getCABORT : TBits_1; inline;
  7513. function getCFORCE : TBits_1; inline;
  7514. function getCHAIRQ : TBits_8; inline;
  7515. function getCHSIRQ : TBits_8; inline;
  7516. function getPATEN : TBits_1; inline;
  7517. function getSIRQEN : TBits_1; inline;
  7518. function getw : TBits_32; inline;
  7519. procedure setAIRQEN(thebits : TBits_1); inline;
  7520. procedure setCABORT(thebits : TBits_1); inline;
  7521. procedure setCFORCE(thebits : TBits_1); inline;
  7522. procedure setCHAIRQ(thebits : TBits_8); inline;
  7523. procedure setCHSIRQ(thebits : TBits_8); inline;
  7524. procedure setPATEN(thebits : TBits_1); inline;
  7525. procedure setSIRQEN(thebits : TBits_1); inline;
  7526. procedure setw(thebits : TBits_32); inline;
  7527. public
  7528. procedure clearAIRQEN; inline;
  7529. procedure clearCABORT; inline;
  7530. procedure clearCFORCE; inline;
  7531. procedure clearPATEN; inline;
  7532. procedure clearSIRQEN; inline;
  7533. procedure setAIRQEN; inline;
  7534. procedure setCABORT; inline;
  7535. procedure setCFORCE; inline;
  7536. procedure setPATEN; inline;
  7537. procedure setSIRQEN; inline;
  7538. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7539. property CABORT : TBits_1 read getCABORT write setCABORT;
  7540. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7541. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7542. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7543. property PATEN : TBits_1 read getPATEN write setPATEN;
  7544. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7545. property w : TBits_32 read getw write setw;
  7546. end;
  7547. TDMAC3_DCH3INT = record
  7548. private
  7549. function getCHBCIE : TBits_1; inline;
  7550. function getCHBCIF : TBits_1; inline;
  7551. function getCHCCIE : TBits_1; inline;
  7552. function getCHCCIF : TBits_1; inline;
  7553. function getCHDDIE : TBits_1; inline;
  7554. function getCHDDIF : TBits_1; inline;
  7555. function getCHDHIE : TBits_1; inline;
  7556. function getCHDHIF : TBits_1; inline;
  7557. function getCHERIE : TBits_1; inline;
  7558. function getCHERIF : TBits_1; inline;
  7559. function getCHSDIE : TBits_1; inline;
  7560. function getCHSDIF : TBits_1; inline;
  7561. function getCHSHIE : TBits_1; inline;
  7562. function getCHSHIF : TBits_1; inline;
  7563. function getCHTAIE : TBits_1; inline;
  7564. function getCHTAIF : TBits_1; inline;
  7565. function getw : TBits_32; inline;
  7566. procedure setCHBCIE(thebits : TBits_1); inline;
  7567. procedure setCHBCIF(thebits : TBits_1); inline;
  7568. procedure setCHCCIE(thebits : TBits_1); inline;
  7569. procedure setCHCCIF(thebits : TBits_1); inline;
  7570. procedure setCHDDIE(thebits : TBits_1); inline;
  7571. procedure setCHDDIF(thebits : TBits_1); inline;
  7572. procedure setCHDHIE(thebits : TBits_1); inline;
  7573. procedure setCHDHIF(thebits : TBits_1); inline;
  7574. procedure setCHERIE(thebits : TBits_1); inline;
  7575. procedure setCHERIF(thebits : TBits_1); inline;
  7576. procedure setCHSDIE(thebits : TBits_1); inline;
  7577. procedure setCHSDIF(thebits : TBits_1); inline;
  7578. procedure setCHSHIE(thebits : TBits_1); inline;
  7579. procedure setCHSHIF(thebits : TBits_1); inline;
  7580. procedure setCHTAIE(thebits : TBits_1); inline;
  7581. procedure setCHTAIF(thebits : TBits_1); inline;
  7582. procedure setw(thebits : TBits_32); inline;
  7583. public
  7584. procedure clearCHBCIE; inline;
  7585. procedure clearCHBCIF; inline;
  7586. procedure clearCHCCIE; inline;
  7587. procedure clearCHCCIF; inline;
  7588. procedure clearCHDDIE; inline;
  7589. procedure clearCHDDIF; inline;
  7590. procedure clearCHDHIE; inline;
  7591. procedure clearCHDHIF; inline;
  7592. procedure clearCHERIE; inline;
  7593. procedure clearCHERIF; inline;
  7594. procedure clearCHSDIE; inline;
  7595. procedure clearCHSDIF; inline;
  7596. procedure clearCHSHIE; inline;
  7597. procedure clearCHSHIF; inline;
  7598. procedure clearCHTAIE; inline;
  7599. procedure clearCHTAIF; inline;
  7600. procedure setCHBCIE; inline;
  7601. procedure setCHBCIF; inline;
  7602. procedure setCHCCIE; inline;
  7603. procedure setCHCCIF; inline;
  7604. procedure setCHDDIE; inline;
  7605. procedure setCHDDIF; inline;
  7606. procedure setCHDHIE; inline;
  7607. procedure setCHDHIF; inline;
  7608. procedure setCHERIE; inline;
  7609. procedure setCHERIF; inline;
  7610. procedure setCHSDIE; inline;
  7611. procedure setCHSDIF; inline;
  7612. procedure setCHSHIE; inline;
  7613. procedure setCHSHIF; inline;
  7614. procedure setCHTAIE; inline;
  7615. procedure setCHTAIF; inline;
  7616. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7617. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7618. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7619. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7620. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7621. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7622. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7623. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7624. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7625. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7626. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7627. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7628. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7629. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7630. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7631. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7632. property w : TBits_32 read getw write setw;
  7633. end;
  7634. type
  7635. TDMAC3Registers = record
  7636. DCH3CONbits : TDMAC3_DCH3CON;
  7637. DCH3CON : longWord;
  7638. DCH3CONCLR : longWord;
  7639. DCH3CONSET : longWord;
  7640. DCH3CONINV : longWord;
  7641. DCH3ECONbits : TDMAC3_DCH3ECON;
  7642. DCH3ECON : longWord;
  7643. DCH3ECONCLR : longWord;
  7644. DCH3ECONSET : longWord;
  7645. DCH3ECONINV : longWord;
  7646. DCH3INTbits : TDMAC3_DCH3INT;
  7647. DCH3INT : longWord;
  7648. DCH3INTCLR : longWord;
  7649. DCH3INTSET : longWord;
  7650. DCH3INTINV : longWord;
  7651. DCH3SSA : longWord;
  7652. DCH3SSACLR : longWord;
  7653. DCH3SSASET : longWord;
  7654. DCH3SSAINV : longWord;
  7655. DCH3DSA : longWord;
  7656. DCH3DSACLR : longWord;
  7657. DCH3DSASET : longWord;
  7658. DCH3DSAINV : longWord;
  7659. DCH3SSIZ : longWord;
  7660. DCH3SSIZCLR : longWord;
  7661. DCH3SSIZSET : longWord;
  7662. DCH3SSIZINV : longWord;
  7663. DCH3DSIZ : longWord;
  7664. DCH3DSIZCLR : longWord;
  7665. DCH3DSIZSET : longWord;
  7666. DCH3DSIZINV : longWord;
  7667. DCH3SPTR : longWord;
  7668. DCH3SPTRCLR : longWord;
  7669. DCH3SPTRSET : longWord;
  7670. DCH3SPTRINV : longWord;
  7671. DCH3DPTR : longWord;
  7672. DCH3DPTRCLR : longWord;
  7673. DCH3DPTRSET : longWord;
  7674. DCH3DPTRINV : longWord;
  7675. DCH3CSIZ : longWord;
  7676. DCH3CSIZCLR : longWord;
  7677. DCH3CSIZSET : longWord;
  7678. DCH3CSIZINV : longWord;
  7679. DCH3CPTR : longWord;
  7680. DCH3CPTRCLR : longWord;
  7681. DCH3CPTRSET : longWord;
  7682. DCH3CPTRINV : longWord;
  7683. DCH3DAT : longWord;
  7684. DCH3DATCLR : longWord;
  7685. DCH3DATSET : longWord;
  7686. DCH3DATINV : longWord;
  7687. end;
  7688. TUSB_U1IR = record
  7689. private
  7690. function getATTACHIF : TBits_1; inline;
  7691. function getDETACHIF : TBits_1; inline;
  7692. function getIDLEIF : TBits_1; inline;
  7693. function getRESUMEIF : TBits_1; inline;
  7694. function getSOFIF : TBits_1; inline;
  7695. function getSTALLIF : TBits_1; inline;
  7696. function getTRNIF : TBits_1; inline;
  7697. function getUERRIF : TBits_1; inline;
  7698. function getURSTIF : TBits_1; inline;
  7699. function getURSTIF_DETACHIF : TBits_1; inline;
  7700. procedure setATTACHIF(thebits : TBits_1); inline;
  7701. procedure setDETACHIF(thebits : TBits_1); inline;
  7702. procedure setIDLEIF(thebits : TBits_1); inline;
  7703. procedure setRESUMEIF(thebits : TBits_1); inline;
  7704. procedure setSOFIF(thebits : TBits_1); inline;
  7705. procedure setSTALLIF(thebits : TBits_1); inline;
  7706. procedure setTRNIF(thebits : TBits_1); inline;
  7707. procedure setUERRIF(thebits : TBits_1); inline;
  7708. procedure setURSTIF(thebits : TBits_1); inline;
  7709. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  7710. public
  7711. procedure clearATTACHIF; inline;
  7712. procedure clearDETACHIF; inline;
  7713. procedure clearIDLEIF; inline;
  7714. procedure clearRESUMEIF; inline;
  7715. procedure clearSOFIF; inline;
  7716. procedure clearSTALLIF; inline;
  7717. procedure clearTRNIF; inline;
  7718. procedure clearUERRIF; inline;
  7719. procedure clearURSTIF; inline;
  7720. procedure clearURSTIF_DETACHIF; inline;
  7721. procedure setATTACHIF; inline;
  7722. procedure setDETACHIF; inline;
  7723. procedure setIDLEIF; inline;
  7724. procedure setRESUMEIF; inline;
  7725. procedure setSOFIF; inline;
  7726. procedure setSTALLIF; inline;
  7727. procedure setTRNIF; inline;
  7728. procedure setUERRIF; inline;
  7729. procedure setURSTIF; inline;
  7730. procedure setURSTIF_DETACHIF; inline;
  7731. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  7732. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  7733. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  7734. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  7735. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  7736. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  7737. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  7738. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  7739. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  7740. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  7741. end;
  7742. TUSB_U1IE = record
  7743. private
  7744. function getATTACHIE : TBits_1; inline;
  7745. function getDETACHIE : TBits_1; inline;
  7746. function getIDLEIE : TBits_1; inline;
  7747. function getRESUMEIE : TBits_1; inline;
  7748. function getSOFIE : TBits_1; inline;
  7749. function getSTALLIE : TBits_1; inline;
  7750. function getTRNIE : TBits_1; inline;
  7751. function getUERRIE : TBits_1; inline;
  7752. function getURSTIE : TBits_1; inline;
  7753. function getURSTIE_DETACHIE : TBits_1; inline;
  7754. procedure setATTACHIE(thebits : TBits_1); inline;
  7755. procedure setDETACHIE(thebits : TBits_1); inline;
  7756. procedure setIDLEIE(thebits : TBits_1); inline;
  7757. procedure setRESUMEIE(thebits : TBits_1); inline;
  7758. procedure setSOFIE(thebits : TBits_1); inline;
  7759. procedure setSTALLIE(thebits : TBits_1); inline;
  7760. procedure setTRNIE(thebits : TBits_1); inline;
  7761. procedure setUERRIE(thebits : TBits_1); inline;
  7762. procedure setURSTIE(thebits : TBits_1); inline;
  7763. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  7764. public
  7765. procedure clearATTACHIE; inline;
  7766. procedure clearDETACHIE; inline;
  7767. procedure clearIDLEIE; inline;
  7768. procedure clearRESUMEIE; inline;
  7769. procedure clearSOFIE; inline;
  7770. procedure clearSTALLIE; inline;
  7771. procedure clearTRNIE; inline;
  7772. procedure clearUERRIE; inline;
  7773. procedure clearURSTIE; inline;
  7774. procedure clearURSTIE_DETACHIE; inline;
  7775. procedure setATTACHIE; inline;
  7776. procedure setDETACHIE; inline;
  7777. procedure setIDLEIE; inline;
  7778. procedure setRESUMEIE; inline;
  7779. procedure setSOFIE; inline;
  7780. procedure setSTALLIE; inline;
  7781. procedure setTRNIE; inline;
  7782. procedure setUERRIE; inline;
  7783. procedure setURSTIE; inline;
  7784. procedure setURSTIE_DETACHIE; inline;
  7785. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  7786. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  7787. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  7788. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  7789. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  7790. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  7791. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  7792. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  7793. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  7794. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  7795. end;
  7796. TUSB_U1EIR = record
  7797. private
  7798. function getBMXEF : TBits_1; inline;
  7799. function getBTOEF : TBits_1; inline;
  7800. function getBTSEF : TBits_1; inline;
  7801. function getCRC16EF : TBits_1; inline;
  7802. function getCRC5EF : TBits_1; inline;
  7803. function getCRC5EF_EOFEF : TBits_1; inline;
  7804. function getDFN8EF : TBits_1; inline;
  7805. function getDMAEF : TBits_1; inline;
  7806. function getEOFEF : TBits_1; inline;
  7807. function getPIDEF : TBits_1; inline;
  7808. procedure setBMXEF(thebits : TBits_1); inline;
  7809. procedure setBTOEF(thebits : TBits_1); inline;
  7810. procedure setBTSEF(thebits : TBits_1); inline;
  7811. procedure setCRC16EF(thebits : TBits_1); inline;
  7812. procedure setCRC5EF(thebits : TBits_1); inline;
  7813. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  7814. procedure setDFN8EF(thebits : TBits_1); inline;
  7815. procedure setDMAEF(thebits : TBits_1); inline;
  7816. procedure setEOFEF(thebits : TBits_1); inline;
  7817. procedure setPIDEF(thebits : TBits_1); inline;
  7818. public
  7819. procedure clearBMXEF; inline;
  7820. procedure clearBTOEF; inline;
  7821. procedure clearBTSEF; inline;
  7822. procedure clearCRC16EF; inline;
  7823. procedure clearCRC5EF; inline;
  7824. procedure clearCRC5EF_EOFEF; inline;
  7825. procedure clearDFN8EF; inline;
  7826. procedure clearDMAEF; inline;
  7827. procedure clearEOFEF; inline;
  7828. procedure clearPIDEF; inline;
  7829. procedure setBMXEF; inline;
  7830. procedure setBTOEF; inline;
  7831. procedure setBTSEF; inline;
  7832. procedure setCRC16EF; inline;
  7833. procedure setCRC5EF; inline;
  7834. procedure setCRC5EF_EOFEF; inline;
  7835. procedure setDFN8EF; inline;
  7836. procedure setDMAEF; inline;
  7837. procedure setEOFEF; inline;
  7838. procedure setPIDEF; inline;
  7839. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  7840. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  7841. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  7842. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  7843. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  7844. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  7845. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  7846. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  7847. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  7848. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  7849. end;
  7850. TUSB_U1EIE = record
  7851. private
  7852. function getBMXEE : TBits_1; inline;
  7853. function getBTOEE : TBits_1; inline;
  7854. function getBTSEE : TBits_1; inline;
  7855. function getCRC16EE : TBits_1; inline;
  7856. function getCRC5EE : TBits_1; inline;
  7857. function getCRC5EE_EOFEE : TBits_1; inline;
  7858. function getDFN8EE : TBits_1; inline;
  7859. function getDMAEE : TBits_1; inline;
  7860. function getEOFEE : TBits_1; inline;
  7861. function getPIDEE : TBits_1; inline;
  7862. procedure setBMXEE(thebits : TBits_1); inline;
  7863. procedure setBTOEE(thebits : TBits_1); inline;
  7864. procedure setBTSEE(thebits : TBits_1); inline;
  7865. procedure setCRC16EE(thebits : TBits_1); inline;
  7866. procedure setCRC5EE(thebits : TBits_1); inline;
  7867. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  7868. procedure setDFN8EE(thebits : TBits_1); inline;
  7869. procedure setDMAEE(thebits : TBits_1); inline;
  7870. procedure setEOFEE(thebits : TBits_1); inline;
  7871. procedure setPIDEE(thebits : TBits_1); inline;
  7872. public
  7873. procedure clearBMXEE; inline;
  7874. procedure clearBTOEE; inline;
  7875. procedure clearBTSEE; inline;
  7876. procedure clearCRC16EE; inline;
  7877. procedure clearCRC5EE; inline;
  7878. procedure clearCRC5EE_EOFEE; inline;
  7879. procedure clearDFN8EE; inline;
  7880. procedure clearDMAEE; inline;
  7881. procedure clearEOFEE; inline;
  7882. procedure clearPIDEE; inline;
  7883. procedure setBMXEE; inline;
  7884. procedure setBTOEE; inline;
  7885. procedure setBTSEE; inline;
  7886. procedure setCRC16EE; inline;
  7887. procedure setCRC5EE; inline;
  7888. procedure setCRC5EE_EOFEE; inline;
  7889. procedure setDFN8EE; inline;
  7890. procedure setDMAEE; inline;
  7891. procedure setEOFEE; inline;
  7892. procedure setPIDEE; inline;
  7893. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  7894. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  7895. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  7896. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  7897. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  7898. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  7899. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  7900. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  7901. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  7902. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  7903. end;
  7904. TUSB_U1STAT = record
  7905. private
  7906. function getDIR : TBits_1; inline;
  7907. function getENDPT : TBits_4; inline;
  7908. function getENDPT0 : TBits_1; inline;
  7909. function getENDPT1 : TBits_1; inline;
  7910. function getENDPT2 : TBits_1; inline;
  7911. function getENDPT3 : TBits_1; inline;
  7912. function getPPBI : TBits_1; inline;
  7913. procedure setDIR(thebits : TBits_1); inline;
  7914. procedure setENDPT(thebits : TBits_4); inline;
  7915. procedure setENDPT0(thebits : TBits_1); inline;
  7916. procedure setENDPT1(thebits : TBits_1); inline;
  7917. procedure setENDPT2(thebits : TBits_1); inline;
  7918. procedure setENDPT3(thebits : TBits_1); inline;
  7919. procedure setPPBI(thebits : TBits_1); inline;
  7920. public
  7921. procedure clearDIR; inline;
  7922. procedure clearENDPT0; inline;
  7923. procedure clearENDPT1; inline;
  7924. procedure clearENDPT2; inline;
  7925. procedure clearENDPT3; inline;
  7926. procedure clearPPBI; inline;
  7927. procedure setDIR; inline;
  7928. procedure setENDPT0; inline;
  7929. procedure setENDPT1; inline;
  7930. procedure setENDPT2; inline;
  7931. procedure setENDPT3; inline;
  7932. procedure setPPBI; inline;
  7933. property DIR : TBits_1 read getDIR write setDIR;
  7934. property ENDPT : TBits_4 read getENDPT write setENDPT;
  7935. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  7936. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  7937. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  7938. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  7939. property PPBI : TBits_1 read getPPBI write setPPBI;
  7940. end;
  7941. TUSB_U1CON = record
  7942. private
  7943. function getHOSTEN : TBits_1; inline;
  7944. function getJSTATE : TBits_1; inline;
  7945. function getPKTDIS : TBits_1; inline;
  7946. function getPKTDIS_TOKBUSY : TBits_1; inline;
  7947. function getPPBRST : TBits_1; inline;
  7948. function getRESUME : TBits_1; inline;
  7949. function getSE0 : TBits_1; inline;
  7950. function getSOFEN : TBits_1; inline;
  7951. function getTOKBUSY : TBits_1; inline;
  7952. function getUSBEN : TBits_1; inline;
  7953. function getUSBEN_SOFEN : TBits_1; inline;
  7954. function getUSBRST : TBits_1; inline;
  7955. procedure setHOSTEN(thebits : TBits_1); inline;
  7956. procedure setJSTATE(thebits : TBits_1); inline;
  7957. procedure setPKTDIS(thebits : TBits_1); inline;
  7958. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  7959. procedure setPPBRST(thebits : TBits_1); inline;
  7960. procedure setRESUME(thebits : TBits_1); inline;
  7961. procedure setSE0(thebits : TBits_1); inline;
  7962. procedure setSOFEN(thebits : TBits_1); inline;
  7963. procedure setTOKBUSY(thebits : TBits_1); inline;
  7964. procedure setUSBEN(thebits : TBits_1); inline;
  7965. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  7966. procedure setUSBRST(thebits : TBits_1); inline;
  7967. public
  7968. procedure clearHOSTEN; inline;
  7969. procedure clearJSTATE; inline;
  7970. procedure clearPKTDIS; inline;
  7971. procedure clearPKTDIS_TOKBUSY; inline;
  7972. procedure clearPPBRST; inline;
  7973. procedure clearRESUME; inline;
  7974. procedure clearSE0; inline;
  7975. procedure clearSOFEN; inline;
  7976. procedure clearTOKBUSY; inline;
  7977. procedure clearUSBEN; inline;
  7978. procedure clearUSBEN_SOFEN; inline;
  7979. procedure clearUSBRST; inline;
  7980. procedure setHOSTEN; inline;
  7981. procedure setJSTATE; inline;
  7982. procedure setPKTDIS; inline;
  7983. procedure setPKTDIS_TOKBUSY; inline;
  7984. procedure setPPBRST; inline;
  7985. procedure setRESUME; inline;
  7986. procedure setSE0; inline;
  7987. procedure setSOFEN; inline;
  7988. procedure setTOKBUSY; inline;
  7989. procedure setUSBEN; inline;
  7990. procedure setUSBEN_SOFEN; inline;
  7991. procedure setUSBRST; inline;
  7992. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  7993. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  7994. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  7995. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  7996. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  7997. property RESUME : TBits_1 read getRESUME write setRESUME;
  7998. property SE0 : TBits_1 read getSE0 write setSE0;
  7999. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  8000. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  8001. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  8002. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  8003. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  8004. end;
  8005. TUSB_U1ADDR = record
  8006. private
  8007. function getDEVADDR : TBits_7; inline;
  8008. function getDEVADDR0 : TBits_1; inline;
  8009. function getDEVADDR1 : TBits_1; inline;
  8010. function getDEVADDR2 : TBits_1; inline;
  8011. function getDEVADDR3 : TBits_1; inline;
  8012. function getDEVADDR4 : TBits_1; inline;
  8013. function getDEVADDR5 : TBits_1; inline;
  8014. function getDEVADDR6 : TBits_1; inline;
  8015. function getLSPDEN : TBits_1; inline;
  8016. procedure setDEVADDR(thebits : TBits_7); inline;
  8017. procedure setDEVADDR0(thebits : TBits_1); inline;
  8018. procedure setDEVADDR1(thebits : TBits_1); inline;
  8019. procedure setDEVADDR2(thebits : TBits_1); inline;
  8020. procedure setDEVADDR3(thebits : TBits_1); inline;
  8021. procedure setDEVADDR4(thebits : TBits_1); inline;
  8022. procedure setDEVADDR5(thebits : TBits_1); inline;
  8023. procedure setDEVADDR6(thebits : TBits_1); inline;
  8024. procedure setLSPDEN(thebits : TBits_1); inline;
  8025. public
  8026. procedure clearDEVADDR0; inline;
  8027. procedure clearDEVADDR1; inline;
  8028. procedure clearDEVADDR2; inline;
  8029. procedure clearDEVADDR3; inline;
  8030. procedure clearDEVADDR4; inline;
  8031. procedure clearDEVADDR5; inline;
  8032. procedure clearDEVADDR6; inline;
  8033. procedure clearLSPDEN; inline;
  8034. procedure setDEVADDR0; inline;
  8035. procedure setDEVADDR1; inline;
  8036. procedure setDEVADDR2; inline;
  8037. procedure setDEVADDR3; inline;
  8038. procedure setDEVADDR4; inline;
  8039. procedure setDEVADDR5; inline;
  8040. procedure setDEVADDR6; inline;
  8041. procedure setLSPDEN; inline;
  8042. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  8043. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  8044. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  8045. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  8046. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  8047. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  8048. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  8049. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  8050. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  8051. end;
  8052. TUSB_U1FRML = record
  8053. private
  8054. function getFRM0 : TBits_1; inline;
  8055. function getFRM1 : TBits_1; inline;
  8056. function getFRM2 : TBits_1; inline;
  8057. function getFRM3 : TBits_1; inline;
  8058. function getFRM4 : TBits_1; inline;
  8059. function getFRM5 : TBits_1; inline;
  8060. function getFRM6 : TBits_1; inline;
  8061. function getFRM7 : TBits_1; inline;
  8062. function getFRML : TBits_8; inline;
  8063. procedure setFRM0(thebits : TBits_1); inline;
  8064. procedure setFRM1(thebits : TBits_1); inline;
  8065. procedure setFRM2(thebits : TBits_1); inline;
  8066. procedure setFRM3(thebits : TBits_1); inline;
  8067. procedure setFRM4(thebits : TBits_1); inline;
  8068. procedure setFRM5(thebits : TBits_1); inline;
  8069. procedure setFRM6(thebits : TBits_1); inline;
  8070. procedure setFRM7(thebits : TBits_1); inline;
  8071. procedure setFRML(thebits : TBits_8); inline;
  8072. public
  8073. procedure clearFRM0; inline;
  8074. procedure clearFRM1; inline;
  8075. procedure clearFRM2; inline;
  8076. procedure clearFRM3; inline;
  8077. procedure clearFRM4; inline;
  8078. procedure clearFRM5; inline;
  8079. procedure clearFRM6; inline;
  8080. procedure clearFRM7; inline;
  8081. procedure setFRM0; inline;
  8082. procedure setFRM1; inline;
  8083. procedure setFRM2; inline;
  8084. procedure setFRM3; inline;
  8085. procedure setFRM4; inline;
  8086. procedure setFRM5; inline;
  8087. procedure setFRM6; inline;
  8088. procedure setFRM7; inline;
  8089. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  8090. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  8091. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  8092. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  8093. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  8094. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  8095. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  8096. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  8097. property FRML : TBits_8 read getFRML write setFRML;
  8098. end;
  8099. TUSB_U1FRMH = record
  8100. private
  8101. function getFRM10 : TBits_1; inline;
  8102. function getFRM8 : TBits_1; inline;
  8103. function getFRM9 : TBits_1; inline;
  8104. function getFRMH : TBits_3; inline;
  8105. procedure setFRM10(thebits : TBits_1); inline;
  8106. procedure setFRM8(thebits : TBits_1); inline;
  8107. procedure setFRM9(thebits : TBits_1); inline;
  8108. procedure setFRMH(thebits : TBits_3); inline;
  8109. public
  8110. procedure clearFRM10; inline;
  8111. procedure clearFRM8; inline;
  8112. procedure clearFRM9; inline;
  8113. procedure setFRM10; inline;
  8114. procedure setFRM8; inline;
  8115. procedure setFRM9; inline;
  8116. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  8117. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  8118. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  8119. property FRMH : TBits_3 read getFRMH write setFRMH;
  8120. end;
  8121. TUSB_U1TOK = record
  8122. private
  8123. function getEP : TBits_4; inline;
  8124. function getEP0 : TBits_1; inline;
  8125. function getEP1 : TBits_1; inline;
  8126. function getEP2 : TBits_1; inline;
  8127. function getEP3 : TBits_1; inline;
  8128. function getPID : TBits_4; inline;
  8129. function getPID0 : TBits_1; inline;
  8130. function getPID1 : TBits_1; inline;
  8131. function getPID2 : TBits_1; inline;
  8132. function getPID3 : TBits_1; inline;
  8133. procedure setEP(thebits : TBits_4); inline;
  8134. procedure setEP0(thebits : TBits_1); inline;
  8135. procedure setEP1(thebits : TBits_1); inline;
  8136. procedure setEP2(thebits : TBits_1); inline;
  8137. procedure setEP3(thebits : TBits_1); inline;
  8138. procedure setPID(thebits : TBits_4); inline;
  8139. procedure setPID0(thebits : TBits_1); inline;
  8140. procedure setPID1(thebits : TBits_1); inline;
  8141. procedure setPID2(thebits : TBits_1); inline;
  8142. procedure setPID3(thebits : TBits_1); inline;
  8143. public
  8144. procedure clearEP0; inline;
  8145. procedure clearEP1; inline;
  8146. procedure clearEP2; inline;
  8147. procedure clearEP3; inline;
  8148. procedure clearPID0; inline;
  8149. procedure clearPID1; inline;
  8150. procedure clearPID2; inline;
  8151. procedure clearPID3; inline;
  8152. procedure setEP0; inline;
  8153. procedure setEP1; inline;
  8154. procedure setEP2; inline;
  8155. procedure setEP3; inline;
  8156. procedure setPID0; inline;
  8157. procedure setPID1; inline;
  8158. procedure setPID2; inline;
  8159. procedure setPID3; inline;
  8160. property EP : TBits_4 read getEP write setEP;
  8161. property EP0 : TBits_1 read getEP0 write setEP0;
  8162. property EP1 : TBits_1 read getEP1 write setEP1;
  8163. property EP2 : TBits_1 read getEP2 write setEP2;
  8164. property EP3 : TBits_1 read getEP3 write setEP3;
  8165. property PID : TBits_4 read getPID write setPID;
  8166. property PID0 : TBits_1 read getPID0 write setPID0;
  8167. property PID1 : TBits_1 read getPID1 write setPID1;
  8168. property PID2 : TBits_1 read getPID2 write setPID2;
  8169. property PID3 : TBits_1 read getPID3 write setPID3;
  8170. end;
  8171. type
  8172. TUSBRegisters = record
  8173. U1OTGIR : longWord;
  8174. U1OTGIRCLR : longWord;
  8175. U1OTGIE : longWord;
  8176. U1OTGIECLR : longWord;
  8177. U1OTGIESET : longWord;
  8178. U1OTGIEINV : longWord;
  8179. U1OTGSTAT : longWord;
  8180. U1OTGCON : longWord;
  8181. U1OTGCONCLR : longWord;
  8182. U1OTGCONSET : longWord;
  8183. U1OTGCONINV : longWord;
  8184. U1PWRC : longWord;
  8185. U1PWRCCLR : longWord;
  8186. U1PWRCSET : longWord;
  8187. U1PWRCINV : longWord;
  8188. U1IRbits : TUSB_U1IR;
  8189. U1IR : longWord;
  8190. U1IRCLR : longWord;
  8191. U1IEbits : TUSB_U1IE;
  8192. U1IE : longWord;
  8193. U1IECLR : longWord;
  8194. U1IESET : longWord;
  8195. U1IEINV : longWord;
  8196. U1EIRbits : TUSB_U1EIR;
  8197. U1EIR : longWord;
  8198. U1EIRCLR : longWord;
  8199. U1EIEbits : TUSB_U1EIE;
  8200. U1EIE : longWord;
  8201. U1EIECLR : longWord;
  8202. U1EIESET : longWord;
  8203. U1EIEINV : longWord;
  8204. U1STATbits : TUSB_U1STAT;
  8205. U1STAT : longWord;
  8206. U1CONbits : TUSB_U1CON;
  8207. U1CON : longWord;
  8208. U1CONCLR : longWord;
  8209. U1CONSET : longWord;
  8210. U1CONINV : longWord;
  8211. U1ADDRbits : TUSB_U1ADDR;
  8212. U1ADDR : longWord;
  8213. U1ADDRCLR : longWord;
  8214. U1ADDRSET : longWord;
  8215. U1ADDRINV : longWord;
  8216. U1BDTP1 : longWord;
  8217. U1BDTP1CLR : longWord;
  8218. U1BDTP1SET : longWord;
  8219. U1BDTP1INV : longWord;
  8220. U1FRMLbits : TUSB_U1FRML;
  8221. U1FRML : longWord;
  8222. U1FRMHbits : TUSB_U1FRMH;
  8223. U1FRMH : longWord;
  8224. U1TOKbits : TUSB_U1TOK;
  8225. U1TOK : longWord;
  8226. U1TOKCLR : longWord;
  8227. U1TOKSET : longWord;
  8228. U1TOKINV : longWord;
  8229. U1SOF : longWord;
  8230. U1SOFCLR : longWord;
  8231. U1SOFSET : longWord;
  8232. U1SOFINV : longWord;
  8233. U1BDTP2 : longWord;
  8234. U1BDTP2CLR : longWord;
  8235. U1BDTP2SET : longWord;
  8236. U1BDTP2INV : longWord;
  8237. U1BDTP3 : longWord;
  8238. U1BDTP3CLR : longWord;
  8239. U1BDTP3SET : longWord;
  8240. U1BDTP3INV : longWord;
  8241. U1CNFG1 : longWord;
  8242. U1CNFG1CLR : longWord;
  8243. U1CNFG1SET : longWord;
  8244. U1CNFG1INV : longWord;
  8245. U1EP0 : longWord;
  8246. U1EP0CLR : longWord;
  8247. U1EP0SET : longWord;
  8248. U1EP0INV : longWord;
  8249. U1EP1 : longWord;
  8250. U1EP1CLR : longWord;
  8251. U1EP1SET : longWord;
  8252. U1EP1INV : longWord;
  8253. U1EP2 : longWord;
  8254. U1EP2CLR : longWord;
  8255. U1EP2SET : longWord;
  8256. U1EP2INV : longWord;
  8257. U1EP3 : longWord;
  8258. U1EP3CLR : longWord;
  8259. U1EP3SET : longWord;
  8260. U1EP3INV : longWord;
  8261. U1EP4 : longWord;
  8262. U1EP4CLR : longWord;
  8263. U1EP4SET : longWord;
  8264. U1EP4INV : longWord;
  8265. U1EP5 : longWord;
  8266. U1EP5CLR : longWord;
  8267. U1EP5SET : longWord;
  8268. U1EP5INV : longWord;
  8269. U1EP6 : longWord;
  8270. U1EP6CLR : longWord;
  8271. U1EP6SET : longWord;
  8272. U1EP6INV : longWord;
  8273. U1EP7 : longWord;
  8274. U1EP7CLR : longWord;
  8275. U1EP7SET : longWord;
  8276. U1EP7INV : longWord;
  8277. U1EP8 : longWord;
  8278. U1EP8CLR : longWord;
  8279. U1EP8SET : longWord;
  8280. U1EP8INV : longWord;
  8281. U1EP9 : longWord;
  8282. U1EP9CLR : longWord;
  8283. U1EP9SET : longWord;
  8284. U1EP9INV : longWord;
  8285. U1EP10 : longWord;
  8286. U1EP10CLR : longWord;
  8287. U1EP10SET : longWord;
  8288. U1EP10INV : longWord;
  8289. U1EP11 : longWord;
  8290. U1EP11CLR : longWord;
  8291. U1EP11SET : longWord;
  8292. U1EP11INV : longWord;
  8293. U1EP12 : longWord;
  8294. U1EP12CLR : longWord;
  8295. U1EP12SET : longWord;
  8296. U1EP12INV : longWord;
  8297. U1EP13 : longWord;
  8298. U1EP13CLR : longWord;
  8299. U1EP13SET : longWord;
  8300. U1EP13INV : longWord;
  8301. U1EP14 : longWord;
  8302. U1EP14CLR : longWord;
  8303. U1EP14SET : longWord;
  8304. U1EP14INV : longWord;
  8305. U1EP15 : longWord;
  8306. U1EP15CLR : longWord;
  8307. U1EP15SET : longWord;
  8308. U1EP15INV : longWord;
  8309. end;
  8310. TPORTA_ANSELA = record
  8311. private
  8312. function getANSA0 : TBits_1; inline;
  8313. function getANSA1 : TBits_1; inline;
  8314. function getw : TBits_32; inline;
  8315. procedure setANSA0(thebits : TBits_1); inline;
  8316. procedure setANSA1(thebits : TBits_1); inline;
  8317. procedure setw(thebits : TBits_32); inline;
  8318. public
  8319. procedure clearANSA0; inline;
  8320. procedure clearANSA1; inline;
  8321. procedure setANSA0; inline;
  8322. procedure setANSA1; inline;
  8323. property ANSA0 : TBits_1 read getANSA0 write setANSA0;
  8324. property ANSA1 : TBits_1 read getANSA1 write setANSA1;
  8325. property w : TBits_32 read getw write setw;
  8326. end;
  8327. TPORTA_TRISA = record
  8328. private
  8329. function getTRISA0 : TBits_1; inline;
  8330. function getTRISA1 : TBits_1; inline;
  8331. function getTRISA10 : TBits_1; inline;
  8332. function getTRISA2 : TBits_1; inline;
  8333. function getTRISA3 : TBits_1; inline;
  8334. function getTRISA4 : TBits_1; inline;
  8335. function getTRISA7 : TBits_1; inline;
  8336. function getTRISA8 : TBits_1; inline;
  8337. function getTRISA9 : TBits_1; inline;
  8338. function getw : TBits_32; inline;
  8339. procedure setTRISA0(thebits : TBits_1); inline;
  8340. procedure setTRISA1(thebits : TBits_1); inline;
  8341. procedure setTRISA10(thebits : TBits_1); inline;
  8342. procedure setTRISA2(thebits : TBits_1); inline;
  8343. procedure setTRISA3(thebits : TBits_1); inline;
  8344. procedure setTRISA4(thebits : TBits_1); inline;
  8345. procedure setTRISA7(thebits : TBits_1); inline;
  8346. procedure setTRISA8(thebits : TBits_1); inline;
  8347. procedure setTRISA9(thebits : TBits_1); inline;
  8348. procedure setw(thebits : TBits_32); inline;
  8349. public
  8350. procedure clearTRISA0; inline;
  8351. procedure clearTRISA10; inline;
  8352. procedure clearTRISA1; inline;
  8353. procedure clearTRISA2; inline;
  8354. procedure clearTRISA3; inline;
  8355. procedure clearTRISA4; inline;
  8356. procedure clearTRISA7; inline;
  8357. procedure clearTRISA8; inline;
  8358. procedure clearTRISA9; inline;
  8359. procedure setTRISA0; inline;
  8360. procedure setTRISA10; inline;
  8361. procedure setTRISA1; inline;
  8362. procedure setTRISA2; inline;
  8363. procedure setTRISA3; inline;
  8364. procedure setTRISA4; inline;
  8365. procedure setTRISA7; inline;
  8366. procedure setTRISA8; inline;
  8367. procedure setTRISA9; inline;
  8368. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8369. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8370. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  8371. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8372. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8373. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8374. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  8375. property TRISA8 : TBits_1 read getTRISA8 write setTRISA8;
  8376. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  8377. property w : TBits_32 read getw write setw;
  8378. end;
  8379. TPORTA_PORTA = record
  8380. private
  8381. function getRA0 : TBits_1; inline;
  8382. function getRA1 : TBits_1; inline;
  8383. function getRA10 : TBits_1; inline;
  8384. function getRA2 : TBits_1; inline;
  8385. function getRA3 : TBits_1; inline;
  8386. function getRA4 : TBits_1; inline;
  8387. function getRA7 : TBits_1; inline;
  8388. function getRA8 : TBits_1; inline;
  8389. function getRA9 : TBits_1; inline;
  8390. function getw : TBits_32; inline;
  8391. procedure setRA0(thebits : TBits_1); inline;
  8392. procedure setRA1(thebits : TBits_1); inline;
  8393. procedure setRA10(thebits : TBits_1); inline;
  8394. procedure setRA2(thebits : TBits_1); inline;
  8395. procedure setRA3(thebits : TBits_1); inline;
  8396. procedure setRA4(thebits : TBits_1); inline;
  8397. procedure setRA7(thebits : TBits_1); inline;
  8398. procedure setRA8(thebits : TBits_1); inline;
  8399. procedure setRA9(thebits : TBits_1); inline;
  8400. procedure setw(thebits : TBits_32); inline;
  8401. public
  8402. procedure clearRA0; inline;
  8403. procedure clearRA10; inline;
  8404. procedure clearRA1; inline;
  8405. procedure clearRA2; inline;
  8406. procedure clearRA3; inline;
  8407. procedure clearRA4; inline;
  8408. procedure clearRA7; inline;
  8409. procedure clearRA8; inline;
  8410. procedure clearRA9; inline;
  8411. procedure setRA0; inline;
  8412. procedure setRA10; inline;
  8413. procedure setRA1; inline;
  8414. procedure setRA2; inline;
  8415. procedure setRA3; inline;
  8416. procedure setRA4; inline;
  8417. procedure setRA7; inline;
  8418. procedure setRA8; inline;
  8419. procedure setRA9; inline;
  8420. property RA0 : TBits_1 read getRA0 write setRA0;
  8421. property RA1 : TBits_1 read getRA1 write setRA1;
  8422. property RA10 : TBits_1 read getRA10 write setRA10;
  8423. property RA2 : TBits_1 read getRA2 write setRA2;
  8424. property RA3 : TBits_1 read getRA3 write setRA3;
  8425. property RA4 : TBits_1 read getRA4 write setRA4;
  8426. property RA7 : TBits_1 read getRA7 write setRA7;
  8427. property RA8 : TBits_1 read getRA8 write setRA8;
  8428. property RA9 : TBits_1 read getRA9 write setRA9;
  8429. property w : TBits_32 read getw write setw;
  8430. end;
  8431. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4,RA7=7,RA8=8,RA9=9,RA10=10);
  8432. TPortA_bitset = set of TPortA_bits;
  8433. TPORTA_LATA = record
  8434. private
  8435. function getLATA0 : TBits_1; inline;
  8436. function getLATA1 : TBits_1; inline;
  8437. function getLATA10 : TBits_1; inline;
  8438. function getLATA2 : TBits_1; inline;
  8439. function getLATA3 : TBits_1; inline;
  8440. function getLATA4 : TBits_1; inline;
  8441. function getLATA7 : TBits_1; inline;
  8442. function getLATA8 : TBits_1; inline;
  8443. function getLATA9 : TBits_1; inline;
  8444. function getw : TBits_32; inline;
  8445. procedure setLATA0(thebits : TBits_1); inline;
  8446. procedure setLATA1(thebits : TBits_1); inline;
  8447. procedure setLATA10(thebits : TBits_1); inline;
  8448. procedure setLATA2(thebits : TBits_1); inline;
  8449. procedure setLATA3(thebits : TBits_1); inline;
  8450. procedure setLATA4(thebits : TBits_1); inline;
  8451. procedure setLATA7(thebits : TBits_1); inline;
  8452. procedure setLATA8(thebits : TBits_1); inline;
  8453. procedure setLATA9(thebits : TBits_1); inline;
  8454. procedure setw(thebits : TBits_32); inline;
  8455. public
  8456. procedure clearLATA0; inline;
  8457. procedure clearLATA10; inline;
  8458. procedure clearLATA1; inline;
  8459. procedure clearLATA2; inline;
  8460. procedure clearLATA3; inline;
  8461. procedure clearLATA4; inline;
  8462. procedure clearLATA7; inline;
  8463. procedure clearLATA8; inline;
  8464. procedure clearLATA9; inline;
  8465. procedure setLATA0; inline;
  8466. procedure setLATA10; inline;
  8467. procedure setLATA1; inline;
  8468. procedure setLATA2; inline;
  8469. procedure setLATA3; inline;
  8470. procedure setLATA4; inline;
  8471. procedure setLATA7; inline;
  8472. procedure setLATA8; inline;
  8473. procedure setLATA9; inline;
  8474. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8475. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8476. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  8477. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8478. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8479. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8480. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  8481. property LATA8 : TBits_1 read getLATA8 write setLATA8;
  8482. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  8483. property w : TBits_32 read getw write setw;
  8484. end;
  8485. TPORTA_ODCA = record
  8486. private
  8487. function getODCA0 : TBits_1; inline;
  8488. function getODCA1 : TBits_1; inline;
  8489. function getODCA10 : TBits_1; inline;
  8490. function getODCA2 : TBits_1; inline;
  8491. function getODCA3 : TBits_1; inline;
  8492. function getODCA4 : TBits_1; inline;
  8493. function getODCA7 : TBits_1; inline;
  8494. function getODCA8 : TBits_1; inline;
  8495. function getODCA9 : TBits_1; inline;
  8496. function getw : TBits_32; inline;
  8497. procedure setODCA0(thebits : TBits_1); inline;
  8498. procedure setODCA1(thebits : TBits_1); inline;
  8499. procedure setODCA10(thebits : TBits_1); inline;
  8500. procedure setODCA2(thebits : TBits_1); inline;
  8501. procedure setODCA3(thebits : TBits_1); inline;
  8502. procedure setODCA4(thebits : TBits_1); inline;
  8503. procedure setODCA7(thebits : TBits_1); inline;
  8504. procedure setODCA8(thebits : TBits_1); inline;
  8505. procedure setODCA9(thebits : TBits_1); inline;
  8506. procedure setw(thebits : TBits_32); inline;
  8507. public
  8508. procedure clearODCA0; inline;
  8509. procedure clearODCA10; inline;
  8510. procedure clearODCA1; inline;
  8511. procedure clearODCA2; inline;
  8512. procedure clearODCA3; inline;
  8513. procedure clearODCA4; inline;
  8514. procedure clearODCA7; inline;
  8515. procedure clearODCA8; inline;
  8516. procedure clearODCA9; inline;
  8517. procedure setODCA0; inline;
  8518. procedure setODCA10; inline;
  8519. procedure setODCA1; inline;
  8520. procedure setODCA2; inline;
  8521. procedure setODCA3; inline;
  8522. procedure setODCA4; inline;
  8523. procedure setODCA7; inline;
  8524. procedure setODCA8; inline;
  8525. procedure setODCA9; inline;
  8526. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  8527. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  8528. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  8529. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  8530. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  8531. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  8532. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  8533. property ODCA8 : TBits_1 read getODCA8 write setODCA8;
  8534. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  8535. property w : TBits_32 read getw write setw;
  8536. end;
  8537. TPORTA_CNPUA = record
  8538. private
  8539. function getCNPUA0 : TBits_1; inline;
  8540. function getCNPUA1 : TBits_1; inline;
  8541. function getCNPUA10 : TBits_1; inline;
  8542. function getCNPUA2 : TBits_1; inline;
  8543. function getCNPUA3 : TBits_1; inline;
  8544. function getCNPUA4 : TBits_1; inline;
  8545. function getCNPUA7 : TBits_1; inline;
  8546. function getCNPUA8 : TBits_1; inline;
  8547. function getCNPUA9 : TBits_1; inline;
  8548. function getw : TBits_32; inline;
  8549. procedure setCNPUA0(thebits : TBits_1); inline;
  8550. procedure setCNPUA1(thebits : TBits_1); inline;
  8551. procedure setCNPUA10(thebits : TBits_1); inline;
  8552. procedure setCNPUA2(thebits : TBits_1); inline;
  8553. procedure setCNPUA3(thebits : TBits_1); inline;
  8554. procedure setCNPUA4(thebits : TBits_1); inline;
  8555. procedure setCNPUA7(thebits : TBits_1); inline;
  8556. procedure setCNPUA8(thebits : TBits_1); inline;
  8557. procedure setCNPUA9(thebits : TBits_1); inline;
  8558. procedure setw(thebits : TBits_32); inline;
  8559. public
  8560. procedure clearCNPUA0; inline;
  8561. procedure clearCNPUA10; inline;
  8562. procedure clearCNPUA1; inline;
  8563. procedure clearCNPUA2; inline;
  8564. procedure clearCNPUA3; inline;
  8565. procedure clearCNPUA4; inline;
  8566. procedure clearCNPUA7; inline;
  8567. procedure clearCNPUA8; inline;
  8568. procedure clearCNPUA9; inline;
  8569. procedure setCNPUA0; inline;
  8570. procedure setCNPUA10; inline;
  8571. procedure setCNPUA1; inline;
  8572. procedure setCNPUA2; inline;
  8573. procedure setCNPUA3; inline;
  8574. procedure setCNPUA4; inline;
  8575. procedure setCNPUA7; inline;
  8576. procedure setCNPUA8; inline;
  8577. procedure setCNPUA9; inline;
  8578. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8579. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8580. property CNPUA10 : TBits_1 read getCNPUA10 write setCNPUA10;
  8581. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8582. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8583. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8584. property CNPUA7 : TBits_1 read getCNPUA7 write setCNPUA7;
  8585. property CNPUA8 : TBits_1 read getCNPUA8 write setCNPUA8;
  8586. property CNPUA9 : TBits_1 read getCNPUA9 write setCNPUA9;
  8587. property w : TBits_32 read getw write setw;
  8588. end;
  8589. TPORTA_CNPDA = record
  8590. private
  8591. function getCNPDA0 : TBits_1; inline;
  8592. function getCNPDA1 : TBits_1; inline;
  8593. function getCNPDA10 : TBits_1; inline;
  8594. function getCNPDA2 : TBits_1; inline;
  8595. function getCNPDA3 : TBits_1; inline;
  8596. function getCNPDA4 : TBits_1; inline;
  8597. function getCNPDA7 : TBits_1; inline;
  8598. function getCNPDA8 : TBits_1; inline;
  8599. function getCNPDA9 : TBits_1; inline;
  8600. function getw : TBits_32; inline;
  8601. procedure setCNPDA0(thebits : TBits_1); inline;
  8602. procedure setCNPDA1(thebits : TBits_1); inline;
  8603. procedure setCNPDA10(thebits : TBits_1); inline;
  8604. procedure setCNPDA2(thebits : TBits_1); inline;
  8605. procedure setCNPDA3(thebits : TBits_1); inline;
  8606. procedure setCNPDA4(thebits : TBits_1); inline;
  8607. procedure setCNPDA7(thebits : TBits_1); inline;
  8608. procedure setCNPDA8(thebits : TBits_1); inline;
  8609. procedure setCNPDA9(thebits : TBits_1); inline;
  8610. procedure setw(thebits : TBits_32); inline;
  8611. public
  8612. procedure clearCNPDA0; inline;
  8613. procedure clearCNPDA10; inline;
  8614. procedure clearCNPDA1; inline;
  8615. procedure clearCNPDA2; inline;
  8616. procedure clearCNPDA3; inline;
  8617. procedure clearCNPDA4; inline;
  8618. procedure clearCNPDA7; inline;
  8619. procedure clearCNPDA8; inline;
  8620. procedure clearCNPDA9; inline;
  8621. procedure setCNPDA0; inline;
  8622. procedure setCNPDA10; inline;
  8623. procedure setCNPDA1; inline;
  8624. procedure setCNPDA2; inline;
  8625. procedure setCNPDA3; inline;
  8626. procedure setCNPDA4; inline;
  8627. procedure setCNPDA7; inline;
  8628. procedure setCNPDA8; inline;
  8629. procedure setCNPDA9; inline;
  8630. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8631. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8632. property CNPDA10 : TBits_1 read getCNPDA10 write setCNPDA10;
  8633. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8634. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8635. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8636. property CNPDA7 : TBits_1 read getCNPDA7 write setCNPDA7;
  8637. property CNPDA8 : TBits_1 read getCNPDA8 write setCNPDA8;
  8638. property CNPDA9 : TBits_1 read getCNPDA9 write setCNPDA9;
  8639. property w : TBits_32 read getw write setw;
  8640. end;
  8641. TPORTA_CNCONA = record
  8642. private
  8643. function getON : TBits_1; inline;
  8644. function getSIDL : TBits_1; inline;
  8645. function getw : TBits_32; inline;
  8646. procedure setON(thebits : TBits_1); inline;
  8647. procedure setSIDL(thebits : TBits_1); inline;
  8648. procedure setw(thebits : TBits_32); inline;
  8649. public
  8650. procedure clearON; inline;
  8651. procedure clearSIDL; inline;
  8652. procedure setON; inline;
  8653. procedure setSIDL; inline;
  8654. property ON : TBits_1 read getON write setON;
  8655. property SIDL : TBits_1 read getSIDL write setSIDL;
  8656. property w : TBits_32 read getw write setw;
  8657. end;
  8658. TPORTA_CNENA = record
  8659. private
  8660. function getCNIEA0 : TBits_1; inline;
  8661. function getCNIEA1 : TBits_1; inline;
  8662. function getCNIEA10 : TBits_1; inline;
  8663. function getCNIEA2 : TBits_1; inline;
  8664. function getCNIEA3 : TBits_1; inline;
  8665. function getCNIEA4 : TBits_1; inline;
  8666. function getCNIEA7 : TBits_1; inline;
  8667. function getCNIEA8 : TBits_1; inline;
  8668. function getCNIEA9 : TBits_1; inline;
  8669. function getw : TBits_32; inline;
  8670. procedure setCNIEA0(thebits : TBits_1); inline;
  8671. procedure setCNIEA1(thebits : TBits_1); inline;
  8672. procedure setCNIEA10(thebits : TBits_1); inline;
  8673. procedure setCNIEA2(thebits : TBits_1); inline;
  8674. procedure setCNIEA3(thebits : TBits_1); inline;
  8675. procedure setCNIEA4(thebits : TBits_1); inline;
  8676. procedure setCNIEA7(thebits : TBits_1); inline;
  8677. procedure setCNIEA8(thebits : TBits_1); inline;
  8678. procedure setCNIEA9(thebits : TBits_1); inline;
  8679. procedure setw(thebits : TBits_32); inline;
  8680. public
  8681. procedure clearCNIEA0; inline;
  8682. procedure clearCNIEA10; inline;
  8683. procedure clearCNIEA1; inline;
  8684. procedure clearCNIEA2; inline;
  8685. procedure clearCNIEA3; inline;
  8686. procedure clearCNIEA4; inline;
  8687. procedure clearCNIEA7; inline;
  8688. procedure clearCNIEA8; inline;
  8689. procedure clearCNIEA9; inline;
  8690. procedure setCNIEA0; inline;
  8691. procedure setCNIEA10; inline;
  8692. procedure setCNIEA1; inline;
  8693. procedure setCNIEA2; inline;
  8694. procedure setCNIEA3; inline;
  8695. procedure setCNIEA4; inline;
  8696. procedure setCNIEA7; inline;
  8697. procedure setCNIEA8; inline;
  8698. procedure setCNIEA9; inline;
  8699. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8700. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8701. property CNIEA10 : TBits_1 read getCNIEA10 write setCNIEA10;
  8702. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8703. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8704. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8705. property CNIEA7 : TBits_1 read getCNIEA7 write setCNIEA7;
  8706. property CNIEA8 : TBits_1 read getCNIEA8 write setCNIEA8;
  8707. property CNIEA9 : TBits_1 read getCNIEA9 write setCNIEA9;
  8708. property w : TBits_32 read getw write setw;
  8709. end;
  8710. TPORTA_CNSTATA = record
  8711. private
  8712. function getCNSTATA0 : TBits_1; inline;
  8713. function getCNSTATA1 : TBits_1; inline;
  8714. function getCNSTATA10 : TBits_1; inline;
  8715. function getCNSTATA2 : TBits_1; inline;
  8716. function getCNSTATA3 : TBits_1; inline;
  8717. function getCNSTATA4 : TBits_1; inline;
  8718. function getCNSTATA7 : TBits_1; inline;
  8719. function getCNSTATA8 : TBits_1; inline;
  8720. function getCNSTATA9 : TBits_1; inline;
  8721. function getw : TBits_32; inline;
  8722. procedure setCNSTATA0(thebits : TBits_1); inline;
  8723. procedure setCNSTATA1(thebits : TBits_1); inline;
  8724. procedure setCNSTATA10(thebits : TBits_1); inline;
  8725. procedure setCNSTATA2(thebits : TBits_1); inline;
  8726. procedure setCNSTATA3(thebits : TBits_1); inline;
  8727. procedure setCNSTATA4(thebits : TBits_1); inline;
  8728. procedure setCNSTATA7(thebits : TBits_1); inline;
  8729. procedure setCNSTATA8(thebits : TBits_1); inline;
  8730. procedure setCNSTATA9(thebits : TBits_1); inline;
  8731. procedure setw(thebits : TBits_32); inline;
  8732. public
  8733. procedure clearCNSTATA0; inline;
  8734. procedure clearCNSTATA10; inline;
  8735. procedure clearCNSTATA1; inline;
  8736. procedure clearCNSTATA2; inline;
  8737. procedure clearCNSTATA3; inline;
  8738. procedure clearCNSTATA4; inline;
  8739. procedure clearCNSTATA7; inline;
  8740. procedure clearCNSTATA8; inline;
  8741. procedure clearCNSTATA9; inline;
  8742. procedure setCNSTATA0; inline;
  8743. procedure setCNSTATA10; inline;
  8744. procedure setCNSTATA1; inline;
  8745. procedure setCNSTATA2; inline;
  8746. procedure setCNSTATA3; inline;
  8747. procedure setCNSTATA4; inline;
  8748. procedure setCNSTATA7; inline;
  8749. procedure setCNSTATA8; inline;
  8750. procedure setCNSTATA9; inline;
  8751. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8752. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8753. property CNSTATA10 : TBits_1 read getCNSTATA10 write setCNSTATA10;
  8754. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8755. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8756. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8757. property CNSTATA7 : TBits_1 read getCNSTATA7 write setCNSTATA7;
  8758. property CNSTATA8 : TBits_1 read getCNSTATA8 write setCNSTATA8;
  8759. property CNSTATA9 : TBits_1 read getCNSTATA9 write setCNSTATA9;
  8760. property w : TBits_32 read getw write setw;
  8761. end;
  8762. type
  8763. TPORTARegisters = record
  8764. ANSELAbits : TPORTA_ANSELA;
  8765. ANSELA : longWord;
  8766. ANSELACLR : longWord;
  8767. ANSELASET : longWord;
  8768. ANSELAINV : longWord;
  8769. TRISAbits : TPORTA_TRISA;
  8770. TRISA : longWord;
  8771. TRISACLR : longWord;
  8772. TRISASET : longWord;
  8773. TRISAINV : longWord;
  8774. PORTAbits : TPORTA_PORTA;
  8775. PORTA : longWord;
  8776. PORTACLR : longWord;
  8777. PORTASET : longWord;
  8778. PORTAINV : longWord;
  8779. LATAbits : TPORTA_LATA;
  8780. LATA : longWord;
  8781. LATACLR : longWord;
  8782. LATASET : longWord;
  8783. LATAINV : longWord;
  8784. ODCAbits : TPORTA_ODCA;
  8785. ODCA : longWord;
  8786. ODCACLR : longWord;
  8787. ODCASET : longWord;
  8788. ODCAINV : longWord;
  8789. CNPUAbits : TPORTA_CNPUA;
  8790. CNPUA : longWord;
  8791. CNPUACLR : longWord;
  8792. CNPUASET : longWord;
  8793. CNPUAINV : longWord;
  8794. CNPDAbits : TPORTA_CNPDA;
  8795. CNPDA : longWord;
  8796. CNPDACLR : longWord;
  8797. CNPDASET : longWord;
  8798. CNPDAINV : longWord;
  8799. CNCONAbits : TPORTA_CNCONA;
  8800. CNCONA : longWord;
  8801. CNCONACLR : longWord;
  8802. CNCONASET : longWord;
  8803. CNCONAINV : longWord;
  8804. CNENAbits : TPORTA_CNENA;
  8805. CNENA : longWord;
  8806. CNENACLR : longWord;
  8807. CNENASET : longWord;
  8808. CNENAINV : longWord;
  8809. CNSTATAbits : TPORTA_CNSTATA;
  8810. CNSTATA : longWord;
  8811. CNSTATACLR : longWord;
  8812. CNSTATASET : longWord;
  8813. CNSTATAINV : longWord;
  8814. end;
  8815. TPORTB_ANSELB = record
  8816. private
  8817. function getANSB0 : TBits_1; inline;
  8818. function getANSB1 : TBits_1; inline;
  8819. function getANSB13 : TBits_1; inline;
  8820. function getANSB14 : TBits_1; inline;
  8821. function getANSB15 : TBits_1; inline;
  8822. function getANSB2 : TBits_1; inline;
  8823. function getANSB3 : TBits_1; inline;
  8824. function getw : TBits_32; inline;
  8825. procedure setANSB0(thebits : TBits_1); inline;
  8826. procedure setANSB1(thebits : TBits_1); inline;
  8827. procedure setANSB13(thebits : TBits_1); inline;
  8828. procedure setANSB14(thebits : TBits_1); inline;
  8829. procedure setANSB15(thebits : TBits_1); inline;
  8830. procedure setANSB2(thebits : TBits_1); inline;
  8831. procedure setANSB3(thebits : TBits_1); inline;
  8832. procedure setw(thebits : TBits_32); inline;
  8833. public
  8834. procedure clearANSB0; inline;
  8835. procedure clearANSB13; inline;
  8836. procedure clearANSB14; inline;
  8837. procedure clearANSB15; inline;
  8838. procedure clearANSB1; inline;
  8839. procedure clearANSB2; inline;
  8840. procedure clearANSB3; inline;
  8841. procedure setANSB0; inline;
  8842. procedure setANSB13; inline;
  8843. procedure setANSB14; inline;
  8844. procedure setANSB15; inline;
  8845. procedure setANSB1; inline;
  8846. procedure setANSB2; inline;
  8847. procedure setANSB3; inline;
  8848. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8849. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8850. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8851. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8852. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8853. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8854. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8855. property w : TBits_32 read getw write setw;
  8856. end;
  8857. TPORTB_TRISB = record
  8858. private
  8859. function getTRISB0 : TBits_1; inline;
  8860. function getTRISB1 : TBits_1; inline;
  8861. function getTRISB10 : TBits_1; inline;
  8862. function getTRISB11 : TBits_1; inline;
  8863. function getTRISB13 : TBits_1; inline;
  8864. function getTRISB14 : TBits_1; inline;
  8865. function getTRISB15 : TBits_1; inline;
  8866. function getTRISB2 : TBits_1; inline;
  8867. function getTRISB3 : TBits_1; inline;
  8868. function getTRISB4 : TBits_1; inline;
  8869. function getTRISB5 : TBits_1; inline;
  8870. function getTRISB7 : TBits_1; inline;
  8871. function getTRISB8 : TBits_1; inline;
  8872. function getTRISB9 : TBits_1; inline;
  8873. function getw : TBits_32; inline;
  8874. procedure setTRISB0(thebits : TBits_1); inline;
  8875. procedure setTRISB1(thebits : TBits_1); inline;
  8876. procedure setTRISB10(thebits : TBits_1); inline;
  8877. procedure setTRISB11(thebits : TBits_1); inline;
  8878. procedure setTRISB13(thebits : TBits_1); inline;
  8879. procedure setTRISB14(thebits : TBits_1); inline;
  8880. procedure setTRISB15(thebits : TBits_1); inline;
  8881. procedure setTRISB2(thebits : TBits_1); inline;
  8882. procedure setTRISB3(thebits : TBits_1); inline;
  8883. procedure setTRISB4(thebits : TBits_1); inline;
  8884. procedure setTRISB5(thebits : TBits_1); inline;
  8885. procedure setTRISB7(thebits : TBits_1); inline;
  8886. procedure setTRISB8(thebits : TBits_1); inline;
  8887. procedure setTRISB9(thebits : TBits_1); inline;
  8888. procedure setw(thebits : TBits_32); inline;
  8889. public
  8890. procedure clearTRISB0; inline;
  8891. procedure clearTRISB10; inline;
  8892. procedure clearTRISB11; inline;
  8893. procedure clearTRISB13; inline;
  8894. procedure clearTRISB14; inline;
  8895. procedure clearTRISB15; inline;
  8896. procedure clearTRISB1; inline;
  8897. procedure clearTRISB2; inline;
  8898. procedure clearTRISB3; inline;
  8899. procedure clearTRISB4; inline;
  8900. procedure clearTRISB5; inline;
  8901. procedure clearTRISB7; inline;
  8902. procedure clearTRISB8; inline;
  8903. procedure clearTRISB9; inline;
  8904. procedure setTRISB0; inline;
  8905. procedure setTRISB10; inline;
  8906. procedure setTRISB11; inline;
  8907. procedure setTRISB13; inline;
  8908. procedure setTRISB14; inline;
  8909. procedure setTRISB15; inline;
  8910. procedure setTRISB1; inline;
  8911. procedure setTRISB2; inline;
  8912. procedure setTRISB3; inline;
  8913. procedure setTRISB4; inline;
  8914. procedure setTRISB5; inline;
  8915. procedure setTRISB7; inline;
  8916. procedure setTRISB8; inline;
  8917. procedure setTRISB9; inline;
  8918. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8919. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8920. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8921. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8922. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8923. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8924. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8925. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8926. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8927. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8928. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8929. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8930. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8931. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8932. property w : TBits_32 read getw write setw;
  8933. end;
  8934. TPORTB_PORTB = record
  8935. private
  8936. function getRB0 : TBits_1; inline;
  8937. function getRB1 : TBits_1; inline;
  8938. function getRB10 : TBits_1; inline;
  8939. function getRB11 : TBits_1; inline;
  8940. function getRB13 : TBits_1; inline;
  8941. function getRB14 : TBits_1; inline;
  8942. function getRB15 : TBits_1; inline;
  8943. function getRB2 : TBits_1; inline;
  8944. function getRB3 : TBits_1; inline;
  8945. function getRB4 : TBits_1; inline;
  8946. function getRB5 : TBits_1; inline;
  8947. function getRB7 : TBits_1; inline;
  8948. function getRB8 : TBits_1; inline;
  8949. function getRB9 : TBits_1; inline;
  8950. function getw : TBits_32; inline;
  8951. procedure setRB0(thebits : TBits_1); inline;
  8952. procedure setRB1(thebits : TBits_1); inline;
  8953. procedure setRB10(thebits : TBits_1); inline;
  8954. procedure setRB11(thebits : TBits_1); inline;
  8955. procedure setRB13(thebits : TBits_1); inline;
  8956. procedure setRB14(thebits : TBits_1); inline;
  8957. procedure setRB15(thebits : TBits_1); inline;
  8958. procedure setRB2(thebits : TBits_1); inline;
  8959. procedure setRB3(thebits : TBits_1); inline;
  8960. procedure setRB4(thebits : TBits_1); inline;
  8961. procedure setRB5(thebits : TBits_1); inline;
  8962. procedure setRB7(thebits : TBits_1); inline;
  8963. procedure setRB8(thebits : TBits_1); inline;
  8964. procedure setRB9(thebits : TBits_1); inline;
  8965. procedure setw(thebits : TBits_32); inline;
  8966. public
  8967. procedure clearRB0; inline;
  8968. procedure clearRB10; inline;
  8969. procedure clearRB11; inline;
  8970. procedure clearRB13; inline;
  8971. procedure clearRB14; inline;
  8972. procedure clearRB15; inline;
  8973. procedure clearRB1; inline;
  8974. procedure clearRB2; inline;
  8975. procedure clearRB3; inline;
  8976. procedure clearRB4; inline;
  8977. procedure clearRB5; inline;
  8978. procedure clearRB7; inline;
  8979. procedure clearRB8; inline;
  8980. procedure clearRB9; inline;
  8981. procedure setRB0; inline;
  8982. procedure setRB10; inline;
  8983. procedure setRB11; inline;
  8984. procedure setRB13; inline;
  8985. procedure setRB14; inline;
  8986. procedure setRB15; inline;
  8987. procedure setRB1; inline;
  8988. procedure setRB2; inline;
  8989. procedure setRB3; inline;
  8990. procedure setRB4; inline;
  8991. procedure setRB5; inline;
  8992. procedure setRB7; inline;
  8993. procedure setRB8; inline;
  8994. procedure setRB9; inline;
  8995. property RB0 : TBits_1 read getRB0 write setRB0;
  8996. property RB1 : TBits_1 read getRB1 write setRB1;
  8997. property RB10 : TBits_1 read getRB10 write setRB10;
  8998. property RB11 : TBits_1 read getRB11 write setRB11;
  8999. property RB13 : TBits_1 read getRB13 write setRB13;
  9000. property RB14 : TBits_1 read getRB14 write setRB14;
  9001. property RB15 : TBits_1 read getRB15 write setRB15;
  9002. property RB2 : TBits_1 read getRB2 write setRB2;
  9003. property RB3 : TBits_1 read getRB3 write setRB3;
  9004. property RB4 : TBits_1 read getRB4 write setRB4;
  9005. property RB5 : TBits_1 read getRB5 write setRB5;
  9006. property RB7 : TBits_1 read getRB7 write setRB7;
  9007. property RB8 : TBits_1 read getRB8 write setRB8;
  9008. property RB9 : TBits_1 read getRB9 write setRB9;
  9009. property w : TBits_32 read getw write setw;
  9010. end;
  9011. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB13=13,RB14=14,RB15=15);
  9012. TPortB_bitset = set of TPortB_bits;
  9013. TPORTB_LATB = record
  9014. private
  9015. function getLATB0 : TBits_1; inline;
  9016. function getLATB1 : TBits_1; inline;
  9017. function getLATB10 : TBits_1; inline;
  9018. function getLATB11 : TBits_1; inline;
  9019. function getLATB13 : TBits_1; inline;
  9020. function getLATB14 : TBits_1; inline;
  9021. function getLATB15 : TBits_1; inline;
  9022. function getLATB2 : TBits_1; inline;
  9023. function getLATB3 : TBits_1; inline;
  9024. function getLATB4 : TBits_1; inline;
  9025. function getLATB5 : TBits_1; inline;
  9026. function getLATB7 : TBits_1; inline;
  9027. function getLATB8 : TBits_1; inline;
  9028. function getLATB9 : TBits_1; inline;
  9029. function getw : TBits_32; inline;
  9030. procedure setLATB0(thebits : TBits_1); inline;
  9031. procedure setLATB1(thebits : TBits_1); inline;
  9032. procedure setLATB10(thebits : TBits_1); inline;
  9033. procedure setLATB11(thebits : TBits_1); inline;
  9034. procedure setLATB13(thebits : TBits_1); inline;
  9035. procedure setLATB14(thebits : TBits_1); inline;
  9036. procedure setLATB15(thebits : TBits_1); inline;
  9037. procedure setLATB2(thebits : TBits_1); inline;
  9038. procedure setLATB3(thebits : TBits_1); inline;
  9039. procedure setLATB4(thebits : TBits_1); inline;
  9040. procedure setLATB5(thebits : TBits_1); inline;
  9041. procedure setLATB7(thebits : TBits_1); inline;
  9042. procedure setLATB8(thebits : TBits_1); inline;
  9043. procedure setLATB9(thebits : TBits_1); inline;
  9044. procedure setw(thebits : TBits_32); inline;
  9045. public
  9046. procedure clearLATB0; inline;
  9047. procedure clearLATB10; inline;
  9048. procedure clearLATB11; inline;
  9049. procedure clearLATB13; inline;
  9050. procedure clearLATB14; inline;
  9051. procedure clearLATB15; inline;
  9052. procedure clearLATB1; inline;
  9053. procedure clearLATB2; inline;
  9054. procedure clearLATB3; inline;
  9055. procedure clearLATB4; inline;
  9056. procedure clearLATB5; inline;
  9057. procedure clearLATB7; inline;
  9058. procedure clearLATB8; inline;
  9059. procedure clearLATB9; inline;
  9060. procedure setLATB0; inline;
  9061. procedure setLATB10; inline;
  9062. procedure setLATB11; inline;
  9063. procedure setLATB13; inline;
  9064. procedure setLATB14; inline;
  9065. procedure setLATB15; inline;
  9066. procedure setLATB1; inline;
  9067. procedure setLATB2; inline;
  9068. procedure setLATB3; inline;
  9069. procedure setLATB4; inline;
  9070. procedure setLATB5; inline;
  9071. procedure setLATB7; inline;
  9072. procedure setLATB8; inline;
  9073. procedure setLATB9; inline;
  9074. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  9075. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  9076. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  9077. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  9078. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  9079. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  9080. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  9081. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  9082. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  9083. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  9084. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  9085. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  9086. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  9087. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  9088. property w : TBits_32 read getw write setw;
  9089. end;
  9090. TPORTB_ODCB = record
  9091. private
  9092. function getODCB0 : TBits_1; inline;
  9093. function getODCB1 : TBits_1; inline;
  9094. function getODCB10 : TBits_1; inline;
  9095. function getODCB11 : TBits_1; inline;
  9096. function getODCB13 : TBits_1; inline;
  9097. function getODCB14 : TBits_1; inline;
  9098. function getODCB15 : TBits_1; inline;
  9099. function getODCB2 : TBits_1; inline;
  9100. function getODCB3 : TBits_1; inline;
  9101. function getODCB4 : TBits_1; inline;
  9102. function getODCB5 : TBits_1; inline;
  9103. function getODCB7 : TBits_1; inline;
  9104. function getODCB8 : TBits_1; inline;
  9105. function getODCB9 : TBits_1; inline;
  9106. function getw : TBits_32; inline;
  9107. procedure setODCB0(thebits : TBits_1); inline;
  9108. procedure setODCB1(thebits : TBits_1); inline;
  9109. procedure setODCB10(thebits : TBits_1); inline;
  9110. procedure setODCB11(thebits : TBits_1); inline;
  9111. procedure setODCB13(thebits : TBits_1); inline;
  9112. procedure setODCB14(thebits : TBits_1); inline;
  9113. procedure setODCB15(thebits : TBits_1); inline;
  9114. procedure setODCB2(thebits : TBits_1); inline;
  9115. procedure setODCB3(thebits : TBits_1); inline;
  9116. procedure setODCB4(thebits : TBits_1); inline;
  9117. procedure setODCB5(thebits : TBits_1); inline;
  9118. procedure setODCB7(thebits : TBits_1); inline;
  9119. procedure setODCB8(thebits : TBits_1); inline;
  9120. procedure setODCB9(thebits : TBits_1); inline;
  9121. procedure setw(thebits : TBits_32); inline;
  9122. public
  9123. procedure clearODCB0; inline;
  9124. procedure clearODCB10; inline;
  9125. procedure clearODCB11; inline;
  9126. procedure clearODCB13; inline;
  9127. procedure clearODCB14; inline;
  9128. procedure clearODCB15; inline;
  9129. procedure clearODCB1; inline;
  9130. procedure clearODCB2; inline;
  9131. procedure clearODCB3; inline;
  9132. procedure clearODCB4; inline;
  9133. procedure clearODCB5; inline;
  9134. procedure clearODCB7; inline;
  9135. procedure clearODCB8; inline;
  9136. procedure clearODCB9; inline;
  9137. procedure setODCB0; inline;
  9138. procedure setODCB10; inline;
  9139. procedure setODCB11; inline;
  9140. procedure setODCB13; inline;
  9141. procedure setODCB14; inline;
  9142. procedure setODCB15; inline;
  9143. procedure setODCB1; inline;
  9144. procedure setODCB2; inline;
  9145. procedure setODCB3; inline;
  9146. procedure setODCB4; inline;
  9147. procedure setODCB5; inline;
  9148. procedure setODCB7; inline;
  9149. procedure setODCB8; inline;
  9150. procedure setODCB9; inline;
  9151. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  9152. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  9153. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  9154. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  9155. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  9156. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  9157. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  9158. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  9159. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  9160. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  9161. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  9162. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  9163. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  9164. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  9165. property w : TBits_32 read getw write setw;
  9166. end;
  9167. TPORTB_CNPUB = record
  9168. private
  9169. function getCNPUB0 : TBits_1; inline;
  9170. function getCNPUB1 : TBits_1; inline;
  9171. function getCNPUB10 : TBits_1; inline;
  9172. function getCNPUB11 : TBits_1; inline;
  9173. function getCNPUB13 : TBits_1; inline;
  9174. function getCNPUB14 : TBits_1; inline;
  9175. function getCNPUB15 : TBits_1; inline;
  9176. function getCNPUB2 : TBits_1; inline;
  9177. function getCNPUB3 : TBits_1; inline;
  9178. function getCNPUB4 : TBits_1; inline;
  9179. function getCNPUB5 : TBits_1; inline;
  9180. function getCNPUB7 : TBits_1; inline;
  9181. function getCNPUB8 : TBits_1; inline;
  9182. function getCNPUB9 : TBits_1; inline;
  9183. function getw : TBits_32; inline;
  9184. procedure setCNPUB0(thebits : TBits_1); inline;
  9185. procedure setCNPUB1(thebits : TBits_1); inline;
  9186. procedure setCNPUB10(thebits : TBits_1); inline;
  9187. procedure setCNPUB11(thebits : TBits_1); inline;
  9188. procedure setCNPUB13(thebits : TBits_1); inline;
  9189. procedure setCNPUB14(thebits : TBits_1); inline;
  9190. procedure setCNPUB15(thebits : TBits_1); inline;
  9191. procedure setCNPUB2(thebits : TBits_1); inline;
  9192. procedure setCNPUB3(thebits : TBits_1); inline;
  9193. procedure setCNPUB4(thebits : TBits_1); inline;
  9194. procedure setCNPUB5(thebits : TBits_1); inline;
  9195. procedure setCNPUB7(thebits : TBits_1); inline;
  9196. procedure setCNPUB8(thebits : TBits_1); inline;
  9197. procedure setCNPUB9(thebits : TBits_1); inline;
  9198. procedure setw(thebits : TBits_32); inline;
  9199. public
  9200. procedure clearCNPUB0; inline;
  9201. procedure clearCNPUB10; inline;
  9202. procedure clearCNPUB11; inline;
  9203. procedure clearCNPUB13; inline;
  9204. procedure clearCNPUB14; inline;
  9205. procedure clearCNPUB15; inline;
  9206. procedure clearCNPUB1; inline;
  9207. procedure clearCNPUB2; inline;
  9208. procedure clearCNPUB3; inline;
  9209. procedure clearCNPUB4; inline;
  9210. procedure clearCNPUB5; inline;
  9211. procedure clearCNPUB7; inline;
  9212. procedure clearCNPUB8; inline;
  9213. procedure clearCNPUB9; inline;
  9214. procedure setCNPUB0; inline;
  9215. procedure setCNPUB10; inline;
  9216. procedure setCNPUB11; inline;
  9217. procedure setCNPUB13; inline;
  9218. procedure setCNPUB14; inline;
  9219. procedure setCNPUB15; inline;
  9220. procedure setCNPUB1; inline;
  9221. procedure setCNPUB2; inline;
  9222. procedure setCNPUB3; inline;
  9223. procedure setCNPUB4; inline;
  9224. procedure setCNPUB5; inline;
  9225. procedure setCNPUB7; inline;
  9226. procedure setCNPUB8; inline;
  9227. procedure setCNPUB9; inline;
  9228. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9229. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9230. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9231. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9232. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9233. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9234. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9235. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9236. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9237. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9238. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9239. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9240. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9241. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9242. property w : TBits_32 read getw write setw;
  9243. end;
  9244. TPORTB_CNPDB = record
  9245. private
  9246. function getCNPDB0 : TBits_1; inline;
  9247. function getCNPDB1 : TBits_1; inline;
  9248. function getCNPDB10 : TBits_1; inline;
  9249. function getCNPDB11 : TBits_1; inline;
  9250. function getCNPDB13 : TBits_1; inline;
  9251. function getCNPDB14 : TBits_1; inline;
  9252. function getCNPDB15 : TBits_1; inline;
  9253. function getCNPDB2 : TBits_1; inline;
  9254. function getCNPDB3 : TBits_1; inline;
  9255. function getCNPDB4 : TBits_1; inline;
  9256. function getCNPDB5 : TBits_1; inline;
  9257. function getCNPDB7 : TBits_1; inline;
  9258. function getCNPDB8 : TBits_1; inline;
  9259. function getCNPDB9 : TBits_1; inline;
  9260. function getw : TBits_32; inline;
  9261. procedure setCNPDB0(thebits : TBits_1); inline;
  9262. procedure setCNPDB1(thebits : TBits_1); inline;
  9263. procedure setCNPDB10(thebits : TBits_1); inline;
  9264. procedure setCNPDB11(thebits : TBits_1); inline;
  9265. procedure setCNPDB13(thebits : TBits_1); inline;
  9266. procedure setCNPDB14(thebits : TBits_1); inline;
  9267. procedure setCNPDB15(thebits : TBits_1); inline;
  9268. procedure setCNPDB2(thebits : TBits_1); inline;
  9269. procedure setCNPDB3(thebits : TBits_1); inline;
  9270. procedure setCNPDB4(thebits : TBits_1); inline;
  9271. procedure setCNPDB5(thebits : TBits_1); inline;
  9272. procedure setCNPDB7(thebits : TBits_1); inline;
  9273. procedure setCNPDB8(thebits : TBits_1); inline;
  9274. procedure setCNPDB9(thebits : TBits_1); inline;
  9275. procedure setw(thebits : TBits_32); inline;
  9276. public
  9277. procedure clearCNPDB0; inline;
  9278. procedure clearCNPDB10; inline;
  9279. procedure clearCNPDB11; inline;
  9280. procedure clearCNPDB13; inline;
  9281. procedure clearCNPDB14; inline;
  9282. procedure clearCNPDB15; inline;
  9283. procedure clearCNPDB1; inline;
  9284. procedure clearCNPDB2; inline;
  9285. procedure clearCNPDB3; inline;
  9286. procedure clearCNPDB4; inline;
  9287. procedure clearCNPDB5; inline;
  9288. procedure clearCNPDB7; inline;
  9289. procedure clearCNPDB8; inline;
  9290. procedure clearCNPDB9; inline;
  9291. procedure setCNPDB0; inline;
  9292. procedure setCNPDB10; inline;
  9293. procedure setCNPDB11; inline;
  9294. procedure setCNPDB13; inline;
  9295. procedure setCNPDB14; inline;
  9296. procedure setCNPDB15; inline;
  9297. procedure setCNPDB1; inline;
  9298. procedure setCNPDB2; inline;
  9299. procedure setCNPDB3; inline;
  9300. procedure setCNPDB4; inline;
  9301. procedure setCNPDB5; inline;
  9302. procedure setCNPDB7; inline;
  9303. procedure setCNPDB8; inline;
  9304. procedure setCNPDB9; inline;
  9305. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9306. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9307. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9308. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9309. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9310. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9311. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9312. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9313. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9314. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9315. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9316. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9317. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9318. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9319. property w : TBits_32 read getw write setw;
  9320. end;
  9321. TPORTB_CNCONB = record
  9322. private
  9323. function getON : TBits_1; inline;
  9324. function getSIDL : TBits_1; inline;
  9325. function getw : TBits_32; inline;
  9326. procedure setON(thebits : TBits_1); inline;
  9327. procedure setSIDL(thebits : TBits_1); inline;
  9328. procedure setw(thebits : TBits_32); inline;
  9329. public
  9330. procedure clearON; inline;
  9331. procedure clearSIDL; inline;
  9332. procedure setON; inline;
  9333. procedure setSIDL; inline;
  9334. property ON : TBits_1 read getON write setON;
  9335. property SIDL : TBits_1 read getSIDL write setSIDL;
  9336. property w : TBits_32 read getw write setw;
  9337. end;
  9338. TPORTB_CNENB = record
  9339. private
  9340. function getCNIEB0 : TBits_1; inline;
  9341. function getCNIEB1 : TBits_1; inline;
  9342. function getCNIEB10 : TBits_1; inline;
  9343. function getCNIEB11 : TBits_1; inline;
  9344. function getCNIEB13 : TBits_1; inline;
  9345. function getCNIEB14 : TBits_1; inline;
  9346. function getCNIEB15 : TBits_1; inline;
  9347. function getCNIEB2 : TBits_1; inline;
  9348. function getCNIEB3 : TBits_1; inline;
  9349. function getCNIEB4 : TBits_1; inline;
  9350. function getCNIEB5 : TBits_1; inline;
  9351. function getCNIEB7 : TBits_1; inline;
  9352. function getCNIEB8 : TBits_1; inline;
  9353. function getCNIEB9 : TBits_1; inline;
  9354. function getw : TBits_32; inline;
  9355. procedure setCNIEB0(thebits : TBits_1); inline;
  9356. procedure setCNIEB1(thebits : TBits_1); inline;
  9357. procedure setCNIEB10(thebits : TBits_1); inline;
  9358. procedure setCNIEB11(thebits : TBits_1); inline;
  9359. procedure setCNIEB13(thebits : TBits_1); inline;
  9360. procedure setCNIEB14(thebits : TBits_1); inline;
  9361. procedure setCNIEB15(thebits : TBits_1); inline;
  9362. procedure setCNIEB2(thebits : TBits_1); inline;
  9363. procedure setCNIEB3(thebits : TBits_1); inline;
  9364. procedure setCNIEB4(thebits : TBits_1); inline;
  9365. procedure setCNIEB5(thebits : TBits_1); inline;
  9366. procedure setCNIEB7(thebits : TBits_1); inline;
  9367. procedure setCNIEB8(thebits : TBits_1); inline;
  9368. procedure setCNIEB9(thebits : TBits_1); inline;
  9369. procedure setw(thebits : TBits_32); inline;
  9370. public
  9371. procedure clearCNIEB0; inline;
  9372. procedure clearCNIEB10; inline;
  9373. procedure clearCNIEB11; inline;
  9374. procedure clearCNIEB13; inline;
  9375. procedure clearCNIEB14; inline;
  9376. procedure clearCNIEB15; inline;
  9377. procedure clearCNIEB1; inline;
  9378. procedure clearCNIEB2; inline;
  9379. procedure clearCNIEB3; inline;
  9380. procedure clearCNIEB4; inline;
  9381. procedure clearCNIEB5; inline;
  9382. procedure clearCNIEB7; inline;
  9383. procedure clearCNIEB8; inline;
  9384. procedure clearCNIEB9; inline;
  9385. procedure setCNIEB0; inline;
  9386. procedure setCNIEB10; inline;
  9387. procedure setCNIEB11; inline;
  9388. procedure setCNIEB13; inline;
  9389. procedure setCNIEB14; inline;
  9390. procedure setCNIEB15; inline;
  9391. procedure setCNIEB1; inline;
  9392. procedure setCNIEB2; inline;
  9393. procedure setCNIEB3; inline;
  9394. procedure setCNIEB4; inline;
  9395. procedure setCNIEB5; inline;
  9396. procedure setCNIEB7; inline;
  9397. procedure setCNIEB8; inline;
  9398. procedure setCNIEB9; inline;
  9399. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9400. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9401. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9402. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9403. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9404. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9405. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9406. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9407. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9408. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9409. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9410. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9411. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9412. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9413. property w : TBits_32 read getw write setw;
  9414. end;
  9415. TPORTB_CNSTATB = record
  9416. private
  9417. function getCNSTATB0 : TBits_1; inline;
  9418. function getCNSTATB1 : TBits_1; inline;
  9419. function getCNSTATB10 : TBits_1; inline;
  9420. function getCNSTATB11 : TBits_1; inline;
  9421. function getCNSTATB13 : TBits_1; inline;
  9422. function getCNSTATB14 : TBits_1; inline;
  9423. function getCNSTATB15 : TBits_1; inline;
  9424. function getCNSTATB2 : TBits_1; inline;
  9425. function getCNSTATB3 : TBits_1; inline;
  9426. function getCNSTATB4 : TBits_1; inline;
  9427. function getCNSTATB5 : TBits_1; inline;
  9428. function getCNSTATB7 : TBits_1; inline;
  9429. function getCNSTATB8 : TBits_1; inline;
  9430. function getCNSTATB9 : TBits_1; inline;
  9431. function getw : TBits_32; inline;
  9432. procedure setCNSTATB0(thebits : TBits_1); inline;
  9433. procedure setCNSTATB1(thebits : TBits_1); inline;
  9434. procedure setCNSTATB10(thebits : TBits_1); inline;
  9435. procedure setCNSTATB11(thebits : TBits_1); inline;
  9436. procedure setCNSTATB13(thebits : TBits_1); inline;
  9437. procedure setCNSTATB14(thebits : TBits_1); inline;
  9438. procedure setCNSTATB15(thebits : TBits_1); inline;
  9439. procedure setCNSTATB2(thebits : TBits_1); inline;
  9440. procedure setCNSTATB3(thebits : TBits_1); inline;
  9441. procedure setCNSTATB4(thebits : TBits_1); inline;
  9442. procedure setCNSTATB5(thebits : TBits_1); inline;
  9443. procedure setCNSTATB7(thebits : TBits_1); inline;
  9444. procedure setCNSTATB8(thebits : TBits_1); inline;
  9445. procedure setCNSTATB9(thebits : TBits_1); inline;
  9446. procedure setw(thebits : TBits_32); inline;
  9447. public
  9448. procedure clearCNSTATB0; inline;
  9449. procedure clearCNSTATB10; inline;
  9450. procedure clearCNSTATB11; inline;
  9451. procedure clearCNSTATB13; inline;
  9452. procedure clearCNSTATB14; inline;
  9453. procedure clearCNSTATB15; inline;
  9454. procedure clearCNSTATB1; inline;
  9455. procedure clearCNSTATB2; inline;
  9456. procedure clearCNSTATB3; inline;
  9457. procedure clearCNSTATB4; inline;
  9458. procedure clearCNSTATB5; inline;
  9459. procedure clearCNSTATB7; inline;
  9460. procedure clearCNSTATB8; inline;
  9461. procedure clearCNSTATB9; inline;
  9462. procedure setCNSTATB0; inline;
  9463. procedure setCNSTATB10; inline;
  9464. procedure setCNSTATB11; inline;
  9465. procedure setCNSTATB13; inline;
  9466. procedure setCNSTATB14; inline;
  9467. procedure setCNSTATB15; inline;
  9468. procedure setCNSTATB1; inline;
  9469. procedure setCNSTATB2; inline;
  9470. procedure setCNSTATB3; inline;
  9471. procedure setCNSTATB4; inline;
  9472. procedure setCNSTATB5; inline;
  9473. procedure setCNSTATB7; inline;
  9474. procedure setCNSTATB8; inline;
  9475. procedure setCNSTATB9; inline;
  9476. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9477. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9478. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9479. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9480. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9481. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9482. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9483. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9484. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9485. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9486. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9487. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9488. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9489. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9490. property w : TBits_32 read getw write setw;
  9491. end;
  9492. type
  9493. TPORTBRegisters = record
  9494. ANSELBbits : TPORTB_ANSELB;
  9495. ANSELB : longWord;
  9496. ANSELBCLR : longWord;
  9497. ANSELBSET : longWord;
  9498. ANSELBINV : longWord;
  9499. TRISBbits : TPORTB_TRISB;
  9500. TRISB : longWord;
  9501. TRISBCLR : longWord;
  9502. TRISBSET : longWord;
  9503. TRISBINV : longWord;
  9504. PORTBbits : TPORTB_PORTB;
  9505. PORTB : longWord;
  9506. PORTBCLR : longWord;
  9507. PORTBSET : longWord;
  9508. PORTBINV : longWord;
  9509. LATBbits : TPORTB_LATB;
  9510. LATB : longWord;
  9511. LATBCLR : longWord;
  9512. LATBSET : longWord;
  9513. LATBINV : longWord;
  9514. ODCBbits : TPORTB_ODCB;
  9515. ODCB : longWord;
  9516. ODCBCLR : longWord;
  9517. ODCBSET : longWord;
  9518. ODCBINV : longWord;
  9519. CNPUBbits : TPORTB_CNPUB;
  9520. CNPUB : longWord;
  9521. CNPUBCLR : longWord;
  9522. CNPUBSET : longWord;
  9523. CNPUBINV : longWord;
  9524. CNPDBbits : TPORTB_CNPDB;
  9525. CNPDB : longWord;
  9526. CNPDBCLR : longWord;
  9527. CNPDBSET : longWord;
  9528. CNPDBINV : longWord;
  9529. CNCONBbits : TPORTB_CNCONB;
  9530. CNCONB : longWord;
  9531. CNCONBCLR : longWord;
  9532. CNCONBSET : longWord;
  9533. CNCONBINV : longWord;
  9534. CNENBbits : TPORTB_CNENB;
  9535. CNENB : longWord;
  9536. CNENBCLR : longWord;
  9537. CNENBSET : longWord;
  9538. CNENBINV : longWord;
  9539. CNSTATBbits : TPORTB_CNSTATB;
  9540. CNSTATB : longWord;
  9541. CNSTATBCLR : longWord;
  9542. CNSTATBSET : longWord;
  9543. CNSTATBINV : longWord;
  9544. end;
  9545. TPORTC_ANSELC = record
  9546. private
  9547. function getANSC0 : TBits_1; inline;
  9548. function getANSC1 : TBits_1; inline;
  9549. function getANSC2 : TBits_1; inline;
  9550. function getANSC3 : TBits_1; inline;
  9551. function getw : TBits_32; inline;
  9552. procedure setANSC0(thebits : TBits_1); inline;
  9553. procedure setANSC1(thebits : TBits_1); inline;
  9554. procedure setANSC2(thebits : TBits_1); inline;
  9555. procedure setANSC3(thebits : TBits_1); inline;
  9556. procedure setw(thebits : TBits_32); inline;
  9557. public
  9558. procedure clearANSC0; inline;
  9559. procedure clearANSC1; inline;
  9560. procedure clearANSC2; inline;
  9561. procedure clearANSC3; inline;
  9562. procedure setANSC0; inline;
  9563. procedure setANSC1; inline;
  9564. procedure setANSC2; inline;
  9565. procedure setANSC3; inline;
  9566. property ANSC0 : TBits_1 read getANSC0 write setANSC0;
  9567. property ANSC1 : TBits_1 read getANSC1 write setANSC1;
  9568. property ANSC2 : TBits_1 read getANSC2 write setANSC2;
  9569. property ANSC3 : TBits_1 read getANSC3 write setANSC3;
  9570. property w : TBits_32 read getw write setw;
  9571. end;
  9572. TPORTC_TRISC = record
  9573. private
  9574. function getTRISC0 : TBits_1; inline;
  9575. function getTRISC1 : TBits_1; inline;
  9576. function getTRISC2 : TBits_1; inline;
  9577. function getTRISC3 : TBits_1; inline;
  9578. function getTRISC4 : TBits_1; inline;
  9579. function getTRISC5 : TBits_1; inline;
  9580. function getTRISC6 : TBits_1; inline;
  9581. function getTRISC7 : TBits_1; inline;
  9582. function getTRISC8 : TBits_1; inline;
  9583. function getTRISC9 : TBits_1; inline;
  9584. function getw : TBits_32; inline;
  9585. procedure setTRISC0(thebits : TBits_1); inline;
  9586. procedure setTRISC1(thebits : TBits_1); inline;
  9587. procedure setTRISC2(thebits : TBits_1); inline;
  9588. procedure setTRISC3(thebits : TBits_1); inline;
  9589. procedure setTRISC4(thebits : TBits_1); inline;
  9590. procedure setTRISC5(thebits : TBits_1); inline;
  9591. procedure setTRISC6(thebits : TBits_1); inline;
  9592. procedure setTRISC7(thebits : TBits_1); inline;
  9593. procedure setTRISC8(thebits : TBits_1); inline;
  9594. procedure setTRISC9(thebits : TBits_1); inline;
  9595. procedure setw(thebits : TBits_32); inline;
  9596. public
  9597. procedure clearTRISC0; inline;
  9598. procedure clearTRISC1; inline;
  9599. procedure clearTRISC2; inline;
  9600. procedure clearTRISC3; inline;
  9601. procedure clearTRISC4; inline;
  9602. procedure clearTRISC5; inline;
  9603. procedure clearTRISC6; inline;
  9604. procedure clearTRISC7; inline;
  9605. procedure clearTRISC8; inline;
  9606. procedure clearTRISC9; inline;
  9607. procedure setTRISC0; inline;
  9608. procedure setTRISC1; inline;
  9609. procedure setTRISC2; inline;
  9610. procedure setTRISC3; inline;
  9611. procedure setTRISC4; inline;
  9612. procedure setTRISC5; inline;
  9613. procedure setTRISC6; inline;
  9614. procedure setTRISC7; inline;
  9615. procedure setTRISC8; inline;
  9616. procedure setTRISC9; inline;
  9617. property TRISC0 : TBits_1 read getTRISC0 write setTRISC0;
  9618. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  9619. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  9620. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  9621. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  9622. property TRISC5 : TBits_1 read getTRISC5 write setTRISC5;
  9623. property TRISC6 : TBits_1 read getTRISC6 write setTRISC6;
  9624. property TRISC7 : TBits_1 read getTRISC7 write setTRISC7;
  9625. property TRISC8 : TBits_1 read getTRISC8 write setTRISC8;
  9626. property TRISC9 : TBits_1 read getTRISC9 write setTRISC9;
  9627. property w : TBits_32 read getw write setw;
  9628. end;
  9629. TPORTC_PORTC = record
  9630. private
  9631. function getRC0 : TBits_1; inline;
  9632. function getRC1 : TBits_1; inline;
  9633. function getRC2 : TBits_1; inline;
  9634. function getRC3 : TBits_1; inline;
  9635. function getRC4 : TBits_1; inline;
  9636. function getRC5 : TBits_1; inline;
  9637. function getRC6 : TBits_1; inline;
  9638. function getRC7 : TBits_1; inline;
  9639. function getRC8 : TBits_1; inline;
  9640. function getRC9 : TBits_1; inline;
  9641. function getw : TBits_32; inline;
  9642. procedure setRC0(thebits : TBits_1); inline;
  9643. procedure setRC1(thebits : TBits_1); inline;
  9644. procedure setRC2(thebits : TBits_1); inline;
  9645. procedure setRC3(thebits : TBits_1); inline;
  9646. procedure setRC4(thebits : TBits_1); inline;
  9647. procedure setRC5(thebits : TBits_1); inline;
  9648. procedure setRC6(thebits : TBits_1); inline;
  9649. procedure setRC7(thebits : TBits_1); inline;
  9650. procedure setRC8(thebits : TBits_1); inline;
  9651. procedure setRC9(thebits : TBits_1); inline;
  9652. procedure setw(thebits : TBits_32); inline;
  9653. public
  9654. procedure clearRC0; inline;
  9655. procedure clearRC1; inline;
  9656. procedure clearRC2; inline;
  9657. procedure clearRC3; inline;
  9658. procedure clearRC4; inline;
  9659. procedure clearRC5; inline;
  9660. procedure clearRC6; inline;
  9661. procedure clearRC7; inline;
  9662. procedure clearRC8; inline;
  9663. procedure clearRC9; inline;
  9664. procedure setRC0; inline;
  9665. procedure setRC1; inline;
  9666. procedure setRC2; inline;
  9667. procedure setRC3; inline;
  9668. procedure setRC4; inline;
  9669. procedure setRC5; inline;
  9670. procedure setRC6; inline;
  9671. procedure setRC7; inline;
  9672. procedure setRC8; inline;
  9673. procedure setRC9; inline;
  9674. property RC0 : TBits_1 read getRC0 write setRC0;
  9675. property RC1 : TBits_1 read getRC1 write setRC1;
  9676. property RC2 : TBits_1 read getRC2 write setRC2;
  9677. property RC3 : TBits_1 read getRC3 write setRC3;
  9678. property RC4 : TBits_1 read getRC4 write setRC4;
  9679. property RC5 : TBits_1 read getRC5 write setRC5;
  9680. property RC6 : TBits_1 read getRC6 write setRC6;
  9681. property RC7 : TBits_1 read getRC7 write setRC7;
  9682. property RC8 : TBits_1 read getRC8 write setRC8;
  9683. property RC9 : TBits_1 read getRC9 write setRC9;
  9684. property w : TBits_32 read getw write setw;
  9685. end;
  9686. TPortC_bits=(RC0=0,RC1=1,RC2=2,RC3=3,RC4=4,RC5=5,RC6=6,RC7=7,RC8=8,RC9=9);
  9687. TPortC_bitset = set of TPortC_bits;
  9688. TPORTC_LATC = record
  9689. private
  9690. function getLATC0 : TBits_1; inline;
  9691. function getLATC1 : TBits_1; inline;
  9692. function getLATC2 : TBits_1; inline;
  9693. function getLATC3 : TBits_1; inline;
  9694. function getLATC4 : TBits_1; inline;
  9695. function getLATC5 : TBits_1; inline;
  9696. function getLATC6 : TBits_1; inline;
  9697. function getLATC7 : TBits_1; inline;
  9698. function getLATC8 : TBits_1; inline;
  9699. function getLATC9 : TBits_1; inline;
  9700. function getw : TBits_32; inline;
  9701. procedure setLATC0(thebits : TBits_1); inline;
  9702. procedure setLATC1(thebits : TBits_1); inline;
  9703. procedure setLATC2(thebits : TBits_1); inline;
  9704. procedure setLATC3(thebits : TBits_1); inline;
  9705. procedure setLATC4(thebits : TBits_1); inline;
  9706. procedure setLATC5(thebits : TBits_1); inline;
  9707. procedure setLATC6(thebits : TBits_1); inline;
  9708. procedure setLATC7(thebits : TBits_1); inline;
  9709. procedure setLATC8(thebits : TBits_1); inline;
  9710. procedure setLATC9(thebits : TBits_1); inline;
  9711. procedure setw(thebits : TBits_32); inline;
  9712. public
  9713. procedure clearLATC0; inline;
  9714. procedure clearLATC1; inline;
  9715. procedure clearLATC2; inline;
  9716. procedure clearLATC3; inline;
  9717. procedure clearLATC4; inline;
  9718. procedure clearLATC5; inline;
  9719. procedure clearLATC6; inline;
  9720. procedure clearLATC7; inline;
  9721. procedure clearLATC8; inline;
  9722. procedure clearLATC9; inline;
  9723. procedure setLATC0; inline;
  9724. procedure setLATC1; inline;
  9725. procedure setLATC2; inline;
  9726. procedure setLATC3; inline;
  9727. procedure setLATC4; inline;
  9728. procedure setLATC5; inline;
  9729. procedure setLATC6; inline;
  9730. procedure setLATC7; inline;
  9731. procedure setLATC8; inline;
  9732. procedure setLATC9; inline;
  9733. property LATC0 : TBits_1 read getLATC0 write setLATC0;
  9734. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  9735. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  9736. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  9737. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  9738. property LATC5 : TBits_1 read getLATC5 write setLATC5;
  9739. property LATC6 : TBits_1 read getLATC6 write setLATC6;
  9740. property LATC7 : TBits_1 read getLATC7 write setLATC7;
  9741. property LATC8 : TBits_1 read getLATC8 write setLATC8;
  9742. property LATC9 : TBits_1 read getLATC9 write setLATC9;
  9743. property w : TBits_32 read getw write setw;
  9744. end;
  9745. TPORTC_ODCC = record
  9746. private
  9747. function getODCC0 : TBits_1; inline;
  9748. function getODCC1 : TBits_1; inline;
  9749. function getODCC2 : TBits_1; inline;
  9750. function getODCC3 : TBits_1; inline;
  9751. function getODCC4 : TBits_1; inline;
  9752. function getODCC5 : TBits_1; inline;
  9753. function getODCC6 : TBits_1; inline;
  9754. function getODCC7 : TBits_1; inline;
  9755. function getODCC8 : TBits_1; inline;
  9756. function getODCC9 : TBits_1; inline;
  9757. function getw : TBits_32; inline;
  9758. procedure setODCC0(thebits : TBits_1); inline;
  9759. procedure setODCC1(thebits : TBits_1); inline;
  9760. procedure setODCC2(thebits : TBits_1); inline;
  9761. procedure setODCC3(thebits : TBits_1); inline;
  9762. procedure setODCC4(thebits : TBits_1); inline;
  9763. procedure setODCC5(thebits : TBits_1); inline;
  9764. procedure setODCC6(thebits : TBits_1); inline;
  9765. procedure setODCC7(thebits : TBits_1); inline;
  9766. procedure setODCC8(thebits : TBits_1); inline;
  9767. procedure setODCC9(thebits : TBits_1); inline;
  9768. procedure setw(thebits : TBits_32); inline;
  9769. public
  9770. procedure clearODCC0; inline;
  9771. procedure clearODCC1; inline;
  9772. procedure clearODCC2; inline;
  9773. procedure clearODCC3; inline;
  9774. procedure clearODCC4; inline;
  9775. procedure clearODCC5; inline;
  9776. procedure clearODCC6; inline;
  9777. procedure clearODCC7; inline;
  9778. procedure clearODCC8; inline;
  9779. procedure clearODCC9; inline;
  9780. procedure setODCC0; inline;
  9781. procedure setODCC1; inline;
  9782. procedure setODCC2; inline;
  9783. procedure setODCC3; inline;
  9784. procedure setODCC4; inline;
  9785. procedure setODCC5; inline;
  9786. procedure setODCC6; inline;
  9787. procedure setODCC7; inline;
  9788. procedure setODCC8; inline;
  9789. procedure setODCC9; inline;
  9790. property ODCC0 : TBits_1 read getODCC0 write setODCC0;
  9791. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  9792. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  9793. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  9794. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  9795. property ODCC5 : TBits_1 read getODCC5 write setODCC5;
  9796. property ODCC6 : TBits_1 read getODCC6 write setODCC6;
  9797. property ODCC7 : TBits_1 read getODCC7 write setODCC7;
  9798. property ODCC8 : TBits_1 read getODCC8 write setODCC8;
  9799. property ODCC9 : TBits_1 read getODCC9 write setODCC9;
  9800. property w : TBits_32 read getw write setw;
  9801. end;
  9802. TPORTC_CNPUC = record
  9803. private
  9804. function getCNPUC0 : TBits_1; inline;
  9805. function getCNPUC1 : TBits_1; inline;
  9806. function getCNPUC2 : TBits_1; inline;
  9807. function getCNPUC3 : TBits_1; inline;
  9808. function getCNPUC4 : TBits_1; inline;
  9809. function getCNPUC5 : TBits_1; inline;
  9810. function getCNPUC6 : TBits_1; inline;
  9811. function getCNPUC7 : TBits_1; inline;
  9812. function getCNPUC8 : TBits_1; inline;
  9813. function getCNPUC9 : TBits_1; inline;
  9814. function getw : TBits_32; inline;
  9815. procedure setCNPUC0(thebits : TBits_1); inline;
  9816. procedure setCNPUC1(thebits : TBits_1); inline;
  9817. procedure setCNPUC2(thebits : TBits_1); inline;
  9818. procedure setCNPUC3(thebits : TBits_1); inline;
  9819. procedure setCNPUC4(thebits : TBits_1); inline;
  9820. procedure setCNPUC5(thebits : TBits_1); inline;
  9821. procedure setCNPUC6(thebits : TBits_1); inline;
  9822. procedure setCNPUC7(thebits : TBits_1); inline;
  9823. procedure setCNPUC8(thebits : TBits_1); inline;
  9824. procedure setCNPUC9(thebits : TBits_1); inline;
  9825. procedure setw(thebits : TBits_32); inline;
  9826. public
  9827. procedure clearCNPUC0; inline;
  9828. procedure clearCNPUC1; inline;
  9829. procedure clearCNPUC2; inline;
  9830. procedure clearCNPUC3; inline;
  9831. procedure clearCNPUC4; inline;
  9832. procedure clearCNPUC5; inline;
  9833. procedure clearCNPUC6; inline;
  9834. procedure clearCNPUC7; inline;
  9835. procedure clearCNPUC8; inline;
  9836. procedure clearCNPUC9; inline;
  9837. procedure setCNPUC0; inline;
  9838. procedure setCNPUC1; inline;
  9839. procedure setCNPUC2; inline;
  9840. procedure setCNPUC3; inline;
  9841. procedure setCNPUC4; inline;
  9842. procedure setCNPUC5; inline;
  9843. procedure setCNPUC6; inline;
  9844. procedure setCNPUC7; inline;
  9845. procedure setCNPUC8; inline;
  9846. procedure setCNPUC9; inline;
  9847. property CNPUC0 : TBits_1 read getCNPUC0 write setCNPUC0;
  9848. property CNPUC1 : TBits_1 read getCNPUC1 write setCNPUC1;
  9849. property CNPUC2 : TBits_1 read getCNPUC2 write setCNPUC2;
  9850. property CNPUC3 : TBits_1 read getCNPUC3 write setCNPUC3;
  9851. property CNPUC4 : TBits_1 read getCNPUC4 write setCNPUC4;
  9852. property CNPUC5 : TBits_1 read getCNPUC5 write setCNPUC5;
  9853. property CNPUC6 : TBits_1 read getCNPUC6 write setCNPUC6;
  9854. property CNPUC7 : TBits_1 read getCNPUC7 write setCNPUC7;
  9855. property CNPUC8 : TBits_1 read getCNPUC8 write setCNPUC8;
  9856. property CNPUC9 : TBits_1 read getCNPUC9 write setCNPUC9;
  9857. property w : TBits_32 read getw write setw;
  9858. end;
  9859. TPORTC_CNPDC = record
  9860. private
  9861. function getCNPDC0 : TBits_1; inline;
  9862. function getCNPDC1 : TBits_1; inline;
  9863. function getCNPDC2 : TBits_1; inline;
  9864. function getCNPDC3 : TBits_1; inline;
  9865. function getCNPDC4 : TBits_1; inline;
  9866. function getCNPDC5 : TBits_1; inline;
  9867. function getCNPDC6 : TBits_1; inline;
  9868. function getCNPDC7 : TBits_1; inline;
  9869. function getCNPDC8 : TBits_1; inline;
  9870. function getCNPDC9 : TBits_1; inline;
  9871. function getw : TBits_32; inline;
  9872. procedure setCNPDC0(thebits : TBits_1); inline;
  9873. procedure setCNPDC1(thebits : TBits_1); inline;
  9874. procedure setCNPDC2(thebits : TBits_1); inline;
  9875. procedure setCNPDC3(thebits : TBits_1); inline;
  9876. procedure setCNPDC4(thebits : TBits_1); inline;
  9877. procedure setCNPDC5(thebits : TBits_1); inline;
  9878. procedure setCNPDC6(thebits : TBits_1); inline;
  9879. procedure setCNPDC7(thebits : TBits_1); inline;
  9880. procedure setCNPDC8(thebits : TBits_1); inline;
  9881. procedure setCNPDC9(thebits : TBits_1); inline;
  9882. procedure setw(thebits : TBits_32); inline;
  9883. public
  9884. procedure clearCNPDC0; inline;
  9885. procedure clearCNPDC1; inline;
  9886. procedure clearCNPDC2; inline;
  9887. procedure clearCNPDC3; inline;
  9888. procedure clearCNPDC4; inline;
  9889. procedure clearCNPDC5; inline;
  9890. procedure clearCNPDC6; inline;
  9891. procedure clearCNPDC7; inline;
  9892. procedure clearCNPDC8; inline;
  9893. procedure clearCNPDC9; inline;
  9894. procedure setCNPDC0; inline;
  9895. procedure setCNPDC1; inline;
  9896. procedure setCNPDC2; inline;
  9897. procedure setCNPDC3; inline;
  9898. procedure setCNPDC4; inline;
  9899. procedure setCNPDC5; inline;
  9900. procedure setCNPDC6; inline;
  9901. procedure setCNPDC7; inline;
  9902. procedure setCNPDC8; inline;
  9903. procedure setCNPDC9; inline;
  9904. property CNPDC0 : TBits_1 read getCNPDC0 write setCNPDC0;
  9905. property CNPDC1 : TBits_1 read getCNPDC1 write setCNPDC1;
  9906. property CNPDC2 : TBits_1 read getCNPDC2 write setCNPDC2;
  9907. property CNPDC3 : TBits_1 read getCNPDC3 write setCNPDC3;
  9908. property CNPDC4 : TBits_1 read getCNPDC4 write setCNPDC4;
  9909. property CNPDC5 : TBits_1 read getCNPDC5 write setCNPDC5;
  9910. property CNPDC6 : TBits_1 read getCNPDC6 write setCNPDC6;
  9911. property CNPDC7 : TBits_1 read getCNPDC7 write setCNPDC7;
  9912. property CNPDC8 : TBits_1 read getCNPDC8 write setCNPDC8;
  9913. property CNPDC9 : TBits_1 read getCNPDC9 write setCNPDC9;
  9914. property w : TBits_32 read getw write setw;
  9915. end;
  9916. TPORTC_CNCONC = record
  9917. private
  9918. function getON : TBits_1; inline;
  9919. function getSIDL : TBits_1; inline;
  9920. function getw : TBits_32; inline;
  9921. procedure setON(thebits : TBits_1); inline;
  9922. procedure setSIDL(thebits : TBits_1); inline;
  9923. procedure setw(thebits : TBits_32); inline;
  9924. public
  9925. procedure clearON; inline;
  9926. procedure clearSIDL; inline;
  9927. procedure setON; inline;
  9928. procedure setSIDL; inline;
  9929. property ON : TBits_1 read getON write setON;
  9930. property SIDL : TBits_1 read getSIDL write setSIDL;
  9931. property w : TBits_32 read getw write setw;
  9932. end;
  9933. TPORTC_CNENC = record
  9934. private
  9935. function getCNIEC0 : TBits_1; inline;
  9936. function getCNIEC1 : TBits_1; inline;
  9937. function getCNIEC2 : TBits_1; inline;
  9938. function getCNIEC3 : TBits_1; inline;
  9939. function getCNIEC4 : TBits_1; inline;
  9940. function getCNIEC5 : TBits_1; inline;
  9941. function getCNIEC6 : TBits_1; inline;
  9942. function getCNIEC7 : TBits_1; inline;
  9943. function getCNIEC8 : TBits_1; inline;
  9944. function getCNIEC9 : TBits_1; inline;
  9945. function getw : TBits_32; inline;
  9946. procedure setCNIEC0(thebits : TBits_1); inline;
  9947. procedure setCNIEC1(thebits : TBits_1); inline;
  9948. procedure setCNIEC2(thebits : TBits_1); inline;
  9949. procedure setCNIEC3(thebits : TBits_1); inline;
  9950. procedure setCNIEC4(thebits : TBits_1); inline;
  9951. procedure setCNIEC5(thebits : TBits_1); inline;
  9952. procedure setCNIEC6(thebits : TBits_1); inline;
  9953. procedure setCNIEC7(thebits : TBits_1); inline;
  9954. procedure setCNIEC8(thebits : TBits_1); inline;
  9955. procedure setCNIEC9(thebits : TBits_1); inline;
  9956. procedure setw(thebits : TBits_32); inline;
  9957. public
  9958. procedure clearCNIEC0; inline;
  9959. procedure clearCNIEC1; inline;
  9960. procedure clearCNIEC2; inline;
  9961. procedure clearCNIEC3; inline;
  9962. procedure clearCNIEC4; inline;
  9963. procedure clearCNIEC5; inline;
  9964. procedure clearCNIEC6; inline;
  9965. procedure clearCNIEC7; inline;
  9966. procedure clearCNIEC8; inline;
  9967. procedure clearCNIEC9; inline;
  9968. procedure setCNIEC0; inline;
  9969. procedure setCNIEC1; inline;
  9970. procedure setCNIEC2; inline;
  9971. procedure setCNIEC3; inline;
  9972. procedure setCNIEC4; inline;
  9973. procedure setCNIEC5; inline;
  9974. procedure setCNIEC6; inline;
  9975. procedure setCNIEC7; inline;
  9976. procedure setCNIEC8; inline;
  9977. procedure setCNIEC9; inline;
  9978. property CNIEC0 : TBits_1 read getCNIEC0 write setCNIEC0;
  9979. property CNIEC1 : TBits_1 read getCNIEC1 write setCNIEC1;
  9980. property CNIEC2 : TBits_1 read getCNIEC2 write setCNIEC2;
  9981. property CNIEC3 : TBits_1 read getCNIEC3 write setCNIEC3;
  9982. property CNIEC4 : TBits_1 read getCNIEC4 write setCNIEC4;
  9983. property CNIEC5 : TBits_1 read getCNIEC5 write setCNIEC5;
  9984. property CNIEC6 : TBits_1 read getCNIEC6 write setCNIEC6;
  9985. property CNIEC7 : TBits_1 read getCNIEC7 write setCNIEC7;
  9986. property CNIEC8 : TBits_1 read getCNIEC8 write setCNIEC8;
  9987. property CNIEC9 : TBits_1 read getCNIEC9 write setCNIEC9;
  9988. property w : TBits_32 read getw write setw;
  9989. end;
  9990. TPORTC_CNSTATC = record
  9991. private
  9992. function getCNSTATC0 : TBits_1; inline;
  9993. function getCNSTATC1 : TBits_1; inline;
  9994. function getCNSTATC2 : TBits_1; inline;
  9995. function getCNSTATC3 : TBits_1; inline;
  9996. function getCNSTATC4 : TBits_1; inline;
  9997. function getCNSTATC5 : TBits_1; inline;
  9998. function getCNSTATC6 : TBits_1; inline;
  9999. function getCNSTATC7 : TBits_1; inline;
  10000. function getCNSTATC8 : TBits_1; inline;
  10001. function getCNSTATC9 : TBits_1; inline;
  10002. function getw : TBits_32; inline;
  10003. procedure setCNSTATC0(thebits : TBits_1); inline;
  10004. procedure setCNSTATC1(thebits : TBits_1); inline;
  10005. procedure setCNSTATC2(thebits : TBits_1); inline;
  10006. procedure setCNSTATC3(thebits : TBits_1); inline;
  10007. procedure setCNSTATC4(thebits : TBits_1); inline;
  10008. procedure setCNSTATC5(thebits : TBits_1); inline;
  10009. procedure setCNSTATC6(thebits : TBits_1); inline;
  10010. procedure setCNSTATC7(thebits : TBits_1); inline;
  10011. procedure setCNSTATC8(thebits : TBits_1); inline;
  10012. procedure setCNSTATC9(thebits : TBits_1); inline;
  10013. procedure setw(thebits : TBits_32); inline;
  10014. public
  10015. procedure clearCNSTATC0; inline;
  10016. procedure clearCNSTATC1; inline;
  10017. procedure clearCNSTATC2; inline;
  10018. procedure clearCNSTATC3; inline;
  10019. procedure clearCNSTATC4; inline;
  10020. procedure clearCNSTATC5; inline;
  10021. procedure clearCNSTATC6; inline;
  10022. procedure clearCNSTATC7; inline;
  10023. procedure clearCNSTATC8; inline;
  10024. procedure clearCNSTATC9; inline;
  10025. procedure setCNSTATC0; inline;
  10026. procedure setCNSTATC1; inline;
  10027. procedure setCNSTATC2; inline;
  10028. procedure setCNSTATC3; inline;
  10029. procedure setCNSTATC4; inline;
  10030. procedure setCNSTATC5; inline;
  10031. procedure setCNSTATC6; inline;
  10032. procedure setCNSTATC7; inline;
  10033. procedure setCNSTATC8; inline;
  10034. procedure setCNSTATC9; inline;
  10035. property CNSTATC0 : TBits_1 read getCNSTATC0 write setCNSTATC0;
  10036. property CNSTATC1 : TBits_1 read getCNSTATC1 write setCNSTATC1;
  10037. property CNSTATC2 : TBits_1 read getCNSTATC2 write setCNSTATC2;
  10038. property CNSTATC3 : TBits_1 read getCNSTATC3 write setCNSTATC3;
  10039. property CNSTATC4 : TBits_1 read getCNSTATC4 write setCNSTATC4;
  10040. property CNSTATC5 : TBits_1 read getCNSTATC5 write setCNSTATC5;
  10041. property CNSTATC6 : TBits_1 read getCNSTATC6 write setCNSTATC6;
  10042. property CNSTATC7 : TBits_1 read getCNSTATC7 write setCNSTATC7;
  10043. property CNSTATC8 : TBits_1 read getCNSTATC8 write setCNSTATC8;
  10044. property CNSTATC9 : TBits_1 read getCNSTATC9 write setCNSTATC9;
  10045. property w : TBits_32 read getw write setw;
  10046. end;
  10047. type
  10048. TPORTCRegisters = record
  10049. ANSELCbits : TPORTC_ANSELC;
  10050. ANSELC : longWord;
  10051. ANSELCCLR : longWord;
  10052. ANSELCSET : longWord;
  10053. ANSELCINV : longWord;
  10054. TRISCbits : TPORTC_TRISC;
  10055. TRISC : longWord;
  10056. TRISCCLR : longWord;
  10057. TRISCSET : longWord;
  10058. TRISCINV : longWord;
  10059. PORTCbits : TPORTC_PORTC;
  10060. PORTC : longWord;
  10061. PORTCCLR : longWord;
  10062. PORTCSET : longWord;
  10063. PORTCINV : longWord;
  10064. LATCbits : TPORTC_LATC;
  10065. LATC : longWord;
  10066. LATCCLR : longWord;
  10067. LATCSET : longWord;
  10068. LATCINV : longWord;
  10069. ODCCbits : TPORTC_ODCC;
  10070. ODCC : longWord;
  10071. ODCCCLR : longWord;
  10072. ODCCSET : longWord;
  10073. ODCCINV : longWord;
  10074. CNPUCbits : TPORTC_CNPUC;
  10075. CNPUC : longWord;
  10076. CNPUCCLR : longWord;
  10077. CNPUCSET : longWord;
  10078. CNPUCINV : longWord;
  10079. CNPDCbits : TPORTC_CNPDC;
  10080. CNPDC : longWord;
  10081. CNPDCCLR : longWord;
  10082. CNPDCSET : longWord;
  10083. CNPDCINV : longWord;
  10084. CNCONCbits : TPORTC_CNCONC;
  10085. CNCONC : longWord;
  10086. CNCONCCLR : longWord;
  10087. CNCONCSET : longWord;
  10088. CNCONCINV : longWord;
  10089. CNENCbits : TPORTC_CNENC;
  10090. CNENC : longWord;
  10091. CNENCCLR : longWord;
  10092. CNENCSET : longWord;
  10093. CNENCINV : longWord;
  10094. CNSTATCbits : TPORTC_CNSTATC;
  10095. CNSTATC : longWord;
  10096. CNSTATCCLR : longWord;
  10097. CNSTATCSET : longWord;
  10098. CNSTATCINV : longWord;
  10099. end;
  10100. TDEVCFG_DEVCFG3 = record
  10101. private
  10102. function getFUSBIDIO : TBits_1; inline;
  10103. function getFVBUSONIO : TBits_1; inline;
  10104. function getIOL1WAY : TBits_1; inline;
  10105. function getPMDL1WAY : TBits_1; inline;
  10106. function getUSERID : TBits_16; inline;
  10107. function getw : TBits_32; inline;
  10108. procedure setFUSBIDIO(thebits : TBits_1); inline;
  10109. procedure setFVBUSONIO(thebits : TBits_1); inline;
  10110. procedure setIOL1WAY(thebits : TBits_1); inline;
  10111. procedure setPMDL1WAY(thebits : TBits_1); inline;
  10112. procedure setUSERID(thebits : TBits_16); inline;
  10113. procedure setw(thebits : TBits_32); inline;
  10114. public
  10115. procedure clearFUSBIDIO; inline;
  10116. procedure clearFVBUSONIO; inline;
  10117. procedure clearIOL1WAY; inline;
  10118. procedure clearPMDL1WAY; inline;
  10119. procedure setFUSBIDIO; inline;
  10120. procedure setFVBUSONIO; inline;
  10121. procedure setIOL1WAY; inline;
  10122. procedure setPMDL1WAY; inline;
  10123. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  10124. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  10125. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  10126. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  10127. property USERID : TBits_16 read getUSERID write setUSERID;
  10128. property w : TBits_32 read getw write setw;
  10129. end;
  10130. TDEVCFG_DEVCFG2 = record
  10131. private
  10132. function getFPLLIDIV : TBits_3; inline;
  10133. function getFPLLMUL : TBits_3; inline;
  10134. function getFPLLODIV : TBits_3; inline;
  10135. function getUPLLEN : TBits_1; inline;
  10136. function getUPLLIDIV : TBits_3; inline;
  10137. function getw : TBits_32; inline;
  10138. procedure setFPLLIDIV(thebits : TBits_3); inline;
  10139. procedure setFPLLMUL(thebits : TBits_3); inline;
  10140. procedure setFPLLODIV(thebits : TBits_3); inline;
  10141. procedure setUPLLEN(thebits : TBits_1); inline;
  10142. procedure setUPLLIDIV(thebits : TBits_3); inline;
  10143. procedure setw(thebits : TBits_32); inline;
  10144. public
  10145. procedure clearUPLLEN; inline;
  10146. procedure setUPLLEN; inline;
  10147. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  10148. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  10149. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  10150. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  10151. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  10152. property w : TBits_32 read getw write setw;
  10153. end;
  10154. TDEVCFG_DEVCFG1 = record
  10155. private
  10156. function getFCKSM : TBits_2; inline;
  10157. function getFNOSC : TBits_3; inline;
  10158. function getFPBDIV : TBits_2; inline;
  10159. function getFSOSCEN : TBits_1; inline;
  10160. function getFWDTEN : TBits_1; inline;
  10161. function getFWDTWINSZ : TBits_2; inline;
  10162. function getIESO : TBits_1; inline;
  10163. function getOSCIOFNC : TBits_1; inline;
  10164. function getPOSCMOD : TBits_2; inline;
  10165. function getWDTPS : TBits_5; inline;
  10166. function getWINDIS : TBits_1; inline;
  10167. function getw : TBits_32; inline;
  10168. procedure setFCKSM(thebits : TBits_2); inline;
  10169. procedure setFNOSC(thebits : TBits_3); inline;
  10170. procedure setFPBDIV(thebits : TBits_2); inline;
  10171. procedure setFSOSCEN(thebits : TBits_1); inline;
  10172. procedure setFWDTEN(thebits : TBits_1); inline;
  10173. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  10174. procedure setIESO(thebits : TBits_1); inline;
  10175. procedure setOSCIOFNC(thebits : TBits_1); inline;
  10176. procedure setPOSCMOD(thebits : TBits_2); inline;
  10177. procedure setWDTPS(thebits : TBits_5); inline;
  10178. procedure setWINDIS(thebits : TBits_1); inline;
  10179. procedure setw(thebits : TBits_32); inline;
  10180. public
  10181. procedure clearFSOSCEN; inline;
  10182. procedure clearFWDTEN; inline;
  10183. procedure clearIESO; inline;
  10184. procedure clearOSCIOFNC; inline;
  10185. procedure clearWINDIS; inline;
  10186. procedure setFSOSCEN; inline;
  10187. procedure setFWDTEN; inline;
  10188. procedure setIESO; inline;
  10189. procedure setOSCIOFNC; inline;
  10190. procedure setWINDIS; inline;
  10191. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  10192. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  10193. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  10194. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  10195. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  10196. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  10197. property IESO : TBits_1 read getIESO write setIESO;
  10198. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  10199. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  10200. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  10201. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  10202. property w : TBits_32 read getw write setw;
  10203. end;
  10204. TDEVCFG_DEVCFG0 = record
  10205. private
  10206. function getBWP : TBits_1; inline;
  10207. function getCP : TBits_1; inline;
  10208. function getDEBUG : TBits_2; inline;
  10209. function getFDEBUG : TBits_2; inline;
  10210. function getICESEL : TBits_2; inline;
  10211. function getJTAGEN : TBits_1; inline;
  10212. function getPWP : TBits_9; inline;
  10213. function getw : TBits_32; inline;
  10214. procedure setBWP(thebits : TBits_1); inline;
  10215. procedure setCP(thebits : TBits_1); inline;
  10216. procedure setDEBUG(thebits : TBits_2); inline;
  10217. procedure setFDEBUG(thebits : TBits_2); inline;
  10218. procedure setICESEL(thebits : TBits_2); inline;
  10219. procedure setJTAGEN(thebits : TBits_1); inline;
  10220. procedure setPWP(thebits : TBits_9); inline;
  10221. procedure setw(thebits : TBits_32); inline;
  10222. public
  10223. procedure clearBWP; inline;
  10224. procedure clearCP; inline;
  10225. procedure clearJTAGEN; inline;
  10226. procedure setBWP; inline;
  10227. procedure setCP; inline;
  10228. procedure setJTAGEN; inline;
  10229. property BWP : TBits_1 read getBWP write setBWP;
  10230. property CP : TBits_1 read getCP write setCP;
  10231. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  10232. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  10233. property ICESEL : TBits_2 read getICESEL write setICESEL;
  10234. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  10235. property PWP : TBits_9 read getPWP write setPWP;
  10236. property w : TBits_32 read getw write setw;
  10237. end;
  10238. const
  10239. _CORE_TIMER_IRQ = 0;
  10240. _CORE_SOFTWARE_0_IRQ = 1;
  10241. _CORE_SOFTWARE_1_IRQ = 2;
  10242. _EXTERNAL_0_IRQ = 3;
  10243. _TIMER_1_IRQ = 4;
  10244. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  10245. _INPUT_CAPTURE_1_IRQ = 6;
  10246. _OUTPUT_COMPARE_1_IRQ = 7;
  10247. _EXTERNAL_1_IRQ = 8;
  10248. _TIMER_2_IRQ = 9;
  10249. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  10250. _INPUT_CAPTURE_2_IRQ = 11;
  10251. _OUTPUT_COMPARE_2_IRQ = 12;
  10252. _EXTERNAL_2_IRQ = 13;
  10253. _TIMER_3_IRQ = 14;
  10254. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  10255. _INPUT_CAPTURE_3_IRQ = 16;
  10256. _OUTPUT_COMPARE_3_IRQ = 17;
  10257. _EXTERNAL_3_IRQ = 18;
  10258. _TIMER_4_IRQ = 19;
  10259. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  10260. _INPUT_CAPTURE_4_IRQ = 21;
  10261. _OUTPUT_COMPARE_4_IRQ = 22;
  10262. _EXTERNAL_4_IRQ = 23;
  10263. _TIMER_5_IRQ = 24;
  10264. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  10265. _INPUT_CAPTURE_5_IRQ = 26;
  10266. _OUTPUT_COMPARE_5_IRQ = 27;
  10267. _ADC_IRQ = 28;
  10268. _FAIL_SAFE_MONITOR_IRQ = 29;
  10269. _RTCC_IRQ = 30;
  10270. _FLASH_CONTROL_IRQ = 31;
  10271. _COMPARATOR_1_IRQ = 32;
  10272. _COMPARATOR_2_IRQ = 33;
  10273. _COMPARATOR_3_IRQ = 34;
  10274. _USB_IRQ = 35;
  10275. _SPI1_ERR_IRQ = 36;
  10276. _SPI1_RX_IRQ = 37;
  10277. _SPI1_TX_IRQ = 38;
  10278. _UART1_ERR_IRQ = 39;
  10279. _UART1_RX_IRQ = 40;
  10280. _UART1_TX_IRQ = 41;
  10281. _I2C1_BUS_IRQ = 42;
  10282. _I2C1_SLAVE_IRQ = 43;
  10283. _I2C1_MASTER_IRQ = 44;
  10284. _CHANGE_NOTICE_A_IRQ = 45;
  10285. _CHANGE_NOTICE_B_IRQ = 46;
  10286. _CHANGE_NOTICE_C_IRQ = 47;
  10287. _PMP_IRQ = 48;
  10288. _PMP_ERROR_IRQ = 49;
  10289. _SPI2_ERR_IRQ = 50;
  10290. _SPI2_RX_IRQ = 51;
  10291. _SPI2_TX_IRQ = 52;
  10292. _UART2_ERR_IRQ = 53;
  10293. _UART2_RX_IRQ = 54;
  10294. _UART2_TX_IRQ = 55;
  10295. _I2C2_BUS_IRQ = 56;
  10296. _I2C2_SLAVE_IRQ = 57;
  10297. _I2C2_MASTER_IRQ = 58;
  10298. _CTMU_IRQ = 59;
  10299. _DMA0_IRQ = 60;
  10300. _DMA1_IRQ = 61;
  10301. _DMA2_IRQ = 62;
  10302. _DMA3_IRQ = 63;
  10303. const
  10304. ADC10_BASE_ADDRESS = $BF809000;
  10305. var
  10306. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  10307. const
  10308. BMX_BASE_ADDRESS = $BF882000;
  10309. var
  10310. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  10311. const
  10312. CFG_BASE_ADDRESS = $BF80F200;
  10313. var
  10314. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  10315. const
  10316. CMP_BASE_ADDRESS = $BF80A000;
  10317. var
  10318. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  10319. const
  10320. CVR_BASE_ADDRESS = $BF809800;
  10321. var
  10322. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  10323. const
  10324. DMAC_BASE_ADDRESS = $BF883000;
  10325. var
  10326. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  10327. const
  10328. DMAC0_BASE_ADDRESS = $BF883060;
  10329. var
  10330. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  10331. const
  10332. DMAC1_BASE_ADDRESS = $BF883120;
  10333. var
  10334. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  10335. const
  10336. DMAC2_BASE_ADDRESS = $BF8831E0;
  10337. var
  10338. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  10339. const
  10340. DMAC3_BASE_ADDRESS = $BF8832A0;
  10341. var
  10342. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  10343. const
  10344. I2C1_BASE_ADDRESS = $BF805000;
  10345. var
  10346. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  10347. const
  10348. I2C2_BASE_ADDRESS = $BF805100;
  10349. var
  10350. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  10351. const
  10352. ICAP1_BASE_ADDRESS = $BF802000;
  10353. var
  10354. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  10355. const
  10356. ICAP2_BASE_ADDRESS = $BF802200;
  10357. var
  10358. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  10359. const
  10360. ICAP3_BASE_ADDRESS = $BF802400;
  10361. var
  10362. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  10363. const
  10364. ICAP4_BASE_ADDRESS = $BF802600;
  10365. var
  10366. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  10367. const
  10368. ICAP5_BASE_ADDRESS = $BF802800;
  10369. var
  10370. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  10371. const
  10372. INT_BASE_ADDRESS = $BF881000;
  10373. var
  10374. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  10375. const
  10376. NVM_BASE_ADDRESS = $BF80F400;
  10377. var
  10378. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  10379. const
  10380. OCMP1_BASE_ADDRESS = $BF803000;
  10381. var
  10382. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  10383. const
  10384. OCMP2_BASE_ADDRESS = $BF803200;
  10385. var
  10386. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  10387. const
  10388. OCMP3_BASE_ADDRESS = $BF803400;
  10389. var
  10390. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  10391. const
  10392. OCMP4_BASE_ADDRESS = $BF803600;
  10393. var
  10394. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  10395. const
  10396. OCMP5_BASE_ADDRESS = $BF803800;
  10397. var
  10398. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  10399. const
  10400. OSC_BASE_ADDRESS = $BF80F000;
  10401. var
  10402. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  10403. const
  10404. PMP_BASE_ADDRESS = $BF807000;
  10405. var
  10406. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  10407. const
  10408. PORTA_BASE_ADDRESS = $BF886000;
  10409. var
  10410. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  10411. const
  10412. PORTB_BASE_ADDRESS = $BF886100;
  10413. var
  10414. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  10415. const
  10416. PORTC_BASE_ADDRESS = $BF886200;
  10417. var
  10418. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  10419. const
  10420. RCON_BASE_ADDRESS = $BF80F600;
  10421. var
  10422. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  10423. const
  10424. RTCC_BASE_ADDRESS = $BF800200;
  10425. var
  10426. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  10427. const
  10428. SPI1_BASE_ADDRESS = $BF805800;
  10429. var
  10430. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  10431. const
  10432. SPI2_BASE_ADDRESS = $BF805A00;
  10433. var
  10434. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  10435. const
  10436. TMR1_BASE_ADDRESS = $BF800600;
  10437. var
  10438. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  10439. const
  10440. TMR2_BASE_ADDRESS = $BF800800;
  10441. var
  10442. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  10443. const
  10444. TMR3_BASE_ADDRESS = $BF800A00;
  10445. var
  10446. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  10447. const
  10448. TMR4_BASE_ADDRESS = $BF800C00;
  10449. var
  10450. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  10451. const
  10452. TMR5_BASE_ADDRESS = $BF800E00;
  10453. var
  10454. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  10455. const
  10456. UART1_BASE_ADDRESS = $BF806000;
  10457. var
  10458. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  10459. const
  10460. UART2_BASE_ADDRESS = $BF806200;
  10461. var
  10462. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  10463. const
  10464. USB_BASE_ADDRESS = $BF885040;
  10465. var
  10466. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  10467. const
  10468. WDT_BASE_ADDRESS = $BF800000;
  10469. var
  10470. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  10471. implementation
  10472. type
  10473. TDefRegMap = record
  10474. val : longWord;
  10475. clr : longWord;
  10476. &set : longWord;
  10477. inv : longWord;
  10478. end;
  10479. pTDefRegMap = ^TDefRegMap;
  10480. procedure TWDT_WDTCON.setWDTCLR; inline;
  10481. begin
  10482. pTDefRegMap(@Self)^.&set := $00000001;
  10483. end;
  10484. procedure TWDT_WDTCON.clearWDTCLR; inline;
  10485. begin
  10486. pTDefRegMap(@Self)^.clr := $00000001;
  10487. end;
  10488. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  10489. begin
  10490. if thebits = 0 then
  10491. pTDefRegMap(@Self)^.clr := $00000001
  10492. else
  10493. pTDefRegMap(@Self)^.&set := $00000001;
  10494. end;
  10495. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  10496. begin
  10497. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10498. end;
  10499. procedure TWDT_WDTCON.setWDTWINEN; inline;
  10500. begin
  10501. pTDefRegMap(@Self)^.&set := $00000002;
  10502. end;
  10503. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  10504. begin
  10505. pTDefRegMap(@Self)^.clr := $00000002;
  10506. end;
  10507. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  10508. begin
  10509. if thebits = 0 then
  10510. pTDefRegMap(@Self)^.clr := $00000002
  10511. else
  10512. pTDefRegMap(@Self)^.&set := $00000002;
  10513. end;
  10514. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  10515. begin
  10516. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10517. end;
  10518. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  10519. begin
  10520. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10521. end;
  10522. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  10523. begin
  10524. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10525. end;
  10526. procedure TWDT_WDTCON.setON; inline;
  10527. begin
  10528. pTDefRegMap(@Self)^.&set := $00008000;
  10529. end;
  10530. procedure TWDT_WDTCON.clearON; inline;
  10531. begin
  10532. pTDefRegMap(@Self)^.clr := $00008000;
  10533. end;
  10534. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  10535. begin
  10536. if thebits = 0 then
  10537. pTDefRegMap(@Self)^.clr := $00008000
  10538. else
  10539. pTDefRegMap(@Self)^.&set := $00008000;
  10540. end;
  10541. function TWDT_WDTCON.getON : TBits_1; inline;
  10542. begin
  10543. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10544. end;
  10545. procedure TWDT_WDTCON.setSWDTPS0; inline;
  10546. begin
  10547. pTDefRegMap(@Self)^.&set := $00000004;
  10548. end;
  10549. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  10550. begin
  10551. pTDefRegMap(@Self)^.clr := $00000004;
  10552. end;
  10553. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  10554. begin
  10555. if thebits = 0 then
  10556. pTDefRegMap(@Self)^.clr := $00000004
  10557. else
  10558. pTDefRegMap(@Self)^.&set := $00000004;
  10559. end;
  10560. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  10561. begin
  10562. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10563. end;
  10564. procedure TWDT_WDTCON.setSWDTPS1; inline;
  10565. begin
  10566. pTDefRegMap(@Self)^.&set := $00000008;
  10567. end;
  10568. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  10569. begin
  10570. pTDefRegMap(@Self)^.clr := $00000008;
  10571. end;
  10572. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  10573. begin
  10574. if thebits = 0 then
  10575. pTDefRegMap(@Self)^.clr := $00000008
  10576. else
  10577. pTDefRegMap(@Self)^.&set := $00000008;
  10578. end;
  10579. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  10580. begin
  10581. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10582. end;
  10583. procedure TWDT_WDTCON.setSWDTPS2; inline;
  10584. begin
  10585. pTDefRegMap(@Self)^.&set := $00000010;
  10586. end;
  10587. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  10588. begin
  10589. pTDefRegMap(@Self)^.clr := $00000010;
  10590. end;
  10591. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  10592. begin
  10593. if thebits = 0 then
  10594. pTDefRegMap(@Self)^.clr := $00000010
  10595. else
  10596. pTDefRegMap(@Self)^.&set := $00000010;
  10597. end;
  10598. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  10599. begin
  10600. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10601. end;
  10602. procedure TWDT_WDTCON.setSWDTPS3; inline;
  10603. begin
  10604. pTDefRegMap(@Self)^.&set := $00000020;
  10605. end;
  10606. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  10607. begin
  10608. pTDefRegMap(@Self)^.clr := $00000020;
  10609. end;
  10610. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  10611. begin
  10612. if thebits = 0 then
  10613. pTDefRegMap(@Self)^.clr := $00000020
  10614. else
  10615. pTDefRegMap(@Self)^.&set := $00000020;
  10616. end;
  10617. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  10618. begin
  10619. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10620. end;
  10621. procedure TWDT_WDTCON.setSWDTPS4; inline;
  10622. begin
  10623. pTDefRegMap(@Self)^.&set := $00000040;
  10624. end;
  10625. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  10626. begin
  10627. pTDefRegMap(@Self)^.clr := $00000040;
  10628. end;
  10629. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  10630. begin
  10631. if thebits = 0 then
  10632. pTDefRegMap(@Self)^.clr := $00000040
  10633. else
  10634. pTDefRegMap(@Self)^.&set := $00000040;
  10635. end;
  10636. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  10637. begin
  10638. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10639. end;
  10640. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  10641. begin
  10642. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10643. end;
  10644. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  10645. begin
  10646. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10647. end;
  10648. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  10649. begin
  10650. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10651. end;
  10652. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  10653. begin
  10654. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10655. end;
  10656. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  10657. begin
  10658. pTDefRegMap(@Self)^.val := thebits;
  10659. end;
  10660. function TWDT_WDTCON.getw : TBits_32; inline;
  10661. begin
  10662. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10663. end;
  10664. procedure TRTCC_RTCCON.setRTCOE; inline;
  10665. begin
  10666. pTDefRegMap(@Self)^.&set := $00000001;
  10667. end;
  10668. procedure TRTCC_RTCCON.clearRTCOE; inline;
  10669. begin
  10670. pTDefRegMap(@Self)^.clr := $00000001;
  10671. end;
  10672. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  10673. begin
  10674. if thebits = 0 then
  10675. pTDefRegMap(@Self)^.clr := $00000001
  10676. else
  10677. pTDefRegMap(@Self)^.&set := $00000001;
  10678. end;
  10679. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  10680. begin
  10681. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10682. end;
  10683. procedure TRTCC_RTCCON.setHALFSEC; inline;
  10684. begin
  10685. pTDefRegMap(@Self)^.&set := $00000002;
  10686. end;
  10687. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  10688. begin
  10689. pTDefRegMap(@Self)^.clr := $00000002;
  10690. end;
  10691. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  10692. begin
  10693. if thebits = 0 then
  10694. pTDefRegMap(@Self)^.clr := $00000002
  10695. else
  10696. pTDefRegMap(@Self)^.&set := $00000002;
  10697. end;
  10698. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  10699. begin
  10700. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10701. end;
  10702. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  10703. begin
  10704. pTDefRegMap(@Self)^.&set := $00000004;
  10705. end;
  10706. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  10707. begin
  10708. pTDefRegMap(@Self)^.clr := $00000004;
  10709. end;
  10710. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  10711. begin
  10712. if thebits = 0 then
  10713. pTDefRegMap(@Self)^.clr := $00000004
  10714. else
  10715. pTDefRegMap(@Self)^.&set := $00000004;
  10716. end;
  10717. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  10718. begin
  10719. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10720. end;
  10721. procedure TRTCC_RTCCON.setRTCWREN; inline;
  10722. begin
  10723. pTDefRegMap(@Self)^.&set := $00000008;
  10724. end;
  10725. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  10726. begin
  10727. pTDefRegMap(@Self)^.clr := $00000008;
  10728. end;
  10729. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  10730. begin
  10731. if thebits = 0 then
  10732. pTDefRegMap(@Self)^.clr := $00000008
  10733. else
  10734. pTDefRegMap(@Self)^.&set := $00000008;
  10735. end;
  10736. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  10737. begin
  10738. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10739. end;
  10740. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  10741. begin
  10742. pTDefRegMap(@Self)^.&set := $00000040;
  10743. end;
  10744. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  10745. begin
  10746. pTDefRegMap(@Self)^.clr := $00000040;
  10747. end;
  10748. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  10749. begin
  10750. if thebits = 0 then
  10751. pTDefRegMap(@Self)^.clr := $00000040
  10752. else
  10753. pTDefRegMap(@Self)^.&set := $00000040;
  10754. end;
  10755. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  10756. begin
  10757. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10758. end;
  10759. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  10760. begin
  10761. pTDefRegMap(@Self)^.&set := $00000080;
  10762. end;
  10763. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  10764. begin
  10765. pTDefRegMap(@Self)^.clr := $00000080;
  10766. end;
  10767. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  10768. begin
  10769. if thebits = 0 then
  10770. pTDefRegMap(@Self)^.clr := $00000080
  10771. else
  10772. pTDefRegMap(@Self)^.&set := $00000080;
  10773. end;
  10774. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  10775. begin
  10776. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10777. end;
  10778. procedure TRTCC_RTCCON.setSIDL; inline;
  10779. begin
  10780. pTDefRegMap(@Self)^.&set := $00002000;
  10781. end;
  10782. procedure TRTCC_RTCCON.clearSIDL; inline;
  10783. begin
  10784. pTDefRegMap(@Self)^.clr := $00002000;
  10785. end;
  10786. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10787. begin
  10788. if thebits = 0 then
  10789. pTDefRegMap(@Self)^.clr := $00002000
  10790. else
  10791. pTDefRegMap(@Self)^.&set := $00002000;
  10792. end;
  10793. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10794. begin
  10795. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10796. end;
  10797. procedure TRTCC_RTCCON.setON; inline;
  10798. begin
  10799. pTDefRegMap(@Self)^.&set := $00008000;
  10800. end;
  10801. procedure TRTCC_RTCCON.clearON; inline;
  10802. begin
  10803. pTDefRegMap(@Self)^.clr := $00008000;
  10804. end;
  10805. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10806. begin
  10807. if thebits = 0 then
  10808. pTDefRegMap(@Self)^.clr := $00008000
  10809. else
  10810. pTDefRegMap(@Self)^.&set := $00008000;
  10811. end;
  10812. function TRTCC_RTCCON.getON : TBits_1; inline;
  10813. begin
  10814. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10815. end;
  10816. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10817. begin
  10818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10819. end;
  10820. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10821. begin
  10822. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10823. end;
  10824. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10825. begin
  10826. pTDefRegMap(@Self)^.val := thebits;
  10827. end;
  10828. function TRTCC_RTCCON.getw : TBits_32; inline;
  10829. begin
  10830. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10831. end;
  10832. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10833. begin
  10834. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10835. end;
  10836. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10837. begin
  10838. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10839. end;
  10840. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10841. begin
  10842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10843. end;
  10844. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10845. begin
  10846. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10847. end;
  10848. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10849. begin
  10850. pTDefRegMap(@Self)^.&set := $00001000;
  10851. end;
  10852. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10853. begin
  10854. pTDefRegMap(@Self)^.clr := $00001000;
  10855. end;
  10856. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10857. begin
  10858. if thebits = 0 then
  10859. pTDefRegMap(@Self)^.clr := $00001000
  10860. else
  10861. pTDefRegMap(@Self)^.&set := $00001000;
  10862. end;
  10863. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10864. begin
  10865. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10866. end;
  10867. procedure TRTCC_RTCALRM.setPIV; inline;
  10868. begin
  10869. pTDefRegMap(@Self)^.&set := $00002000;
  10870. end;
  10871. procedure TRTCC_RTCALRM.clearPIV; inline;
  10872. begin
  10873. pTDefRegMap(@Self)^.clr := $00002000;
  10874. end;
  10875. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10876. begin
  10877. if thebits = 0 then
  10878. pTDefRegMap(@Self)^.clr := $00002000
  10879. else
  10880. pTDefRegMap(@Self)^.&set := $00002000;
  10881. end;
  10882. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10883. begin
  10884. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10885. end;
  10886. procedure TRTCC_RTCALRM.setCHIME; inline;
  10887. begin
  10888. pTDefRegMap(@Self)^.&set := $00004000;
  10889. end;
  10890. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10891. begin
  10892. pTDefRegMap(@Self)^.clr := $00004000;
  10893. end;
  10894. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10895. begin
  10896. if thebits = 0 then
  10897. pTDefRegMap(@Self)^.clr := $00004000
  10898. else
  10899. pTDefRegMap(@Self)^.&set := $00004000;
  10900. end;
  10901. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10902. begin
  10903. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10904. end;
  10905. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10906. begin
  10907. pTDefRegMap(@Self)^.&set := $00008000;
  10908. end;
  10909. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10910. begin
  10911. pTDefRegMap(@Self)^.clr := $00008000;
  10912. end;
  10913. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10914. begin
  10915. if thebits = 0 then
  10916. pTDefRegMap(@Self)^.clr := $00008000
  10917. else
  10918. pTDefRegMap(@Self)^.&set := $00008000;
  10919. end;
  10920. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10921. begin
  10922. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10923. end;
  10924. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10925. begin
  10926. pTDefRegMap(@Self)^.val := thebits;
  10927. end;
  10928. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10929. begin
  10930. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10931. end;
  10932. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10933. begin
  10934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10935. end;
  10936. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10937. begin
  10938. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10939. end;
  10940. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10941. begin
  10942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10943. end;
  10944. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10945. begin
  10946. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10947. end;
  10948. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10949. begin
  10950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10951. end;
  10952. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10953. begin
  10954. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10955. end;
  10956. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10957. begin
  10958. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10959. end;
  10960. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10961. begin
  10962. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10963. end;
  10964. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10965. begin
  10966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10967. end;
  10968. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10969. begin
  10970. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10971. end;
  10972. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10973. begin
  10974. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10975. end;
  10976. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10977. begin
  10978. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10979. end;
  10980. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10981. begin
  10982. pTDefRegMap(@Self)^.val := thebits;
  10983. end;
  10984. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10985. begin
  10986. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10987. end;
  10988. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10989. begin
  10990. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10991. end;
  10992. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10993. begin
  10994. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10995. end;
  10996. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10997. begin
  10998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10999. end;
  11000. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  11001. begin
  11002. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  11003. end;
  11004. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  11005. begin
  11006. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  11007. end;
  11008. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  11009. begin
  11010. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  11011. end;
  11012. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  11013. begin
  11014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  11015. end;
  11016. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  11017. begin
  11018. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11019. end;
  11020. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  11021. begin
  11022. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11023. end;
  11024. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  11025. begin
  11026. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11027. end;
  11028. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  11029. begin
  11030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  11031. end;
  11032. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  11033. begin
  11034. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  11035. end;
  11036. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  11037. begin
  11038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  11039. end;
  11040. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  11041. begin
  11042. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  11043. end;
  11044. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  11045. begin
  11046. pTDefRegMap(@Self)^.val := thebits;
  11047. end;
  11048. function TRTCC_RTCDATE.getw : TBits_32; inline;
  11049. begin
  11050. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11051. end;
  11052. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  11053. begin
  11054. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  11055. end;
  11056. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  11057. begin
  11058. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  11059. end;
  11060. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  11061. begin
  11062. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  11063. end;
  11064. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  11065. begin
  11066. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  11067. end;
  11068. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  11069. begin
  11070. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  11071. end;
  11072. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  11073. begin
  11074. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11075. end;
  11076. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  11077. begin
  11078. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11079. end;
  11080. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  11081. begin
  11082. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11083. end;
  11084. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  11085. begin
  11086. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  11087. end;
  11088. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  11089. begin
  11090. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  11091. end;
  11092. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  11093. begin
  11094. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  11095. end;
  11096. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  11097. begin
  11098. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  11099. end;
  11100. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  11101. begin
  11102. pTDefRegMap(@Self)^.val := thebits;
  11103. end;
  11104. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  11105. begin
  11106. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11107. end;
  11108. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  11109. begin
  11110. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  11111. end;
  11112. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  11113. begin
  11114. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  11115. end;
  11116. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  11117. begin
  11118. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  11119. end;
  11120. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  11121. begin
  11122. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  11123. end;
  11124. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  11125. begin
  11126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  11127. end;
  11128. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  11129. begin
  11130. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  11131. end;
  11132. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  11133. begin
  11134. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  11135. end;
  11136. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  11137. begin
  11138. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11139. end;
  11140. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  11141. begin
  11142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11143. end;
  11144. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  11145. begin
  11146. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11147. end;
  11148. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  11149. begin
  11150. pTDefRegMap(@Self)^.val := thebits;
  11151. end;
  11152. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  11153. begin
  11154. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11155. end;
  11156. procedure TTMR1_T1CON.setTCS; inline;
  11157. begin
  11158. pTDefRegMap(@Self)^.&set := $00000002;
  11159. end;
  11160. procedure TTMR1_T1CON.clearTCS; inline;
  11161. begin
  11162. pTDefRegMap(@Self)^.clr := $00000002;
  11163. end;
  11164. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  11165. begin
  11166. if thebits = 0 then
  11167. pTDefRegMap(@Self)^.clr := $00000002
  11168. else
  11169. pTDefRegMap(@Self)^.&set := $00000002;
  11170. end;
  11171. function TTMR1_T1CON.getTCS : TBits_1; inline;
  11172. begin
  11173. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11174. end;
  11175. procedure TTMR1_T1CON.setTSYNC; inline;
  11176. begin
  11177. pTDefRegMap(@Self)^.&set := $00000004;
  11178. end;
  11179. procedure TTMR1_T1CON.clearTSYNC; inline;
  11180. begin
  11181. pTDefRegMap(@Self)^.clr := $00000004;
  11182. end;
  11183. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  11184. begin
  11185. if thebits = 0 then
  11186. pTDefRegMap(@Self)^.clr := $00000004
  11187. else
  11188. pTDefRegMap(@Self)^.&set := $00000004;
  11189. end;
  11190. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  11191. begin
  11192. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11193. end;
  11194. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  11195. begin
  11196. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  11197. end;
  11198. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  11199. begin
  11200. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  11201. end;
  11202. procedure TTMR1_T1CON.setTGATE; inline;
  11203. begin
  11204. pTDefRegMap(@Self)^.&set := $00000080;
  11205. end;
  11206. procedure TTMR1_T1CON.clearTGATE; inline;
  11207. begin
  11208. pTDefRegMap(@Self)^.clr := $00000080;
  11209. end;
  11210. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  11211. begin
  11212. if thebits = 0 then
  11213. pTDefRegMap(@Self)^.clr := $00000080
  11214. else
  11215. pTDefRegMap(@Self)^.&set := $00000080;
  11216. end;
  11217. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  11218. begin
  11219. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11220. end;
  11221. procedure TTMR1_T1CON.setTWIP; inline;
  11222. begin
  11223. pTDefRegMap(@Self)^.&set := $00000800;
  11224. end;
  11225. procedure TTMR1_T1CON.clearTWIP; inline;
  11226. begin
  11227. pTDefRegMap(@Self)^.clr := $00000800;
  11228. end;
  11229. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  11230. begin
  11231. if thebits = 0 then
  11232. pTDefRegMap(@Self)^.clr := $00000800
  11233. else
  11234. pTDefRegMap(@Self)^.&set := $00000800;
  11235. end;
  11236. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  11237. begin
  11238. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11239. end;
  11240. procedure TTMR1_T1CON.setTWDIS; inline;
  11241. begin
  11242. pTDefRegMap(@Self)^.&set := $00001000;
  11243. end;
  11244. procedure TTMR1_T1CON.clearTWDIS; inline;
  11245. begin
  11246. pTDefRegMap(@Self)^.clr := $00001000;
  11247. end;
  11248. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  11249. begin
  11250. if thebits = 0 then
  11251. pTDefRegMap(@Self)^.clr := $00001000
  11252. else
  11253. pTDefRegMap(@Self)^.&set := $00001000;
  11254. end;
  11255. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  11256. begin
  11257. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11258. end;
  11259. procedure TTMR1_T1CON.setSIDL; inline;
  11260. begin
  11261. pTDefRegMap(@Self)^.&set := $00002000;
  11262. end;
  11263. procedure TTMR1_T1CON.clearSIDL; inline;
  11264. begin
  11265. pTDefRegMap(@Self)^.clr := $00002000;
  11266. end;
  11267. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  11268. begin
  11269. if thebits = 0 then
  11270. pTDefRegMap(@Self)^.clr := $00002000
  11271. else
  11272. pTDefRegMap(@Self)^.&set := $00002000;
  11273. end;
  11274. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  11275. begin
  11276. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11277. end;
  11278. procedure TTMR1_T1CON.setON; inline;
  11279. begin
  11280. pTDefRegMap(@Self)^.&set := $00008000;
  11281. end;
  11282. procedure TTMR1_T1CON.clearON; inline;
  11283. begin
  11284. pTDefRegMap(@Self)^.clr := $00008000;
  11285. end;
  11286. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  11287. begin
  11288. if thebits = 0 then
  11289. pTDefRegMap(@Self)^.clr := $00008000
  11290. else
  11291. pTDefRegMap(@Self)^.&set := $00008000;
  11292. end;
  11293. function TTMR1_T1CON.getON : TBits_1; inline;
  11294. begin
  11295. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11296. end;
  11297. procedure TTMR1_T1CON.setTCKPS0; inline;
  11298. begin
  11299. pTDefRegMap(@Self)^.&set := $00000010;
  11300. end;
  11301. procedure TTMR1_T1CON.clearTCKPS0; inline;
  11302. begin
  11303. pTDefRegMap(@Self)^.clr := $00000010;
  11304. end;
  11305. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  11306. begin
  11307. if thebits = 0 then
  11308. pTDefRegMap(@Self)^.clr := $00000010
  11309. else
  11310. pTDefRegMap(@Self)^.&set := $00000010;
  11311. end;
  11312. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  11313. begin
  11314. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11315. end;
  11316. procedure TTMR1_T1CON.setTCKPS1; inline;
  11317. begin
  11318. pTDefRegMap(@Self)^.&set := $00000020;
  11319. end;
  11320. procedure TTMR1_T1CON.clearTCKPS1; inline;
  11321. begin
  11322. pTDefRegMap(@Self)^.clr := $00000020;
  11323. end;
  11324. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  11325. begin
  11326. if thebits = 0 then
  11327. pTDefRegMap(@Self)^.clr := $00000020
  11328. else
  11329. pTDefRegMap(@Self)^.&set := $00000020;
  11330. end;
  11331. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  11332. begin
  11333. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11334. end;
  11335. procedure TTMR1_T1CON.setTSIDL; inline;
  11336. begin
  11337. pTDefRegMap(@Self)^.&set := $00002000;
  11338. end;
  11339. procedure TTMR1_T1CON.clearTSIDL; inline;
  11340. begin
  11341. pTDefRegMap(@Self)^.clr := $00002000;
  11342. end;
  11343. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  11344. begin
  11345. if thebits = 0 then
  11346. pTDefRegMap(@Self)^.clr := $00002000
  11347. else
  11348. pTDefRegMap(@Self)^.&set := $00002000;
  11349. end;
  11350. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  11351. begin
  11352. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11353. end;
  11354. procedure TTMR1_T1CON.setTON; inline;
  11355. begin
  11356. pTDefRegMap(@Self)^.&set := $00008000;
  11357. end;
  11358. procedure TTMR1_T1CON.clearTON; inline;
  11359. begin
  11360. pTDefRegMap(@Self)^.clr := $00008000;
  11361. end;
  11362. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  11363. begin
  11364. if thebits = 0 then
  11365. pTDefRegMap(@Self)^.clr := $00008000
  11366. else
  11367. pTDefRegMap(@Self)^.&set := $00008000;
  11368. end;
  11369. function TTMR1_T1CON.getTON : TBits_1; inline;
  11370. begin
  11371. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11372. end;
  11373. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  11374. begin
  11375. pTDefRegMap(@Self)^.val := thebits;
  11376. end;
  11377. function TTMR1_T1CON.getw : TBits_32; inline;
  11378. begin
  11379. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11380. end;
  11381. procedure TTMR2_T2CON.setTCS; inline;
  11382. begin
  11383. pTDefRegMap(@Self)^.&set := $00000002;
  11384. end;
  11385. procedure TTMR2_T2CON.clearTCS; inline;
  11386. begin
  11387. pTDefRegMap(@Self)^.clr := $00000002;
  11388. end;
  11389. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  11390. begin
  11391. if thebits = 0 then
  11392. pTDefRegMap(@Self)^.clr := $00000002
  11393. else
  11394. pTDefRegMap(@Self)^.&set := $00000002;
  11395. end;
  11396. function TTMR2_T2CON.getTCS : TBits_1; inline;
  11397. begin
  11398. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11399. end;
  11400. procedure TTMR2_T2CON.setT32; inline;
  11401. begin
  11402. pTDefRegMap(@Self)^.&set := $00000008;
  11403. end;
  11404. procedure TTMR2_T2CON.clearT32; inline;
  11405. begin
  11406. pTDefRegMap(@Self)^.clr := $00000008;
  11407. end;
  11408. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  11409. begin
  11410. if thebits = 0 then
  11411. pTDefRegMap(@Self)^.clr := $00000008
  11412. else
  11413. pTDefRegMap(@Self)^.&set := $00000008;
  11414. end;
  11415. function TTMR2_T2CON.getT32 : TBits_1; inline;
  11416. begin
  11417. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11418. end;
  11419. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  11420. begin
  11421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11422. end;
  11423. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  11424. begin
  11425. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11426. end;
  11427. procedure TTMR2_T2CON.setTGATE; inline;
  11428. begin
  11429. pTDefRegMap(@Self)^.&set := $00000080;
  11430. end;
  11431. procedure TTMR2_T2CON.clearTGATE; inline;
  11432. begin
  11433. pTDefRegMap(@Self)^.clr := $00000080;
  11434. end;
  11435. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  11436. begin
  11437. if thebits = 0 then
  11438. pTDefRegMap(@Self)^.clr := $00000080
  11439. else
  11440. pTDefRegMap(@Self)^.&set := $00000080;
  11441. end;
  11442. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  11443. begin
  11444. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11445. end;
  11446. procedure TTMR2_T2CON.setSIDL; inline;
  11447. begin
  11448. pTDefRegMap(@Self)^.&set := $00002000;
  11449. end;
  11450. procedure TTMR2_T2CON.clearSIDL; inline;
  11451. begin
  11452. pTDefRegMap(@Self)^.clr := $00002000;
  11453. end;
  11454. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  11455. begin
  11456. if thebits = 0 then
  11457. pTDefRegMap(@Self)^.clr := $00002000
  11458. else
  11459. pTDefRegMap(@Self)^.&set := $00002000;
  11460. end;
  11461. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  11462. begin
  11463. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11464. end;
  11465. procedure TTMR2_T2CON.setON; inline;
  11466. begin
  11467. pTDefRegMap(@Self)^.&set := $00008000;
  11468. end;
  11469. procedure TTMR2_T2CON.clearON; inline;
  11470. begin
  11471. pTDefRegMap(@Self)^.clr := $00008000;
  11472. end;
  11473. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  11474. begin
  11475. if thebits = 0 then
  11476. pTDefRegMap(@Self)^.clr := $00008000
  11477. else
  11478. pTDefRegMap(@Self)^.&set := $00008000;
  11479. end;
  11480. function TTMR2_T2CON.getON : TBits_1; inline;
  11481. begin
  11482. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11483. end;
  11484. procedure TTMR2_T2CON.setTCKPS0; inline;
  11485. begin
  11486. pTDefRegMap(@Self)^.&set := $00000010;
  11487. end;
  11488. procedure TTMR2_T2CON.clearTCKPS0; inline;
  11489. begin
  11490. pTDefRegMap(@Self)^.clr := $00000010;
  11491. end;
  11492. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  11493. begin
  11494. if thebits = 0 then
  11495. pTDefRegMap(@Self)^.clr := $00000010
  11496. else
  11497. pTDefRegMap(@Self)^.&set := $00000010;
  11498. end;
  11499. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  11500. begin
  11501. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11502. end;
  11503. procedure TTMR2_T2CON.setTCKPS1; inline;
  11504. begin
  11505. pTDefRegMap(@Self)^.&set := $00000020;
  11506. end;
  11507. procedure TTMR2_T2CON.clearTCKPS1; inline;
  11508. begin
  11509. pTDefRegMap(@Self)^.clr := $00000020;
  11510. end;
  11511. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  11512. begin
  11513. if thebits = 0 then
  11514. pTDefRegMap(@Self)^.clr := $00000020
  11515. else
  11516. pTDefRegMap(@Self)^.&set := $00000020;
  11517. end;
  11518. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  11519. begin
  11520. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11521. end;
  11522. procedure TTMR2_T2CON.setTCKPS2; inline;
  11523. begin
  11524. pTDefRegMap(@Self)^.&set := $00000040;
  11525. end;
  11526. procedure TTMR2_T2CON.clearTCKPS2; inline;
  11527. begin
  11528. pTDefRegMap(@Self)^.clr := $00000040;
  11529. end;
  11530. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  11531. begin
  11532. if thebits = 0 then
  11533. pTDefRegMap(@Self)^.clr := $00000040
  11534. else
  11535. pTDefRegMap(@Self)^.&set := $00000040;
  11536. end;
  11537. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  11538. begin
  11539. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11540. end;
  11541. procedure TTMR2_T2CON.setTSIDL; inline;
  11542. begin
  11543. pTDefRegMap(@Self)^.&set := $00002000;
  11544. end;
  11545. procedure TTMR2_T2CON.clearTSIDL; inline;
  11546. begin
  11547. pTDefRegMap(@Self)^.clr := $00002000;
  11548. end;
  11549. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  11550. begin
  11551. if thebits = 0 then
  11552. pTDefRegMap(@Self)^.clr := $00002000
  11553. else
  11554. pTDefRegMap(@Self)^.&set := $00002000;
  11555. end;
  11556. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  11557. begin
  11558. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11559. end;
  11560. procedure TTMR2_T2CON.setTON; inline;
  11561. begin
  11562. pTDefRegMap(@Self)^.&set := $00008000;
  11563. end;
  11564. procedure TTMR2_T2CON.clearTON; inline;
  11565. begin
  11566. pTDefRegMap(@Self)^.clr := $00008000;
  11567. end;
  11568. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  11569. begin
  11570. if thebits = 0 then
  11571. pTDefRegMap(@Self)^.clr := $00008000
  11572. else
  11573. pTDefRegMap(@Self)^.&set := $00008000;
  11574. end;
  11575. function TTMR2_T2CON.getTON : TBits_1; inline;
  11576. begin
  11577. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11578. end;
  11579. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  11580. begin
  11581. pTDefRegMap(@Self)^.val := thebits;
  11582. end;
  11583. function TTMR2_T2CON.getw : TBits_32; inline;
  11584. begin
  11585. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11586. end;
  11587. procedure TTMR3_T3CON.setTCS; inline;
  11588. begin
  11589. pTDefRegMap(@Self)^.&set := $00000002;
  11590. end;
  11591. procedure TTMR3_T3CON.clearTCS; inline;
  11592. begin
  11593. pTDefRegMap(@Self)^.clr := $00000002;
  11594. end;
  11595. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  11596. begin
  11597. if thebits = 0 then
  11598. pTDefRegMap(@Self)^.clr := $00000002
  11599. else
  11600. pTDefRegMap(@Self)^.&set := $00000002;
  11601. end;
  11602. function TTMR3_T3CON.getTCS : TBits_1; inline;
  11603. begin
  11604. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11605. end;
  11606. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  11607. begin
  11608. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11609. end;
  11610. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  11611. begin
  11612. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11613. end;
  11614. procedure TTMR3_T3CON.setTGATE; inline;
  11615. begin
  11616. pTDefRegMap(@Self)^.&set := $00000080;
  11617. end;
  11618. procedure TTMR3_T3CON.clearTGATE; inline;
  11619. begin
  11620. pTDefRegMap(@Self)^.clr := $00000080;
  11621. end;
  11622. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  11623. begin
  11624. if thebits = 0 then
  11625. pTDefRegMap(@Self)^.clr := $00000080
  11626. else
  11627. pTDefRegMap(@Self)^.&set := $00000080;
  11628. end;
  11629. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  11630. begin
  11631. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11632. end;
  11633. procedure TTMR3_T3CON.setSIDL; inline;
  11634. begin
  11635. pTDefRegMap(@Self)^.&set := $00002000;
  11636. end;
  11637. procedure TTMR3_T3CON.clearSIDL; inline;
  11638. begin
  11639. pTDefRegMap(@Self)^.clr := $00002000;
  11640. end;
  11641. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  11642. begin
  11643. if thebits = 0 then
  11644. pTDefRegMap(@Self)^.clr := $00002000
  11645. else
  11646. pTDefRegMap(@Self)^.&set := $00002000;
  11647. end;
  11648. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  11649. begin
  11650. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11651. end;
  11652. procedure TTMR3_T3CON.setON; inline;
  11653. begin
  11654. pTDefRegMap(@Self)^.&set := $00008000;
  11655. end;
  11656. procedure TTMR3_T3CON.clearON; inline;
  11657. begin
  11658. pTDefRegMap(@Self)^.clr := $00008000;
  11659. end;
  11660. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  11661. begin
  11662. if thebits = 0 then
  11663. pTDefRegMap(@Self)^.clr := $00008000
  11664. else
  11665. pTDefRegMap(@Self)^.&set := $00008000;
  11666. end;
  11667. function TTMR3_T3CON.getON : TBits_1; inline;
  11668. begin
  11669. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11670. end;
  11671. procedure TTMR3_T3CON.setTCKPS0; inline;
  11672. begin
  11673. pTDefRegMap(@Self)^.&set := $00000010;
  11674. end;
  11675. procedure TTMR3_T3CON.clearTCKPS0; inline;
  11676. begin
  11677. pTDefRegMap(@Self)^.clr := $00000010;
  11678. end;
  11679. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  11680. begin
  11681. if thebits = 0 then
  11682. pTDefRegMap(@Self)^.clr := $00000010
  11683. else
  11684. pTDefRegMap(@Self)^.&set := $00000010;
  11685. end;
  11686. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  11687. begin
  11688. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11689. end;
  11690. procedure TTMR3_T3CON.setTCKPS1; inline;
  11691. begin
  11692. pTDefRegMap(@Self)^.&set := $00000020;
  11693. end;
  11694. procedure TTMR3_T3CON.clearTCKPS1; inline;
  11695. begin
  11696. pTDefRegMap(@Self)^.clr := $00000020;
  11697. end;
  11698. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  11699. begin
  11700. if thebits = 0 then
  11701. pTDefRegMap(@Self)^.clr := $00000020
  11702. else
  11703. pTDefRegMap(@Self)^.&set := $00000020;
  11704. end;
  11705. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  11706. begin
  11707. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11708. end;
  11709. procedure TTMR3_T3CON.setTCKPS2; inline;
  11710. begin
  11711. pTDefRegMap(@Self)^.&set := $00000040;
  11712. end;
  11713. procedure TTMR3_T3CON.clearTCKPS2; inline;
  11714. begin
  11715. pTDefRegMap(@Self)^.clr := $00000040;
  11716. end;
  11717. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  11718. begin
  11719. if thebits = 0 then
  11720. pTDefRegMap(@Self)^.clr := $00000040
  11721. else
  11722. pTDefRegMap(@Self)^.&set := $00000040;
  11723. end;
  11724. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  11725. begin
  11726. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11727. end;
  11728. procedure TTMR3_T3CON.setTSIDL; inline;
  11729. begin
  11730. pTDefRegMap(@Self)^.&set := $00002000;
  11731. end;
  11732. procedure TTMR3_T3CON.clearTSIDL; inline;
  11733. begin
  11734. pTDefRegMap(@Self)^.clr := $00002000;
  11735. end;
  11736. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  11737. begin
  11738. if thebits = 0 then
  11739. pTDefRegMap(@Self)^.clr := $00002000
  11740. else
  11741. pTDefRegMap(@Self)^.&set := $00002000;
  11742. end;
  11743. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  11744. begin
  11745. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11746. end;
  11747. procedure TTMR3_T3CON.setTON; inline;
  11748. begin
  11749. pTDefRegMap(@Self)^.&set := $00008000;
  11750. end;
  11751. procedure TTMR3_T3CON.clearTON; inline;
  11752. begin
  11753. pTDefRegMap(@Self)^.clr := $00008000;
  11754. end;
  11755. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  11756. begin
  11757. if thebits = 0 then
  11758. pTDefRegMap(@Self)^.clr := $00008000
  11759. else
  11760. pTDefRegMap(@Self)^.&set := $00008000;
  11761. end;
  11762. function TTMR3_T3CON.getTON : TBits_1; inline;
  11763. begin
  11764. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11765. end;
  11766. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  11767. begin
  11768. pTDefRegMap(@Self)^.val := thebits;
  11769. end;
  11770. function TTMR3_T3CON.getw : TBits_32; inline;
  11771. begin
  11772. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11773. end;
  11774. procedure TTMR4_T4CON.setTCS; inline;
  11775. begin
  11776. pTDefRegMap(@Self)^.&set := $00000002;
  11777. end;
  11778. procedure TTMR4_T4CON.clearTCS; inline;
  11779. begin
  11780. pTDefRegMap(@Self)^.clr := $00000002;
  11781. end;
  11782. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11783. begin
  11784. if thebits = 0 then
  11785. pTDefRegMap(@Self)^.clr := $00000002
  11786. else
  11787. pTDefRegMap(@Self)^.&set := $00000002;
  11788. end;
  11789. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11790. begin
  11791. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11792. end;
  11793. procedure TTMR4_T4CON.setT32; inline;
  11794. begin
  11795. pTDefRegMap(@Self)^.&set := $00000008;
  11796. end;
  11797. procedure TTMR4_T4CON.clearT32; inline;
  11798. begin
  11799. pTDefRegMap(@Self)^.clr := $00000008;
  11800. end;
  11801. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11802. begin
  11803. if thebits = 0 then
  11804. pTDefRegMap(@Self)^.clr := $00000008
  11805. else
  11806. pTDefRegMap(@Self)^.&set := $00000008;
  11807. end;
  11808. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11809. begin
  11810. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11811. end;
  11812. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11813. begin
  11814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11815. end;
  11816. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11817. begin
  11818. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11819. end;
  11820. procedure TTMR4_T4CON.setTGATE; inline;
  11821. begin
  11822. pTDefRegMap(@Self)^.&set := $00000080;
  11823. end;
  11824. procedure TTMR4_T4CON.clearTGATE; inline;
  11825. begin
  11826. pTDefRegMap(@Self)^.clr := $00000080;
  11827. end;
  11828. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11829. begin
  11830. if thebits = 0 then
  11831. pTDefRegMap(@Self)^.clr := $00000080
  11832. else
  11833. pTDefRegMap(@Self)^.&set := $00000080;
  11834. end;
  11835. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11836. begin
  11837. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11838. end;
  11839. procedure TTMR4_T4CON.setSIDL; inline;
  11840. begin
  11841. pTDefRegMap(@Self)^.&set := $00002000;
  11842. end;
  11843. procedure TTMR4_T4CON.clearSIDL; inline;
  11844. begin
  11845. pTDefRegMap(@Self)^.clr := $00002000;
  11846. end;
  11847. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11848. begin
  11849. if thebits = 0 then
  11850. pTDefRegMap(@Self)^.clr := $00002000
  11851. else
  11852. pTDefRegMap(@Self)^.&set := $00002000;
  11853. end;
  11854. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11855. begin
  11856. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11857. end;
  11858. procedure TTMR4_T4CON.setON; inline;
  11859. begin
  11860. pTDefRegMap(@Self)^.&set := $00008000;
  11861. end;
  11862. procedure TTMR4_T4CON.clearON; inline;
  11863. begin
  11864. pTDefRegMap(@Self)^.clr := $00008000;
  11865. end;
  11866. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11867. begin
  11868. if thebits = 0 then
  11869. pTDefRegMap(@Self)^.clr := $00008000
  11870. else
  11871. pTDefRegMap(@Self)^.&set := $00008000;
  11872. end;
  11873. function TTMR4_T4CON.getON : TBits_1; inline;
  11874. begin
  11875. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11876. end;
  11877. procedure TTMR4_T4CON.setTCKPS0; inline;
  11878. begin
  11879. pTDefRegMap(@Self)^.&set := $00000010;
  11880. end;
  11881. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11882. begin
  11883. pTDefRegMap(@Self)^.clr := $00000010;
  11884. end;
  11885. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11886. begin
  11887. if thebits = 0 then
  11888. pTDefRegMap(@Self)^.clr := $00000010
  11889. else
  11890. pTDefRegMap(@Self)^.&set := $00000010;
  11891. end;
  11892. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11893. begin
  11894. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11895. end;
  11896. procedure TTMR4_T4CON.setTCKPS1; inline;
  11897. begin
  11898. pTDefRegMap(@Self)^.&set := $00000020;
  11899. end;
  11900. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11901. begin
  11902. pTDefRegMap(@Self)^.clr := $00000020;
  11903. end;
  11904. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11905. begin
  11906. if thebits = 0 then
  11907. pTDefRegMap(@Self)^.clr := $00000020
  11908. else
  11909. pTDefRegMap(@Self)^.&set := $00000020;
  11910. end;
  11911. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11912. begin
  11913. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11914. end;
  11915. procedure TTMR4_T4CON.setTCKPS2; inline;
  11916. begin
  11917. pTDefRegMap(@Self)^.&set := $00000040;
  11918. end;
  11919. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11920. begin
  11921. pTDefRegMap(@Self)^.clr := $00000040;
  11922. end;
  11923. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11924. begin
  11925. if thebits = 0 then
  11926. pTDefRegMap(@Self)^.clr := $00000040
  11927. else
  11928. pTDefRegMap(@Self)^.&set := $00000040;
  11929. end;
  11930. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11931. begin
  11932. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11933. end;
  11934. procedure TTMR4_T4CON.setTSIDL; inline;
  11935. begin
  11936. pTDefRegMap(@Self)^.&set := $00002000;
  11937. end;
  11938. procedure TTMR4_T4CON.clearTSIDL; inline;
  11939. begin
  11940. pTDefRegMap(@Self)^.clr := $00002000;
  11941. end;
  11942. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11943. begin
  11944. if thebits = 0 then
  11945. pTDefRegMap(@Self)^.clr := $00002000
  11946. else
  11947. pTDefRegMap(@Self)^.&set := $00002000;
  11948. end;
  11949. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11950. begin
  11951. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11952. end;
  11953. procedure TTMR4_T4CON.setTON; inline;
  11954. begin
  11955. pTDefRegMap(@Self)^.&set := $00008000;
  11956. end;
  11957. procedure TTMR4_T4CON.clearTON; inline;
  11958. begin
  11959. pTDefRegMap(@Self)^.clr := $00008000;
  11960. end;
  11961. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11962. begin
  11963. if thebits = 0 then
  11964. pTDefRegMap(@Self)^.clr := $00008000
  11965. else
  11966. pTDefRegMap(@Self)^.&set := $00008000;
  11967. end;
  11968. function TTMR4_T4CON.getTON : TBits_1; inline;
  11969. begin
  11970. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11971. end;
  11972. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11973. begin
  11974. pTDefRegMap(@Self)^.val := thebits;
  11975. end;
  11976. function TTMR4_T4CON.getw : TBits_32; inline;
  11977. begin
  11978. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11979. end;
  11980. procedure TTMR5_T5CON.setTCS; inline;
  11981. begin
  11982. pTDefRegMap(@Self)^.&set := $00000002;
  11983. end;
  11984. procedure TTMR5_T5CON.clearTCS; inline;
  11985. begin
  11986. pTDefRegMap(@Self)^.clr := $00000002;
  11987. end;
  11988. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11989. begin
  11990. if thebits = 0 then
  11991. pTDefRegMap(@Self)^.clr := $00000002
  11992. else
  11993. pTDefRegMap(@Self)^.&set := $00000002;
  11994. end;
  11995. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11996. begin
  11997. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11998. end;
  11999. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  12000. begin
  12001. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  12002. end;
  12003. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  12004. begin
  12005. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  12006. end;
  12007. procedure TTMR5_T5CON.setTGATE; inline;
  12008. begin
  12009. pTDefRegMap(@Self)^.&set := $00000080;
  12010. end;
  12011. procedure TTMR5_T5CON.clearTGATE; inline;
  12012. begin
  12013. pTDefRegMap(@Self)^.clr := $00000080;
  12014. end;
  12015. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  12016. begin
  12017. if thebits = 0 then
  12018. pTDefRegMap(@Self)^.clr := $00000080
  12019. else
  12020. pTDefRegMap(@Self)^.&set := $00000080;
  12021. end;
  12022. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  12023. begin
  12024. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12025. end;
  12026. procedure TTMR5_T5CON.setSIDL; inline;
  12027. begin
  12028. pTDefRegMap(@Self)^.&set := $00002000;
  12029. end;
  12030. procedure TTMR5_T5CON.clearSIDL; inline;
  12031. begin
  12032. pTDefRegMap(@Self)^.clr := $00002000;
  12033. end;
  12034. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  12035. begin
  12036. if thebits = 0 then
  12037. pTDefRegMap(@Self)^.clr := $00002000
  12038. else
  12039. pTDefRegMap(@Self)^.&set := $00002000;
  12040. end;
  12041. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  12042. begin
  12043. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12044. end;
  12045. procedure TTMR5_T5CON.setON; inline;
  12046. begin
  12047. pTDefRegMap(@Self)^.&set := $00008000;
  12048. end;
  12049. procedure TTMR5_T5CON.clearON; inline;
  12050. begin
  12051. pTDefRegMap(@Self)^.clr := $00008000;
  12052. end;
  12053. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  12054. begin
  12055. if thebits = 0 then
  12056. pTDefRegMap(@Self)^.clr := $00008000
  12057. else
  12058. pTDefRegMap(@Self)^.&set := $00008000;
  12059. end;
  12060. function TTMR5_T5CON.getON : TBits_1; inline;
  12061. begin
  12062. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12063. end;
  12064. procedure TTMR5_T5CON.setTCKPS0; inline;
  12065. begin
  12066. pTDefRegMap(@Self)^.&set := $00000010;
  12067. end;
  12068. procedure TTMR5_T5CON.clearTCKPS0; inline;
  12069. begin
  12070. pTDefRegMap(@Self)^.clr := $00000010;
  12071. end;
  12072. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  12073. begin
  12074. if thebits = 0 then
  12075. pTDefRegMap(@Self)^.clr := $00000010
  12076. else
  12077. pTDefRegMap(@Self)^.&set := $00000010;
  12078. end;
  12079. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  12080. begin
  12081. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12082. end;
  12083. procedure TTMR5_T5CON.setTCKPS1; inline;
  12084. begin
  12085. pTDefRegMap(@Self)^.&set := $00000020;
  12086. end;
  12087. procedure TTMR5_T5CON.clearTCKPS1; inline;
  12088. begin
  12089. pTDefRegMap(@Self)^.clr := $00000020;
  12090. end;
  12091. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  12092. begin
  12093. if thebits = 0 then
  12094. pTDefRegMap(@Self)^.clr := $00000020
  12095. else
  12096. pTDefRegMap(@Self)^.&set := $00000020;
  12097. end;
  12098. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  12099. begin
  12100. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12101. end;
  12102. procedure TTMR5_T5CON.setTCKPS2; inline;
  12103. begin
  12104. pTDefRegMap(@Self)^.&set := $00000040;
  12105. end;
  12106. procedure TTMR5_T5CON.clearTCKPS2; inline;
  12107. begin
  12108. pTDefRegMap(@Self)^.clr := $00000040;
  12109. end;
  12110. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  12111. begin
  12112. if thebits = 0 then
  12113. pTDefRegMap(@Self)^.clr := $00000040
  12114. else
  12115. pTDefRegMap(@Self)^.&set := $00000040;
  12116. end;
  12117. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  12118. begin
  12119. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12120. end;
  12121. procedure TTMR5_T5CON.setTSIDL; inline;
  12122. begin
  12123. pTDefRegMap(@Self)^.&set := $00002000;
  12124. end;
  12125. procedure TTMR5_T5CON.clearTSIDL; inline;
  12126. begin
  12127. pTDefRegMap(@Self)^.clr := $00002000;
  12128. end;
  12129. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  12130. begin
  12131. if thebits = 0 then
  12132. pTDefRegMap(@Self)^.clr := $00002000
  12133. else
  12134. pTDefRegMap(@Self)^.&set := $00002000;
  12135. end;
  12136. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  12137. begin
  12138. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12139. end;
  12140. procedure TTMR5_T5CON.setTON; inline;
  12141. begin
  12142. pTDefRegMap(@Self)^.&set := $00008000;
  12143. end;
  12144. procedure TTMR5_T5CON.clearTON; inline;
  12145. begin
  12146. pTDefRegMap(@Self)^.clr := $00008000;
  12147. end;
  12148. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  12149. begin
  12150. if thebits = 0 then
  12151. pTDefRegMap(@Self)^.clr := $00008000
  12152. else
  12153. pTDefRegMap(@Self)^.&set := $00008000;
  12154. end;
  12155. function TTMR5_T5CON.getTON : TBits_1; inline;
  12156. begin
  12157. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12158. end;
  12159. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  12160. begin
  12161. pTDefRegMap(@Self)^.val := thebits;
  12162. end;
  12163. function TTMR5_T5CON.getw : TBits_32; inline;
  12164. begin
  12165. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12166. end;
  12167. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  12168. begin
  12169. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12170. end;
  12171. function TICAP1_IC1CON.getICM : TBits_3; inline;
  12172. begin
  12173. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12174. end;
  12175. procedure TICAP1_IC1CON.setICBNE; inline;
  12176. begin
  12177. pTDefRegMap(@Self)^.&set := $00000008;
  12178. end;
  12179. procedure TICAP1_IC1CON.clearICBNE; inline;
  12180. begin
  12181. pTDefRegMap(@Self)^.clr := $00000008;
  12182. end;
  12183. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  12184. begin
  12185. if thebits = 0 then
  12186. pTDefRegMap(@Self)^.clr := $00000008
  12187. else
  12188. pTDefRegMap(@Self)^.&set := $00000008;
  12189. end;
  12190. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  12191. begin
  12192. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12193. end;
  12194. procedure TICAP1_IC1CON.setICOV; inline;
  12195. begin
  12196. pTDefRegMap(@Self)^.&set := $00000010;
  12197. end;
  12198. procedure TICAP1_IC1CON.clearICOV; inline;
  12199. begin
  12200. pTDefRegMap(@Self)^.clr := $00000010;
  12201. end;
  12202. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  12203. begin
  12204. if thebits = 0 then
  12205. pTDefRegMap(@Self)^.clr := $00000010
  12206. else
  12207. pTDefRegMap(@Self)^.&set := $00000010;
  12208. end;
  12209. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  12210. begin
  12211. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12212. end;
  12213. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  12214. begin
  12215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12216. end;
  12217. function TICAP1_IC1CON.getICI : TBits_2; inline;
  12218. begin
  12219. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12220. end;
  12221. procedure TICAP1_IC1CON.setICTMR; inline;
  12222. begin
  12223. pTDefRegMap(@Self)^.&set := $00000080;
  12224. end;
  12225. procedure TICAP1_IC1CON.clearICTMR; inline;
  12226. begin
  12227. pTDefRegMap(@Self)^.clr := $00000080;
  12228. end;
  12229. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  12230. begin
  12231. if thebits = 0 then
  12232. pTDefRegMap(@Self)^.clr := $00000080
  12233. else
  12234. pTDefRegMap(@Self)^.&set := $00000080;
  12235. end;
  12236. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  12237. begin
  12238. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12239. end;
  12240. procedure TICAP1_IC1CON.setC32; inline;
  12241. begin
  12242. pTDefRegMap(@Self)^.&set := $00000100;
  12243. end;
  12244. procedure TICAP1_IC1CON.clearC32; inline;
  12245. begin
  12246. pTDefRegMap(@Self)^.clr := $00000100;
  12247. end;
  12248. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  12249. begin
  12250. if thebits = 0 then
  12251. pTDefRegMap(@Self)^.clr := $00000100
  12252. else
  12253. pTDefRegMap(@Self)^.&set := $00000100;
  12254. end;
  12255. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  12256. begin
  12257. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12258. end;
  12259. procedure TICAP1_IC1CON.setFEDGE; inline;
  12260. begin
  12261. pTDefRegMap(@Self)^.&set := $00000200;
  12262. end;
  12263. procedure TICAP1_IC1CON.clearFEDGE; inline;
  12264. begin
  12265. pTDefRegMap(@Self)^.clr := $00000200;
  12266. end;
  12267. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  12268. begin
  12269. if thebits = 0 then
  12270. pTDefRegMap(@Self)^.clr := $00000200
  12271. else
  12272. pTDefRegMap(@Self)^.&set := $00000200;
  12273. end;
  12274. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  12275. begin
  12276. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12277. end;
  12278. procedure TICAP1_IC1CON.setSIDL; inline;
  12279. begin
  12280. pTDefRegMap(@Self)^.&set := $00002000;
  12281. end;
  12282. procedure TICAP1_IC1CON.clearSIDL; inline;
  12283. begin
  12284. pTDefRegMap(@Self)^.clr := $00002000;
  12285. end;
  12286. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  12287. begin
  12288. if thebits = 0 then
  12289. pTDefRegMap(@Self)^.clr := $00002000
  12290. else
  12291. pTDefRegMap(@Self)^.&set := $00002000;
  12292. end;
  12293. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  12294. begin
  12295. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12296. end;
  12297. procedure TICAP1_IC1CON.setON; inline;
  12298. begin
  12299. pTDefRegMap(@Self)^.&set := $00008000;
  12300. end;
  12301. procedure TICAP1_IC1CON.clearON; inline;
  12302. begin
  12303. pTDefRegMap(@Self)^.clr := $00008000;
  12304. end;
  12305. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  12306. begin
  12307. if thebits = 0 then
  12308. pTDefRegMap(@Self)^.clr := $00008000
  12309. else
  12310. pTDefRegMap(@Self)^.&set := $00008000;
  12311. end;
  12312. function TICAP1_IC1CON.getON : TBits_1; inline;
  12313. begin
  12314. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12315. end;
  12316. procedure TICAP1_IC1CON.setICM0; inline;
  12317. begin
  12318. pTDefRegMap(@Self)^.&set := $00000001;
  12319. end;
  12320. procedure TICAP1_IC1CON.clearICM0; inline;
  12321. begin
  12322. pTDefRegMap(@Self)^.clr := $00000001;
  12323. end;
  12324. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  12325. begin
  12326. if thebits = 0 then
  12327. pTDefRegMap(@Self)^.clr := $00000001
  12328. else
  12329. pTDefRegMap(@Self)^.&set := $00000001;
  12330. end;
  12331. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  12332. begin
  12333. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12334. end;
  12335. procedure TICAP1_IC1CON.setICM1; inline;
  12336. begin
  12337. pTDefRegMap(@Self)^.&set := $00000002;
  12338. end;
  12339. procedure TICAP1_IC1CON.clearICM1; inline;
  12340. begin
  12341. pTDefRegMap(@Self)^.clr := $00000002;
  12342. end;
  12343. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  12344. begin
  12345. if thebits = 0 then
  12346. pTDefRegMap(@Self)^.clr := $00000002
  12347. else
  12348. pTDefRegMap(@Self)^.&set := $00000002;
  12349. end;
  12350. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  12351. begin
  12352. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12353. end;
  12354. procedure TICAP1_IC1CON.setICM2; inline;
  12355. begin
  12356. pTDefRegMap(@Self)^.&set := $00000004;
  12357. end;
  12358. procedure TICAP1_IC1CON.clearICM2; inline;
  12359. begin
  12360. pTDefRegMap(@Self)^.clr := $00000004;
  12361. end;
  12362. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  12363. begin
  12364. if thebits = 0 then
  12365. pTDefRegMap(@Self)^.clr := $00000004
  12366. else
  12367. pTDefRegMap(@Self)^.&set := $00000004;
  12368. end;
  12369. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  12370. begin
  12371. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12372. end;
  12373. procedure TICAP1_IC1CON.setICI0; inline;
  12374. begin
  12375. pTDefRegMap(@Self)^.&set := $00000020;
  12376. end;
  12377. procedure TICAP1_IC1CON.clearICI0; inline;
  12378. begin
  12379. pTDefRegMap(@Self)^.clr := $00000020;
  12380. end;
  12381. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  12382. begin
  12383. if thebits = 0 then
  12384. pTDefRegMap(@Self)^.clr := $00000020
  12385. else
  12386. pTDefRegMap(@Self)^.&set := $00000020;
  12387. end;
  12388. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  12389. begin
  12390. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12391. end;
  12392. procedure TICAP1_IC1CON.setICI1; inline;
  12393. begin
  12394. pTDefRegMap(@Self)^.&set := $00000040;
  12395. end;
  12396. procedure TICAP1_IC1CON.clearICI1; inline;
  12397. begin
  12398. pTDefRegMap(@Self)^.clr := $00000040;
  12399. end;
  12400. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  12401. begin
  12402. if thebits = 0 then
  12403. pTDefRegMap(@Self)^.clr := $00000040
  12404. else
  12405. pTDefRegMap(@Self)^.&set := $00000040;
  12406. end;
  12407. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  12408. begin
  12409. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12410. end;
  12411. procedure TICAP1_IC1CON.setICSIDL; inline;
  12412. begin
  12413. pTDefRegMap(@Self)^.&set := $00002000;
  12414. end;
  12415. procedure TICAP1_IC1CON.clearICSIDL; inline;
  12416. begin
  12417. pTDefRegMap(@Self)^.clr := $00002000;
  12418. end;
  12419. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  12420. begin
  12421. if thebits = 0 then
  12422. pTDefRegMap(@Self)^.clr := $00002000
  12423. else
  12424. pTDefRegMap(@Self)^.&set := $00002000;
  12425. end;
  12426. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  12427. begin
  12428. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12429. end;
  12430. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  12431. begin
  12432. pTDefRegMap(@Self)^.val := thebits;
  12433. end;
  12434. function TICAP1_IC1CON.getw : TBits_32; inline;
  12435. begin
  12436. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12437. end;
  12438. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  12439. begin
  12440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12441. end;
  12442. function TICAP2_IC2CON.getICM : TBits_3; inline;
  12443. begin
  12444. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12445. end;
  12446. procedure TICAP2_IC2CON.setICBNE; inline;
  12447. begin
  12448. pTDefRegMap(@Self)^.&set := $00000008;
  12449. end;
  12450. procedure TICAP2_IC2CON.clearICBNE; inline;
  12451. begin
  12452. pTDefRegMap(@Self)^.clr := $00000008;
  12453. end;
  12454. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  12455. begin
  12456. if thebits = 0 then
  12457. pTDefRegMap(@Self)^.clr := $00000008
  12458. else
  12459. pTDefRegMap(@Self)^.&set := $00000008;
  12460. end;
  12461. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  12462. begin
  12463. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12464. end;
  12465. procedure TICAP2_IC2CON.setICOV; inline;
  12466. begin
  12467. pTDefRegMap(@Self)^.&set := $00000010;
  12468. end;
  12469. procedure TICAP2_IC2CON.clearICOV; inline;
  12470. begin
  12471. pTDefRegMap(@Self)^.clr := $00000010;
  12472. end;
  12473. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  12474. begin
  12475. if thebits = 0 then
  12476. pTDefRegMap(@Self)^.clr := $00000010
  12477. else
  12478. pTDefRegMap(@Self)^.&set := $00000010;
  12479. end;
  12480. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  12481. begin
  12482. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12483. end;
  12484. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  12485. begin
  12486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12487. end;
  12488. function TICAP2_IC2CON.getICI : TBits_2; inline;
  12489. begin
  12490. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12491. end;
  12492. procedure TICAP2_IC2CON.setICTMR; inline;
  12493. begin
  12494. pTDefRegMap(@Self)^.&set := $00000080;
  12495. end;
  12496. procedure TICAP2_IC2CON.clearICTMR; inline;
  12497. begin
  12498. pTDefRegMap(@Self)^.clr := $00000080;
  12499. end;
  12500. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  12501. begin
  12502. if thebits = 0 then
  12503. pTDefRegMap(@Self)^.clr := $00000080
  12504. else
  12505. pTDefRegMap(@Self)^.&set := $00000080;
  12506. end;
  12507. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  12508. begin
  12509. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12510. end;
  12511. procedure TICAP2_IC2CON.setC32; inline;
  12512. begin
  12513. pTDefRegMap(@Self)^.&set := $00000100;
  12514. end;
  12515. procedure TICAP2_IC2CON.clearC32; inline;
  12516. begin
  12517. pTDefRegMap(@Self)^.clr := $00000100;
  12518. end;
  12519. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  12520. begin
  12521. if thebits = 0 then
  12522. pTDefRegMap(@Self)^.clr := $00000100
  12523. else
  12524. pTDefRegMap(@Self)^.&set := $00000100;
  12525. end;
  12526. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  12527. begin
  12528. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12529. end;
  12530. procedure TICAP2_IC2CON.setFEDGE; inline;
  12531. begin
  12532. pTDefRegMap(@Self)^.&set := $00000200;
  12533. end;
  12534. procedure TICAP2_IC2CON.clearFEDGE; inline;
  12535. begin
  12536. pTDefRegMap(@Self)^.clr := $00000200;
  12537. end;
  12538. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  12539. begin
  12540. if thebits = 0 then
  12541. pTDefRegMap(@Self)^.clr := $00000200
  12542. else
  12543. pTDefRegMap(@Self)^.&set := $00000200;
  12544. end;
  12545. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  12546. begin
  12547. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12548. end;
  12549. procedure TICAP2_IC2CON.setSIDL; inline;
  12550. begin
  12551. pTDefRegMap(@Self)^.&set := $00002000;
  12552. end;
  12553. procedure TICAP2_IC2CON.clearSIDL; inline;
  12554. begin
  12555. pTDefRegMap(@Self)^.clr := $00002000;
  12556. end;
  12557. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  12558. begin
  12559. if thebits = 0 then
  12560. pTDefRegMap(@Self)^.clr := $00002000
  12561. else
  12562. pTDefRegMap(@Self)^.&set := $00002000;
  12563. end;
  12564. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  12565. begin
  12566. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12567. end;
  12568. procedure TICAP2_IC2CON.setON; inline;
  12569. begin
  12570. pTDefRegMap(@Self)^.&set := $00008000;
  12571. end;
  12572. procedure TICAP2_IC2CON.clearON; inline;
  12573. begin
  12574. pTDefRegMap(@Self)^.clr := $00008000;
  12575. end;
  12576. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  12577. begin
  12578. if thebits = 0 then
  12579. pTDefRegMap(@Self)^.clr := $00008000
  12580. else
  12581. pTDefRegMap(@Self)^.&set := $00008000;
  12582. end;
  12583. function TICAP2_IC2CON.getON : TBits_1; inline;
  12584. begin
  12585. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12586. end;
  12587. procedure TICAP2_IC2CON.setICM0; inline;
  12588. begin
  12589. pTDefRegMap(@Self)^.&set := $00000001;
  12590. end;
  12591. procedure TICAP2_IC2CON.clearICM0; inline;
  12592. begin
  12593. pTDefRegMap(@Self)^.clr := $00000001;
  12594. end;
  12595. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  12596. begin
  12597. if thebits = 0 then
  12598. pTDefRegMap(@Self)^.clr := $00000001
  12599. else
  12600. pTDefRegMap(@Self)^.&set := $00000001;
  12601. end;
  12602. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  12603. begin
  12604. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12605. end;
  12606. procedure TICAP2_IC2CON.setICM1; inline;
  12607. begin
  12608. pTDefRegMap(@Self)^.&set := $00000002;
  12609. end;
  12610. procedure TICAP2_IC2CON.clearICM1; inline;
  12611. begin
  12612. pTDefRegMap(@Self)^.clr := $00000002;
  12613. end;
  12614. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  12615. begin
  12616. if thebits = 0 then
  12617. pTDefRegMap(@Self)^.clr := $00000002
  12618. else
  12619. pTDefRegMap(@Self)^.&set := $00000002;
  12620. end;
  12621. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  12622. begin
  12623. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12624. end;
  12625. procedure TICAP2_IC2CON.setICM2; inline;
  12626. begin
  12627. pTDefRegMap(@Self)^.&set := $00000004;
  12628. end;
  12629. procedure TICAP2_IC2CON.clearICM2; inline;
  12630. begin
  12631. pTDefRegMap(@Self)^.clr := $00000004;
  12632. end;
  12633. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  12634. begin
  12635. if thebits = 0 then
  12636. pTDefRegMap(@Self)^.clr := $00000004
  12637. else
  12638. pTDefRegMap(@Self)^.&set := $00000004;
  12639. end;
  12640. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  12641. begin
  12642. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12643. end;
  12644. procedure TICAP2_IC2CON.setICI0; inline;
  12645. begin
  12646. pTDefRegMap(@Self)^.&set := $00000020;
  12647. end;
  12648. procedure TICAP2_IC2CON.clearICI0; inline;
  12649. begin
  12650. pTDefRegMap(@Self)^.clr := $00000020;
  12651. end;
  12652. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  12653. begin
  12654. if thebits = 0 then
  12655. pTDefRegMap(@Self)^.clr := $00000020
  12656. else
  12657. pTDefRegMap(@Self)^.&set := $00000020;
  12658. end;
  12659. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  12660. begin
  12661. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12662. end;
  12663. procedure TICAP2_IC2CON.setICI1; inline;
  12664. begin
  12665. pTDefRegMap(@Self)^.&set := $00000040;
  12666. end;
  12667. procedure TICAP2_IC2CON.clearICI1; inline;
  12668. begin
  12669. pTDefRegMap(@Self)^.clr := $00000040;
  12670. end;
  12671. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  12672. begin
  12673. if thebits = 0 then
  12674. pTDefRegMap(@Self)^.clr := $00000040
  12675. else
  12676. pTDefRegMap(@Self)^.&set := $00000040;
  12677. end;
  12678. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  12679. begin
  12680. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12681. end;
  12682. procedure TICAP2_IC2CON.setICSIDL; inline;
  12683. begin
  12684. pTDefRegMap(@Self)^.&set := $00002000;
  12685. end;
  12686. procedure TICAP2_IC2CON.clearICSIDL; inline;
  12687. begin
  12688. pTDefRegMap(@Self)^.clr := $00002000;
  12689. end;
  12690. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  12691. begin
  12692. if thebits = 0 then
  12693. pTDefRegMap(@Self)^.clr := $00002000
  12694. else
  12695. pTDefRegMap(@Self)^.&set := $00002000;
  12696. end;
  12697. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  12698. begin
  12699. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12700. end;
  12701. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  12702. begin
  12703. pTDefRegMap(@Self)^.val := thebits;
  12704. end;
  12705. function TICAP2_IC2CON.getw : TBits_32; inline;
  12706. begin
  12707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12708. end;
  12709. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  12710. begin
  12711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12712. end;
  12713. function TICAP3_IC3CON.getICM : TBits_3; inline;
  12714. begin
  12715. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12716. end;
  12717. procedure TICAP3_IC3CON.setICBNE; inline;
  12718. begin
  12719. pTDefRegMap(@Self)^.&set := $00000008;
  12720. end;
  12721. procedure TICAP3_IC3CON.clearICBNE; inline;
  12722. begin
  12723. pTDefRegMap(@Self)^.clr := $00000008;
  12724. end;
  12725. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  12726. begin
  12727. if thebits = 0 then
  12728. pTDefRegMap(@Self)^.clr := $00000008
  12729. else
  12730. pTDefRegMap(@Self)^.&set := $00000008;
  12731. end;
  12732. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  12733. begin
  12734. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12735. end;
  12736. procedure TICAP3_IC3CON.setICOV; inline;
  12737. begin
  12738. pTDefRegMap(@Self)^.&set := $00000010;
  12739. end;
  12740. procedure TICAP3_IC3CON.clearICOV; inline;
  12741. begin
  12742. pTDefRegMap(@Self)^.clr := $00000010;
  12743. end;
  12744. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  12745. begin
  12746. if thebits = 0 then
  12747. pTDefRegMap(@Self)^.clr := $00000010
  12748. else
  12749. pTDefRegMap(@Self)^.&set := $00000010;
  12750. end;
  12751. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  12752. begin
  12753. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12754. end;
  12755. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  12756. begin
  12757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12758. end;
  12759. function TICAP3_IC3CON.getICI : TBits_2; inline;
  12760. begin
  12761. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12762. end;
  12763. procedure TICAP3_IC3CON.setICTMR; inline;
  12764. begin
  12765. pTDefRegMap(@Self)^.&set := $00000080;
  12766. end;
  12767. procedure TICAP3_IC3CON.clearICTMR; inline;
  12768. begin
  12769. pTDefRegMap(@Self)^.clr := $00000080;
  12770. end;
  12771. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  12772. begin
  12773. if thebits = 0 then
  12774. pTDefRegMap(@Self)^.clr := $00000080
  12775. else
  12776. pTDefRegMap(@Self)^.&set := $00000080;
  12777. end;
  12778. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  12779. begin
  12780. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12781. end;
  12782. procedure TICAP3_IC3CON.setC32; inline;
  12783. begin
  12784. pTDefRegMap(@Self)^.&set := $00000100;
  12785. end;
  12786. procedure TICAP3_IC3CON.clearC32; inline;
  12787. begin
  12788. pTDefRegMap(@Self)^.clr := $00000100;
  12789. end;
  12790. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12791. begin
  12792. if thebits = 0 then
  12793. pTDefRegMap(@Self)^.clr := $00000100
  12794. else
  12795. pTDefRegMap(@Self)^.&set := $00000100;
  12796. end;
  12797. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12798. begin
  12799. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12800. end;
  12801. procedure TICAP3_IC3CON.setFEDGE; inline;
  12802. begin
  12803. pTDefRegMap(@Self)^.&set := $00000200;
  12804. end;
  12805. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12806. begin
  12807. pTDefRegMap(@Self)^.clr := $00000200;
  12808. end;
  12809. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12810. begin
  12811. if thebits = 0 then
  12812. pTDefRegMap(@Self)^.clr := $00000200
  12813. else
  12814. pTDefRegMap(@Self)^.&set := $00000200;
  12815. end;
  12816. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12817. begin
  12818. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12819. end;
  12820. procedure TICAP3_IC3CON.setSIDL; inline;
  12821. begin
  12822. pTDefRegMap(@Self)^.&set := $00002000;
  12823. end;
  12824. procedure TICAP3_IC3CON.clearSIDL; inline;
  12825. begin
  12826. pTDefRegMap(@Self)^.clr := $00002000;
  12827. end;
  12828. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12829. begin
  12830. if thebits = 0 then
  12831. pTDefRegMap(@Self)^.clr := $00002000
  12832. else
  12833. pTDefRegMap(@Self)^.&set := $00002000;
  12834. end;
  12835. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12836. begin
  12837. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12838. end;
  12839. procedure TICAP3_IC3CON.setON; inline;
  12840. begin
  12841. pTDefRegMap(@Self)^.&set := $00008000;
  12842. end;
  12843. procedure TICAP3_IC3CON.clearON; inline;
  12844. begin
  12845. pTDefRegMap(@Self)^.clr := $00008000;
  12846. end;
  12847. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12848. begin
  12849. if thebits = 0 then
  12850. pTDefRegMap(@Self)^.clr := $00008000
  12851. else
  12852. pTDefRegMap(@Self)^.&set := $00008000;
  12853. end;
  12854. function TICAP3_IC3CON.getON : TBits_1; inline;
  12855. begin
  12856. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12857. end;
  12858. procedure TICAP3_IC3CON.setICM0; inline;
  12859. begin
  12860. pTDefRegMap(@Self)^.&set := $00000001;
  12861. end;
  12862. procedure TICAP3_IC3CON.clearICM0; inline;
  12863. begin
  12864. pTDefRegMap(@Self)^.clr := $00000001;
  12865. end;
  12866. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12867. begin
  12868. if thebits = 0 then
  12869. pTDefRegMap(@Self)^.clr := $00000001
  12870. else
  12871. pTDefRegMap(@Self)^.&set := $00000001;
  12872. end;
  12873. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12874. begin
  12875. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12876. end;
  12877. procedure TICAP3_IC3CON.setICM1; inline;
  12878. begin
  12879. pTDefRegMap(@Self)^.&set := $00000002;
  12880. end;
  12881. procedure TICAP3_IC3CON.clearICM1; inline;
  12882. begin
  12883. pTDefRegMap(@Self)^.clr := $00000002;
  12884. end;
  12885. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12886. begin
  12887. if thebits = 0 then
  12888. pTDefRegMap(@Self)^.clr := $00000002
  12889. else
  12890. pTDefRegMap(@Self)^.&set := $00000002;
  12891. end;
  12892. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12893. begin
  12894. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12895. end;
  12896. procedure TICAP3_IC3CON.setICM2; inline;
  12897. begin
  12898. pTDefRegMap(@Self)^.&set := $00000004;
  12899. end;
  12900. procedure TICAP3_IC3CON.clearICM2; inline;
  12901. begin
  12902. pTDefRegMap(@Self)^.clr := $00000004;
  12903. end;
  12904. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12905. begin
  12906. if thebits = 0 then
  12907. pTDefRegMap(@Self)^.clr := $00000004
  12908. else
  12909. pTDefRegMap(@Self)^.&set := $00000004;
  12910. end;
  12911. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12912. begin
  12913. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12914. end;
  12915. procedure TICAP3_IC3CON.setICI0; inline;
  12916. begin
  12917. pTDefRegMap(@Self)^.&set := $00000020;
  12918. end;
  12919. procedure TICAP3_IC3CON.clearICI0; inline;
  12920. begin
  12921. pTDefRegMap(@Self)^.clr := $00000020;
  12922. end;
  12923. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12924. begin
  12925. if thebits = 0 then
  12926. pTDefRegMap(@Self)^.clr := $00000020
  12927. else
  12928. pTDefRegMap(@Self)^.&set := $00000020;
  12929. end;
  12930. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12931. begin
  12932. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12933. end;
  12934. procedure TICAP3_IC3CON.setICI1; inline;
  12935. begin
  12936. pTDefRegMap(@Self)^.&set := $00000040;
  12937. end;
  12938. procedure TICAP3_IC3CON.clearICI1; inline;
  12939. begin
  12940. pTDefRegMap(@Self)^.clr := $00000040;
  12941. end;
  12942. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12943. begin
  12944. if thebits = 0 then
  12945. pTDefRegMap(@Self)^.clr := $00000040
  12946. else
  12947. pTDefRegMap(@Self)^.&set := $00000040;
  12948. end;
  12949. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12950. begin
  12951. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12952. end;
  12953. procedure TICAP3_IC3CON.setICSIDL; inline;
  12954. begin
  12955. pTDefRegMap(@Self)^.&set := $00002000;
  12956. end;
  12957. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12958. begin
  12959. pTDefRegMap(@Self)^.clr := $00002000;
  12960. end;
  12961. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12962. begin
  12963. if thebits = 0 then
  12964. pTDefRegMap(@Self)^.clr := $00002000
  12965. else
  12966. pTDefRegMap(@Self)^.&set := $00002000;
  12967. end;
  12968. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12969. begin
  12970. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12971. end;
  12972. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12973. begin
  12974. pTDefRegMap(@Self)^.val := thebits;
  12975. end;
  12976. function TICAP3_IC3CON.getw : TBits_32; inline;
  12977. begin
  12978. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12979. end;
  12980. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12981. begin
  12982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12983. end;
  12984. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12985. begin
  12986. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12987. end;
  12988. procedure TICAP4_IC4CON.setICBNE; inline;
  12989. begin
  12990. pTDefRegMap(@Self)^.&set := $00000008;
  12991. end;
  12992. procedure TICAP4_IC4CON.clearICBNE; inline;
  12993. begin
  12994. pTDefRegMap(@Self)^.clr := $00000008;
  12995. end;
  12996. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12997. begin
  12998. if thebits = 0 then
  12999. pTDefRegMap(@Self)^.clr := $00000008
  13000. else
  13001. pTDefRegMap(@Self)^.&set := $00000008;
  13002. end;
  13003. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  13004. begin
  13005. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13006. end;
  13007. procedure TICAP4_IC4CON.setICOV; inline;
  13008. begin
  13009. pTDefRegMap(@Self)^.&set := $00000010;
  13010. end;
  13011. procedure TICAP4_IC4CON.clearICOV; inline;
  13012. begin
  13013. pTDefRegMap(@Self)^.clr := $00000010;
  13014. end;
  13015. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  13016. begin
  13017. if thebits = 0 then
  13018. pTDefRegMap(@Self)^.clr := $00000010
  13019. else
  13020. pTDefRegMap(@Self)^.&set := $00000010;
  13021. end;
  13022. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  13023. begin
  13024. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13025. end;
  13026. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  13027. begin
  13028. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  13029. end;
  13030. function TICAP4_IC4CON.getICI : TBits_2; inline;
  13031. begin
  13032. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  13033. end;
  13034. procedure TICAP4_IC4CON.setICTMR; inline;
  13035. begin
  13036. pTDefRegMap(@Self)^.&set := $00000080;
  13037. end;
  13038. procedure TICAP4_IC4CON.clearICTMR; inline;
  13039. begin
  13040. pTDefRegMap(@Self)^.clr := $00000080;
  13041. end;
  13042. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  13043. begin
  13044. if thebits = 0 then
  13045. pTDefRegMap(@Self)^.clr := $00000080
  13046. else
  13047. pTDefRegMap(@Self)^.&set := $00000080;
  13048. end;
  13049. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  13050. begin
  13051. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13052. end;
  13053. procedure TICAP4_IC4CON.setC32; inline;
  13054. begin
  13055. pTDefRegMap(@Self)^.&set := $00000100;
  13056. end;
  13057. procedure TICAP4_IC4CON.clearC32; inline;
  13058. begin
  13059. pTDefRegMap(@Self)^.clr := $00000100;
  13060. end;
  13061. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  13062. begin
  13063. if thebits = 0 then
  13064. pTDefRegMap(@Self)^.clr := $00000100
  13065. else
  13066. pTDefRegMap(@Self)^.&set := $00000100;
  13067. end;
  13068. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  13069. begin
  13070. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13071. end;
  13072. procedure TICAP4_IC4CON.setFEDGE; inline;
  13073. begin
  13074. pTDefRegMap(@Self)^.&set := $00000200;
  13075. end;
  13076. procedure TICAP4_IC4CON.clearFEDGE; inline;
  13077. begin
  13078. pTDefRegMap(@Self)^.clr := $00000200;
  13079. end;
  13080. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  13081. begin
  13082. if thebits = 0 then
  13083. pTDefRegMap(@Self)^.clr := $00000200
  13084. else
  13085. pTDefRegMap(@Self)^.&set := $00000200;
  13086. end;
  13087. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  13088. begin
  13089. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13090. end;
  13091. procedure TICAP4_IC4CON.setSIDL; inline;
  13092. begin
  13093. pTDefRegMap(@Self)^.&set := $00002000;
  13094. end;
  13095. procedure TICAP4_IC4CON.clearSIDL; inline;
  13096. begin
  13097. pTDefRegMap(@Self)^.clr := $00002000;
  13098. end;
  13099. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  13100. begin
  13101. if thebits = 0 then
  13102. pTDefRegMap(@Self)^.clr := $00002000
  13103. else
  13104. pTDefRegMap(@Self)^.&set := $00002000;
  13105. end;
  13106. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  13107. begin
  13108. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13109. end;
  13110. procedure TICAP4_IC4CON.setON; inline;
  13111. begin
  13112. pTDefRegMap(@Self)^.&set := $00008000;
  13113. end;
  13114. procedure TICAP4_IC4CON.clearON; inline;
  13115. begin
  13116. pTDefRegMap(@Self)^.clr := $00008000;
  13117. end;
  13118. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  13119. begin
  13120. if thebits = 0 then
  13121. pTDefRegMap(@Self)^.clr := $00008000
  13122. else
  13123. pTDefRegMap(@Self)^.&set := $00008000;
  13124. end;
  13125. function TICAP4_IC4CON.getON : TBits_1; inline;
  13126. begin
  13127. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13128. end;
  13129. procedure TICAP4_IC4CON.setICM0; inline;
  13130. begin
  13131. pTDefRegMap(@Self)^.&set := $00000001;
  13132. end;
  13133. procedure TICAP4_IC4CON.clearICM0; inline;
  13134. begin
  13135. pTDefRegMap(@Self)^.clr := $00000001;
  13136. end;
  13137. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  13138. begin
  13139. if thebits = 0 then
  13140. pTDefRegMap(@Self)^.clr := $00000001
  13141. else
  13142. pTDefRegMap(@Self)^.&set := $00000001;
  13143. end;
  13144. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  13145. begin
  13146. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13147. end;
  13148. procedure TICAP4_IC4CON.setICM1; inline;
  13149. begin
  13150. pTDefRegMap(@Self)^.&set := $00000002;
  13151. end;
  13152. procedure TICAP4_IC4CON.clearICM1; inline;
  13153. begin
  13154. pTDefRegMap(@Self)^.clr := $00000002;
  13155. end;
  13156. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  13157. begin
  13158. if thebits = 0 then
  13159. pTDefRegMap(@Self)^.clr := $00000002
  13160. else
  13161. pTDefRegMap(@Self)^.&set := $00000002;
  13162. end;
  13163. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  13164. begin
  13165. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13166. end;
  13167. procedure TICAP4_IC4CON.setICM2; inline;
  13168. begin
  13169. pTDefRegMap(@Self)^.&set := $00000004;
  13170. end;
  13171. procedure TICAP4_IC4CON.clearICM2; inline;
  13172. begin
  13173. pTDefRegMap(@Self)^.clr := $00000004;
  13174. end;
  13175. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  13176. begin
  13177. if thebits = 0 then
  13178. pTDefRegMap(@Self)^.clr := $00000004
  13179. else
  13180. pTDefRegMap(@Self)^.&set := $00000004;
  13181. end;
  13182. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  13183. begin
  13184. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13185. end;
  13186. procedure TICAP4_IC4CON.setICI0; inline;
  13187. begin
  13188. pTDefRegMap(@Self)^.&set := $00000020;
  13189. end;
  13190. procedure TICAP4_IC4CON.clearICI0; inline;
  13191. begin
  13192. pTDefRegMap(@Self)^.clr := $00000020;
  13193. end;
  13194. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  13195. begin
  13196. if thebits = 0 then
  13197. pTDefRegMap(@Self)^.clr := $00000020
  13198. else
  13199. pTDefRegMap(@Self)^.&set := $00000020;
  13200. end;
  13201. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  13202. begin
  13203. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13204. end;
  13205. procedure TICAP4_IC4CON.setICI1; inline;
  13206. begin
  13207. pTDefRegMap(@Self)^.&set := $00000040;
  13208. end;
  13209. procedure TICAP4_IC4CON.clearICI1; inline;
  13210. begin
  13211. pTDefRegMap(@Self)^.clr := $00000040;
  13212. end;
  13213. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  13214. begin
  13215. if thebits = 0 then
  13216. pTDefRegMap(@Self)^.clr := $00000040
  13217. else
  13218. pTDefRegMap(@Self)^.&set := $00000040;
  13219. end;
  13220. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  13221. begin
  13222. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13223. end;
  13224. procedure TICAP4_IC4CON.setICSIDL; inline;
  13225. begin
  13226. pTDefRegMap(@Self)^.&set := $00002000;
  13227. end;
  13228. procedure TICAP4_IC4CON.clearICSIDL; inline;
  13229. begin
  13230. pTDefRegMap(@Self)^.clr := $00002000;
  13231. end;
  13232. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  13233. begin
  13234. if thebits = 0 then
  13235. pTDefRegMap(@Self)^.clr := $00002000
  13236. else
  13237. pTDefRegMap(@Self)^.&set := $00002000;
  13238. end;
  13239. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  13240. begin
  13241. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13242. end;
  13243. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  13244. begin
  13245. pTDefRegMap(@Self)^.val := thebits;
  13246. end;
  13247. function TICAP4_IC4CON.getw : TBits_32; inline;
  13248. begin
  13249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13250. end;
  13251. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  13252. begin
  13253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13254. end;
  13255. function TICAP5_IC5CON.getICM : TBits_3; inline;
  13256. begin
  13257. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13258. end;
  13259. procedure TICAP5_IC5CON.setICBNE; inline;
  13260. begin
  13261. pTDefRegMap(@Self)^.&set := $00000008;
  13262. end;
  13263. procedure TICAP5_IC5CON.clearICBNE; inline;
  13264. begin
  13265. pTDefRegMap(@Self)^.clr := $00000008;
  13266. end;
  13267. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  13268. begin
  13269. if thebits = 0 then
  13270. pTDefRegMap(@Self)^.clr := $00000008
  13271. else
  13272. pTDefRegMap(@Self)^.&set := $00000008;
  13273. end;
  13274. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  13275. begin
  13276. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13277. end;
  13278. procedure TICAP5_IC5CON.setICOV; inline;
  13279. begin
  13280. pTDefRegMap(@Self)^.&set := $00000010;
  13281. end;
  13282. procedure TICAP5_IC5CON.clearICOV; inline;
  13283. begin
  13284. pTDefRegMap(@Self)^.clr := $00000010;
  13285. end;
  13286. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  13287. begin
  13288. if thebits = 0 then
  13289. pTDefRegMap(@Self)^.clr := $00000010
  13290. else
  13291. pTDefRegMap(@Self)^.&set := $00000010;
  13292. end;
  13293. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  13294. begin
  13295. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13296. end;
  13297. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  13298. begin
  13299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  13300. end;
  13301. function TICAP5_IC5CON.getICI : TBits_2; inline;
  13302. begin
  13303. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  13304. end;
  13305. procedure TICAP5_IC5CON.setICTMR; inline;
  13306. begin
  13307. pTDefRegMap(@Self)^.&set := $00000080;
  13308. end;
  13309. procedure TICAP5_IC5CON.clearICTMR; inline;
  13310. begin
  13311. pTDefRegMap(@Self)^.clr := $00000080;
  13312. end;
  13313. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  13314. begin
  13315. if thebits = 0 then
  13316. pTDefRegMap(@Self)^.clr := $00000080
  13317. else
  13318. pTDefRegMap(@Self)^.&set := $00000080;
  13319. end;
  13320. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  13321. begin
  13322. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13323. end;
  13324. procedure TICAP5_IC5CON.setC32; inline;
  13325. begin
  13326. pTDefRegMap(@Self)^.&set := $00000100;
  13327. end;
  13328. procedure TICAP5_IC5CON.clearC32; inline;
  13329. begin
  13330. pTDefRegMap(@Self)^.clr := $00000100;
  13331. end;
  13332. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  13333. begin
  13334. if thebits = 0 then
  13335. pTDefRegMap(@Self)^.clr := $00000100
  13336. else
  13337. pTDefRegMap(@Self)^.&set := $00000100;
  13338. end;
  13339. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  13340. begin
  13341. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13342. end;
  13343. procedure TICAP5_IC5CON.setFEDGE; inline;
  13344. begin
  13345. pTDefRegMap(@Self)^.&set := $00000200;
  13346. end;
  13347. procedure TICAP5_IC5CON.clearFEDGE; inline;
  13348. begin
  13349. pTDefRegMap(@Self)^.clr := $00000200;
  13350. end;
  13351. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  13352. begin
  13353. if thebits = 0 then
  13354. pTDefRegMap(@Self)^.clr := $00000200
  13355. else
  13356. pTDefRegMap(@Self)^.&set := $00000200;
  13357. end;
  13358. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  13359. begin
  13360. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13361. end;
  13362. procedure TICAP5_IC5CON.setSIDL; inline;
  13363. begin
  13364. pTDefRegMap(@Self)^.&set := $00002000;
  13365. end;
  13366. procedure TICAP5_IC5CON.clearSIDL; inline;
  13367. begin
  13368. pTDefRegMap(@Self)^.clr := $00002000;
  13369. end;
  13370. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  13371. begin
  13372. if thebits = 0 then
  13373. pTDefRegMap(@Self)^.clr := $00002000
  13374. else
  13375. pTDefRegMap(@Self)^.&set := $00002000;
  13376. end;
  13377. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  13378. begin
  13379. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13380. end;
  13381. procedure TICAP5_IC5CON.setON; inline;
  13382. begin
  13383. pTDefRegMap(@Self)^.&set := $00008000;
  13384. end;
  13385. procedure TICAP5_IC5CON.clearON; inline;
  13386. begin
  13387. pTDefRegMap(@Self)^.clr := $00008000;
  13388. end;
  13389. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  13390. begin
  13391. if thebits = 0 then
  13392. pTDefRegMap(@Self)^.clr := $00008000
  13393. else
  13394. pTDefRegMap(@Self)^.&set := $00008000;
  13395. end;
  13396. function TICAP5_IC5CON.getON : TBits_1; inline;
  13397. begin
  13398. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13399. end;
  13400. procedure TICAP5_IC5CON.setICM0; inline;
  13401. begin
  13402. pTDefRegMap(@Self)^.&set := $00000001;
  13403. end;
  13404. procedure TICAP5_IC5CON.clearICM0; inline;
  13405. begin
  13406. pTDefRegMap(@Self)^.clr := $00000001;
  13407. end;
  13408. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  13409. begin
  13410. if thebits = 0 then
  13411. pTDefRegMap(@Self)^.clr := $00000001
  13412. else
  13413. pTDefRegMap(@Self)^.&set := $00000001;
  13414. end;
  13415. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  13416. begin
  13417. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13418. end;
  13419. procedure TICAP5_IC5CON.setICM1; inline;
  13420. begin
  13421. pTDefRegMap(@Self)^.&set := $00000002;
  13422. end;
  13423. procedure TICAP5_IC5CON.clearICM1; inline;
  13424. begin
  13425. pTDefRegMap(@Self)^.clr := $00000002;
  13426. end;
  13427. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  13428. begin
  13429. if thebits = 0 then
  13430. pTDefRegMap(@Self)^.clr := $00000002
  13431. else
  13432. pTDefRegMap(@Self)^.&set := $00000002;
  13433. end;
  13434. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  13435. begin
  13436. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13437. end;
  13438. procedure TICAP5_IC5CON.setICM2; inline;
  13439. begin
  13440. pTDefRegMap(@Self)^.&set := $00000004;
  13441. end;
  13442. procedure TICAP5_IC5CON.clearICM2; inline;
  13443. begin
  13444. pTDefRegMap(@Self)^.clr := $00000004;
  13445. end;
  13446. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  13447. begin
  13448. if thebits = 0 then
  13449. pTDefRegMap(@Self)^.clr := $00000004
  13450. else
  13451. pTDefRegMap(@Self)^.&set := $00000004;
  13452. end;
  13453. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  13454. begin
  13455. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13456. end;
  13457. procedure TICAP5_IC5CON.setICI0; inline;
  13458. begin
  13459. pTDefRegMap(@Self)^.&set := $00000020;
  13460. end;
  13461. procedure TICAP5_IC5CON.clearICI0; inline;
  13462. begin
  13463. pTDefRegMap(@Self)^.clr := $00000020;
  13464. end;
  13465. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  13466. begin
  13467. if thebits = 0 then
  13468. pTDefRegMap(@Self)^.clr := $00000020
  13469. else
  13470. pTDefRegMap(@Self)^.&set := $00000020;
  13471. end;
  13472. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  13473. begin
  13474. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13475. end;
  13476. procedure TICAP5_IC5CON.setICI1; inline;
  13477. begin
  13478. pTDefRegMap(@Self)^.&set := $00000040;
  13479. end;
  13480. procedure TICAP5_IC5CON.clearICI1; inline;
  13481. begin
  13482. pTDefRegMap(@Self)^.clr := $00000040;
  13483. end;
  13484. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  13485. begin
  13486. if thebits = 0 then
  13487. pTDefRegMap(@Self)^.clr := $00000040
  13488. else
  13489. pTDefRegMap(@Self)^.&set := $00000040;
  13490. end;
  13491. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  13492. begin
  13493. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13494. end;
  13495. procedure TICAP5_IC5CON.setICSIDL; inline;
  13496. begin
  13497. pTDefRegMap(@Self)^.&set := $00002000;
  13498. end;
  13499. procedure TICAP5_IC5CON.clearICSIDL; inline;
  13500. begin
  13501. pTDefRegMap(@Self)^.clr := $00002000;
  13502. end;
  13503. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  13504. begin
  13505. if thebits = 0 then
  13506. pTDefRegMap(@Self)^.clr := $00002000
  13507. else
  13508. pTDefRegMap(@Self)^.&set := $00002000;
  13509. end;
  13510. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  13511. begin
  13512. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13513. end;
  13514. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  13515. begin
  13516. pTDefRegMap(@Self)^.val := thebits;
  13517. end;
  13518. function TICAP5_IC5CON.getw : TBits_32; inline;
  13519. begin
  13520. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13521. end;
  13522. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  13523. begin
  13524. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13525. end;
  13526. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  13527. begin
  13528. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13529. end;
  13530. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  13531. begin
  13532. pTDefRegMap(@Self)^.&set := $00000008;
  13533. end;
  13534. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  13535. begin
  13536. pTDefRegMap(@Self)^.clr := $00000008;
  13537. end;
  13538. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  13539. begin
  13540. if thebits = 0 then
  13541. pTDefRegMap(@Self)^.clr := $00000008
  13542. else
  13543. pTDefRegMap(@Self)^.&set := $00000008;
  13544. end;
  13545. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  13546. begin
  13547. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13548. end;
  13549. procedure TOCMP1_OC1CON.setOCFLT; inline;
  13550. begin
  13551. pTDefRegMap(@Self)^.&set := $00000010;
  13552. end;
  13553. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  13554. begin
  13555. pTDefRegMap(@Self)^.clr := $00000010;
  13556. end;
  13557. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  13558. begin
  13559. if thebits = 0 then
  13560. pTDefRegMap(@Self)^.clr := $00000010
  13561. else
  13562. pTDefRegMap(@Self)^.&set := $00000010;
  13563. end;
  13564. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  13565. begin
  13566. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13567. end;
  13568. procedure TOCMP1_OC1CON.setOC32; inline;
  13569. begin
  13570. pTDefRegMap(@Self)^.&set := $00000020;
  13571. end;
  13572. procedure TOCMP1_OC1CON.clearOC32; inline;
  13573. begin
  13574. pTDefRegMap(@Self)^.clr := $00000020;
  13575. end;
  13576. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  13577. begin
  13578. if thebits = 0 then
  13579. pTDefRegMap(@Self)^.clr := $00000020
  13580. else
  13581. pTDefRegMap(@Self)^.&set := $00000020;
  13582. end;
  13583. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  13584. begin
  13585. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13586. end;
  13587. procedure TOCMP1_OC1CON.setSIDL; inline;
  13588. begin
  13589. pTDefRegMap(@Self)^.&set := $00002000;
  13590. end;
  13591. procedure TOCMP1_OC1CON.clearSIDL; inline;
  13592. begin
  13593. pTDefRegMap(@Self)^.clr := $00002000;
  13594. end;
  13595. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  13596. begin
  13597. if thebits = 0 then
  13598. pTDefRegMap(@Self)^.clr := $00002000
  13599. else
  13600. pTDefRegMap(@Self)^.&set := $00002000;
  13601. end;
  13602. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  13603. begin
  13604. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13605. end;
  13606. procedure TOCMP1_OC1CON.setON; inline;
  13607. begin
  13608. pTDefRegMap(@Self)^.&set := $00008000;
  13609. end;
  13610. procedure TOCMP1_OC1CON.clearON; inline;
  13611. begin
  13612. pTDefRegMap(@Self)^.clr := $00008000;
  13613. end;
  13614. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  13615. begin
  13616. if thebits = 0 then
  13617. pTDefRegMap(@Self)^.clr := $00008000
  13618. else
  13619. pTDefRegMap(@Self)^.&set := $00008000;
  13620. end;
  13621. function TOCMP1_OC1CON.getON : TBits_1; inline;
  13622. begin
  13623. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13624. end;
  13625. procedure TOCMP1_OC1CON.setOCM0; inline;
  13626. begin
  13627. pTDefRegMap(@Self)^.&set := $00000001;
  13628. end;
  13629. procedure TOCMP1_OC1CON.clearOCM0; inline;
  13630. begin
  13631. pTDefRegMap(@Self)^.clr := $00000001;
  13632. end;
  13633. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  13634. begin
  13635. if thebits = 0 then
  13636. pTDefRegMap(@Self)^.clr := $00000001
  13637. else
  13638. pTDefRegMap(@Self)^.&set := $00000001;
  13639. end;
  13640. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  13641. begin
  13642. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13643. end;
  13644. procedure TOCMP1_OC1CON.setOCM1; inline;
  13645. begin
  13646. pTDefRegMap(@Self)^.&set := $00000002;
  13647. end;
  13648. procedure TOCMP1_OC1CON.clearOCM1; inline;
  13649. begin
  13650. pTDefRegMap(@Self)^.clr := $00000002;
  13651. end;
  13652. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  13653. begin
  13654. if thebits = 0 then
  13655. pTDefRegMap(@Self)^.clr := $00000002
  13656. else
  13657. pTDefRegMap(@Self)^.&set := $00000002;
  13658. end;
  13659. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  13660. begin
  13661. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13662. end;
  13663. procedure TOCMP1_OC1CON.setOCM2; inline;
  13664. begin
  13665. pTDefRegMap(@Self)^.&set := $00000004;
  13666. end;
  13667. procedure TOCMP1_OC1CON.clearOCM2; inline;
  13668. begin
  13669. pTDefRegMap(@Self)^.clr := $00000004;
  13670. end;
  13671. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  13672. begin
  13673. if thebits = 0 then
  13674. pTDefRegMap(@Self)^.clr := $00000004
  13675. else
  13676. pTDefRegMap(@Self)^.&set := $00000004;
  13677. end;
  13678. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  13679. begin
  13680. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13681. end;
  13682. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  13683. begin
  13684. pTDefRegMap(@Self)^.&set := $00002000;
  13685. end;
  13686. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  13687. begin
  13688. pTDefRegMap(@Self)^.clr := $00002000;
  13689. end;
  13690. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  13691. begin
  13692. if thebits = 0 then
  13693. pTDefRegMap(@Self)^.clr := $00002000
  13694. else
  13695. pTDefRegMap(@Self)^.&set := $00002000;
  13696. end;
  13697. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  13698. begin
  13699. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13700. end;
  13701. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  13702. begin
  13703. pTDefRegMap(@Self)^.val := thebits;
  13704. end;
  13705. function TOCMP1_OC1CON.getw : TBits_32; inline;
  13706. begin
  13707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13708. end;
  13709. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  13710. begin
  13711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13712. end;
  13713. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  13714. begin
  13715. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13716. end;
  13717. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  13718. begin
  13719. pTDefRegMap(@Self)^.&set := $00000008;
  13720. end;
  13721. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  13722. begin
  13723. pTDefRegMap(@Self)^.clr := $00000008;
  13724. end;
  13725. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  13726. begin
  13727. if thebits = 0 then
  13728. pTDefRegMap(@Self)^.clr := $00000008
  13729. else
  13730. pTDefRegMap(@Self)^.&set := $00000008;
  13731. end;
  13732. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  13733. begin
  13734. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13735. end;
  13736. procedure TOCMP2_OC2CON.setOCFLT; inline;
  13737. begin
  13738. pTDefRegMap(@Self)^.&set := $00000010;
  13739. end;
  13740. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  13741. begin
  13742. pTDefRegMap(@Self)^.clr := $00000010;
  13743. end;
  13744. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  13745. begin
  13746. if thebits = 0 then
  13747. pTDefRegMap(@Self)^.clr := $00000010
  13748. else
  13749. pTDefRegMap(@Self)^.&set := $00000010;
  13750. end;
  13751. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  13752. begin
  13753. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13754. end;
  13755. procedure TOCMP2_OC2CON.setOC32; inline;
  13756. begin
  13757. pTDefRegMap(@Self)^.&set := $00000020;
  13758. end;
  13759. procedure TOCMP2_OC2CON.clearOC32; inline;
  13760. begin
  13761. pTDefRegMap(@Self)^.clr := $00000020;
  13762. end;
  13763. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  13764. begin
  13765. if thebits = 0 then
  13766. pTDefRegMap(@Self)^.clr := $00000020
  13767. else
  13768. pTDefRegMap(@Self)^.&set := $00000020;
  13769. end;
  13770. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  13771. begin
  13772. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13773. end;
  13774. procedure TOCMP2_OC2CON.setSIDL; inline;
  13775. begin
  13776. pTDefRegMap(@Self)^.&set := $00002000;
  13777. end;
  13778. procedure TOCMP2_OC2CON.clearSIDL; inline;
  13779. begin
  13780. pTDefRegMap(@Self)^.clr := $00002000;
  13781. end;
  13782. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13783. begin
  13784. if thebits = 0 then
  13785. pTDefRegMap(@Self)^.clr := $00002000
  13786. else
  13787. pTDefRegMap(@Self)^.&set := $00002000;
  13788. end;
  13789. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13790. begin
  13791. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13792. end;
  13793. procedure TOCMP2_OC2CON.setON; inline;
  13794. begin
  13795. pTDefRegMap(@Self)^.&set := $00008000;
  13796. end;
  13797. procedure TOCMP2_OC2CON.clearON; inline;
  13798. begin
  13799. pTDefRegMap(@Self)^.clr := $00008000;
  13800. end;
  13801. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13802. begin
  13803. if thebits = 0 then
  13804. pTDefRegMap(@Self)^.clr := $00008000
  13805. else
  13806. pTDefRegMap(@Self)^.&set := $00008000;
  13807. end;
  13808. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13809. begin
  13810. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13811. end;
  13812. procedure TOCMP2_OC2CON.setOCM0; inline;
  13813. begin
  13814. pTDefRegMap(@Self)^.&set := $00000001;
  13815. end;
  13816. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13817. begin
  13818. pTDefRegMap(@Self)^.clr := $00000001;
  13819. end;
  13820. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13821. begin
  13822. if thebits = 0 then
  13823. pTDefRegMap(@Self)^.clr := $00000001
  13824. else
  13825. pTDefRegMap(@Self)^.&set := $00000001;
  13826. end;
  13827. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13828. begin
  13829. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13830. end;
  13831. procedure TOCMP2_OC2CON.setOCM1; inline;
  13832. begin
  13833. pTDefRegMap(@Self)^.&set := $00000002;
  13834. end;
  13835. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13836. begin
  13837. pTDefRegMap(@Self)^.clr := $00000002;
  13838. end;
  13839. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13840. begin
  13841. if thebits = 0 then
  13842. pTDefRegMap(@Self)^.clr := $00000002
  13843. else
  13844. pTDefRegMap(@Self)^.&set := $00000002;
  13845. end;
  13846. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13847. begin
  13848. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13849. end;
  13850. procedure TOCMP2_OC2CON.setOCM2; inline;
  13851. begin
  13852. pTDefRegMap(@Self)^.&set := $00000004;
  13853. end;
  13854. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13855. begin
  13856. pTDefRegMap(@Self)^.clr := $00000004;
  13857. end;
  13858. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13859. begin
  13860. if thebits = 0 then
  13861. pTDefRegMap(@Self)^.clr := $00000004
  13862. else
  13863. pTDefRegMap(@Self)^.&set := $00000004;
  13864. end;
  13865. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13866. begin
  13867. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13868. end;
  13869. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13870. begin
  13871. pTDefRegMap(@Self)^.&set := $00002000;
  13872. end;
  13873. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13874. begin
  13875. pTDefRegMap(@Self)^.clr := $00002000;
  13876. end;
  13877. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13878. begin
  13879. if thebits = 0 then
  13880. pTDefRegMap(@Self)^.clr := $00002000
  13881. else
  13882. pTDefRegMap(@Self)^.&set := $00002000;
  13883. end;
  13884. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13885. begin
  13886. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13887. end;
  13888. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13889. begin
  13890. pTDefRegMap(@Self)^.val := thebits;
  13891. end;
  13892. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13893. begin
  13894. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13895. end;
  13896. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13897. begin
  13898. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13899. end;
  13900. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13901. begin
  13902. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13903. end;
  13904. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13905. begin
  13906. pTDefRegMap(@Self)^.&set := $00000008;
  13907. end;
  13908. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13909. begin
  13910. pTDefRegMap(@Self)^.clr := $00000008;
  13911. end;
  13912. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13913. begin
  13914. if thebits = 0 then
  13915. pTDefRegMap(@Self)^.clr := $00000008
  13916. else
  13917. pTDefRegMap(@Self)^.&set := $00000008;
  13918. end;
  13919. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13920. begin
  13921. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13922. end;
  13923. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13924. begin
  13925. pTDefRegMap(@Self)^.&set := $00000010;
  13926. end;
  13927. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13928. begin
  13929. pTDefRegMap(@Self)^.clr := $00000010;
  13930. end;
  13931. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13932. begin
  13933. if thebits = 0 then
  13934. pTDefRegMap(@Self)^.clr := $00000010
  13935. else
  13936. pTDefRegMap(@Self)^.&set := $00000010;
  13937. end;
  13938. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13939. begin
  13940. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13941. end;
  13942. procedure TOCMP3_OC3CON.setOC32; inline;
  13943. begin
  13944. pTDefRegMap(@Self)^.&set := $00000020;
  13945. end;
  13946. procedure TOCMP3_OC3CON.clearOC32; inline;
  13947. begin
  13948. pTDefRegMap(@Self)^.clr := $00000020;
  13949. end;
  13950. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13951. begin
  13952. if thebits = 0 then
  13953. pTDefRegMap(@Self)^.clr := $00000020
  13954. else
  13955. pTDefRegMap(@Self)^.&set := $00000020;
  13956. end;
  13957. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13958. begin
  13959. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13960. end;
  13961. procedure TOCMP3_OC3CON.setSIDL; inline;
  13962. begin
  13963. pTDefRegMap(@Self)^.&set := $00002000;
  13964. end;
  13965. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13966. begin
  13967. pTDefRegMap(@Self)^.clr := $00002000;
  13968. end;
  13969. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13970. begin
  13971. if thebits = 0 then
  13972. pTDefRegMap(@Self)^.clr := $00002000
  13973. else
  13974. pTDefRegMap(@Self)^.&set := $00002000;
  13975. end;
  13976. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13977. begin
  13978. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13979. end;
  13980. procedure TOCMP3_OC3CON.setON; inline;
  13981. begin
  13982. pTDefRegMap(@Self)^.&set := $00008000;
  13983. end;
  13984. procedure TOCMP3_OC3CON.clearON; inline;
  13985. begin
  13986. pTDefRegMap(@Self)^.clr := $00008000;
  13987. end;
  13988. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13989. begin
  13990. if thebits = 0 then
  13991. pTDefRegMap(@Self)^.clr := $00008000
  13992. else
  13993. pTDefRegMap(@Self)^.&set := $00008000;
  13994. end;
  13995. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13996. begin
  13997. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13998. end;
  13999. procedure TOCMP3_OC3CON.setOCM0; inline;
  14000. begin
  14001. pTDefRegMap(@Self)^.&set := $00000001;
  14002. end;
  14003. procedure TOCMP3_OC3CON.clearOCM0; inline;
  14004. begin
  14005. pTDefRegMap(@Self)^.clr := $00000001;
  14006. end;
  14007. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  14008. begin
  14009. if thebits = 0 then
  14010. pTDefRegMap(@Self)^.clr := $00000001
  14011. else
  14012. pTDefRegMap(@Self)^.&set := $00000001;
  14013. end;
  14014. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  14015. begin
  14016. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14017. end;
  14018. procedure TOCMP3_OC3CON.setOCM1; inline;
  14019. begin
  14020. pTDefRegMap(@Self)^.&set := $00000002;
  14021. end;
  14022. procedure TOCMP3_OC3CON.clearOCM1; inline;
  14023. begin
  14024. pTDefRegMap(@Self)^.clr := $00000002;
  14025. end;
  14026. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  14027. begin
  14028. if thebits = 0 then
  14029. pTDefRegMap(@Self)^.clr := $00000002
  14030. else
  14031. pTDefRegMap(@Self)^.&set := $00000002;
  14032. end;
  14033. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  14034. begin
  14035. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14036. end;
  14037. procedure TOCMP3_OC3CON.setOCM2; inline;
  14038. begin
  14039. pTDefRegMap(@Self)^.&set := $00000004;
  14040. end;
  14041. procedure TOCMP3_OC3CON.clearOCM2; inline;
  14042. begin
  14043. pTDefRegMap(@Self)^.clr := $00000004;
  14044. end;
  14045. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  14046. begin
  14047. if thebits = 0 then
  14048. pTDefRegMap(@Self)^.clr := $00000004
  14049. else
  14050. pTDefRegMap(@Self)^.&set := $00000004;
  14051. end;
  14052. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  14053. begin
  14054. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14055. end;
  14056. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  14057. begin
  14058. pTDefRegMap(@Self)^.&set := $00002000;
  14059. end;
  14060. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  14061. begin
  14062. pTDefRegMap(@Self)^.clr := $00002000;
  14063. end;
  14064. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  14065. begin
  14066. if thebits = 0 then
  14067. pTDefRegMap(@Self)^.clr := $00002000
  14068. else
  14069. pTDefRegMap(@Self)^.&set := $00002000;
  14070. end;
  14071. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  14072. begin
  14073. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14074. end;
  14075. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  14076. begin
  14077. pTDefRegMap(@Self)^.val := thebits;
  14078. end;
  14079. function TOCMP3_OC3CON.getw : TBits_32; inline;
  14080. begin
  14081. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14082. end;
  14083. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  14084. begin
  14085. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14086. end;
  14087. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  14088. begin
  14089. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14090. end;
  14091. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  14092. begin
  14093. pTDefRegMap(@Self)^.&set := $00000008;
  14094. end;
  14095. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  14096. begin
  14097. pTDefRegMap(@Self)^.clr := $00000008;
  14098. end;
  14099. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  14100. begin
  14101. if thebits = 0 then
  14102. pTDefRegMap(@Self)^.clr := $00000008
  14103. else
  14104. pTDefRegMap(@Self)^.&set := $00000008;
  14105. end;
  14106. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  14107. begin
  14108. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14109. end;
  14110. procedure TOCMP4_OC4CON.setOCFLT; inline;
  14111. begin
  14112. pTDefRegMap(@Self)^.&set := $00000010;
  14113. end;
  14114. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  14115. begin
  14116. pTDefRegMap(@Self)^.clr := $00000010;
  14117. end;
  14118. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  14119. begin
  14120. if thebits = 0 then
  14121. pTDefRegMap(@Self)^.clr := $00000010
  14122. else
  14123. pTDefRegMap(@Self)^.&set := $00000010;
  14124. end;
  14125. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  14126. begin
  14127. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14128. end;
  14129. procedure TOCMP4_OC4CON.setOC32; inline;
  14130. begin
  14131. pTDefRegMap(@Self)^.&set := $00000020;
  14132. end;
  14133. procedure TOCMP4_OC4CON.clearOC32; inline;
  14134. begin
  14135. pTDefRegMap(@Self)^.clr := $00000020;
  14136. end;
  14137. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  14138. begin
  14139. if thebits = 0 then
  14140. pTDefRegMap(@Self)^.clr := $00000020
  14141. else
  14142. pTDefRegMap(@Self)^.&set := $00000020;
  14143. end;
  14144. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  14145. begin
  14146. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14147. end;
  14148. procedure TOCMP4_OC4CON.setSIDL; inline;
  14149. begin
  14150. pTDefRegMap(@Self)^.&set := $00002000;
  14151. end;
  14152. procedure TOCMP4_OC4CON.clearSIDL; inline;
  14153. begin
  14154. pTDefRegMap(@Self)^.clr := $00002000;
  14155. end;
  14156. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  14157. begin
  14158. if thebits = 0 then
  14159. pTDefRegMap(@Self)^.clr := $00002000
  14160. else
  14161. pTDefRegMap(@Self)^.&set := $00002000;
  14162. end;
  14163. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  14164. begin
  14165. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14166. end;
  14167. procedure TOCMP4_OC4CON.setON; inline;
  14168. begin
  14169. pTDefRegMap(@Self)^.&set := $00008000;
  14170. end;
  14171. procedure TOCMP4_OC4CON.clearON; inline;
  14172. begin
  14173. pTDefRegMap(@Self)^.clr := $00008000;
  14174. end;
  14175. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  14176. begin
  14177. if thebits = 0 then
  14178. pTDefRegMap(@Self)^.clr := $00008000
  14179. else
  14180. pTDefRegMap(@Self)^.&set := $00008000;
  14181. end;
  14182. function TOCMP4_OC4CON.getON : TBits_1; inline;
  14183. begin
  14184. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14185. end;
  14186. procedure TOCMP4_OC4CON.setOCM0; inline;
  14187. begin
  14188. pTDefRegMap(@Self)^.&set := $00000001;
  14189. end;
  14190. procedure TOCMP4_OC4CON.clearOCM0; inline;
  14191. begin
  14192. pTDefRegMap(@Self)^.clr := $00000001;
  14193. end;
  14194. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  14195. begin
  14196. if thebits = 0 then
  14197. pTDefRegMap(@Self)^.clr := $00000001
  14198. else
  14199. pTDefRegMap(@Self)^.&set := $00000001;
  14200. end;
  14201. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  14202. begin
  14203. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14204. end;
  14205. procedure TOCMP4_OC4CON.setOCM1; inline;
  14206. begin
  14207. pTDefRegMap(@Self)^.&set := $00000002;
  14208. end;
  14209. procedure TOCMP4_OC4CON.clearOCM1; inline;
  14210. begin
  14211. pTDefRegMap(@Self)^.clr := $00000002;
  14212. end;
  14213. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  14214. begin
  14215. if thebits = 0 then
  14216. pTDefRegMap(@Self)^.clr := $00000002
  14217. else
  14218. pTDefRegMap(@Self)^.&set := $00000002;
  14219. end;
  14220. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  14221. begin
  14222. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14223. end;
  14224. procedure TOCMP4_OC4CON.setOCM2; inline;
  14225. begin
  14226. pTDefRegMap(@Self)^.&set := $00000004;
  14227. end;
  14228. procedure TOCMP4_OC4CON.clearOCM2; inline;
  14229. begin
  14230. pTDefRegMap(@Self)^.clr := $00000004;
  14231. end;
  14232. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  14233. begin
  14234. if thebits = 0 then
  14235. pTDefRegMap(@Self)^.clr := $00000004
  14236. else
  14237. pTDefRegMap(@Self)^.&set := $00000004;
  14238. end;
  14239. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  14240. begin
  14241. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14242. end;
  14243. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  14244. begin
  14245. pTDefRegMap(@Self)^.&set := $00002000;
  14246. end;
  14247. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  14248. begin
  14249. pTDefRegMap(@Self)^.clr := $00002000;
  14250. end;
  14251. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  14252. begin
  14253. if thebits = 0 then
  14254. pTDefRegMap(@Self)^.clr := $00002000
  14255. else
  14256. pTDefRegMap(@Self)^.&set := $00002000;
  14257. end;
  14258. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  14259. begin
  14260. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14261. end;
  14262. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  14263. begin
  14264. pTDefRegMap(@Self)^.val := thebits;
  14265. end;
  14266. function TOCMP4_OC4CON.getw : TBits_32; inline;
  14267. begin
  14268. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14269. end;
  14270. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  14271. begin
  14272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14273. end;
  14274. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  14275. begin
  14276. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14277. end;
  14278. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  14279. begin
  14280. pTDefRegMap(@Self)^.&set := $00000008;
  14281. end;
  14282. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  14283. begin
  14284. pTDefRegMap(@Self)^.clr := $00000008;
  14285. end;
  14286. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  14287. begin
  14288. if thebits = 0 then
  14289. pTDefRegMap(@Self)^.clr := $00000008
  14290. else
  14291. pTDefRegMap(@Self)^.&set := $00000008;
  14292. end;
  14293. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  14294. begin
  14295. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14296. end;
  14297. procedure TOCMP5_OC5CON.setOCFLT; inline;
  14298. begin
  14299. pTDefRegMap(@Self)^.&set := $00000010;
  14300. end;
  14301. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  14302. begin
  14303. pTDefRegMap(@Self)^.clr := $00000010;
  14304. end;
  14305. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  14306. begin
  14307. if thebits = 0 then
  14308. pTDefRegMap(@Self)^.clr := $00000010
  14309. else
  14310. pTDefRegMap(@Self)^.&set := $00000010;
  14311. end;
  14312. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  14313. begin
  14314. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14315. end;
  14316. procedure TOCMP5_OC5CON.setOC32; inline;
  14317. begin
  14318. pTDefRegMap(@Self)^.&set := $00000020;
  14319. end;
  14320. procedure TOCMP5_OC5CON.clearOC32; inline;
  14321. begin
  14322. pTDefRegMap(@Self)^.clr := $00000020;
  14323. end;
  14324. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  14325. begin
  14326. if thebits = 0 then
  14327. pTDefRegMap(@Self)^.clr := $00000020
  14328. else
  14329. pTDefRegMap(@Self)^.&set := $00000020;
  14330. end;
  14331. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  14332. begin
  14333. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14334. end;
  14335. procedure TOCMP5_OC5CON.setSIDL; inline;
  14336. begin
  14337. pTDefRegMap(@Self)^.&set := $00002000;
  14338. end;
  14339. procedure TOCMP5_OC5CON.clearSIDL; inline;
  14340. begin
  14341. pTDefRegMap(@Self)^.clr := $00002000;
  14342. end;
  14343. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  14344. begin
  14345. if thebits = 0 then
  14346. pTDefRegMap(@Self)^.clr := $00002000
  14347. else
  14348. pTDefRegMap(@Self)^.&set := $00002000;
  14349. end;
  14350. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  14351. begin
  14352. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14353. end;
  14354. procedure TOCMP5_OC5CON.setON; inline;
  14355. begin
  14356. pTDefRegMap(@Self)^.&set := $00008000;
  14357. end;
  14358. procedure TOCMP5_OC5CON.clearON; inline;
  14359. begin
  14360. pTDefRegMap(@Self)^.clr := $00008000;
  14361. end;
  14362. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  14363. begin
  14364. if thebits = 0 then
  14365. pTDefRegMap(@Self)^.clr := $00008000
  14366. else
  14367. pTDefRegMap(@Self)^.&set := $00008000;
  14368. end;
  14369. function TOCMP5_OC5CON.getON : TBits_1; inline;
  14370. begin
  14371. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14372. end;
  14373. procedure TOCMP5_OC5CON.setOCM0; inline;
  14374. begin
  14375. pTDefRegMap(@Self)^.&set := $00000001;
  14376. end;
  14377. procedure TOCMP5_OC5CON.clearOCM0; inline;
  14378. begin
  14379. pTDefRegMap(@Self)^.clr := $00000001;
  14380. end;
  14381. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  14382. begin
  14383. if thebits = 0 then
  14384. pTDefRegMap(@Self)^.clr := $00000001
  14385. else
  14386. pTDefRegMap(@Self)^.&set := $00000001;
  14387. end;
  14388. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  14389. begin
  14390. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14391. end;
  14392. procedure TOCMP5_OC5CON.setOCM1; inline;
  14393. begin
  14394. pTDefRegMap(@Self)^.&set := $00000002;
  14395. end;
  14396. procedure TOCMP5_OC5CON.clearOCM1; inline;
  14397. begin
  14398. pTDefRegMap(@Self)^.clr := $00000002;
  14399. end;
  14400. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  14401. begin
  14402. if thebits = 0 then
  14403. pTDefRegMap(@Self)^.clr := $00000002
  14404. else
  14405. pTDefRegMap(@Self)^.&set := $00000002;
  14406. end;
  14407. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  14408. begin
  14409. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14410. end;
  14411. procedure TOCMP5_OC5CON.setOCM2; inline;
  14412. begin
  14413. pTDefRegMap(@Self)^.&set := $00000004;
  14414. end;
  14415. procedure TOCMP5_OC5CON.clearOCM2; inline;
  14416. begin
  14417. pTDefRegMap(@Self)^.clr := $00000004;
  14418. end;
  14419. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  14420. begin
  14421. if thebits = 0 then
  14422. pTDefRegMap(@Self)^.clr := $00000004
  14423. else
  14424. pTDefRegMap(@Self)^.&set := $00000004;
  14425. end;
  14426. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  14427. begin
  14428. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14429. end;
  14430. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  14431. begin
  14432. pTDefRegMap(@Self)^.&set := $00002000;
  14433. end;
  14434. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  14435. begin
  14436. pTDefRegMap(@Self)^.clr := $00002000;
  14437. end;
  14438. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  14439. begin
  14440. if thebits = 0 then
  14441. pTDefRegMap(@Self)^.clr := $00002000
  14442. else
  14443. pTDefRegMap(@Self)^.&set := $00002000;
  14444. end;
  14445. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  14446. begin
  14447. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14448. end;
  14449. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  14450. begin
  14451. pTDefRegMap(@Self)^.val := thebits;
  14452. end;
  14453. function TOCMP5_OC5CON.getw : TBits_32; inline;
  14454. begin
  14455. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14456. end;
  14457. procedure TI2C1_I2C1ACON.setSEN; inline;
  14458. begin
  14459. pTDefRegMap(@Self)^.&set := $00000001;
  14460. end;
  14461. procedure TI2C1_I2C1ACON.clearSEN; inline;
  14462. begin
  14463. pTDefRegMap(@Self)^.clr := $00000001;
  14464. end;
  14465. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  14466. begin
  14467. if thebits = 0 then
  14468. pTDefRegMap(@Self)^.clr := $00000001
  14469. else
  14470. pTDefRegMap(@Self)^.&set := $00000001;
  14471. end;
  14472. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  14473. begin
  14474. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14475. end;
  14476. procedure TI2C1_I2C1ACON.setRSEN; inline;
  14477. begin
  14478. pTDefRegMap(@Self)^.&set := $00000002;
  14479. end;
  14480. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  14481. begin
  14482. pTDefRegMap(@Self)^.clr := $00000002;
  14483. end;
  14484. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  14485. begin
  14486. if thebits = 0 then
  14487. pTDefRegMap(@Self)^.clr := $00000002
  14488. else
  14489. pTDefRegMap(@Self)^.&set := $00000002;
  14490. end;
  14491. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  14492. begin
  14493. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14494. end;
  14495. procedure TI2C1_I2C1ACON.setPEN; inline;
  14496. begin
  14497. pTDefRegMap(@Self)^.&set := $00000004;
  14498. end;
  14499. procedure TI2C1_I2C1ACON.clearPEN; inline;
  14500. begin
  14501. pTDefRegMap(@Self)^.clr := $00000004;
  14502. end;
  14503. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  14504. begin
  14505. if thebits = 0 then
  14506. pTDefRegMap(@Self)^.clr := $00000004
  14507. else
  14508. pTDefRegMap(@Self)^.&set := $00000004;
  14509. end;
  14510. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  14511. begin
  14512. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14513. end;
  14514. procedure TI2C1_I2C1ACON.setRCEN; inline;
  14515. begin
  14516. pTDefRegMap(@Self)^.&set := $00000008;
  14517. end;
  14518. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  14519. begin
  14520. pTDefRegMap(@Self)^.clr := $00000008;
  14521. end;
  14522. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  14523. begin
  14524. if thebits = 0 then
  14525. pTDefRegMap(@Self)^.clr := $00000008
  14526. else
  14527. pTDefRegMap(@Self)^.&set := $00000008;
  14528. end;
  14529. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  14530. begin
  14531. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14532. end;
  14533. procedure TI2C1_I2C1ACON.setACKEN; inline;
  14534. begin
  14535. pTDefRegMap(@Self)^.&set := $00000010;
  14536. end;
  14537. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  14538. begin
  14539. pTDefRegMap(@Self)^.clr := $00000010;
  14540. end;
  14541. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  14542. begin
  14543. if thebits = 0 then
  14544. pTDefRegMap(@Self)^.clr := $00000010
  14545. else
  14546. pTDefRegMap(@Self)^.&set := $00000010;
  14547. end;
  14548. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  14549. begin
  14550. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14551. end;
  14552. procedure TI2C1_I2C1ACON.setACKDT; inline;
  14553. begin
  14554. pTDefRegMap(@Self)^.&set := $00000020;
  14555. end;
  14556. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  14557. begin
  14558. pTDefRegMap(@Self)^.clr := $00000020;
  14559. end;
  14560. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  14561. begin
  14562. if thebits = 0 then
  14563. pTDefRegMap(@Self)^.clr := $00000020
  14564. else
  14565. pTDefRegMap(@Self)^.&set := $00000020;
  14566. end;
  14567. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  14568. begin
  14569. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14570. end;
  14571. procedure TI2C1_I2C1ACON.setSTREN; inline;
  14572. begin
  14573. pTDefRegMap(@Self)^.&set := $00000040;
  14574. end;
  14575. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  14576. begin
  14577. pTDefRegMap(@Self)^.clr := $00000040;
  14578. end;
  14579. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  14580. begin
  14581. if thebits = 0 then
  14582. pTDefRegMap(@Self)^.clr := $00000040
  14583. else
  14584. pTDefRegMap(@Self)^.&set := $00000040;
  14585. end;
  14586. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  14587. begin
  14588. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14589. end;
  14590. procedure TI2C1_I2C1ACON.setGCEN; inline;
  14591. begin
  14592. pTDefRegMap(@Self)^.&set := $00000080;
  14593. end;
  14594. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  14595. begin
  14596. pTDefRegMap(@Self)^.clr := $00000080;
  14597. end;
  14598. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  14599. begin
  14600. if thebits = 0 then
  14601. pTDefRegMap(@Self)^.clr := $00000080
  14602. else
  14603. pTDefRegMap(@Self)^.&set := $00000080;
  14604. end;
  14605. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  14606. begin
  14607. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14608. end;
  14609. procedure TI2C1_I2C1ACON.setSMEN; inline;
  14610. begin
  14611. pTDefRegMap(@Self)^.&set := $00000100;
  14612. end;
  14613. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  14614. begin
  14615. pTDefRegMap(@Self)^.clr := $00000100;
  14616. end;
  14617. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  14618. begin
  14619. if thebits = 0 then
  14620. pTDefRegMap(@Self)^.clr := $00000100
  14621. else
  14622. pTDefRegMap(@Self)^.&set := $00000100;
  14623. end;
  14624. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  14625. begin
  14626. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14627. end;
  14628. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  14629. begin
  14630. pTDefRegMap(@Self)^.&set := $00000200;
  14631. end;
  14632. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  14633. begin
  14634. pTDefRegMap(@Self)^.clr := $00000200;
  14635. end;
  14636. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  14637. begin
  14638. if thebits = 0 then
  14639. pTDefRegMap(@Self)^.clr := $00000200
  14640. else
  14641. pTDefRegMap(@Self)^.&set := $00000200;
  14642. end;
  14643. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  14644. begin
  14645. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14646. end;
  14647. procedure TI2C1_I2C1ACON.setA10M; inline;
  14648. begin
  14649. pTDefRegMap(@Self)^.&set := $00000400;
  14650. end;
  14651. procedure TI2C1_I2C1ACON.clearA10M; inline;
  14652. begin
  14653. pTDefRegMap(@Self)^.clr := $00000400;
  14654. end;
  14655. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  14656. begin
  14657. if thebits = 0 then
  14658. pTDefRegMap(@Self)^.clr := $00000400
  14659. else
  14660. pTDefRegMap(@Self)^.&set := $00000400;
  14661. end;
  14662. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  14663. begin
  14664. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14665. end;
  14666. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  14667. begin
  14668. pTDefRegMap(@Self)^.&set := $00000800;
  14669. end;
  14670. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  14671. begin
  14672. pTDefRegMap(@Self)^.clr := $00000800;
  14673. end;
  14674. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  14675. begin
  14676. if thebits = 0 then
  14677. pTDefRegMap(@Self)^.clr := $00000800
  14678. else
  14679. pTDefRegMap(@Self)^.&set := $00000800;
  14680. end;
  14681. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  14682. begin
  14683. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14684. end;
  14685. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  14686. begin
  14687. pTDefRegMap(@Self)^.&set := $00001000;
  14688. end;
  14689. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  14690. begin
  14691. pTDefRegMap(@Self)^.clr := $00001000;
  14692. end;
  14693. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  14694. begin
  14695. if thebits = 0 then
  14696. pTDefRegMap(@Self)^.clr := $00001000
  14697. else
  14698. pTDefRegMap(@Self)^.&set := $00001000;
  14699. end;
  14700. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  14701. begin
  14702. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14703. end;
  14704. procedure TI2C1_I2C1ACON.setSIDL; inline;
  14705. begin
  14706. pTDefRegMap(@Self)^.&set := $00002000;
  14707. end;
  14708. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  14709. begin
  14710. pTDefRegMap(@Self)^.clr := $00002000;
  14711. end;
  14712. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  14713. begin
  14714. if thebits = 0 then
  14715. pTDefRegMap(@Self)^.clr := $00002000
  14716. else
  14717. pTDefRegMap(@Self)^.&set := $00002000;
  14718. end;
  14719. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  14720. begin
  14721. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14722. end;
  14723. procedure TI2C1_I2C1ACON.setON; inline;
  14724. begin
  14725. pTDefRegMap(@Self)^.&set := $00008000;
  14726. end;
  14727. procedure TI2C1_I2C1ACON.clearON; inline;
  14728. begin
  14729. pTDefRegMap(@Self)^.clr := $00008000;
  14730. end;
  14731. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  14732. begin
  14733. if thebits = 0 then
  14734. pTDefRegMap(@Self)^.clr := $00008000
  14735. else
  14736. pTDefRegMap(@Self)^.&set := $00008000;
  14737. end;
  14738. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  14739. begin
  14740. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14741. end;
  14742. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  14743. begin
  14744. pTDefRegMap(@Self)^.&set := $00000800;
  14745. end;
  14746. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  14747. begin
  14748. pTDefRegMap(@Self)^.clr := $00000800;
  14749. end;
  14750. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  14751. begin
  14752. if thebits = 0 then
  14753. pTDefRegMap(@Self)^.clr := $00000800
  14754. else
  14755. pTDefRegMap(@Self)^.&set := $00000800;
  14756. end;
  14757. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  14758. begin
  14759. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14760. end;
  14761. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  14762. begin
  14763. pTDefRegMap(@Self)^.&set := $00002000;
  14764. end;
  14765. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  14766. begin
  14767. pTDefRegMap(@Self)^.clr := $00002000;
  14768. end;
  14769. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  14770. begin
  14771. if thebits = 0 then
  14772. pTDefRegMap(@Self)^.clr := $00002000
  14773. else
  14774. pTDefRegMap(@Self)^.&set := $00002000;
  14775. end;
  14776. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  14777. begin
  14778. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14779. end;
  14780. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14781. begin
  14782. pTDefRegMap(@Self)^.&set := $00008000;
  14783. end;
  14784. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14785. begin
  14786. pTDefRegMap(@Self)^.clr := $00008000;
  14787. end;
  14788. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14789. begin
  14790. if thebits = 0 then
  14791. pTDefRegMap(@Self)^.clr := $00008000
  14792. else
  14793. pTDefRegMap(@Self)^.&set := $00008000;
  14794. end;
  14795. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14796. begin
  14797. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14798. end;
  14799. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14800. begin
  14801. pTDefRegMap(@Self)^.val := thebits;
  14802. end;
  14803. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14804. begin
  14805. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14806. end;
  14807. procedure TI2C1_I2C1CON.setSEN; inline;
  14808. begin
  14809. pTDefRegMap(@Self)^.&set := $00000001;
  14810. end;
  14811. procedure TI2C1_I2C1CON.clearSEN; inline;
  14812. begin
  14813. pTDefRegMap(@Self)^.clr := $00000001;
  14814. end;
  14815. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14816. begin
  14817. if thebits = 0 then
  14818. pTDefRegMap(@Self)^.clr := $00000001
  14819. else
  14820. pTDefRegMap(@Self)^.&set := $00000001;
  14821. end;
  14822. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14823. begin
  14824. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14825. end;
  14826. procedure TI2C1_I2C1CON.setRSEN; inline;
  14827. begin
  14828. pTDefRegMap(@Self)^.&set := $00000002;
  14829. end;
  14830. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14831. begin
  14832. pTDefRegMap(@Self)^.clr := $00000002;
  14833. end;
  14834. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14835. begin
  14836. if thebits = 0 then
  14837. pTDefRegMap(@Self)^.clr := $00000002
  14838. else
  14839. pTDefRegMap(@Self)^.&set := $00000002;
  14840. end;
  14841. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14842. begin
  14843. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14844. end;
  14845. procedure TI2C1_I2C1CON.setPEN; inline;
  14846. begin
  14847. pTDefRegMap(@Self)^.&set := $00000004;
  14848. end;
  14849. procedure TI2C1_I2C1CON.clearPEN; inline;
  14850. begin
  14851. pTDefRegMap(@Self)^.clr := $00000004;
  14852. end;
  14853. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14854. begin
  14855. if thebits = 0 then
  14856. pTDefRegMap(@Self)^.clr := $00000004
  14857. else
  14858. pTDefRegMap(@Self)^.&set := $00000004;
  14859. end;
  14860. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14861. begin
  14862. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14863. end;
  14864. procedure TI2C1_I2C1CON.setRCEN; inline;
  14865. begin
  14866. pTDefRegMap(@Self)^.&set := $00000008;
  14867. end;
  14868. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14869. begin
  14870. pTDefRegMap(@Self)^.clr := $00000008;
  14871. end;
  14872. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14873. begin
  14874. if thebits = 0 then
  14875. pTDefRegMap(@Self)^.clr := $00000008
  14876. else
  14877. pTDefRegMap(@Self)^.&set := $00000008;
  14878. end;
  14879. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14880. begin
  14881. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14882. end;
  14883. procedure TI2C1_I2C1CON.setACKEN; inline;
  14884. begin
  14885. pTDefRegMap(@Self)^.&set := $00000010;
  14886. end;
  14887. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14888. begin
  14889. pTDefRegMap(@Self)^.clr := $00000010;
  14890. end;
  14891. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14892. begin
  14893. if thebits = 0 then
  14894. pTDefRegMap(@Self)^.clr := $00000010
  14895. else
  14896. pTDefRegMap(@Self)^.&set := $00000010;
  14897. end;
  14898. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14899. begin
  14900. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14901. end;
  14902. procedure TI2C1_I2C1CON.setACKDT; inline;
  14903. begin
  14904. pTDefRegMap(@Self)^.&set := $00000020;
  14905. end;
  14906. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14907. begin
  14908. pTDefRegMap(@Self)^.clr := $00000020;
  14909. end;
  14910. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14911. begin
  14912. if thebits = 0 then
  14913. pTDefRegMap(@Self)^.clr := $00000020
  14914. else
  14915. pTDefRegMap(@Self)^.&set := $00000020;
  14916. end;
  14917. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14918. begin
  14919. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14920. end;
  14921. procedure TI2C1_I2C1CON.setSTREN; inline;
  14922. begin
  14923. pTDefRegMap(@Self)^.&set := $00000040;
  14924. end;
  14925. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14926. begin
  14927. pTDefRegMap(@Self)^.clr := $00000040;
  14928. end;
  14929. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14930. begin
  14931. if thebits = 0 then
  14932. pTDefRegMap(@Self)^.clr := $00000040
  14933. else
  14934. pTDefRegMap(@Self)^.&set := $00000040;
  14935. end;
  14936. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14937. begin
  14938. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14939. end;
  14940. procedure TI2C1_I2C1CON.setGCEN; inline;
  14941. begin
  14942. pTDefRegMap(@Self)^.&set := $00000080;
  14943. end;
  14944. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14945. begin
  14946. pTDefRegMap(@Self)^.clr := $00000080;
  14947. end;
  14948. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14949. begin
  14950. if thebits = 0 then
  14951. pTDefRegMap(@Self)^.clr := $00000080
  14952. else
  14953. pTDefRegMap(@Self)^.&set := $00000080;
  14954. end;
  14955. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14956. begin
  14957. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14958. end;
  14959. procedure TI2C1_I2C1CON.setSMEN; inline;
  14960. begin
  14961. pTDefRegMap(@Self)^.&set := $00000100;
  14962. end;
  14963. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14964. begin
  14965. pTDefRegMap(@Self)^.clr := $00000100;
  14966. end;
  14967. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14968. begin
  14969. if thebits = 0 then
  14970. pTDefRegMap(@Self)^.clr := $00000100
  14971. else
  14972. pTDefRegMap(@Self)^.&set := $00000100;
  14973. end;
  14974. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14975. begin
  14976. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14977. end;
  14978. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14979. begin
  14980. pTDefRegMap(@Self)^.&set := $00000200;
  14981. end;
  14982. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14983. begin
  14984. pTDefRegMap(@Self)^.clr := $00000200;
  14985. end;
  14986. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14987. begin
  14988. if thebits = 0 then
  14989. pTDefRegMap(@Self)^.clr := $00000200
  14990. else
  14991. pTDefRegMap(@Self)^.&set := $00000200;
  14992. end;
  14993. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14994. begin
  14995. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14996. end;
  14997. procedure TI2C1_I2C1CON.setA10M; inline;
  14998. begin
  14999. pTDefRegMap(@Self)^.&set := $00000400;
  15000. end;
  15001. procedure TI2C1_I2C1CON.clearA10M; inline;
  15002. begin
  15003. pTDefRegMap(@Self)^.clr := $00000400;
  15004. end;
  15005. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  15006. begin
  15007. if thebits = 0 then
  15008. pTDefRegMap(@Self)^.clr := $00000400
  15009. else
  15010. pTDefRegMap(@Self)^.&set := $00000400;
  15011. end;
  15012. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  15013. begin
  15014. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15015. end;
  15016. procedure TI2C1_I2C1CON.setSTRICT; inline;
  15017. begin
  15018. pTDefRegMap(@Self)^.&set := $00000800;
  15019. end;
  15020. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  15021. begin
  15022. pTDefRegMap(@Self)^.clr := $00000800;
  15023. end;
  15024. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  15025. begin
  15026. if thebits = 0 then
  15027. pTDefRegMap(@Self)^.clr := $00000800
  15028. else
  15029. pTDefRegMap(@Self)^.&set := $00000800;
  15030. end;
  15031. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  15032. begin
  15033. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15034. end;
  15035. procedure TI2C1_I2C1CON.setSCLREL; inline;
  15036. begin
  15037. pTDefRegMap(@Self)^.&set := $00001000;
  15038. end;
  15039. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  15040. begin
  15041. pTDefRegMap(@Self)^.clr := $00001000;
  15042. end;
  15043. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  15044. begin
  15045. if thebits = 0 then
  15046. pTDefRegMap(@Self)^.clr := $00001000
  15047. else
  15048. pTDefRegMap(@Self)^.&set := $00001000;
  15049. end;
  15050. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  15051. begin
  15052. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15053. end;
  15054. procedure TI2C1_I2C1CON.setSIDL; inline;
  15055. begin
  15056. pTDefRegMap(@Self)^.&set := $00002000;
  15057. end;
  15058. procedure TI2C1_I2C1CON.clearSIDL; inline;
  15059. begin
  15060. pTDefRegMap(@Self)^.clr := $00002000;
  15061. end;
  15062. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  15063. begin
  15064. if thebits = 0 then
  15065. pTDefRegMap(@Self)^.clr := $00002000
  15066. else
  15067. pTDefRegMap(@Self)^.&set := $00002000;
  15068. end;
  15069. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  15070. begin
  15071. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15072. end;
  15073. procedure TI2C1_I2C1CON.setON; inline;
  15074. begin
  15075. pTDefRegMap(@Self)^.&set := $00008000;
  15076. end;
  15077. procedure TI2C1_I2C1CON.clearON; inline;
  15078. begin
  15079. pTDefRegMap(@Self)^.clr := $00008000;
  15080. end;
  15081. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  15082. begin
  15083. if thebits = 0 then
  15084. pTDefRegMap(@Self)^.clr := $00008000
  15085. else
  15086. pTDefRegMap(@Self)^.&set := $00008000;
  15087. end;
  15088. function TI2C1_I2C1CON.getON : TBits_1; inline;
  15089. begin
  15090. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15091. end;
  15092. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  15093. begin
  15094. pTDefRegMap(@Self)^.&set := $00000800;
  15095. end;
  15096. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  15097. begin
  15098. pTDefRegMap(@Self)^.clr := $00000800;
  15099. end;
  15100. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  15101. begin
  15102. if thebits = 0 then
  15103. pTDefRegMap(@Self)^.clr := $00000800
  15104. else
  15105. pTDefRegMap(@Self)^.&set := $00000800;
  15106. end;
  15107. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  15108. begin
  15109. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15110. end;
  15111. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  15112. begin
  15113. pTDefRegMap(@Self)^.&set := $00002000;
  15114. end;
  15115. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  15116. begin
  15117. pTDefRegMap(@Self)^.clr := $00002000;
  15118. end;
  15119. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  15120. begin
  15121. if thebits = 0 then
  15122. pTDefRegMap(@Self)^.clr := $00002000
  15123. else
  15124. pTDefRegMap(@Self)^.&set := $00002000;
  15125. end;
  15126. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  15127. begin
  15128. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15129. end;
  15130. procedure TI2C1_I2C1CON.setI2CEN; inline;
  15131. begin
  15132. pTDefRegMap(@Self)^.&set := $00008000;
  15133. end;
  15134. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  15135. begin
  15136. pTDefRegMap(@Self)^.clr := $00008000;
  15137. end;
  15138. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  15139. begin
  15140. if thebits = 0 then
  15141. pTDefRegMap(@Self)^.clr := $00008000
  15142. else
  15143. pTDefRegMap(@Self)^.&set := $00008000;
  15144. end;
  15145. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  15146. begin
  15147. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15148. end;
  15149. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  15150. begin
  15151. pTDefRegMap(@Self)^.val := thebits;
  15152. end;
  15153. function TI2C1_I2C1CON.getw : TBits_32; inline;
  15154. begin
  15155. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15156. end;
  15157. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  15158. begin
  15159. pTDefRegMap(@Self)^.&set := $00000001;
  15160. end;
  15161. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  15162. begin
  15163. pTDefRegMap(@Self)^.clr := $00000001;
  15164. end;
  15165. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  15166. begin
  15167. if thebits = 0 then
  15168. pTDefRegMap(@Self)^.clr := $00000001
  15169. else
  15170. pTDefRegMap(@Self)^.&set := $00000001;
  15171. end;
  15172. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  15173. begin
  15174. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15175. end;
  15176. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  15177. begin
  15178. pTDefRegMap(@Self)^.&set := $00000002;
  15179. end;
  15180. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  15181. begin
  15182. pTDefRegMap(@Self)^.clr := $00000002;
  15183. end;
  15184. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  15185. begin
  15186. if thebits = 0 then
  15187. pTDefRegMap(@Self)^.clr := $00000002
  15188. else
  15189. pTDefRegMap(@Self)^.&set := $00000002;
  15190. end;
  15191. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  15192. begin
  15193. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15194. end;
  15195. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  15196. begin
  15197. pTDefRegMap(@Self)^.&set := $00000004;
  15198. end;
  15199. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  15200. begin
  15201. pTDefRegMap(@Self)^.clr := $00000004;
  15202. end;
  15203. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  15204. begin
  15205. if thebits = 0 then
  15206. pTDefRegMap(@Self)^.clr := $00000004
  15207. else
  15208. pTDefRegMap(@Self)^.&set := $00000004;
  15209. end;
  15210. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  15211. begin
  15212. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15213. end;
  15214. procedure TI2C1_I2C1ASTAT.setS; inline;
  15215. begin
  15216. pTDefRegMap(@Self)^.&set := $00000008;
  15217. end;
  15218. procedure TI2C1_I2C1ASTAT.clearS; inline;
  15219. begin
  15220. pTDefRegMap(@Self)^.clr := $00000008;
  15221. end;
  15222. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  15223. begin
  15224. if thebits = 0 then
  15225. pTDefRegMap(@Self)^.clr := $00000008
  15226. else
  15227. pTDefRegMap(@Self)^.&set := $00000008;
  15228. end;
  15229. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  15230. begin
  15231. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15232. end;
  15233. procedure TI2C1_I2C1ASTAT.setP; inline;
  15234. begin
  15235. pTDefRegMap(@Self)^.&set := $00000010;
  15236. end;
  15237. procedure TI2C1_I2C1ASTAT.clearP; inline;
  15238. begin
  15239. pTDefRegMap(@Self)^.clr := $00000010;
  15240. end;
  15241. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  15242. begin
  15243. if thebits = 0 then
  15244. pTDefRegMap(@Self)^.clr := $00000010
  15245. else
  15246. pTDefRegMap(@Self)^.&set := $00000010;
  15247. end;
  15248. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  15249. begin
  15250. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15251. end;
  15252. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  15253. begin
  15254. pTDefRegMap(@Self)^.&set := $00000020;
  15255. end;
  15256. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  15257. begin
  15258. pTDefRegMap(@Self)^.clr := $00000020;
  15259. end;
  15260. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  15261. begin
  15262. if thebits = 0 then
  15263. pTDefRegMap(@Self)^.clr := $00000020
  15264. else
  15265. pTDefRegMap(@Self)^.&set := $00000020;
  15266. end;
  15267. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  15268. begin
  15269. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15270. end;
  15271. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  15272. begin
  15273. pTDefRegMap(@Self)^.&set := $00000040;
  15274. end;
  15275. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  15276. begin
  15277. pTDefRegMap(@Self)^.clr := $00000040;
  15278. end;
  15279. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  15280. begin
  15281. if thebits = 0 then
  15282. pTDefRegMap(@Self)^.clr := $00000040
  15283. else
  15284. pTDefRegMap(@Self)^.&set := $00000040;
  15285. end;
  15286. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  15287. begin
  15288. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15289. end;
  15290. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  15291. begin
  15292. pTDefRegMap(@Self)^.&set := $00000080;
  15293. end;
  15294. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  15295. begin
  15296. pTDefRegMap(@Self)^.clr := $00000080;
  15297. end;
  15298. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  15299. begin
  15300. if thebits = 0 then
  15301. pTDefRegMap(@Self)^.clr := $00000080
  15302. else
  15303. pTDefRegMap(@Self)^.&set := $00000080;
  15304. end;
  15305. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  15306. begin
  15307. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15308. end;
  15309. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  15310. begin
  15311. pTDefRegMap(@Self)^.&set := $00000100;
  15312. end;
  15313. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  15314. begin
  15315. pTDefRegMap(@Self)^.clr := $00000100;
  15316. end;
  15317. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  15318. begin
  15319. if thebits = 0 then
  15320. pTDefRegMap(@Self)^.clr := $00000100
  15321. else
  15322. pTDefRegMap(@Self)^.&set := $00000100;
  15323. end;
  15324. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  15325. begin
  15326. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15327. end;
  15328. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  15329. begin
  15330. pTDefRegMap(@Self)^.&set := $00000200;
  15331. end;
  15332. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  15333. begin
  15334. pTDefRegMap(@Self)^.clr := $00000200;
  15335. end;
  15336. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  15337. begin
  15338. if thebits = 0 then
  15339. pTDefRegMap(@Self)^.clr := $00000200
  15340. else
  15341. pTDefRegMap(@Self)^.&set := $00000200;
  15342. end;
  15343. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  15344. begin
  15345. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15346. end;
  15347. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  15348. begin
  15349. pTDefRegMap(@Self)^.&set := $00000400;
  15350. end;
  15351. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  15352. begin
  15353. pTDefRegMap(@Self)^.clr := $00000400;
  15354. end;
  15355. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  15356. begin
  15357. if thebits = 0 then
  15358. pTDefRegMap(@Self)^.clr := $00000400
  15359. else
  15360. pTDefRegMap(@Self)^.&set := $00000400;
  15361. end;
  15362. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  15363. begin
  15364. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15365. end;
  15366. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  15367. begin
  15368. pTDefRegMap(@Self)^.&set := $00004000;
  15369. end;
  15370. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  15371. begin
  15372. pTDefRegMap(@Self)^.clr := $00004000;
  15373. end;
  15374. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  15375. begin
  15376. if thebits = 0 then
  15377. pTDefRegMap(@Self)^.clr := $00004000
  15378. else
  15379. pTDefRegMap(@Self)^.&set := $00004000;
  15380. end;
  15381. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  15382. begin
  15383. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15384. end;
  15385. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  15386. begin
  15387. pTDefRegMap(@Self)^.&set := $00008000;
  15388. end;
  15389. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  15390. begin
  15391. pTDefRegMap(@Self)^.clr := $00008000;
  15392. end;
  15393. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  15394. begin
  15395. if thebits = 0 then
  15396. pTDefRegMap(@Self)^.clr := $00008000
  15397. else
  15398. pTDefRegMap(@Self)^.&set := $00008000;
  15399. end;
  15400. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  15401. begin
  15402. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15403. end;
  15404. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  15405. begin
  15406. pTDefRegMap(@Self)^.&set := $00000040;
  15407. end;
  15408. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  15409. begin
  15410. pTDefRegMap(@Self)^.clr := $00000040;
  15411. end;
  15412. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  15413. begin
  15414. if thebits = 0 then
  15415. pTDefRegMap(@Self)^.clr := $00000040
  15416. else
  15417. pTDefRegMap(@Self)^.&set := $00000040;
  15418. end;
  15419. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  15420. begin
  15421. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15422. end;
  15423. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  15424. begin
  15425. pTDefRegMap(@Self)^.val := thebits;
  15426. end;
  15427. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  15428. begin
  15429. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15430. end;
  15431. procedure TI2C1_I2C1STAT.setTBF; inline;
  15432. begin
  15433. pTDefRegMap(@Self)^.&set := $00000001;
  15434. end;
  15435. procedure TI2C1_I2C1STAT.clearTBF; inline;
  15436. begin
  15437. pTDefRegMap(@Self)^.clr := $00000001;
  15438. end;
  15439. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  15440. begin
  15441. if thebits = 0 then
  15442. pTDefRegMap(@Self)^.clr := $00000001
  15443. else
  15444. pTDefRegMap(@Self)^.&set := $00000001;
  15445. end;
  15446. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  15447. begin
  15448. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15449. end;
  15450. procedure TI2C1_I2C1STAT.setRBF; inline;
  15451. begin
  15452. pTDefRegMap(@Self)^.&set := $00000002;
  15453. end;
  15454. procedure TI2C1_I2C1STAT.clearRBF; inline;
  15455. begin
  15456. pTDefRegMap(@Self)^.clr := $00000002;
  15457. end;
  15458. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  15459. begin
  15460. if thebits = 0 then
  15461. pTDefRegMap(@Self)^.clr := $00000002
  15462. else
  15463. pTDefRegMap(@Self)^.&set := $00000002;
  15464. end;
  15465. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  15466. begin
  15467. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15468. end;
  15469. procedure TI2C1_I2C1STAT.setR_W; inline;
  15470. begin
  15471. pTDefRegMap(@Self)^.&set := $00000004;
  15472. end;
  15473. procedure TI2C1_I2C1STAT.clearR_W; inline;
  15474. begin
  15475. pTDefRegMap(@Self)^.clr := $00000004;
  15476. end;
  15477. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  15478. begin
  15479. if thebits = 0 then
  15480. pTDefRegMap(@Self)^.clr := $00000004
  15481. else
  15482. pTDefRegMap(@Self)^.&set := $00000004;
  15483. end;
  15484. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  15485. begin
  15486. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15487. end;
  15488. procedure TI2C1_I2C1STAT.setS; inline;
  15489. begin
  15490. pTDefRegMap(@Self)^.&set := $00000008;
  15491. end;
  15492. procedure TI2C1_I2C1STAT.clearS; inline;
  15493. begin
  15494. pTDefRegMap(@Self)^.clr := $00000008;
  15495. end;
  15496. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  15497. begin
  15498. if thebits = 0 then
  15499. pTDefRegMap(@Self)^.clr := $00000008
  15500. else
  15501. pTDefRegMap(@Self)^.&set := $00000008;
  15502. end;
  15503. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  15504. begin
  15505. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15506. end;
  15507. procedure TI2C1_I2C1STAT.setP; inline;
  15508. begin
  15509. pTDefRegMap(@Self)^.&set := $00000010;
  15510. end;
  15511. procedure TI2C1_I2C1STAT.clearP; inline;
  15512. begin
  15513. pTDefRegMap(@Self)^.clr := $00000010;
  15514. end;
  15515. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  15516. begin
  15517. if thebits = 0 then
  15518. pTDefRegMap(@Self)^.clr := $00000010
  15519. else
  15520. pTDefRegMap(@Self)^.&set := $00000010;
  15521. end;
  15522. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  15523. begin
  15524. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15525. end;
  15526. procedure TI2C1_I2C1STAT.setD_A; inline;
  15527. begin
  15528. pTDefRegMap(@Self)^.&set := $00000020;
  15529. end;
  15530. procedure TI2C1_I2C1STAT.clearD_A; inline;
  15531. begin
  15532. pTDefRegMap(@Self)^.clr := $00000020;
  15533. end;
  15534. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  15535. begin
  15536. if thebits = 0 then
  15537. pTDefRegMap(@Self)^.clr := $00000020
  15538. else
  15539. pTDefRegMap(@Self)^.&set := $00000020;
  15540. end;
  15541. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  15542. begin
  15543. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15544. end;
  15545. procedure TI2C1_I2C1STAT.setI2COV; inline;
  15546. begin
  15547. pTDefRegMap(@Self)^.&set := $00000040;
  15548. end;
  15549. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  15550. begin
  15551. pTDefRegMap(@Self)^.clr := $00000040;
  15552. end;
  15553. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  15554. begin
  15555. if thebits = 0 then
  15556. pTDefRegMap(@Self)^.clr := $00000040
  15557. else
  15558. pTDefRegMap(@Self)^.&set := $00000040;
  15559. end;
  15560. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  15561. begin
  15562. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15563. end;
  15564. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  15565. begin
  15566. pTDefRegMap(@Self)^.&set := $00000080;
  15567. end;
  15568. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  15569. begin
  15570. pTDefRegMap(@Self)^.clr := $00000080;
  15571. end;
  15572. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  15573. begin
  15574. if thebits = 0 then
  15575. pTDefRegMap(@Self)^.clr := $00000080
  15576. else
  15577. pTDefRegMap(@Self)^.&set := $00000080;
  15578. end;
  15579. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  15580. begin
  15581. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15582. end;
  15583. procedure TI2C1_I2C1STAT.setADD10; inline;
  15584. begin
  15585. pTDefRegMap(@Self)^.&set := $00000100;
  15586. end;
  15587. procedure TI2C1_I2C1STAT.clearADD10; inline;
  15588. begin
  15589. pTDefRegMap(@Self)^.clr := $00000100;
  15590. end;
  15591. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  15592. begin
  15593. if thebits = 0 then
  15594. pTDefRegMap(@Self)^.clr := $00000100
  15595. else
  15596. pTDefRegMap(@Self)^.&set := $00000100;
  15597. end;
  15598. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  15599. begin
  15600. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15601. end;
  15602. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  15603. begin
  15604. pTDefRegMap(@Self)^.&set := $00000200;
  15605. end;
  15606. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  15607. begin
  15608. pTDefRegMap(@Self)^.clr := $00000200;
  15609. end;
  15610. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  15611. begin
  15612. if thebits = 0 then
  15613. pTDefRegMap(@Self)^.clr := $00000200
  15614. else
  15615. pTDefRegMap(@Self)^.&set := $00000200;
  15616. end;
  15617. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  15618. begin
  15619. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15620. end;
  15621. procedure TI2C1_I2C1STAT.setBCL; inline;
  15622. begin
  15623. pTDefRegMap(@Self)^.&set := $00000400;
  15624. end;
  15625. procedure TI2C1_I2C1STAT.clearBCL; inline;
  15626. begin
  15627. pTDefRegMap(@Self)^.clr := $00000400;
  15628. end;
  15629. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  15630. begin
  15631. if thebits = 0 then
  15632. pTDefRegMap(@Self)^.clr := $00000400
  15633. else
  15634. pTDefRegMap(@Self)^.&set := $00000400;
  15635. end;
  15636. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  15637. begin
  15638. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15639. end;
  15640. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  15641. begin
  15642. pTDefRegMap(@Self)^.&set := $00004000;
  15643. end;
  15644. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  15645. begin
  15646. pTDefRegMap(@Self)^.clr := $00004000;
  15647. end;
  15648. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  15649. begin
  15650. if thebits = 0 then
  15651. pTDefRegMap(@Self)^.clr := $00004000
  15652. else
  15653. pTDefRegMap(@Self)^.&set := $00004000;
  15654. end;
  15655. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  15656. begin
  15657. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15658. end;
  15659. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  15660. begin
  15661. pTDefRegMap(@Self)^.&set := $00008000;
  15662. end;
  15663. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  15664. begin
  15665. pTDefRegMap(@Self)^.clr := $00008000;
  15666. end;
  15667. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  15668. begin
  15669. if thebits = 0 then
  15670. pTDefRegMap(@Self)^.clr := $00008000
  15671. else
  15672. pTDefRegMap(@Self)^.&set := $00008000;
  15673. end;
  15674. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  15675. begin
  15676. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15677. end;
  15678. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  15679. begin
  15680. pTDefRegMap(@Self)^.&set := $00000040;
  15681. end;
  15682. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  15683. begin
  15684. pTDefRegMap(@Self)^.clr := $00000040;
  15685. end;
  15686. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  15687. begin
  15688. if thebits = 0 then
  15689. pTDefRegMap(@Self)^.clr := $00000040
  15690. else
  15691. pTDefRegMap(@Self)^.&set := $00000040;
  15692. end;
  15693. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  15694. begin
  15695. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15696. end;
  15697. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  15698. begin
  15699. pTDefRegMap(@Self)^.val := thebits;
  15700. end;
  15701. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  15702. begin
  15703. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15704. end;
  15705. procedure TI2C2_I2C2ACON.setSEN; inline;
  15706. begin
  15707. pTDefRegMap(@Self)^.&set := $00000001;
  15708. end;
  15709. procedure TI2C2_I2C2ACON.clearSEN; inline;
  15710. begin
  15711. pTDefRegMap(@Self)^.clr := $00000001;
  15712. end;
  15713. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  15714. begin
  15715. if thebits = 0 then
  15716. pTDefRegMap(@Self)^.clr := $00000001
  15717. else
  15718. pTDefRegMap(@Self)^.&set := $00000001;
  15719. end;
  15720. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  15721. begin
  15722. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15723. end;
  15724. procedure TI2C2_I2C2ACON.setRSEN; inline;
  15725. begin
  15726. pTDefRegMap(@Self)^.&set := $00000002;
  15727. end;
  15728. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  15729. begin
  15730. pTDefRegMap(@Self)^.clr := $00000002;
  15731. end;
  15732. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  15733. begin
  15734. if thebits = 0 then
  15735. pTDefRegMap(@Self)^.clr := $00000002
  15736. else
  15737. pTDefRegMap(@Self)^.&set := $00000002;
  15738. end;
  15739. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  15740. begin
  15741. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15742. end;
  15743. procedure TI2C2_I2C2ACON.setPEN; inline;
  15744. begin
  15745. pTDefRegMap(@Self)^.&set := $00000004;
  15746. end;
  15747. procedure TI2C2_I2C2ACON.clearPEN; inline;
  15748. begin
  15749. pTDefRegMap(@Self)^.clr := $00000004;
  15750. end;
  15751. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  15752. begin
  15753. if thebits = 0 then
  15754. pTDefRegMap(@Self)^.clr := $00000004
  15755. else
  15756. pTDefRegMap(@Self)^.&set := $00000004;
  15757. end;
  15758. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  15759. begin
  15760. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15761. end;
  15762. procedure TI2C2_I2C2ACON.setRCEN; inline;
  15763. begin
  15764. pTDefRegMap(@Self)^.&set := $00000008;
  15765. end;
  15766. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  15767. begin
  15768. pTDefRegMap(@Self)^.clr := $00000008;
  15769. end;
  15770. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  15771. begin
  15772. if thebits = 0 then
  15773. pTDefRegMap(@Self)^.clr := $00000008
  15774. else
  15775. pTDefRegMap(@Self)^.&set := $00000008;
  15776. end;
  15777. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  15778. begin
  15779. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15780. end;
  15781. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15782. begin
  15783. pTDefRegMap(@Self)^.&set := $00000010;
  15784. end;
  15785. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15786. begin
  15787. pTDefRegMap(@Self)^.clr := $00000010;
  15788. end;
  15789. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15790. begin
  15791. if thebits = 0 then
  15792. pTDefRegMap(@Self)^.clr := $00000010
  15793. else
  15794. pTDefRegMap(@Self)^.&set := $00000010;
  15795. end;
  15796. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15797. begin
  15798. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15799. end;
  15800. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15801. begin
  15802. pTDefRegMap(@Self)^.&set := $00000020;
  15803. end;
  15804. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15805. begin
  15806. pTDefRegMap(@Self)^.clr := $00000020;
  15807. end;
  15808. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15809. begin
  15810. if thebits = 0 then
  15811. pTDefRegMap(@Self)^.clr := $00000020
  15812. else
  15813. pTDefRegMap(@Self)^.&set := $00000020;
  15814. end;
  15815. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15816. begin
  15817. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15818. end;
  15819. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15820. begin
  15821. pTDefRegMap(@Self)^.&set := $00000040;
  15822. end;
  15823. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15824. begin
  15825. pTDefRegMap(@Self)^.clr := $00000040;
  15826. end;
  15827. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15828. begin
  15829. if thebits = 0 then
  15830. pTDefRegMap(@Self)^.clr := $00000040
  15831. else
  15832. pTDefRegMap(@Self)^.&set := $00000040;
  15833. end;
  15834. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15835. begin
  15836. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15837. end;
  15838. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15839. begin
  15840. pTDefRegMap(@Self)^.&set := $00000080;
  15841. end;
  15842. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15843. begin
  15844. pTDefRegMap(@Self)^.clr := $00000080;
  15845. end;
  15846. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15847. begin
  15848. if thebits = 0 then
  15849. pTDefRegMap(@Self)^.clr := $00000080
  15850. else
  15851. pTDefRegMap(@Self)^.&set := $00000080;
  15852. end;
  15853. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15854. begin
  15855. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15856. end;
  15857. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15858. begin
  15859. pTDefRegMap(@Self)^.&set := $00000100;
  15860. end;
  15861. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15862. begin
  15863. pTDefRegMap(@Self)^.clr := $00000100;
  15864. end;
  15865. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15866. begin
  15867. if thebits = 0 then
  15868. pTDefRegMap(@Self)^.clr := $00000100
  15869. else
  15870. pTDefRegMap(@Self)^.&set := $00000100;
  15871. end;
  15872. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15873. begin
  15874. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15875. end;
  15876. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15877. begin
  15878. pTDefRegMap(@Self)^.&set := $00000200;
  15879. end;
  15880. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15881. begin
  15882. pTDefRegMap(@Self)^.clr := $00000200;
  15883. end;
  15884. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15885. begin
  15886. if thebits = 0 then
  15887. pTDefRegMap(@Self)^.clr := $00000200
  15888. else
  15889. pTDefRegMap(@Self)^.&set := $00000200;
  15890. end;
  15891. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15892. begin
  15893. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15894. end;
  15895. procedure TI2C2_I2C2ACON.setA10M; inline;
  15896. begin
  15897. pTDefRegMap(@Self)^.&set := $00000400;
  15898. end;
  15899. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15900. begin
  15901. pTDefRegMap(@Self)^.clr := $00000400;
  15902. end;
  15903. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15904. begin
  15905. if thebits = 0 then
  15906. pTDefRegMap(@Self)^.clr := $00000400
  15907. else
  15908. pTDefRegMap(@Self)^.&set := $00000400;
  15909. end;
  15910. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15911. begin
  15912. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15913. end;
  15914. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15915. begin
  15916. pTDefRegMap(@Self)^.&set := $00000800;
  15917. end;
  15918. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15919. begin
  15920. pTDefRegMap(@Self)^.clr := $00000800;
  15921. end;
  15922. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15923. begin
  15924. if thebits = 0 then
  15925. pTDefRegMap(@Self)^.clr := $00000800
  15926. else
  15927. pTDefRegMap(@Self)^.&set := $00000800;
  15928. end;
  15929. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15930. begin
  15931. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15932. end;
  15933. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15934. begin
  15935. pTDefRegMap(@Self)^.&set := $00001000;
  15936. end;
  15937. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15938. begin
  15939. pTDefRegMap(@Self)^.clr := $00001000;
  15940. end;
  15941. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15942. begin
  15943. if thebits = 0 then
  15944. pTDefRegMap(@Self)^.clr := $00001000
  15945. else
  15946. pTDefRegMap(@Self)^.&set := $00001000;
  15947. end;
  15948. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15949. begin
  15950. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15951. end;
  15952. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15953. begin
  15954. pTDefRegMap(@Self)^.&set := $00002000;
  15955. end;
  15956. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15957. begin
  15958. pTDefRegMap(@Self)^.clr := $00002000;
  15959. end;
  15960. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15961. begin
  15962. if thebits = 0 then
  15963. pTDefRegMap(@Self)^.clr := $00002000
  15964. else
  15965. pTDefRegMap(@Self)^.&set := $00002000;
  15966. end;
  15967. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15968. begin
  15969. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15970. end;
  15971. procedure TI2C2_I2C2ACON.setON; inline;
  15972. begin
  15973. pTDefRegMap(@Self)^.&set := $00008000;
  15974. end;
  15975. procedure TI2C2_I2C2ACON.clearON; inline;
  15976. begin
  15977. pTDefRegMap(@Self)^.clr := $00008000;
  15978. end;
  15979. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15980. begin
  15981. if thebits = 0 then
  15982. pTDefRegMap(@Self)^.clr := $00008000
  15983. else
  15984. pTDefRegMap(@Self)^.&set := $00008000;
  15985. end;
  15986. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15987. begin
  15988. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15989. end;
  15990. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15991. begin
  15992. pTDefRegMap(@Self)^.&set := $00000800;
  15993. end;
  15994. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15995. begin
  15996. pTDefRegMap(@Self)^.clr := $00000800;
  15997. end;
  15998. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15999. begin
  16000. if thebits = 0 then
  16001. pTDefRegMap(@Self)^.clr := $00000800
  16002. else
  16003. pTDefRegMap(@Self)^.&set := $00000800;
  16004. end;
  16005. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  16006. begin
  16007. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16008. end;
  16009. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  16010. begin
  16011. pTDefRegMap(@Self)^.&set := $00002000;
  16012. end;
  16013. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  16014. begin
  16015. pTDefRegMap(@Self)^.clr := $00002000;
  16016. end;
  16017. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  16018. begin
  16019. if thebits = 0 then
  16020. pTDefRegMap(@Self)^.clr := $00002000
  16021. else
  16022. pTDefRegMap(@Self)^.&set := $00002000;
  16023. end;
  16024. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  16025. begin
  16026. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16027. end;
  16028. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  16029. begin
  16030. pTDefRegMap(@Self)^.&set := $00008000;
  16031. end;
  16032. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  16033. begin
  16034. pTDefRegMap(@Self)^.clr := $00008000;
  16035. end;
  16036. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  16037. begin
  16038. if thebits = 0 then
  16039. pTDefRegMap(@Self)^.clr := $00008000
  16040. else
  16041. pTDefRegMap(@Self)^.&set := $00008000;
  16042. end;
  16043. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  16044. begin
  16045. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16046. end;
  16047. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  16048. begin
  16049. pTDefRegMap(@Self)^.val := thebits;
  16050. end;
  16051. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  16052. begin
  16053. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16054. end;
  16055. procedure TI2C2_I2C2CON.setSEN; inline;
  16056. begin
  16057. pTDefRegMap(@Self)^.&set := $00000001;
  16058. end;
  16059. procedure TI2C2_I2C2CON.clearSEN; inline;
  16060. begin
  16061. pTDefRegMap(@Self)^.clr := $00000001;
  16062. end;
  16063. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  16064. begin
  16065. if thebits = 0 then
  16066. pTDefRegMap(@Self)^.clr := $00000001
  16067. else
  16068. pTDefRegMap(@Self)^.&set := $00000001;
  16069. end;
  16070. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  16071. begin
  16072. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16073. end;
  16074. procedure TI2C2_I2C2CON.setRSEN; inline;
  16075. begin
  16076. pTDefRegMap(@Self)^.&set := $00000002;
  16077. end;
  16078. procedure TI2C2_I2C2CON.clearRSEN; inline;
  16079. begin
  16080. pTDefRegMap(@Self)^.clr := $00000002;
  16081. end;
  16082. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  16083. begin
  16084. if thebits = 0 then
  16085. pTDefRegMap(@Self)^.clr := $00000002
  16086. else
  16087. pTDefRegMap(@Self)^.&set := $00000002;
  16088. end;
  16089. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  16090. begin
  16091. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16092. end;
  16093. procedure TI2C2_I2C2CON.setPEN; inline;
  16094. begin
  16095. pTDefRegMap(@Self)^.&set := $00000004;
  16096. end;
  16097. procedure TI2C2_I2C2CON.clearPEN; inline;
  16098. begin
  16099. pTDefRegMap(@Self)^.clr := $00000004;
  16100. end;
  16101. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  16102. begin
  16103. if thebits = 0 then
  16104. pTDefRegMap(@Self)^.clr := $00000004
  16105. else
  16106. pTDefRegMap(@Self)^.&set := $00000004;
  16107. end;
  16108. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  16109. begin
  16110. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16111. end;
  16112. procedure TI2C2_I2C2CON.setRCEN; inline;
  16113. begin
  16114. pTDefRegMap(@Self)^.&set := $00000008;
  16115. end;
  16116. procedure TI2C2_I2C2CON.clearRCEN; inline;
  16117. begin
  16118. pTDefRegMap(@Self)^.clr := $00000008;
  16119. end;
  16120. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  16121. begin
  16122. if thebits = 0 then
  16123. pTDefRegMap(@Self)^.clr := $00000008
  16124. else
  16125. pTDefRegMap(@Self)^.&set := $00000008;
  16126. end;
  16127. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  16128. begin
  16129. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16130. end;
  16131. procedure TI2C2_I2C2CON.setACKEN; inline;
  16132. begin
  16133. pTDefRegMap(@Self)^.&set := $00000010;
  16134. end;
  16135. procedure TI2C2_I2C2CON.clearACKEN; inline;
  16136. begin
  16137. pTDefRegMap(@Self)^.clr := $00000010;
  16138. end;
  16139. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  16140. begin
  16141. if thebits = 0 then
  16142. pTDefRegMap(@Self)^.clr := $00000010
  16143. else
  16144. pTDefRegMap(@Self)^.&set := $00000010;
  16145. end;
  16146. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  16147. begin
  16148. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16149. end;
  16150. procedure TI2C2_I2C2CON.setACKDT; inline;
  16151. begin
  16152. pTDefRegMap(@Self)^.&set := $00000020;
  16153. end;
  16154. procedure TI2C2_I2C2CON.clearACKDT; inline;
  16155. begin
  16156. pTDefRegMap(@Self)^.clr := $00000020;
  16157. end;
  16158. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  16159. begin
  16160. if thebits = 0 then
  16161. pTDefRegMap(@Self)^.clr := $00000020
  16162. else
  16163. pTDefRegMap(@Self)^.&set := $00000020;
  16164. end;
  16165. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  16166. begin
  16167. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16168. end;
  16169. procedure TI2C2_I2C2CON.setSTREN; inline;
  16170. begin
  16171. pTDefRegMap(@Self)^.&set := $00000040;
  16172. end;
  16173. procedure TI2C2_I2C2CON.clearSTREN; inline;
  16174. begin
  16175. pTDefRegMap(@Self)^.clr := $00000040;
  16176. end;
  16177. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  16178. begin
  16179. if thebits = 0 then
  16180. pTDefRegMap(@Self)^.clr := $00000040
  16181. else
  16182. pTDefRegMap(@Self)^.&set := $00000040;
  16183. end;
  16184. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  16185. begin
  16186. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16187. end;
  16188. procedure TI2C2_I2C2CON.setGCEN; inline;
  16189. begin
  16190. pTDefRegMap(@Self)^.&set := $00000080;
  16191. end;
  16192. procedure TI2C2_I2C2CON.clearGCEN; inline;
  16193. begin
  16194. pTDefRegMap(@Self)^.clr := $00000080;
  16195. end;
  16196. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  16197. begin
  16198. if thebits = 0 then
  16199. pTDefRegMap(@Self)^.clr := $00000080
  16200. else
  16201. pTDefRegMap(@Self)^.&set := $00000080;
  16202. end;
  16203. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  16204. begin
  16205. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16206. end;
  16207. procedure TI2C2_I2C2CON.setSMEN; inline;
  16208. begin
  16209. pTDefRegMap(@Self)^.&set := $00000100;
  16210. end;
  16211. procedure TI2C2_I2C2CON.clearSMEN; inline;
  16212. begin
  16213. pTDefRegMap(@Self)^.clr := $00000100;
  16214. end;
  16215. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  16216. begin
  16217. if thebits = 0 then
  16218. pTDefRegMap(@Self)^.clr := $00000100
  16219. else
  16220. pTDefRegMap(@Self)^.&set := $00000100;
  16221. end;
  16222. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  16223. begin
  16224. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16225. end;
  16226. procedure TI2C2_I2C2CON.setDISSLW; inline;
  16227. begin
  16228. pTDefRegMap(@Self)^.&set := $00000200;
  16229. end;
  16230. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  16231. begin
  16232. pTDefRegMap(@Self)^.clr := $00000200;
  16233. end;
  16234. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  16235. begin
  16236. if thebits = 0 then
  16237. pTDefRegMap(@Self)^.clr := $00000200
  16238. else
  16239. pTDefRegMap(@Self)^.&set := $00000200;
  16240. end;
  16241. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  16242. begin
  16243. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16244. end;
  16245. procedure TI2C2_I2C2CON.setA10M; inline;
  16246. begin
  16247. pTDefRegMap(@Self)^.&set := $00000400;
  16248. end;
  16249. procedure TI2C2_I2C2CON.clearA10M; inline;
  16250. begin
  16251. pTDefRegMap(@Self)^.clr := $00000400;
  16252. end;
  16253. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  16254. begin
  16255. if thebits = 0 then
  16256. pTDefRegMap(@Self)^.clr := $00000400
  16257. else
  16258. pTDefRegMap(@Self)^.&set := $00000400;
  16259. end;
  16260. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  16261. begin
  16262. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16263. end;
  16264. procedure TI2C2_I2C2CON.setSTRICT; inline;
  16265. begin
  16266. pTDefRegMap(@Self)^.&set := $00000800;
  16267. end;
  16268. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  16269. begin
  16270. pTDefRegMap(@Self)^.clr := $00000800;
  16271. end;
  16272. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  16273. begin
  16274. if thebits = 0 then
  16275. pTDefRegMap(@Self)^.clr := $00000800
  16276. else
  16277. pTDefRegMap(@Self)^.&set := $00000800;
  16278. end;
  16279. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  16280. begin
  16281. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16282. end;
  16283. procedure TI2C2_I2C2CON.setSCLREL; inline;
  16284. begin
  16285. pTDefRegMap(@Self)^.&set := $00001000;
  16286. end;
  16287. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  16288. begin
  16289. pTDefRegMap(@Self)^.clr := $00001000;
  16290. end;
  16291. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  16292. begin
  16293. if thebits = 0 then
  16294. pTDefRegMap(@Self)^.clr := $00001000
  16295. else
  16296. pTDefRegMap(@Self)^.&set := $00001000;
  16297. end;
  16298. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  16299. begin
  16300. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16301. end;
  16302. procedure TI2C2_I2C2CON.setSIDL; inline;
  16303. begin
  16304. pTDefRegMap(@Self)^.&set := $00002000;
  16305. end;
  16306. procedure TI2C2_I2C2CON.clearSIDL; inline;
  16307. begin
  16308. pTDefRegMap(@Self)^.clr := $00002000;
  16309. end;
  16310. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  16311. begin
  16312. if thebits = 0 then
  16313. pTDefRegMap(@Self)^.clr := $00002000
  16314. else
  16315. pTDefRegMap(@Self)^.&set := $00002000;
  16316. end;
  16317. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  16318. begin
  16319. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16320. end;
  16321. procedure TI2C2_I2C2CON.setON; inline;
  16322. begin
  16323. pTDefRegMap(@Self)^.&set := $00008000;
  16324. end;
  16325. procedure TI2C2_I2C2CON.clearON; inline;
  16326. begin
  16327. pTDefRegMap(@Self)^.clr := $00008000;
  16328. end;
  16329. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  16330. begin
  16331. if thebits = 0 then
  16332. pTDefRegMap(@Self)^.clr := $00008000
  16333. else
  16334. pTDefRegMap(@Self)^.&set := $00008000;
  16335. end;
  16336. function TI2C2_I2C2CON.getON : TBits_1; inline;
  16337. begin
  16338. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16339. end;
  16340. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  16341. begin
  16342. pTDefRegMap(@Self)^.&set := $00000800;
  16343. end;
  16344. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  16345. begin
  16346. pTDefRegMap(@Self)^.clr := $00000800;
  16347. end;
  16348. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  16349. begin
  16350. if thebits = 0 then
  16351. pTDefRegMap(@Self)^.clr := $00000800
  16352. else
  16353. pTDefRegMap(@Self)^.&set := $00000800;
  16354. end;
  16355. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  16356. begin
  16357. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16358. end;
  16359. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  16360. begin
  16361. pTDefRegMap(@Self)^.&set := $00002000;
  16362. end;
  16363. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  16364. begin
  16365. pTDefRegMap(@Self)^.clr := $00002000;
  16366. end;
  16367. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  16368. begin
  16369. if thebits = 0 then
  16370. pTDefRegMap(@Self)^.clr := $00002000
  16371. else
  16372. pTDefRegMap(@Self)^.&set := $00002000;
  16373. end;
  16374. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  16375. begin
  16376. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16377. end;
  16378. procedure TI2C2_I2C2CON.setI2CEN; inline;
  16379. begin
  16380. pTDefRegMap(@Self)^.&set := $00008000;
  16381. end;
  16382. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  16383. begin
  16384. pTDefRegMap(@Self)^.clr := $00008000;
  16385. end;
  16386. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  16387. begin
  16388. if thebits = 0 then
  16389. pTDefRegMap(@Self)^.clr := $00008000
  16390. else
  16391. pTDefRegMap(@Self)^.&set := $00008000;
  16392. end;
  16393. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  16394. begin
  16395. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16396. end;
  16397. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  16398. begin
  16399. pTDefRegMap(@Self)^.val := thebits;
  16400. end;
  16401. function TI2C2_I2C2CON.getw : TBits_32; inline;
  16402. begin
  16403. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16404. end;
  16405. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  16406. begin
  16407. pTDefRegMap(@Self)^.&set := $00000001;
  16408. end;
  16409. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  16410. begin
  16411. pTDefRegMap(@Self)^.clr := $00000001;
  16412. end;
  16413. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  16414. begin
  16415. if thebits = 0 then
  16416. pTDefRegMap(@Self)^.clr := $00000001
  16417. else
  16418. pTDefRegMap(@Self)^.&set := $00000001;
  16419. end;
  16420. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  16421. begin
  16422. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16423. end;
  16424. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  16425. begin
  16426. pTDefRegMap(@Self)^.&set := $00000002;
  16427. end;
  16428. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  16429. begin
  16430. pTDefRegMap(@Self)^.clr := $00000002;
  16431. end;
  16432. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  16433. begin
  16434. if thebits = 0 then
  16435. pTDefRegMap(@Self)^.clr := $00000002
  16436. else
  16437. pTDefRegMap(@Self)^.&set := $00000002;
  16438. end;
  16439. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  16440. begin
  16441. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16442. end;
  16443. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  16444. begin
  16445. pTDefRegMap(@Self)^.&set := $00000004;
  16446. end;
  16447. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  16448. begin
  16449. pTDefRegMap(@Self)^.clr := $00000004;
  16450. end;
  16451. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  16452. begin
  16453. if thebits = 0 then
  16454. pTDefRegMap(@Self)^.clr := $00000004
  16455. else
  16456. pTDefRegMap(@Self)^.&set := $00000004;
  16457. end;
  16458. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  16459. begin
  16460. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16461. end;
  16462. procedure TI2C2_I2C2ASTAT.setS; inline;
  16463. begin
  16464. pTDefRegMap(@Self)^.&set := $00000008;
  16465. end;
  16466. procedure TI2C2_I2C2ASTAT.clearS; inline;
  16467. begin
  16468. pTDefRegMap(@Self)^.clr := $00000008;
  16469. end;
  16470. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  16471. begin
  16472. if thebits = 0 then
  16473. pTDefRegMap(@Self)^.clr := $00000008
  16474. else
  16475. pTDefRegMap(@Self)^.&set := $00000008;
  16476. end;
  16477. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  16478. begin
  16479. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16480. end;
  16481. procedure TI2C2_I2C2ASTAT.setP; inline;
  16482. begin
  16483. pTDefRegMap(@Self)^.&set := $00000010;
  16484. end;
  16485. procedure TI2C2_I2C2ASTAT.clearP; inline;
  16486. begin
  16487. pTDefRegMap(@Self)^.clr := $00000010;
  16488. end;
  16489. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  16490. begin
  16491. if thebits = 0 then
  16492. pTDefRegMap(@Self)^.clr := $00000010
  16493. else
  16494. pTDefRegMap(@Self)^.&set := $00000010;
  16495. end;
  16496. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  16497. begin
  16498. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16499. end;
  16500. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  16501. begin
  16502. pTDefRegMap(@Self)^.&set := $00000020;
  16503. end;
  16504. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  16505. begin
  16506. pTDefRegMap(@Self)^.clr := $00000020;
  16507. end;
  16508. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  16509. begin
  16510. if thebits = 0 then
  16511. pTDefRegMap(@Self)^.clr := $00000020
  16512. else
  16513. pTDefRegMap(@Self)^.&set := $00000020;
  16514. end;
  16515. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  16516. begin
  16517. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16518. end;
  16519. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  16520. begin
  16521. pTDefRegMap(@Self)^.&set := $00000040;
  16522. end;
  16523. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  16524. begin
  16525. pTDefRegMap(@Self)^.clr := $00000040;
  16526. end;
  16527. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  16528. begin
  16529. if thebits = 0 then
  16530. pTDefRegMap(@Self)^.clr := $00000040
  16531. else
  16532. pTDefRegMap(@Self)^.&set := $00000040;
  16533. end;
  16534. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  16535. begin
  16536. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16537. end;
  16538. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  16539. begin
  16540. pTDefRegMap(@Self)^.&set := $00000080;
  16541. end;
  16542. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  16543. begin
  16544. pTDefRegMap(@Self)^.clr := $00000080;
  16545. end;
  16546. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  16547. begin
  16548. if thebits = 0 then
  16549. pTDefRegMap(@Self)^.clr := $00000080
  16550. else
  16551. pTDefRegMap(@Self)^.&set := $00000080;
  16552. end;
  16553. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  16554. begin
  16555. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16556. end;
  16557. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  16558. begin
  16559. pTDefRegMap(@Self)^.&set := $00000100;
  16560. end;
  16561. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  16562. begin
  16563. pTDefRegMap(@Self)^.clr := $00000100;
  16564. end;
  16565. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  16566. begin
  16567. if thebits = 0 then
  16568. pTDefRegMap(@Self)^.clr := $00000100
  16569. else
  16570. pTDefRegMap(@Self)^.&set := $00000100;
  16571. end;
  16572. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  16573. begin
  16574. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16575. end;
  16576. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  16577. begin
  16578. pTDefRegMap(@Self)^.&set := $00000200;
  16579. end;
  16580. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  16581. begin
  16582. pTDefRegMap(@Self)^.clr := $00000200;
  16583. end;
  16584. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  16585. begin
  16586. if thebits = 0 then
  16587. pTDefRegMap(@Self)^.clr := $00000200
  16588. else
  16589. pTDefRegMap(@Self)^.&set := $00000200;
  16590. end;
  16591. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  16592. begin
  16593. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16594. end;
  16595. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  16596. begin
  16597. pTDefRegMap(@Self)^.&set := $00000400;
  16598. end;
  16599. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  16600. begin
  16601. pTDefRegMap(@Self)^.clr := $00000400;
  16602. end;
  16603. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  16604. begin
  16605. if thebits = 0 then
  16606. pTDefRegMap(@Self)^.clr := $00000400
  16607. else
  16608. pTDefRegMap(@Self)^.&set := $00000400;
  16609. end;
  16610. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  16611. begin
  16612. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16613. end;
  16614. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  16615. begin
  16616. pTDefRegMap(@Self)^.&set := $00004000;
  16617. end;
  16618. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  16619. begin
  16620. pTDefRegMap(@Self)^.clr := $00004000;
  16621. end;
  16622. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  16623. begin
  16624. if thebits = 0 then
  16625. pTDefRegMap(@Self)^.clr := $00004000
  16626. else
  16627. pTDefRegMap(@Self)^.&set := $00004000;
  16628. end;
  16629. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  16630. begin
  16631. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16632. end;
  16633. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  16634. begin
  16635. pTDefRegMap(@Self)^.&set := $00008000;
  16636. end;
  16637. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  16638. begin
  16639. pTDefRegMap(@Self)^.clr := $00008000;
  16640. end;
  16641. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  16642. begin
  16643. if thebits = 0 then
  16644. pTDefRegMap(@Self)^.clr := $00008000
  16645. else
  16646. pTDefRegMap(@Self)^.&set := $00008000;
  16647. end;
  16648. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  16649. begin
  16650. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16651. end;
  16652. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  16653. begin
  16654. pTDefRegMap(@Self)^.&set := $00000040;
  16655. end;
  16656. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  16657. begin
  16658. pTDefRegMap(@Self)^.clr := $00000040;
  16659. end;
  16660. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  16661. begin
  16662. if thebits = 0 then
  16663. pTDefRegMap(@Self)^.clr := $00000040
  16664. else
  16665. pTDefRegMap(@Self)^.&set := $00000040;
  16666. end;
  16667. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  16668. begin
  16669. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16670. end;
  16671. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  16672. begin
  16673. pTDefRegMap(@Self)^.val := thebits;
  16674. end;
  16675. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  16676. begin
  16677. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16678. end;
  16679. procedure TI2C2_I2C2STAT.setTBF; inline;
  16680. begin
  16681. pTDefRegMap(@Self)^.&set := $00000001;
  16682. end;
  16683. procedure TI2C2_I2C2STAT.clearTBF; inline;
  16684. begin
  16685. pTDefRegMap(@Self)^.clr := $00000001;
  16686. end;
  16687. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  16688. begin
  16689. if thebits = 0 then
  16690. pTDefRegMap(@Self)^.clr := $00000001
  16691. else
  16692. pTDefRegMap(@Self)^.&set := $00000001;
  16693. end;
  16694. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  16695. begin
  16696. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16697. end;
  16698. procedure TI2C2_I2C2STAT.setRBF; inline;
  16699. begin
  16700. pTDefRegMap(@Self)^.&set := $00000002;
  16701. end;
  16702. procedure TI2C2_I2C2STAT.clearRBF; inline;
  16703. begin
  16704. pTDefRegMap(@Self)^.clr := $00000002;
  16705. end;
  16706. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  16707. begin
  16708. if thebits = 0 then
  16709. pTDefRegMap(@Self)^.clr := $00000002
  16710. else
  16711. pTDefRegMap(@Self)^.&set := $00000002;
  16712. end;
  16713. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  16714. begin
  16715. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16716. end;
  16717. procedure TI2C2_I2C2STAT.setR_W; inline;
  16718. begin
  16719. pTDefRegMap(@Self)^.&set := $00000004;
  16720. end;
  16721. procedure TI2C2_I2C2STAT.clearR_W; inline;
  16722. begin
  16723. pTDefRegMap(@Self)^.clr := $00000004;
  16724. end;
  16725. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  16726. begin
  16727. if thebits = 0 then
  16728. pTDefRegMap(@Self)^.clr := $00000004
  16729. else
  16730. pTDefRegMap(@Self)^.&set := $00000004;
  16731. end;
  16732. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  16733. begin
  16734. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16735. end;
  16736. procedure TI2C2_I2C2STAT.setS; inline;
  16737. begin
  16738. pTDefRegMap(@Self)^.&set := $00000008;
  16739. end;
  16740. procedure TI2C2_I2C2STAT.clearS; inline;
  16741. begin
  16742. pTDefRegMap(@Self)^.clr := $00000008;
  16743. end;
  16744. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  16745. begin
  16746. if thebits = 0 then
  16747. pTDefRegMap(@Self)^.clr := $00000008
  16748. else
  16749. pTDefRegMap(@Self)^.&set := $00000008;
  16750. end;
  16751. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  16752. begin
  16753. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16754. end;
  16755. procedure TI2C2_I2C2STAT.setP; inline;
  16756. begin
  16757. pTDefRegMap(@Self)^.&set := $00000010;
  16758. end;
  16759. procedure TI2C2_I2C2STAT.clearP; inline;
  16760. begin
  16761. pTDefRegMap(@Self)^.clr := $00000010;
  16762. end;
  16763. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  16764. begin
  16765. if thebits = 0 then
  16766. pTDefRegMap(@Self)^.clr := $00000010
  16767. else
  16768. pTDefRegMap(@Self)^.&set := $00000010;
  16769. end;
  16770. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  16771. begin
  16772. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16773. end;
  16774. procedure TI2C2_I2C2STAT.setD_A; inline;
  16775. begin
  16776. pTDefRegMap(@Self)^.&set := $00000020;
  16777. end;
  16778. procedure TI2C2_I2C2STAT.clearD_A; inline;
  16779. begin
  16780. pTDefRegMap(@Self)^.clr := $00000020;
  16781. end;
  16782. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16783. begin
  16784. if thebits = 0 then
  16785. pTDefRegMap(@Self)^.clr := $00000020
  16786. else
  16787. pTDefRegMap(@Self)^.&set := $00000020;
  16788. end;
  16789. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16790. begin
  16791. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16792. end;
  16793. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16794. begin
  16795. pTDefRegMap(@Self)^.&set := $00000040;
  16796. end;
  16797. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16798. begin
  16799. pTDefRegMap(@Self)^.clr := $00000040;
  16800. end;
  16801. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16802. begin
  16803. if thebits = 0 then
  16804. pTDefRegMap(@Self)^.clr := $00000040
  16805. else
  16806. pTDefRegMap(@Self)^.&set := $00000040;
  16807. end;
  16808. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16809. begin
  16810. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16811. end;
  16812. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16813. begin
  16814. pTDefRegMap(@Self)^.&set := $00000080;
  16815. end;
  16816. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16817. begin
  16818. pTDefRegMap(@Self)^.clr := $00000080;
  16819. end;
  16820. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16821. begin
  16822. if thebits = 0 then
  16823. pTDefRegMap(@Self)^.clr := $00000080
  16824. else
  16825. pTDefRegMap(@Self)^.&set := $00000080;
  16826. end;
  16827. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16828. begin
  16829. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16830. end;
  16831. procedure TI2C2_I2C2STAT.setADD10; inline;
  16832. begin
  16833. pTDefRegMap(@Self)^.&set := $00000100;
  16834. end;
  16835. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16836. begin
  16837. pTDefRegMap(@Self)^.clr := $00000100;
  16838. end;
  16839. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16840. begin
  16841. if thebits = 0 then
  16842. pTDefRegMap(@Self)^.clr := $00000100
  16843. else
  16844. pTDefRegMap(@Self)^.&set := $00000100;
  16845. end;
  16846. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16847. begin
  16848. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16849. end;
  16850. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16851. begin
  16852. pTDefRegMap(@Self)^.&set := $00000200;
  16853. end;
  16854. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16855. begin
  16856. pTDefRegMap(@Self)^.clr := $00000200;
  16857. end;
  16858. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16859. begin
  16860. if thebits = 0 then
  16861. pTDefRegMap(@Self)^.clr := $00000200
  16862. else
  16863. pTDefRegMap(@Self)^.&set := $00000200;
  16864. end;
  16865. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16866. begin
  16867. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16868. end;
  16869. procedure TI2C2_I2C2STAT.setBCL; inline;
  16870. begin
  16871. pTDefRegMap(@Self)^.&set := $00000400;
  16872. end;
  16873. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16874. begin
  16875. pTDefRegMap(@Self)^.clr := $00000400;
  16876. end;
  16877. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16878. begin
  16879. if thebits = 0 then
  16880. pTDefRegMap(@Self)^.clr := $00000400
  16881. else
  16882. pTDefRegMap(@Self)^.&set := $00000400;
  16883. end;
  16884. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16885. begin
  16886. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16887. end;
  16888. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16889. begin
  16890. pTDefRegMap(@Self)^.&set := $00004000;
  16891. end;
  16892. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16893. begin
  16894. pTDefRegMap(@Self)^.clr := $00004000;
  16895. end;
  16896. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16897. begin
  16898. if thebits = 0 then
  16899. pTDefRegMap(@Self)^.clr := $00004000
  16900. else
  16901. pTDefRegMap(@Self)^.&set := $00004000;
  16902. end;
  16903. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16904. begin
  16905. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16906. end;
  16907. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16908. begin
  16909. pTDefRegMap(@Self)^.&set := $00008000;
  16910. end;
  16911. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16912. begin
  16913. pTDefRegMap(@Self)^.clr := $00008000;
  16914. end;
  16915. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16916. begin
  16917. if thebits = 0 then
  16918. pTDefRegMap(@Self)^.clr := $00008000
  16919. else
  16920. pTDefRegMap(@Self)^.&set := $00008000;
  16921. end;
  16922. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16923. begin
  16924. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16925. end;
  16926. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16927. begin
  16928. pTDefRegMap(@Self)^.&set := $00000040;
  16929. end;
  16930. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16931. begin
  16932. pTDefRegMap(@Self)^.clr := $00000040;
  16933. end;
  16934. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16935. begin
  16936. if thebits = 0 then
  16937. pTDefRegMap(@Self)^.clr := $00000040
  16938. else
  16939. pTDefRegMap(@Self)^.&set := $00000040;
  16940. end;
  16941. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16942. begin
  16943. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16944. end;
  16945. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16946. begin
  16947. pTDefRegMap(@Self)^.val := thebits;
  16948. end;
  16949. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16950. begin
  16951. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16952. end;
  16953. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16954. begin
  16955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16956. end;
  16957. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16958. begin
  16959. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16960. end;
  16961. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16962. begin
  16963. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16964. end;
  16965. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16966. begin
  16967. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16968. end;
  16969. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16970. begin
  16971. pTDefRegMap(@Self)^.&set := $00000010;
  16972. end;
  16973. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16974. begin
  16975. pTDefRegMap(@Self)^.clr := $00000010;
  16976. end;
  16977. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16978. begin
  16979. if thebits = 0 then
  16980. pTDefRegMap(@Self)^.clr := $00000010
  16981. else
  16982. pTDefRegMap(@Self)^.&set := $00000010;
  16983. end;
  16984. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16985. begin
  16986. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16987. end;
  16988. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16989. begin
  16990. pTDefRegMap(@Self)^.&set := $00000020;
  16991. end;
  16992. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16993. begin
  16994. pTDefRegMap(@Self)^.clr := $00000020;
  16995. end;
  16996. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16997. begin
  16998. if thebits = 0 then
  16999. pTDefRegMap(@Self)^.clr := $00000020
  17000. else
  17001. pTDefRegMap(@Self)^.&set := $00000020;
  17002. end;
  17003. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  17004. begin
  17005. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17006. end;
  17007. procedure TSPI1_SPI1CON.setCKP; inline;
  17008. begin
  17009. pTDefRegMap(@Self)^.&set := $00000040;
  17010. end;
  17011. procedure TSPI1_SPI1CON.clearCKP; inline;
  17012. begin
  17013. pTDefRegMap(@Self)^.clr := $00000040;
  17014. end;
  17015. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  17016. begin
  17017. if thebits = 0 then
  17018. pTDefRegMap(@Self)^.clr := $00000040
  17019. else
  17020. pTDefRegMap(@Self)^.&set := $00000040;
  17021. end;
  17022. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  17023. begin
  17024. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17025. end;
  17026. procedure TSPI1_SPI1CON.setSSEN; inline;
  17027. begin
  17028. pTDefRegMap(@Self)^.&set := $00000080;
  17029. end;
  17030. procedure TSPI1_SPI1CON.clearSSEN; inline;
  17031. begin
  17032. pTDefRegMap(@Self)^.clr := $00000080;
  17033. end;
  17034. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  17035. begin
  17036. if thebits = 0 then
  17037. pTDefRegMap(@Self)^.clr := $00000080
  17038. else
  17039. pTDefRegMap(@Self)^.&set := $00000080;
  17040. end;
  17041. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  17042. begin
  17043. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17044. end;
  17045. procedure TSPI1_SPI1CON.setCKE; inline;
  17046. begin
  17047. pTDefRegMap(@Self)^.&set := $00000100;
  17048. end;
  17049. procedure TSPI1_SPI1CON.clearCKE; inline;
  17050. begin
  17051. pTDefRegMap(@Self)^.clr := $00000100;
  17052. end;
  17053. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  17054. begin
  17055. if thebits = 0 then
  17056. pTDefRegMap(@Self)^.clr := $00000100
  17057. else
  17058. pTDefRegMap(@Self)^.&set := $00000100;
  17059. end;
  17060. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  17061. begin
  17062. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17063. end;
  17064. procedure TSPI1_SPI1CON.setSMP; inline;
  17065. begin
  17066. pTDefRegMap(@Self)^.&set := $00000200;
  17067. end;
  17068. procedure TSPI1_SPI1CON.clearSMP; inline;
  17069. begin
  17070. pTDefRegMap(@Self)^.clr := $00000200;
  17071. end;
  17072. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  17073. begin
  17074. if thebits = 0 then
  17075. pTDefRegMap(@Self)^.clr := $00000200
  17076. else
  17077. pTDefRegMap(@Self)^.&set := $00000200;
  17078. end;
  17079. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  17080. begin
  17081. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17082. end;
  17083. procedure TSPI1_SPI1CON.setMODE16; inline;
  17084. begin
  17085. pTDefRegMap(@Self)^.&set := $00000400;
  17086. end;
  17087. procedure TSPI1_SPI1CON.clearMODE16; inline;
  17088. begin
  17089. pTDefRegMap(@Self)^.clr := $00000400;
  17090. end;
  17091. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  17092. begin
  17093. if thebits = 0 then
  17094. pTDefRegMap(@Self)^.clr := $00000400
  17095. else
  17096. pTDefRegMap(@Self)^.&set := $00000400;
  17097. end;
  17098. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  17099. begin
  17100. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17101. end;
  17102. procedure TSPI1_SPI1CON.setMODE32; inline;
  17103. begin
  17104. pTDefRegMap(@Self)^.&set := $00000800;
  17105. end;
  17106. procedure TSPI1_SPI1CON.clearMODE32; inline;
  17107. begin
  17108. pTDefRegMap(@Self)^.clr := $00000800;
  17109. end;
  17110. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  17111. begin
  17112. if thebits = 0 then
  17113. pTDefRegMap(@Self)^.clr := $00000800
  17114. else
  17115. pTDefRegMap(@Self)^.&set := $00000800;
  17116. end;
  17117. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  17118. begin
  17119. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17120. end;
  17121. procedure TSPI1_SPI1CON.setDISSDO; inline;
  17122. begin
  17123. pTDefRegMap(@Self)^.&set := $00001000;
  17124. end;
  17125. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  17126. begin
  17127. pTDefRegMap(@Self)^.clr := $00001000;
  17128. end;
  17129. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  17130. begin
  17131. if thebits = 0 then
  17132. pTDefRegMap(@Self)^.clr := $00001000
  17133. else
  17134. pTDefRegMap(@Self)^.&set := $00001000;
  17135. end;
  17136. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  17137. begin
  17138. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17139. end;
  17140. procedure TSPI1_SPI1CON.setSIDL; inline;
  17141. begin
  17142. pTDefRegMap(@Self)^.&set := $00002000;
  17143. end;
  17144. procedure TSPI1_SPI1CON.clearSIDL; inline;
  17145. begin
  17146. pTDefRegMap(@Self)^.clr := $00002000;
  17147. end;
  17148. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  17149. begin
  17150. if thebits = 0 then
  17151. pTDefRegMap(@Self)^.clr := $00002000
  17152. else
  17153. pTDefRegMap(@Self)^.&set := $00002000;
  17154. end;
  17155. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  17156. begin
  17157. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17158. end;
  17159. procedure TSPI1_SPI1CON.setON; inline;
  17160. begin
  17161. pTDefRegMap(@Self)^.&set := $00008000;
  17162. end;
  17163. procedure TSPI1_SPI1CON.clearON; inline;
  17164. begin
  17165. pTDefRegMap(@Self)^.clr := $00008000;
  17166. end;
  17167. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  17168. begin
  17169. if thebits = 0 then
  17170. pTDefRegMap(@Self)^.clr := $00008000
  17171. else
  17172. pTDefRegMap(@Self)^.&set := $00008000;
  17173. end;
  17174. function TSPI1_SPI1CON.getON : TBits_1; inline;
  17175. begin
  17176. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17177. end;
  17178. procedure TSPI1_SPI1CON.setENHBUF; inline;
  17179. begin
  17180. pTDefRegMap(@Self)^.&set := $00010000;
  17181. end;
  17182. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  17183. begin
  17184. pTDefRegMap(@Self)^.clr := $00010000;
  17185. end;
  17186. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  17187. begin
  17188. if thebits = 0 then
  17189. pTDefRegMap(@Self)^.clr := $00010000
  17190. else
  17191. pTDefRegMap(@Self)^.&set := $00010000;
  17192. end;
  17193. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  17194. begin
  17195. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17196. end;
  17197. procedure TSPI1_SPI1CON.setSPIFE; inline;
  17198. begin
  17199. pTDefRegMap(@Self)^.&set := $00020000;
  17200. end;
  17201. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  17202. begin
  17203. pTDefRegMap(@Self)^.clr := $00020000;
  17204. end;
  17205. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  17206. begin
  17207. if thebits = 0 then
  17208. pTDefRegMap(@Self)^.clr := $00020000
  17209. else
  17210. pTDefRegMap(@Self)^.&set := $00020000;
  17211. end;
  17212. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  17213. begin
  17214. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17215. end;
  17216. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  17217. begin
  17218. pTDefRegMap(@Self)^.&set := $00800000;
  17219. end;
  17220. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  17221. begin
  17222. pTDefRegMap(@Self)^.clr := $00800000;
  17223. end;
  17224. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  17225. begin
  17226. if thebits = 0 then
  17227. pTDefRegMap(@Self)^.clr := $00800000
  17228. else
  17229. pTDefRegMap(@Self)^.&set := $00800000;
  17230. end;
  17231. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  17232. begin
  17233. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17234. end;
  17235. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  17236. begin
  17237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17238. end;
  17239. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  17240. begin
  17241. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17242. end;
  17243. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  17244. begin
  17245. pTDefRegMap(@Self)^.&set := $08000000;
  17246. end;
  17247. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  17248. begin
  17249. pTDefRegMap(@Self)^.clr := $08000000;
  17250. end;
  17251. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  17252. begin
  17253. if thebits = 0 then
  17254. pTDefRegMap(@Self)^.clr := $08000000
  17255. else
  17256. pTDefRegMap(@Self)^.&set := $08000000;
  17257. end;
  17258. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  17259. begin
  17260. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17261. end;
  17262. procedure TSPI1_SPI1CON.setMSSEN; inline;
  17263. begin
  17264. pTDefRegMap(@Self)^.&set := $10000000;
  17265. end;
  17266. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  17267. begin
  17268. pTDefRegMap(@Self)^.clr := $10000000;
  17269. end;
  17270. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  17271. begin
  17272. if thebits = 0 then
  17273. pTDefRegMap(@Self)^.clr := $10000000
  17274. else
  17275. pTDefRegMap(@Self)^.&set := $10000000;
  17276. end;
  17277. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  17278. begin
  17279. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17280. end;
  17281. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  17282. begin
  17283. pTDefRegMap(@Self)^.&set := $20000000;
  17284. end;
  17285. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  17286. begin
  17287. pTDefRegMap(@Self)^.clr := $20000000;
  17288. end;
  17289. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  17290. begin
  17291. if thebits = 0 then
  17292. pTDefRegMap(@Self)^.clr := $20000000
  17293. else
  17294. pTDefRegMap(@Self)^.&set := $20000000;
  17295. end;
  17296. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  17297. begin
  17298. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17299. end;
  17300. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  17301. begin
  17302. pTDefRegMap(@Self)^.&set := $40000000;
  17303. end;
  17304. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  17305. begin
  17306. pTDefRegMap(@Self)^.clr := $40000000;
  17307. end;
  17308. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  17309. begin
  17310. if thebits = 0 then
  17311. pTDefRegMap(@Self)^.clr := $40000000
  17312. else
  17313. pTDefRegMap(@Self)^.&set := $40000000;
  17314. end;
  17315. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  17316. begin
  17317. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17318. end;
  17319. procedure TSPI1_SPI1CON.setFRMEN; inline;
  17320. begin
  17321. pTDefRegMap(@Self)^.&set := $80000000;
  17322. end;
  17323. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  17324. begin
  17325. pTDefRegMap(@Self)^.clr := $80000000;
  17326. end;
  17327. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  17328. begin
  17329. if thebits = 0 then
  17330. pTDefRegMap(@Self)^.clr := $80000000
  17331. else
  17332. pTDefRegMap(@Self)^.&set := $80000000;
  17333. end;
  17334. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  17335. begin
  17336. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17337. end;
  17338. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  17339. begin
  17340. pTDefRegMap(@Self)^.val := thebits;
  17341. end;
  17342. function TSPI1_SPI1CON.getw : TBits_32; inline;
  17343. begin
  17344. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17345. end;
  17346. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  17347. begin
  17348. pTDefRegMap(@Self)^.&set := $00000001;
  17349. end;
  17350. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  17351. begin
  17352. pTDefRegMap(@Self)^.clr := $00000001;
  17353. end;
  17354. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  17355. begin
  17356. if thebits = 0 then
  17357. pTDefRegMap(@Self)^.clr := $00000001
  17358. else
  17359. pTDefRegMap(@Self)^.&set := $00000001;
  17360. end;
  17361. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  17362. begin
  17363. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17364. end;
  17365. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  17366. begin
  17367. pTDefRegMap(@Self)^.&set := $00000002;
  17368. end;
  17369. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  17370. begin
  17371. pTDefRegMap(@Self)^.clr := $00000002;
  17372. end;
  17373. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  17374. begin
  17375. if thebits = 0 then
  17376. pTDefRegMap(@Self)^.clr := $00000002
  17377. else
  17378. pTDefRegMap(@Self)^.&set := $00000002;
  17379. end;
  17380. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  17381. begin
  17382. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17383. end;
  17384. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  17385. begin
  17386. pTDefRegMap(@Self)^.&set := $00000008;
  17387. end;
  17388. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  17389. begin
  17390. pTDefRegMap(@Self)^.clr := $00000008;
  17391. end;
  17392. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  17393. begin
  17394. if thebits = 0 then
  17395. pTDefRegMap(@Self)^.clr := $00000008
  17396. else
  17397. pTDefRegMap(@Self)^.&set := $00000008;
  17398. end;
  17399. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  17400. begin
  17401. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17402. end;
  17403. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  17404. begin
  17405. pTDefRegMap(@Self)^.&set := $00000020;
  17406. end;
  17407. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  17408. begin
  17409. pTDefRegMap(@Self)^.clr := $00000020;
  17410. end;
  17411. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  17412. begin
  17413. if thebits = 0 then
  17414. pTDefRegMap(@Self)^.clr := $00000020
  17415. else
  17416. pTDefRegMap(@Self)^.&set := $00000020;
  17417. end;
  17418. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  17419. begin
  17420. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17421. end;
  17422. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  17423. begin
  17424. pTDefRegMap(@Self)^.&set := $00000040;
  17425. end;
  17426. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  17427. begin
  17428. pTDefRegMap(@Self)^.clr := $00000040;
  17429. end;
  17430. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  17431. begin
  17432. if thebits = 0 then
  17433. pTDefRegMap(@Self)^.clr := $00000040
  17434. else
  17435. pTDefRegMap(@Self)^.&set := $00000040;
  17436. end;
  17437. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  17438. begin
  17439. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17440. end;
  17441. procedure TSPI1_SPI1STAT.setSRMT; inline;
  17442. begin
  17443. pTDefRegMap(@Self)^.&set := $00000080;
  17444. end;
  17445. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  17446. begin
  17447. pTDefRegMap(@Self)^.clr := $00000080;
  17448. end;
  17449. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  17450. begin
  17451. if thebits = 0 then
  17452. pTDefRegMap(@Self)^.clr := $00000080
  17453. else
  17454. pTDefRegMap(@Self)^.&set := $00000080;
  17455. end;
  17456. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  17457. begin
  17458. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17459. end;
  17460. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  17461. begin
  17462. pTDefRegMap(@Self)^.&set := $00000100;
  17463. end;
  17464. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  17465. begin
  17466. pTDefRegMap(@Self)^.clr := $00000100;
  17467. end;
  17468. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  17469. begin
  17470. if thebits = 0 then
  17471. pTDefRegMap(@Self)^.clr := $00000100
  17472. else
  17473. pTDefRegMap(@Self)^.&set := $00000100;
  17474. end;
  17475. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  17476. begin
  17477. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17478. end;
  17479. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  17480. begin
  17481. pTDefRegMap(@Self)^.&set := $00000800;
  17482. end;
  17483. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  17484. begin
  17485. pTDefRegMap(@Self)^.clr := $00000800;
  17486. end;
  17487. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  17488. begin
  17489. if thebits = 0 then
  17490. pTDefRegMap(@Self)^.clr := $00000800
  17491. else
  17492. pTDefRegMap(@Self)^.&set := $00000800;
  17493. end;
  17494. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  17495. begin
  17496. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17497. end;
  17498. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  17499. begin
  17500. pTDefRegMap(@Self)^.&set := $00001000;
  17501. end;
  17502. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  17503. begin
  17504. pTDefRegMap(@Self)^.clr := $00001000;
  17505. end;
  17506. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  17507. begin
  17508. if thebits = 0 then
  17509. pTDefRegMap(@Self)^.clr := $00001000
  17510. else
  17511. pTDefRegMap(@Self)^.&set := $00001000;
  17512. end;
  17513. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  17514. begin
  17515. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17516. end;
  17517. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  17518. begin
  17519. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17520. end;
  17521. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  17522. begin
  17523. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17524. end;
  17525. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  17526. begin
  17527. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17528. end;
  17529. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  17530. begin
  17531. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17532. end;
  17533. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  17534. begin
  17535. pTDefRegMap(@Self)^.val := thebits;
  17536. end;
  17537. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  17538. begin
  17539. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17540. end;
  17541. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  17542. begin
  17543. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17544. end;
  17545. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  17546. begin
  17547. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17548. end;
  17549. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  17550. begin
  17551. pTDefRegMap(@Self)^.&set := $00000008;
  17552. end;
  17553. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  17554. begin
  17555. pTDefRegMap(@Self)^.clr := $00000008;
  17556. end;
  17557. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  17558. begin
  17559. if thebits = 0 then
  17560. pTDefRegMap(@Self)^.clr := $00000008
  17561. else
  17562. pTDefRegMap(@Self)^.&set := $00000008;
  17563. end;
  17564. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  17565. begin
  17566. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17567. end;
  17568. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  17569. begin
  17570. pTDefRegMap(@Self)^.&set := $00000080;
  17571. end;
  17572. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  17573. begin
  17574. pTDefRegMap(@Self)^.clr := $00000080;
  17575. end;
  17576. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  17577. begin
  17578. if thebits = 0 then
  17579. pTDefRegMap(@Self)^.clr := $00000080
  17580. else
  17581. pTDefRegMap(@Self)^.&set := $00000080;
  17582. end;
  17583. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  17584. begin
  17585. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17586. end;
  17587. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  17588. begin
  17589. pTDefRegMap(@Self)^.&set := $00000100;
  17590. end;
  17591. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  17592. begin
  17593. pTDefRegMap(@Self)^.clr := $00000100;
  17594. end;
  17595. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  17596. begin
  17597. if thebits = 0 then
  17598. pTDefRegMap(@Self)^.clr := $00000100
  17599. else
  17600. pTDefRegMap(@Self)^.&set := $00000100;
  17601. end;
  17602. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  17603. begin
  17604. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17605. end;
  17606. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  17607. begin
  17608. pTDefRegMap(@Self)^.&set := $00000200;
  17609. end;
  17610. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  17611. begin
  17612. pTDefRegMap(@Self)^.clr := $00000200;
  17613. end;
  17614. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  17615. begin
  17616. if thebits = 0 then
  17617. pTDefRegMap(@Self)^.clr := $00000200
  17618. else
  17619. pTDefRegMap(@Self)^.&set := $00000200;
  17620. end;
  17621. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  17622. begin
  17623. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17624. end;
  17625. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  17626. begin
  17627. pTDefRegMap(@Self)^.&set := $00000400;
  17628. end;
  17629. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  17630. begin
  17631. pTDefRegMap(@Self)^.clr := $00000400;
  17632. end;
  17633. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  17634. begin
  17635. if thebits = 0 then
  17636. pTDefRegMap(@Self)^.clr := $00000400
  17637. else
  17638. pTDefRegMap(@Self)^.&set := $00000400;
  17639. end;
  17640. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  17641. begin
  17642. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17643. end;
  17644. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  17645. begin
  17646. pTDefRegMap(@Self)^.&set := $00000800;
  17647. end;
  17648. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  17649. begin
  17650. pTDefRegMap(@Self)^.clr := $00000800;
  17651. end;
  17652. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  17653. begin
  17654. if thebits = 0 then
  17655. pTDefRegMap(@Self)^.clr := $00000800
  17656. else
  17657. pTDefRegMap(@Self)^.&set := $00000800;
  17658. end;
  17659. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  17660. begin
  17661. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17662. end;
  17663. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  17664. begin
  17665. pTDefRegMap(@Self)^.&set := $00001000;
  17666. end;
  17667. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  17668. begin
  17669. pTDefRegMap(@Self)^.clr := $00001000;
  17670. end;
  17671. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  17672. begin
  17673. if thebits = 0 then
  17674. pTDefRegMap(@Self)^.clr := $00001000
  17675. else
  17676. pTDefRegMap(@Self)^.&set := $00001000;
  17677. end;
  17678. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  17679. begin
  17680. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17681. end;
  17682. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  17683. begin
  17684. pTDefRegMap(@Self)^.&set := $00008000;
  17685. end;
  17686. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  17687. begin
  17688. pTDefRegMap(@Self)^.clr := $00008000;
  17689. end;
  17690. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17691. begin
  17692. if thebits = 0 then
  17693. pTDefRegMap(@Self)^.clr := $00008000
  17694. else
  17695. pTDefRegMap(@Self)^.&set := $00008000;
  17696. end;
  17697. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  17698. begin
  17699. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17700. end;
  17701. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  17702. begin
  17703. pTDefRegMap(@Self)^.&set := $00000001;
  17704. end;
  17705. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  17706. begin
  17707. pTDefRegMap(@Self)^.clr := $00000001;
  17708. end;
  17709. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  17710. begin
  17711. if thebits = 0 then
  17712. pTDefRegMap(@Self)^.clr := $00000001
  17713. else
  17714. pTDefRegMap(@Self)^.&set := $00000001;
  17715. end;
  17716. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  17717. begin
  17718. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17719. end;
  17720. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  17721. begin
  17722. pTDefRegMap(@Self)^.&set := $00000002;
  17723. end;
  17724. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  17725. begin
  17726. pTDefRegMap(@Self)^.clr := $00000002;
  17727. end;
  17728. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  17729. begin
  17730. if thebits = 0 then
  17731. pTDefRegMap(@Self)^.clr := $00000002
  17732. else
  17733. pTDefRegMap(@Self)^.&set := $00000002;
  17734. end;
  17735. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  17736. begin
  17737. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17738. end;
  17739. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  17740. begin
  17741. pTDefRegMap(@Self)^.val := thebits;
  17742. end;
  17743. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  17744. begin
  17745. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17746. end;
  17747. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  17748. begin
  17749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17750. end;
  17751. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  17752. begin
  17753. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17754. end;
  17755. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  17756. begin
  17757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  17758. end;
  17759. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  17760. begin
  17761. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  17762. end;
  17763. procedure TSPI2_SPI2CON.setDISSDI; inline;
  17764. begin
  17765. pTDefRegMap(@Self)^.&set := $00000010;
  17766. end;
  17767. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  17768. begin
  17769. pTDefRegMap(@Self)^.clr := $00000010;
  17770. end;
  17771. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  17772. begin
  17773. if thebits = 0 then
  17774. pTDefRegMap(@Self)^.clr := $00000010
  17775. else
  17776. pTDefRegMap(@Self)^.&set := $00000010;
  17777. end;
  17778. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  17779. begin
  17780. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17781. end;
  17782. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17783. begin
  17784. pTDefRegMap(@Self)^.&set := $00000020;
  17785. end;
  17786. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17787. begin
  17788. pTDefRegMap(@Self)^.clr := $00000020;
  17789. end;
  17790. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17791. begin
  17792. if thebits = 0 then
  17793. pTDefRegMap(@Self)^.clr := $00000020
  17794. else
  17795. pTDefRegMap(@Self)^.&set := $00000020;
  17796. end;
  17797. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17798. begin
  17799. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17800. end;
  17801. procedure TSPI2_SPI2CON.setCKP; inline;
  17802. begin
  17803. pTDefRegMap(@Self)^.&set := $00000040;
  17804. end;
  17805. procedure TSPI2_SPI2CON.clearCKP; inline;
  17806. begin
  17807. pTDefRegMap(@Self)^.clr := $00000040;
  17808. end;
  17809. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17810. begin
  17811. if thebits = 0 then
  17812. pTDefRegMap(@Self)^.clr := $00000040
  17813. else
  17814. pTDefRegMap(@Self)^.&set := $00000040;
  17815. end;
  17816. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17817. begin
  17818. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17819. end;
  17820. procedure TSPI2_SPI2CON.setSSEN; inline;
  17821. begin
  17822. pTDefRegMap(@Self)^.&set := $00000080;
  17823. end;
  17824. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17825. begin
  17826. pTDefRegMap(@Self)^.clr := $00000080;
  17827. end;
  17828. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17829. begin
  17830. if thebits = 0 then
  17831. pTDefRegMap(@Self)^.clr := $00000080
  17832. else
  17833. pTDefRegMap(@Self)^.&set := $00000080;
  17834. end;
  17835. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17836. begin
  17837. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17838. end;
  17839. procedure TSPI2_SPI2CON.setCKE; inline;
  17840. begin
  17841. pTDefRegMap(@Self)^.&set := $00000100;
  17842. end;
  17843. procedure TSPI2_SPI2CON.clearCKE; inline;
  17844. begin
  17845. pTDefRegMap(@Self)^.clr := $00000100;
  17846. end;
  17847. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17848. begin
  17849. if thebits = 0 then
  17850. pTDefRegMap(@Self)^.clr := $00000100
  17851. else
  17852. pTDefRegMap(@Self)^.&set := $00000100;
  17853. end;
  17854. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17855. begin
  17856. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17857. end;
  17858. procedure TSPI2_SPI2CON.setSMP; inline;
  17859. begin
  17860. pTDefRegMap(@Self)^.&set := $00000200;
  17861. end;
  17862. procedure TSPI2_SPI2CON.clearSMP; inline;
  17863. begin
  17864. pTDefRegMap(@Self)^.clr := $00000200;
  17865. end;
  17866. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17867. begin
  17868. if thebits = 0 then
  17869. pTDefRegMap(@Self)^.clr := $00000200
  17870. else
  17871. pTDefRegMap(@Self)^.&set := $00000200;
  17872. end;
  17873. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17874. begin
  17875. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17876. end;
  17877. procedure TSPI2_SPI2CON.setMODE16; inline;
  17878. begin
  17879. pTDefRegMap(@Self)^.&set := $00000400;
  17880. end;
  17881. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17882. begin
  17883. pTDefRegMap(@Self)^.clr := $00000400;
  17884. end;
  17885. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17886. begin
  17887. if thebits = 0 then
  17888. pTDefRegMap(@Self)^.clr := $00000400
  17889. else
  17890. pTDefRegMap(@Self)^.&set := $00000400;
  17891. end;
  17892. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17893. begin
  17894. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17895. end;
  17896. procedure TSPI2_SPI2CON.setMODE32; inline;
  17897. begin
  17898. pTDefRegMap(@Self)^.&set := $00000800;
  17899. end;
  17900. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17901. begin
  17902. pTDefRegMap(@Self)^.clr := $00000800;
  17903. end;
  17904. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17905. begin
  17906. if thebits = 0 then
  17907. pTDefRegMap(@Self)^.clr := $00000800
  17908. else
  17909. pTDefRegMap(@Self)^.&set := $00000800;
  17910. end;
  17911. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17912. begin
  17913. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17914. end;
  17915. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17916. begin
  17917. pTDefRegMap(@Self)^.&set := $00001000;
  17918. end;
  17919. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17920. begin
  17921. pTDefRegMap(@Self)^.clr := $00001000;
  17922. end;
  17923. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17924. begin
  17925. if thebits = 0 then
  17926. pTDefRegMap(@Self)^.clr := $00001000
  17927. else
  17928. pTDefRegMap(@Self)^.&set := $00001000;
  17929. end;
  17930. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17931. begin
  17932. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17933. end;
  17934. procedure TSPI2_SPI2CON.setSIDL; inline;
  17935. begin
  17936. pTDefRegMap(@Self)^.&set := $00002000;
  17937. end;
  17938. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17939. begin
  17940. pTDefRegMap(@Self)^.clr := $00002000;
  17941. end;
  17942. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17943. begin
  17944. if thebits = 0 then
  17945. pTDefRegMap(@Self)^.clr := $00002000
  17946. else
  17947. pTDefRegMap(@Self)^.&set := $00002000;
  17948. end;
  17949. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17950. begin
  17951. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17952. end;
  17953. procedure TSPI2_SPI2CON.setON; inline;
  17954. begin
  17955. pTDefRegMap(@Self)^.&set := $00008000;
  17956. end;
  17957. procedure TSPI2_SPI2CON.clearON; inline;
  17958. begin
  17959. pTDefRegMap(@Self)^.clr := $00008000;
  17960. end;
  17961. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17962. begin
  17963. if thebits = 0 then
  17964. pTDefRegMap(@Self)^.clr := $00008000
  17965. else
  17966. pTDefRegMap(@Self)^.&set := $00008000;
  17967. end;
  17968. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17969. begin
  17970. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17971. end;
  17972. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17973. begin
  17974. pTDefRegMap(@Self)^.&set := $00010000;
  17975. end;
  17976. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17977. begin
  17978. pTDefRegMap(@Self)^.clr := $00010000;
  17979. end;
  17980. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17981. begin
  17982. if thebits = 0 then
  17983. pTDefRegMap(@Self)^.clr := $00010000
  17984. else
  17985. pTDefRegMap(@Self)^.&set := $00010000;
  17986. end;
  17987. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17988. begin
  17989. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17990. end;
  17991. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17992. begin
  17993. pTDefRegMap(@Self)^.&set := $00020000;
  17994. end;
  17995. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17996. begin
  17997. pTDefRegMap(@Self)^.clr := $00020000;
  17998. end;
  17999. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  18000. begin
  18001. if thebits = 0 then
  18002. pTDefRegMap(@Self)^.clr := $00020000
  18003. else
  18004. pTDefRegMap(@Self)^.&set := $00020000;
  18005. end;
  18006. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  18007. begin
  18008. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  18009. end;
  18010. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  18011. begin
  18012. pTDefRegMap(@Self)^.&set := $00800000;
  18013. end;
  18014. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  18015. begin
  18016. pTDefRegMap(@Self)^.clr := $00800000;
  18017. end;
  18018. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  18019. begin
  18020. if thebits = 0 then
  18021. pTDefRegMap(@Self)^.clr := $00800000
  18022. else
  18023. pTDefRegMap(@Self)^.&set := $00800000;
  18024. end;
  18025. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  18026. begin
  18027. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  18028. end;
  18029. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  18030. begin
  18031. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  18032. end;
  18033. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  18034. begin
  18035. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  18036. end;
  18037. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  18038. begin
  18039. pTDefRegMap(@Self)^.&set := $08000000;
  18040. end;
  18041. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  18042. begin
  18043. pTDefRegMap(@Self)^.clr := $08000000;
  18044. end;
  18045. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  18046. begin
  18047. if thebits = 0 then
  18048. pTDefRegMap(@Self)^.clr := $08000000
  18049. else
  18050. pTDefRegMap(@Self)^.&set := $08000000;
  18051. end;
  18052. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  18053. begin
  18054. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  18055. end;
  18056. procedure TSPI2_SPI2CON.setMSSEN; inline;
  18057. begin
  18058. pTDefRegMap(@Self)^.&set := $10000000;
  18059. end;
  18060. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  18061. begin
  18062. pTDefRegMap(@Self)^.clr := $10000000;
  18063. end;
  18064. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  18065. begin
  18066. if thebits = 0 then
  18067. pTDefRegMap(@Self)^.clr := $10000000
  18068. else
  18069. pTDefRegMap(@Self)^.&set := $10000000;
  18070. end;
  18071. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  18072. begin
  18073. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  18074. end;
  18075. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  18076. begin
  18077. pTDefRegMap(@Self)^.&set := $20000000;
  18078. end;
  18079. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  18080. begin
  18081. pTDefRegMap(@Self)^.clr := $20000000;
  18082. end;
  18083. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  18084. begin
  18085. if thebits = 0 then
  18086. pTDefRegMap(@Self)^.clr := $20000000
  18087. else
  18088. pTDefRegMap(@Self)^.&set := $20000000;
  18089. end;
  18090. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  18091. begin
  18092. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  18093. end;
  18094. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  18095. begin
  18096. pTDefRegMap(@Self)^.&set := $40000000;
  18097. end;
  18098. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  18099. begin
  18100. pTDefRegMap(@Self)^.clr := $40000000;
  18101. end;
  18102. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  18103. begin
  18104. if thebits = 0 then
  18105. pTDefRegMap(@Self)^.clr := $40000000
  18106. else
  18107. pTDefRegMap(@Self)^.&set := $40000000;
  18108. end;
  18109. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  18110. begin
  18111. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  18112. end;
  18113. procedure TSPI2_SPI2CON.setFRMEN; inline;
  18114. begin
  18115. pTDefRegMap(@Self)^.&set := $80000000;
  18116. end;
  18117. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  18118. begin
  18119. pTDefRegMap(@Self)^.clr := $80000000;
  18120. end;
  18121. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  18122. begin
  18123. if thebits = 0 then
  18124. pTDefRegMap(@Self)^.clr := $80000000
  18125. else
  18126. pTDefRegMap(@Self)^.&set := $80000000;
  18127. end;
  18128. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  18129. begin
  18130. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  18131. end;
  18132. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  18133. begin
  18134. pTDefRegMap(@Self)^.val := thebits;
  18135. end;
  18136. function TSPI2_SPI2CON.getw : TBits_32; inline;
  18137. begin
  18138. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18139. end;
  18140. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  18141. begin
  18142. pTDefRegMap(@Self)^.&set := $00000001;
  18143. end;
  18144. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  18145. begin
  18146. pTDefRegMap(@Self)^.clr := $00000001;
  18147. end;
  18148. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  18149. begin
  18150. if thebits = 0 then
  18151. pTDefRegMap(@Self)^.clr := $00000001
  18152. else
  18153. pTDefRegMap(@Self)^.&set := $00000001;
  18154. end;
  18155. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  18156. begin
  18157. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18158. end;
  18159. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  18160. begin
  18161. pTDefRegMap(@Self)^.&set := $00000002;
  18162. end;
  18163. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  18164. begin
  18165. pTDefRegMap(@Self)^.clr := $00000002;
  18166. end;
  18167. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  18168. begin
  18169. if thebits = 0 then
  18170. pTDefRegMap(@Self)^.clr := $00000002
  18171. else
  18172. pTDefRegMap(@Self)^.&set := $00000002;
  18173. end;
  18174. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  18175. begin
  18176. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18177. end;
  18178. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  18179. begin
  18180. pTDefRegMap(@Self)^.&set := $00000008;
  18181. end;
  18182. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  18183. begin
  18184. pTDefRegMap(@Self)^.clr := $00000008;
  18185. end;
  18186. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  18187. begin
  18188. if thebits = 0 then
  18189. pTDefRegMap(@Self)^.clr := $00000008
  18190. else
  18191. pTDefRegMap(@Self)^.&set := $00000008;
  18192. end;
  18193. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  18194. begin
  18195. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18196. end;
  18197. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  18198. begin
  18199. pTDefRegMap(@Self)^.&set := $00000020;
  18200. end;
  18201. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  18202. begin
  18203. pTDefRegMap(@Self)^.clr := $00000020;
  18204. end;
  18205. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  18206. begin
  18207. if thebits = 0 then
  18208. pTDefRegMap(@Self)^.clr := $00000020
  18209. else
  18210. pTDefRegMap(@Self)^.&set := $00000020;
  18211. end;
  18212. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  18213. begin
  18214. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18215. end;
  18216. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  18217. begin
  18218. pTDefRegMap(@Self)^.&set := $00000040;
  18219. end;
  18220. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  18221. begin
  18222. pTDefRegMap(@Self)^.clr := $00000040;
  18223. end;
  18224. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  18225. begin
  18226. if thebits = 0 then
  18227. pTDefRegMap(@Self)^.clr := $00000040
  18228. else
  18229. pTDefRegMap(@Self)^.&set := $00000040;
  18230. end;
  18231. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  18232. begin
  18233. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18234. end;
  18235. procedure TSPI2_SPI2STAT.setSRMT; inline;
  18236. begin
  18237. pTDefRegMap(@Self)^.&set := $00000080;
  18238. end;
  18239. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  18240. begin
  18241. pTDefRegMap(@Self)^.clr := $00000080;
  18242. end;
  18243. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  18244. begin
  18245. if thebits = 0 then
  18246. pTDefRegMap(@Self)^.clr := $00000080
  18247. else
  18248. pTDefRegMap(@Self)^.&set := $00000080;
  18249. end;
  18250. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  18251. begin
  18252. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18253. end;
  18254. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  18255. begin
  18256. pTDefRegMap(@Self)^.&set := $00000100;
  18257. end;
  18258. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  18259. begin
  18260. pTDefRegMap(@Self)^.clr := $00000100;
  18261. end;
  18262. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  18263. begin
  18264. if thebits = 0 then
  18265. pTDefRegMap(@Self)^.clr := $00000100
  18266. else
  18267. pTDefRegMap(@Self)^.&set := $00000100;
  18268. end;
  18269. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  18270. begin
  18271. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18272. end;
  18273. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  18274. begin
  18275. pTDefRegMap(@Self)^.&set := $00000800;
  18276. end;
  18277. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  18278. begin
  18279. pTDefRegMap(@Self)^.clr := $00000800;
  18280. end;
  18281. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  18282. begin
  18283. if thebits = 0 then
  18284. pTDefRegMap(@Self)^.clr := $00000800
  18285. else
  18286. pTDefRegMap(@Self)^.&set := $00000800;
  18287. end;
  18288. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  18289. begin
  18290. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18291. end;
  18292. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  18293. begin
  18294. pTDefRegMap(@Self)^.&set := $00001000;
  18295. end;
  18296. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  18297. begin
  18298. pTDefRegMap(@Self)^.clr := $00001000;
  18299. end;
  18300. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  18301. begin
  18302. if thebits = 0 then
  18303. pTDefRegMap(@Self)^.clr := $00001000
  18304. else
  18305. pTDefRegMap(@Self)^.&set := $00001000;
  18306. end;
  18307. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  18308. begin
  18309. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18310. end;
  18311. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  18312. begin
  18313. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  18314. end;
  18315. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  18316. begin
  18317. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  18318. end;
  18319. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  18320. begin
  18321. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  18322. end;
  18323. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  18324. begin
  18325. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  18326. end;
  18327. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  18328. begin
  18329. pTDefRegMap(@Self)^.val := thebits;
  18330. end;
  18331. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  18332. begin
  18333. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18334. end;
  18335. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  18336. begin
  18337. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18338. end;
  18339. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  18340. begin
  18341. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18342. end;
  18343. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  18344. begin
  18345. pTDefRegMap(@Self)^.&set := $00000008;
  18346. end;
  18347. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  18348. begin
  18349. pTDefRegMap(@Self)^.clr := $00000008;
  18350. end;
  18351. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  18352. begin
  18353. if thebits = 0 then
  18354. pTDefRegMap(@Self)^.clr := $00000008
  18355. else
  18356. pTDefRegMap(@Self)^.&set := $00000008;
  18357. end;
  18358. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  18359. begin
  18360. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18361. end;
  18362. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  18363. begin
  18364. pTDefRegMap(@Self)^.&set := $00000080;
  18365. end;
  18366. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  18367. begin
  18368. pTDefRegMap(@Self)^.clr := $00000080;
  18369. end;
  18370. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  18371. begin
  18372. if thebits = 0 then
  18373. pTDefRegMap(@Self)^.clr := $00000080
  18374. else
  18375. pTDefRegMap(@Self)^.&set := $00000080;
  18376. end;
  18377. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  18378. begin
  18379. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18380. end;
  18381. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  18382. begin
  18383. pTDefRegMap(@Self)^.&set := $00000100;
  18384. end;
  18385. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  18386. begin
  18387. pTDefRegMap(@Self)^.clr := $00000100;
  18388. end;
  18389. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  18390. begin
  18391. if thebits = 0 then
  18392. pTDefRegMap(@Self)^.clr := $00000100
  18393. else
  18394. pTDefRegMap(@Self)^.&set := $00000100;
  18395. end;
  18396. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  18397. begin
  18398. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18399. end;
  18400. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  18401. begin
  18402. pTDefRegMap(@Self)^.&set := $00000200;
  18403. end;
  18404. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  18405. begin
  18406. pTDefRegMap(@Self)^.clr := $00000200;
  18407. end;
  18408. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  18409. begin
  18410. if thebits = 0 then
  18411. pTDefRegMap(@Self)^.clr := $00000200
  18412. else
  18413. pTDefRegMap(@Self)^.&set := $00000200;
  18414. end;
  18415. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  18416. begin
  18417. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18418. end;
  18419. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  18420. begin
  18421. pTDefRegMap(@Self)^.&set := $00000400;
  18422. end;
  18423. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  18424. begin
  18425. pTDefRegMap(@Self)^.clr := $00000400;
  18426. end;
  18427. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  18428. begin
  18429. if thebits = 0 then
  18430. pTDefRegMap(@Self)^.clr := $00000400
  18431. else
  18432. pTDefRegMap(@Self)^.&set := $00000400;
  18433. end;
  18434. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  18435. begin
  18436. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18437. end;
  18438. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  18439. begin
  18440. pTDefRegMap(@Self)^.&set := $00000800;
  18441. end;
  18442. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  18443. begin
  18444. pTDefRegMap(@Self)^.clr := $00000800;
  18445. end;
  18446. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  18447. begin
  18448. if thebits = 0 then
  18449. pTDefRegMap(@Self)^.clr := $00000800
  18450. else
  18451. pTDefRegMap(@Self)^.&set := $00000800;
  18452. end;
  18453. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  18454. begin
  18455. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18456. end;
  18457. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  18458. begin
  18459. pTDefRegMap(@Self)^.&set := $00001000;
  18460. end;
  18461. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  18462. begin
  18463. pTDefRegMap(@Self)^.clr := $00001000;
  18464. end;
  18465. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  18466. begin
  18467. if thebits = 0 then
  18468. pTDefRegMap(@Self)^.clr := $00001000
  18469. else
  18470. pTDefRegMap(@Self)^.&set := $00001000;
  18471. end;
  18472. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  18473. begin
  18474. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18475. end;
  18476. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  18477. begin
  18478. pTDefRegMap(@Self)^.&set := $00008000;
  18479. end;
  18480. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  18481. begin
  18482. pTDefRegMap(@Self)^.clr := $00008000;
  18483. end;
  18484. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  18485. begin
  18486. if thebits = 0 then
  18487. pTDefRegMap(@Self)^.clr := $00008000
  18488. else
  18489. pTDefRegMap(@Self)^.&set := $00008000;
  18490. end;
  18491. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  18492. begin
  18493. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18494. end;
  18495. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  18496. begin
  18497. pTDefRegMap(@Self)^.&set := $00000001;
  18498. end;
  18499. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  18500. begin
  18501. pTDefRegMap(@Self)^.clr := $00000001;
  18502. end;
  18503. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  18504. begin
  18505. if thebits = 0 then
  18506. pTDefRegMap(@Self)^.clr := $00000001
  18507. else
  18508. pTDefRegMap(@Self)^.&set := $00000001;
  18509. end;
  18510. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  18511. begin
  18512. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18513. end;
  18514. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  18515. begin
  18516. pTDefRegMap(@Self)^.&set := $00000002;
  18517. end;
  18518. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  18519. begin
  18520. pTDefRegMap(@Self)^.clr := $00000002;
  18521. end;
  18522. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  18523. begin
  18524. if thebits = 0 then
  18525. pTDefRegMap(@Self)^.clr := $00000002
  18526. else
  18527. pTDefRegMap(@Self)^.&set := $00000002;
  18528. end;
  18529. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  18530. begin
  18531. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18532. end;
  18533. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  18534. begin
  18535. pTDefRegMap(@Self)^.val := thebits;
  18536. end;
  18537. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  18538. begin
  18539. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18540. end;
  18541. procedure TUART1_U1AMODE.setSTSEL; inline;
  18542. begin
  18543. pTDefRegMap(@Self)^.&set := $00000001;
  18544. end;
  18545. procedure TUART1_U1AMODE.clearSTSEL; inline;
  18546. begin
  18547. pTDefRegMap(@Self)^.clr := $00000001;
  18548. end;
  18549. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  18550. begin
  18551. if thebits = 0 then
  18552. pTDefRegMap(@Self)^.clr := $00000001
  18553. else
  18554. pTDefRegMap(@Self)^.&set := $00000001;
  18555. end;
  18556. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  18557. begin
  18558. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18559. end;
  18560. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  18561. begin
  18562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18563. end;
  18564. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  18565. begin
  18566. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18567. end;
  18568. procedure TUART1_U1AMODE.setBRGH; inline;
  18569. begin
  18570. pTDefRegMap(@Self)^.&set := $00000008;
  18571. end;
  18572. procedure TUART1_U1AMODE.clearBRGH; inline;
  18573. begin
  18574. pTDefRegMap(@Self)^.clr := $00000008;
  18575. end;
  18576. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  18577. begin
  18578. if thebits = 0 then
  18579. pTDefRegMap(@Self)^.clr := $00000008
  18580. else
  18581. pTDefRegMap(@Self)^.&set := $00000008;
  18582. end;
  18583. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  18584. begin
  18585. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18586. end;
  18587. procedure TUART1_U1AMODE.setRXINV; inline;
  18588. begin
  18589. pTDefRegMap(@Self)^.&set := $00000010;
  18590. end;
  18591. procedure TUART1_U1AMODE.clearRXINV; inline;
  18592. begin
  18593. pTDefRegMap(@Self)^.clr := $00000010;
  18594. end;
  18595. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  18596. begin
  18597. if thebits = 0 then
  18598. pTDefRegMap(@Self)^.clr := $00000010
  18599. else
  18600. pTDefRegMap(@Self)^.&set := $00000010;
  18601. end;
  18602. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  18603. begin
  18604. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18605. end;
  18606. procedure TUART1_U1AMODE.setABAUD; inline;
  18607. begin
  18608. pTDefRegMap(@Self)^.&set := $00000020;
  18609. end;
  18610. procedure TUART1_U1AMODE.clearABAUD; inline;
  18611. begin
  18612. pTDefRegMap(@Self)^.clr := $00000020;
  18613. end;
  18614. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  18615. begin
  18616. if thebits = 0 then
  18617. pTDefRegMap(@Self)^.clr := $00000020
  18618. else
  18619. pTDefRegMap(@Self)^.&set := $00000020;
  18620. end;
  18621. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  18622. begin
  18623. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18624. end;
  18625. procedure TUART1_U1AMODE.setLPBACK; inline;
  18626. begin
  18627. pTDefRegMap(@Self)^.&set := $00000040;
  18628. end;
  18629. procedure TUART1_U1AMODE.clearLPBACK; inline;
  18630. begin
  18631. pTDefRegMap(@Self)^.clr := $00000040;
  18632. end;
  18633. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  18634. begin
  18635. if thebits = 0 then
  18636. pTDefRegMap(@Self)^.clr := $00000040
  18637. else
  18638. pTDefRegMap(@Self)^.&set := $00000040;
  18639. end;
  18640. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  18641. begin
  18642. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18643. end;
  18644. procedure TUART1_U1AMODE.setWAKE; inline;
  18645. begin
  18646. pTDefRegMap(@Self)^.&set := $00000080;
  18647. end;
  18648. procedure TUART1_U1AMODE.clearWAKE; inline;
  18649. begin
  18650. pTDefRegMap(@Self)^.clr := $00000080;
  18651. end;
  18652. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  18653. begin
  18654. if thebits = 0 then
  18655. pTDefRegMap(@Self)^.clr := $00000080
  18656. else
  18657. pTDefRegMap(@Self)^.&set := $00000080;
  18658. end;
  18659. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  18660. begin
  18661. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18662. end;
  18663. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  18664. begin
  18665. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18666. end;
  18667. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  18668. begin
  18669. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18670. end;
  18671. procedure TUART1_U1AMODE.setRTSMD; inline;
  18672. begin
  18673. pTDefRegMap(@Self)^.&set := $00000800;
  18674. end;
  18675. procedure TUART1_U1AMODE.clearRTSMD; inline;
  18676. begin
  18677. pTDefRegMap(@Self)^.clr := $00000800;
  18678. end;
  18679. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  18680. begin
  18681. if thebits = 0 then
  18682. pTDefRegMap(@Self)^.clr := $00000800
  18683. else
  18684. pTDefRegMap(@Self)^.&set := $00000800;
  18685. end;
  18686. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  18687. begin
  18688. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18689. end;
  18690. procedure TUART1_U1AMODE.setIREN; inline;
  18691. begin
  18692. pTDefRegMap(@Self)^.&set := $00001000;
  18693. end;
  18694. procedure TUART1_U1AMODE.clearIREN; inline;
  18695. begin
  18696. pTDefRegMap(@Self)^.clr := $00001000;
  18697. end;
  18698. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  18699. begin
  18700. if thebits = 0 then
  18701. pTDefRegMap(@Self)^.clr := $00001000
  18702. else
  18703. pTDefRegMap(@Self)^.&set := $00001000;
  18704. end;
  18705. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  18706. begin
  18707. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18708. end;
  18709. procedure TUART1_U1AMODE.setSIDL; inline;
  18710. begin
  18711. pTDefRegMap(@Self)^.&set := $00002000;
  18712. end;
  18713. procedure TUART1_U1AMODE.clearSIDL; inline;
  18714. begin
  18715. pTDefRegMap(@Self)^.clr := $00002000;
  18716. end;
  18717. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  18718. begin
  18719. if thebits = 0 then
  18720. pTDefRegMap(@Self)^.clr := $00002000
  18721. else
  18722. pTDefRegMap(@Self)^.&set := $00002000;
  18723. end;
  18724. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  18725. begin
  18726. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18727. end;
  18728. procedure TUART1_U1AMODE.setON; inline;
  18729. begin
  18730. pTDefRegMap(@Self)^.&set := $00008000;
  18731. end;
  18732. procedure TUART1_U1AMODE.clearON; inline;
  18733. begin
  18734. pTDefRegMap(@Self)^.clr := $00008000;
  18735. end;
  18736. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  18737. begin
  18738. if thebits = 0 then
  18739. pTDefRegMap(@Self)^.clr := $00008000
  18740. else
  18741. pTDefRegMap(@Self)^.&set := $00008000;
  18742. end;
  18743. function TUART1_U1AMODE.getON : TBits_1; inline;
  18744. begin
  18745. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18746. end;
  18747. procedure TUART1_U1AMODE.setPDSEL0; inline;
  18748. begin
  18749. pTDefRegMap(@Self)^.&set := $00000002;
  18750. end;
  18751. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  18752. begin
  18753. pTDefRegMap(@Self)^.clr := $00000002;
  18754. end;
  18755. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  18756. begin
  18757. if thebits = 0 then
  18758. pTDefRegMap(@Self)^.clr := $00000002
  18759. else
  18760. pTDefRegMap(@Self)^.&set := $00000002;
  18761. end;
  18762. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  18763. begin
  18764. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18765. end;
  18766. procedure TUART1_U1AMODE.setPDSEL1; inline;
  18767. begin
  18768. pTDefRegMap(@Self)^.&set := $00000004;
  18769. end;
  18770. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  18771. begin
  18772. pTDefRegMap(@Self)^.clr := $00000004;
  18773. end;
  18774. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  18775. begin
  18776. if thebits = 0 then
  18777. pTDefRegMap(@Self)^.clr := $00000004
  18778. else
  18779. pTDefRegMap(@Self)^.&set := $00000004;
  18780. end;
  18781. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18782. begin
  18783. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18784. end;
  18785. procedure TUART1_U1AMODE.setUEN0; inline;
  18786. begin
  18787. pTDefRegMap(@Self)^.&set := $00000100;
  18788. end;
  18789. procedure TUART1_U1AMODE.clearUEN0; inline;
  18790. begin
  18791. pTDefRegMap(@Self)^.clr := $00000100;
  18792. end;
  18793. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18794. begin
  18795. if thebits = 0 then
  18796. pTDefRegMap(@Self)^.clr := $00000100
  18797. else
  18798. pTDefRegMap(@Self)^.&set := $00000100;
  18799. end;
  18800. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18801. begin
  18802. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18803. end;
  18804. procedure TUART1_U1AMODE.setUEN1; inline;
  18805. begin
  18806. pTDefRegMap(@Self)^.&set := $00000200;
  18807. end;
  18808. procedure TUART1_U1AMODE.clearUEN1; inline;
  18809. begin
  18810. pTDefRegMap(@Self)^.clr := $00000200;
  18811. end;
  18812. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18813. begin
  18814. if thebits = 0 then
  18815. pTDefRegMap(@Self)^.clr := $00000200
  18816. else
  18817. pTDefRegMap(@Self)^.&set := $00000200;
  18818. end;
  18819. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18820. begin
  18821. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18822. end;
  18823. procedure TUART1_U1AMODE.setUSIDL; inline;
  18824. begin
  18825. pTDefRegMap(@Self)^.&set := $00002000;
  18826. end;
  18827. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18828. begin
  18829. pTDefRegMap(@Self)^.clr := $00002000;
  18830. end;
  18831. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18832. begin
  18833. if thebits = 0 then
  18834. pTDefRegMap(@Self)^.clr := $00002000
  18835. else
  18836. pTDefRegMap(@Self)^.&set := $00002000;
  18837. end;
  18838. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18839. begin
  18840. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18841. end;
  18842. procedure TUART1_U1AMODE.setUARTEN; inline;
  18843. begin
  18844. pTDefRegMap(@Self)^.&set := $00008000;
  18845. end;
  18846. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18847. begin
  18848. pTDefRegMap(@Self)^.clr := $00008000;
  18849. end;
  18850. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18851. begin
  18852. if thebits = 0 then
  18853. pTDefRegMap(@Self)^.clr := $00008000
  18854. else
  18855. pTDefRegMap(@Self)^.&set := $00008000;
  18856. end;
  18857. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18858. begin
  18859. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18860. end;
  18861. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18862. begin
  18863. pTDefRegMap(@Self)^.val := thebits;
  18864. end;
  18865. function TUART1_U1AMODE.getw : TBits_32; inline;
  18866. begin
  18867. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18868. end;
  18869. procedure TUART1_U1MODE.setSTSEL; inline;
  18870. begin
  18871. pTDefRegMap(@Self)^.&set := $00000001;
  18872. end;
  18873. procedure TUART1_U1MODE.clearSTSEL; inline;
  18874. begin
  18875. pTDefRegMap(@Self)^.clr := $00000001;
  18876. end;
  18877. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18878. begin
  18879. if thebits = 0 then
  18880. pTDefRegMap(@Self)^.clr := $00000001
  18881. else
  18882. pTDefRegMap(@Self)^.&set := $00000001;
  18883. end;
  18884. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18885. begin
  18886. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18887. end;
  18888. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18889. begin
  18890. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18891. end;
  18892. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18893. begin
  18894. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18895. end;
  18896. procedure TUART1_U1MODE.setBRGH; inline;
  18897. begin
  18898. pTDefRegMap(@Self)^.&set := $00000008;
  18899. end;
  18900. procedure TUART1_U1MODE.clearBRGH; inline;
  18901. begin
  18902. pTDefRegMap(@Self)^.clr := $00000008;
  18903. end;
  18904. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18905. begin
  18906. if thebits = 0 then
  18907. pTDefRegMap(@Self)^.clr := $00000008
  18908. else
  18909. pTDefRegMap(@Self)^.&set := $00000008;
  18910. end;
  18911. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18912. begin
  18913. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18914. end;
  18915. procedure TUART1_U1MODE.setRXINV; inline;
  18916. begin
  18917. pTDefRegMap(@Self)^.&set := $00000010;
  18918. end;
  18919. procedure TUART1_U1MODE.clearRXINV; inline;
  18920. begin
  18921. pTDefRegMap(@Self)^.clr := $00000010;
  18922. end;
  18923. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18924. begin
  18925. if thebits = 0 then
  18926. pTDefRegMap(@Self)^.clr := $00000010
  18927. else
  18928. pTDefRegMap(@Self)^.&set := $00000010;
  18929. end;
  18930. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18931. begin
  18932. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18933. end;
  18934. procedure TUART1_U1MODE.setABAUD; inline;
  18935. begin
  18936. pTDefRegMap(@Self)^.&set := $00000020;
  18937. end;
  18938. procedure TUART1_U1MODE.clearABAUD; inline;
  18939. begin
  18940. pTDefRegMap(@Self)^.clr := $00000020;
  18941. end;
  18942. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18943. begin
  18944. if thebits = 0 then
  18945. pTDefRegMap(@Self)^.clr := $00000020
  18946. else
  18947. pTDefRegMap(@Self)^.&set := $00000020;
  18948. end;
  18949. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18950. begin
  18951. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18952. end;
  18953. procedure TUART1_U1MODE.setLPBACK; inline;
  18954. begin
  18955. pTDefRegMap(@Self)^.&set := $00000040;
  18956. end;
  18957. procedure TUART1_U1MODE.clearLPBACK; inline;
  18958. begin
  18959. pTDefRegMap(@Self)^.clr := $00000040;
  18960. end;
  18961. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18962. begin
  18963. if thebits = 0 then
  18964. pTDefRegMap(@Self)^.clr := $00000040
  18965. else
  18966. pTDefRegMap(@Self)^.&set := $00000040;
  18967. end;
  18968. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18969. begin
  18970. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18971. end;
  18972. procedure TUART1_U1MODE.setWAKE; inline;
  18973. begin
  18974. pTDefRegMap(@Self)^.&set := $00000080;
  18975. end;
  18976. procedure TUART1_U1MODE.clearWAKE; inline;
  18977. begin
  18978. pTDefRegMap(@Self)^.clr := $00000080;
  18979. end;
  18980. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18981. begin
  18982. if thebits = 0 then
  18983. pTDefRegMap(@Self)^.clr := $00000080
  18984. else
  18985. pTDefRegMap(@Self)^.&set := $00000080;
  18986. end;
  18987. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18988. begin
  18989. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18990. end;
  18991. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18992. begin
  18993. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18994. end;
  18995. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18996. begin
  18997. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18998. end;
  18999. procedure TUART1_U1MODE.setRTSMD; inline;
  19000. begin
  19001. pTDefRegMap(@Self)^.&set := $00000800;
  19002. end;
  19003. procedure TUART1_U1MODE.clearRTSMD; inline;
  19004. begin
  19005. pTDefRegMap(@Self)^.clr := $00000800;
  19006. end;
  19007. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  19008. begin
  19009. if thebits = 0 then
  19010. pTDefRegMap(@Self)^.clr := $00000800
  19011. else
  19012. pTDefRegMap(@Self)^.&set := $00000800;
  19013. end;
  19014. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  19015. begin
  19016. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19017. end;
  19018. procedure TUART1_U1MODE.setIREN; inline;
  19019. begin
  19020. pTDefRegMap(@Self)^.&set := $00001000;
  19021. end;
  19022. procedure TUART1_U1MODE.clearIREN; inline;
  19023. begin
  19024. pTDefRegMap(@Self)^.clr := $00001000;
  19025. end;
  19026. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  19027. begin
  19028. if thebits = 0 then
  19029. pTDefRegMap(@Self)^.clr := $00001000
  19030. else
  19031. pTDefRegMap(@Self)^.&set := $00001000;
  19032. end;
  19033. function TUART1_U1MODE.getIREN : TBits_1; inline;
  19034. begin
  19035. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19036. end;
  19037. procedure TUART1_U1MODE.setSIDL; inline;
  19038. begin
  19039. pTDefRegMap(@Self)^.&set := $00002000;
  19040. end;
  19041. procedure TUART1_U1MODE.clearSIDL; inline;
  19042. begin
  19043. pTDefRegMap(@Self)^.clr := $00002000;
  19044. end;
  19045. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  19046. begin
  19047. if thebits = 0 then
  19048. pTDefRegMap(@Self)^.clr := $00002000
  19049. else
  19050. pTDefRegMap(@Self)^.&set := $00002000;
  19051. end;
  19052. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  19053. begin
  19054. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19055. end;
  19056. procedure TUART1_U1MODE.setON; inline;
  19057. begin
  19058. pTDefRegMap(@Self)^.&set := $00008000;
  19059. end;
  19060. procedure TUART1_U1MODE.clearON; inline;
  19061. begin
  19062. pTDefRegMap(@Self)^.clr := $00008000;
  19063. end;
  19064. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  19065. begin
  19066. if thebits = 0 then
  19067. pTDefRegMap(@Self)^.clr := $00008000
  19068. else
  19069. pTDefRegMap(@Self)^.&set := $00008000;
  19070. end;
  19071. function TUART1_U1MODE.getON : TBits_1; inline;
  19072. begin
  19073. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19074. end;
  19075. procedure TUART1_U1MODE.setPDSEL0; inline;
  19076. begin
  19077. pTDefRegMap(@Self)^.&set := $00000002;
  19078. end;
  19079. procedure TUART1_U1MODE.clearPDSEL0; inline;
  19080. begin
  19081. pTDefRegMap(@Self)^.clr := $00000002;
  19082. end;
  19083. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  19084. begin
  19085. if thebits = 0 then
  19086. pTDefRegMap(@Self)^.clr := $00000002
  19087. else
  19088. pTDefRegMap(@Self)^.&set := $00000002;
  19089. end;
  19090. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  19091. begin
  19092. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19093. end;
  19094. procedure TUART1_U1MODE.setPDSEL1; inline;
  19095. begin
  19096. pTDefRegMap(@Self)^.&set := $00000004;
  19097. end;
  19098. procedure TUART1_U1MODE.clearPDSEL1; inline;
  19099. begin
  19100. pTDefRegMap(@Self)^.clr := $00000004;
  19101. end;
  19102. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  19103. begin
  19104. if thebits = 0 then
  19105. pTDefRegMap(@Self)^.clr := $00000004
  19106. else
  19107. pTDefRegMap(@Self)^.&set := $00000004;
  19108. end;
  19109. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  19110. begin
  19111. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19112. end;
  19113. procedure TUART1_U1MODE.setUEN0; inline;
  19114. begin
  19115. pTDefRegMap(@Self)^.&set := $00000100;
  19116. end;
  19117. procedure TUART1_U1MODE.clearUEN0; inline;
  19118. begin
  19119. pTDefRegMap(@Self)^.clr := $00000100;
  19120. end;
  19121. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  19122. begin
  19123. if thebits = 0 then
  19124. pTDefRegMap(@Self)^.clr := $00000100
  19125. else
  19126. pTDefRegMap(@Self)^.&set := $00000100;
  19127. end;
  19128. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  19129. begin
  19130. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19131. end;
  19132. procedure TUART1_U1MODE.setUEN1; inline;
  19133. begin
  19134. pTDefRegMap(@Self)^.&set := $00000200;
  19135. end;
  19136. procedure TUART1_U1MODE.clearUEN1; inline;
  19137. begin
  19138. pTDefRegMap(@Self)^.clr := $00000200;
  19139. end;
  19140. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  19141. begin
  19142. if thebits = 0 then
  19143. pTDefRegMap(@Self)^.clr := $00000200
  19144. else
  19145. pTDefRegMap(@Self)^.&set := $00000200;
  19146. end;
  19147. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  19148. begin
  19149. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19150. end;
  19151. procedure TUART1_U1MODE.setUSIDL; inline;
  19152. begin
  19153. pTDefRegMap(@Self)^.&set := $00002000;
  19154. end;
  19155. procedure TUART1_U1MODE.clearUSIDL; inline;
  19156. begin
  19157. pTDefRegMap(@Self)^.clr := $00002000;
  19158. end;
  19159. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  19160. begin
  19161. if thebits = 0 then
  19162. pTDefRegMap(@Self)^.clr := $00002000
  19163. else
  19164. pTDefRegMap(@Self)^.&set := $00002000;
  19165. end;
  19166. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  19167. begin
  19168. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19169. end;
  19170. procedure TUART1_U1MODE.setUARTEN; inline;
  19171. begin
  19172. pTDefRegMap(@Self)^.&set := $00008000;
  19173. end;
  19174. procedure TUART1_U1MODE.clearUARTEN; inline;
  19175. begin
  19176. pTDefRegMap(@Self)^.clr := $00008000;
  19177. end;
  19178. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  19179. begin
  19180. if thebits = 0 then
  19181. pTDefRegMap(@Self)^.clr := $00008000
  19182. else
  19183. pTDefRegMap(@Self)^.&set := $00008000;
  19184. end;
  19185. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  19186. begin
  19187. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19188. end;
  19189. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  19190. begin
  19191. pTDefRegMap(@Self)^.val := thebits;
  19192. end;
  19193. function TUART1_U1MODE.getw : TBits_32; inline;
  19194. begin
  19195. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19196. end;
  19197. procedure TUART1_U1ASTA.setURXDA; inline;
  19198. begin
  19199. pTDefRegMap(@Self)^.&set := $00000001;
  19200. end;
  19201. procedure TUART1_U1ASTA.clearURXDA; inline;
  19202. begin
  19203. pTDefRegMap(@Self)^.clr := $00000001;
  19204. end;
  19205. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  19206. begin
  19207. if thebits = 0 then
  19208. pTDefRegMap(@Self)^.clr := $00000001
  19209. else
  19210. pTDefRegMap(@Self)^.&set := $00000001;
  19211. end;
  19212. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  19213. begin
  19214. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19215. end;
  19216. procedure TUART1_U1ASTA.setOERR; inline;
  19217. begin
  19218. pTDefRegMap(@Self)^.&set := $00000002;
  19219. end;
  19220. procedure TUART1_U1ASTA.clearOERR; inline;
  19221. begin
  19222. pTDefRegMap(@Self)^.clr := $00000002;
  19223. end;
  19224. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  19225. begin
  19226. if thebits = 0 then
  19227. pTDefRegMap(@Self)^.clr := $00000002
  19228. else
  19229. pTDefRegMap(@Self)^.&set := $00000002;
  19230. end;
  19231. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  19232. begin
  19233. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19234. end;
  19235. procedure TUART1_U1ASTA.setFERR; inline;
  19236. begin
  19237. pTDefRegMap(@Self)^.&set := $00000004;
  19238. end;
  19239. procedure TUART1_U1ASTA.clearFERR; inline;
  19240. begin
  19241. pTDefRegMap(@Self)^.clr := $00000004;
  19242. end;
  19243. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  19244. begin
  19245. if thebits = 0 then
  19246. pTDefRegMap(@Self)^.clr := $00000004
  19247. else
  19248. pTDefRegMap(@Self)^.&set := $00000004;
  19249. end;
  19250. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  19251. begin
  19252. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19253. end;
  19254. procedure TUART1_U1ASTA.setPERR; inline;
  19255. begin
  19256. pTDefRegMap(@Self)^.&set := $00000008;
  19257. end;
  19258. procedure TUART1_U1ASTA.clearPERR; inline;
  19259. begin
  19260. pTDefRegMap(@Self)^.clr := $00000008;
  19261. end;
  19262. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  19263. begin
  19264. if thebits = 0 then
  19265. pTDefRegMap(@Self)^.clr := $00000008
  19266. else
  19267. pTDefRegMap(@Self)^.&set := $00000008;
  19268. end;
  19269. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  19270. begin
  19271. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19272. end;
  19273. procedure TUART1_U1ASTA.setRIDLE; inline;
  19274. begin
  19275. pTDefRegMap(@Self)^.&set := $00000010;
  19276. end;
  19277. procedure TUART1_U1ASTA.clearRIDLE; inline;
  19278. begin
  19279. pTDefRegMap(@Self)^.clr := $00000010;
  19280. end;
  19281. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  19282. begin
  19283. if thebits = 0 then
  19284. pTDefRegMap(@Self)^.clr := $00000010
  19285. else
  19286. pTDefRegMap(@Self)^.&set := $00000010;
  19287. end;
  19288. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  19289. begin
  19290. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19291. end;
  19292. procedure TUART1_U1ASTA.setADDEN; inline;
  19293. begin
  19294. pTDefRegMap(@Self)^.&set := $00000020;
  19295. end;
  19296. procedure TUART1_U1ASTA.clearADDEN; inline;
  19297. begin
  19298. pTDefRegMap(@Self)^.clr := $00000020;
  19299. end;
  19300. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  19301. begin
  19302. if thebits = 0 then
  19303. pTDefRegMap(@Self)^.clr := $00000020
  19304. else
  19305. pTDefRegMap(@Self)^.&set := $00000020;
  19306. end;
  19307. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  19308. begin
  19309. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19310. end;
  19311. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  19312. begin
  19313. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19314. end;
  19315. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  19316. begin
  19317. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19318. end;
  19319. procedure TUART1_U1ASTA.setTRMT; inline;
  19320. begin
  19321. pTDefRegMap(@Self)^.&set := $00000100;
  19322. end;
  19323. procedure TUART1_U1ASTA.clearTRMT; inline;
  19324. begin
  19325. pTDefRegMap(@Self)^.clr := $00000100;
  19326. end;
  19327. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  19328. begin
  19329. if thebits = 0 then
  19330. pTDefRegMap(@Self)^.clr := $00000100
  19331. else
  19332. pTDefRegMap(@Self)^.&set := $00000100;
  19333. end;
  19334. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  19335. begin
  19336. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19337. end;
  19338. procedure TUART1_U1ASTA.setUTXBF; inline;
  19339. begin
  19340. pTDefRegMap(@Self)^.&set := $00000200;
  19341. end;
  19342. procedure TUART1_U1ASTA.clearUTXBF; inline;
  19343. begin
  19344. pTDefRegMap(@Self)^.clr := $00000200;
  19345. end;
  19346. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  19347. begin
  19348. if thebits = 0 then
  19349. pTDefRegMap(@Self)^.clr := $00000200
  19350. else
  19351. pTDefRegMap(@Self)^.&set := $00000200;
  19352. end;
  19353. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  19354. begin
  19355. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19356. end;
  19357. procedure TUART1_U1ASTA.setUTXEN; inline;
  19358. begin
  19359. pTDefRegMap(@Self)^.&set := $00000400;
  19360. end;
  19361. procedure TUART1_U1ASTA.clearUTXEN; inline;
  19362. begin
  19363. pTDefRegMap(@Self)^.clr := $00000400;
  19364. end;
  19365. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  19366. begin
  19367. if thebits = 0 then
  19368. pTDefRegMap(@Self)^.clr := $00000400
  19369. else
  19370. pTDefRegMap(@Self)^.&set := $00000400;
  19371. end;
  19372. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  19373. begin
  19374. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19375. end;
  19376. procedure TUART1_U1ASTA.setUTXBRK; inline;
  19377. begin
  19378. pTDefRegMap(@Self)^.&set := $00000800;
  19379. end;
  19380. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  19381. begin
  19382. pTDefRegMap(@Self)^.clr := $00000800;
  19383. end;
  19384. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  19385. begin
  19386. if thebits = 0 then
  19387. pTDefRegMap(@Self)^.clr := $00000800
  19388. else
  19389. pTDefRegMap(@Self)^.&set := $00000800;
  19390. end;
  19391. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  19392. begin
  19393. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19394. end;
  19395. procedure TUART1_U1ASTA.setURXEN; inline;
  19396. begin
  19397. pTDefRegMap(@Self)^.&set := $00001000;
  19398. end;
  19399. procedure TUART1_U1ASTA.clearURXEN; inline;
  19400. begin
  19401. pTDefRegMap(@Self)^.clr := $00001000;
  19402. end;
  19403. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  19404. begin
  19405. if thebits = 0 then
  19406. pTDefRegMap(@Self)^.clr := $00001000
  19407. else
  19408. pTDefRegMap(@Self)^.&set := $00001000;
  19409. end;
  19410. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  19411. begin
  19412. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19413. end;
  19414. procedure TUART1_U1ASTA.setUTXINV; inline;
  19415. begin
  19416. pTDefRegMap(@Self)^.&set := $00002000;
  19417. end;
  19418. procedure TUART1_U1ASTA.clearUTXINV; inline;
  19419. begin
  19420. pTDefRegMap(@Self)^.clr := $00002000;
  19421. end;
  19422. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  19423. begin
  19424. if thebits = 0 then
  19425. pTDefRegMap(@Self)^.clr := $00002000
  19426. else
  19427. pTDefRegMap(@Self)^.&set := $00002000;
  19428. end;
  19429. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  19430. begin
  19431. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19432. end;
  19433. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  19434. begin
  19435. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19436. end;
  19437. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  19438. begin
  19439. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19440. end;
  19441. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  19442. begin
  19443. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19444. end;
  19445. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  19446. begin
  19447. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19448. end;
  19449. procedure TUART1_U1ASTA.setADM_EN; inline;
  19450. begin
  19451. pTDefRegMap(@Self)^.&set := $01000000;
  19452. end;
  19453. procedure TUART1_U1ASTA.clearADM_EN; inline;
  19454. begin
  19455. pTDefRegMap(@Self)^.clr := $01000000;
  19456. end;
  19457. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  19458. begin
  19459. if thebits = 0 then
  19460. pTDefRegMap(@Self)^.clr := $01000000
  19461. else
  19462. pTDefRegMap(@Self)^.&set := $01000000;
  19463. end;
  19464. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  19465. begin
  19466. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19467. end;
  19468. procedure TUART1_U1ASTA.setURXISEL0; inline;
  19469. begin
  19470. pTDefRegMap(@Self)^.&set := $00000040;
  19471. end;
  19472. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  19473. begin
  19474. pTDefRegMap(@Self)^.clr := $00000040;
  19475. end;
  19476. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  19477. begin
  19478. if thebits = 0 then
  19479. pTDefRegMap(@Self)^.clr := $00000040
  19480. else
  19481. pTDefRegMap(@Self)^.&set := $00000040;
  19482. end;
  19483. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  19484. begin
  19485. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19486. end;
  19487. procedure TUART1_U1ASTA.setURXISEL1; inline;
  19488. begin
  19489. pTDefRegMap(@Self)^.&set := $00000080;
  19490. end;
  19491. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  19492. begin
  19493. pTDefRegMap(@Self)^.clr := $00000080;
  19494. end;
  19495. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  19496. begin
  19497. if thebits = 0 then
  19498. pTDefRegMap(@Self)^.clr := $00000080
  19499. else
  19500. pTDefRegMap(@Self)^.&set := $00000080;
  19501. end;
  19502. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  19503. begin
  19504. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19505. end;
  19506. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  19507. begin
  19508. pTDefRegMap(@Self)^.&set := $00004000;
  19509. end;
  19510. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  19511. begin
  19512. pTDefRegMap(@Self)^.clr := $00004000;
  19513. end;
  19514. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  19515. begin
  19516. if thebits = 0 then
  19517. pTDefRegMap(@Self)^.clr := $00004000
  19518. else
  19519. pTDefRegMap(@Self)^.&set := $00004000;
  19520. end;
  19521. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  19522. begin
  19523. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19524. end;
  19525. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  19526. begin
  19527. pTDefRegMap(@Self)^.&set := $00008000;
  19528. end;
  19529. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  19530. begin
  19531. pTDefRegMap(@Self)^.clr := $00008000;
  19532. end;
  19533. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  19534. begin
  19535. if thebits = 0 then
  19536. pTDefRegMap(@Self)^.clr := $00008000
  19537. else
  19538. pTDefRegMap(@Self)^.&set := $00008000;
  19539. end;
  19540. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  19541. begin
  19542. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19543. end;
  19544. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  19545. begin
  19546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19547. end;
  19548. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  19549. begin
  19550. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19551. end;
  19552. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  19553. begin
  19554. pTDefRegMap(@Self)^.val := thebits;
  19555. end;
  19556. function TUART1_U1ASTA.getw : TBits_32; inline;
  19557. begin
  19558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19559. end;
  19560. procedure TUART1_U1STA.setURXDA; inline;
  19561. begin
  19562. pTDefRegMap(@Self)^.&set := $00000001;
  19563. end;
  19564. procedure TUART1_U1STA.clearURXDA; inline;
  19565. begin
  19566. pTDefRegMap(@Self)^.clr := $00000001;
  19567. end;
  19568. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  19569. begin
  19570. if thebits = 0 then
  19571. pTDefRegMap(@Self)^.clr := $00000001
  19572. else
  19573. pTDefRegMap(@Self)^.&set := $00000001;
  19574. end;
  19575. function TUART1_U1STA.getURXDA : TBits_1; inline;
  19576. begin
  19577. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19578. end;
  19579. procedure TUART1_U1STA.setOERR; inline;
  19580. begin
  19581. pTDefRegMap(@Self)^.&set := $00000002;
  19582. end;
  19583. procedure TUART1_U1STA.clearOERR; inline;
  19584. begin
  19585. pTDefRegMap(@Self)^.clr := $00000002;
  19586. end;
  19587. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  19588. begin
  19589. if thebits = 0 then
  19590. pTDefRegMap(@Self)^.clr := $00000002
  19591. else
  19592. pTDefRegMap(@Self)^.&set := $00000002;
  19593. end;
  19594. function TUART1_U1STA.getOERR : TBits_1; inline;
  19595. begin
  19596. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19597. end;
  19598. procedure TUART1_U1STA.setFERR; inline;
  19599. begin
  19600. pTDefRegMap(@Self)^.&set := $00000004;
  19601. end;
  19602. procedure TUART1_U1STA.clearFERR; inline;
  19603. begin
  19604. pTDefRegMap(@Self)^.clr := $00000004;
  19605. end;
  19606. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  19607. begin
  19608. if thebits = 0 then
  19609. pTDefRegMap(@Self)^.clr := $00000004
  19610. else
  19611. pTDefRegMap(@Self)^.&set := $00000004;
  19612. end;
  19613. function TUART1_U1STA.getFERR : TBits_1; inline;
  19614. begin
  19615. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19616. end;
  19617. procedure TUART1_U1STA.setPERR; inline;
  19618. begin
  19619. pTDefRegMap(@Self)^.&set := $00000008;
  19620. end;
  19621. procedure TUART1_U1STA.clearPERR; inline;
  19622. begin
  19623. pTDefRegMap(@Self)^.clr := $00000008;
  19624. end;
  19625. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  19626. begin
  19627. if thebits = 0 then
  19628. pTDefRegMap(@Self)^.clr := $00000008
  19629. else
  19630. pTDefRegMap(@Self)^.&set := $00000008;
  19631. end;
  19632. function TUART1_U1STA.getPERR : TBits_1; inline;
  19633. begin
  19634. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19635. end;
  19636. procedure TUART1_U1STA.setRIDLE; inline;
  19637. begin
  19638. pTDefRegMap(@Self)^.&set := $00000010;
  19639. end;
  19640. procedure TUART1_U1STA.clearRIDLE; inline;
  19641. begin
  19642. pTDefRegMap(@Self)^.clr := $00000010;
  19643. end;
  19644. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  19645. begin
  19646. if thebits = 0 then
  19647. pTDefRegMap(@Self)^.clr := $00000010
  19648. else
  19649. pTDefRegMap(@Self)^.&set := $00000010;
  19650. end;
  19651. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  19652. begin
  19653. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19654. end;
  19655. procedure TUART1_U1STA.setADDEN; inline;
  19656. begin
  19657. pTDefRegMap(@Self)^.&set := $00000020;
  19658. end;
  19659. procedure TUART1_U1STA.clearADDEN; inline;
  19660. begin
  19661. pTDefRegMap(@Self)^.clr := $00000020;
  19662. end;
  19663. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  19664. begin
  19665. if thebits = 0 then
  19666. pTDefRegMap(@Self)^.clr := $00000020
  19667. else
  19668. pTDefRegMap(@Self)^.&set := $00000020;
  19669. end;
  19670. function TUART1_U1STA.getADDEN : TBits_1; inline;
  19671. begin
  19672. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19673. end;
  19674. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  19675. begin
  19676. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19677. end;
  19678. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  19679. begin
  19680. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19681. end;
  19682. procedure TUART1_U1STA.setTRMT; inline;
  19683. begin
  19684. pTDefRegMap(@Self)^.&set := $00000100;
  19685. end;
  19686. procedure TUART1_U1STA.clearTRMT; inline;
  19687. begin
  19688. pTDefRegMap(@Self)^.clr := $00000100;
  19689. end;
  19690. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  19691. begin
  19692. if thebits = 0 then
  19693. pTDefRegMap(@Self)^.clr := $00000100
  19694. else
  19695. pTDefRegMap(@Self)^.&set := $00000100;
  19696. end;
  19697. function TUART1_U1STA.getTRMT : TBits_1; inline;
  19698. begin
  19699. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19700. end;
  19701. procedure TUART1_U1STA.setUTXBF; inline;
  19702. begin
  19703. pTDefRegMap(@Self)^.&set := $00000200;
  19704. end;
  19705. procedure TUART1_U1STA.clearUTXBF; inline;
  19706. begin
  19707. pTDefRegMap(@Self)^.clr := $00000200;
  19708. end;
  19709. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  19710. begin
  19711. if thebits = 0 then
  19712. pTDefRegMap(@Self)^.clr := $00000200
  19713. else
  19714. pTDefRegMap(@Self)^.&set := $00000200;
  19715. end;
  19716. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  19717. begin
  19718. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19719. end;
  19720. procedure TUART1_U1STA.setUTXEN; inline;
  19721. begin
  19722. pTDefRegMap(@Self)^.&set := $00000400;
  19723. end;
  19724. procedure TUART1_U1STA.clearUTXEN; inline;
  19725. begin
  19726. pTDefRegMap(@Self)^.clr := $00000400;
  19727. end;
  19728. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  19729. begin
  19730. if thebits = 0 then
  19731. pTDefRegMap(@Self)^.clr := $00000400
  19732. else
  19733. pTDefRegMap(@Self)^.&set := $00000400;
  19734. end;
  19735. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  19736. begin
  19737. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19738. end;
  19739. procedure TUART1_U1STA.setUTXBRK; inline;
  19740. begin
  19741. pTDefRegMap(@Self)^.&set := $00000800;
  19742. end;
  19743. procedure TUART1_U1STA.clearUTXBRK; inline;
  19744. begin
  19745. pTDefRegMap(@Self)^.clr := $00000800;
  19746. end;
  19747. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  19748. begin
  19749. if thebits = 0 then
  19750. pTDefRegMap(@Self)^.clr := $00000800
  19751. else
  19752. pTDefRegMap(@Self)^.&set := $00000800;
  19753. end;
  19754. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  19755. begin
  19756. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19757. end;
  19758. procedure TUART1_U1STA.setURXEN; inline;
  19759. begin
  19760. pTDefRegMap(@Self)^.&set := $00001000;
  19761. end;
  19762. procedure TUART1_U1STA.clearURXEN; inline;
  19763. begin
  19764. pTDefRegMap(@Self)^.clr := $00001000;
  19765. end;
  19766. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  19767. begin
  19768. if thebits = 0 then
  19769. pTDefRegMap(@Self)^.clr := $00001000
  19770. else
  19771. pTDefRegMap(@Self)^.&set := $00001000;
  19772. end;
  19773. function TUART1_U1STA.getURXEN : TBits_1; inline;
  19774. begin
  19775. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19776. end;
  19777. procedure TUART1_U1STA.setUTXINV; inline;
  19778. begin
  19779. pTDefRegMap(@Self)^.&set := $00002000;
  19780. end;
  19781. procedure TUART1_U1STA.clearUTXINV; inline;
  19782. begin
  19783. pTDefRegMap(@Self)^.clr := $00002000;
  19784. end;
  19785. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19786. begin
  19787. if thebits = 0 then
  19788. pTDefRegMap(@Self)^.clr := $00002000
  19789. else
  19790. pTDefRegMap(@Self)^.&set := $00002000;
  19791. end;
  19792. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19793. begin
  19794. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19795. end;
  19796. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19797. begin
  19798. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19799. end;
  19800. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19801. begin
  19802. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19803. end;
  19804. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19805. begin
  19806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19807. end;
  19808. function TUART1_U1STA.getADDR : TBits_8; inline;
  19809. begin
  19810. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19811. end;
  19812. procedure TUART1_U1STA.setADM_EN; inline;
  19813. begin
  19814. pTDefRegMap(@Self)^.&set := $01000000;
  19815. end;
  19816. procedure TUART1_U1STA.clearADM_EN; inline;
  19817. begin
  19818. pTDefRegMap(@Self)^.clr := $01000000;
  19819. end;
  19820. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19821. begin
  19822. if thebits = 0 then
  19823. pTDefRegMap(@Self)^.clr := $01000000
  19824. else
  19825. pTDefRegMap(@Self)^.&set := $01000000;
  19826. end;
  19827. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19828. begin
  19829. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19830. end;
  19831. procedure TUART1_U1STA.setURXISEL0; inline;
  19832. begin
  19833. pTDefRegMap(@Self)^.&set := $00000040;
  19834. end;
  19835. procedure TUART1_U1STA.clearURXISEL0; inline;
  19836. begin
  19837. pTDefRegMap(@Self)^.clr := $00000040;
  19838. end;
  19839. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19840. begin
  19841. if thebits = 0 then
  19842. pTDefRegMap(@Self)^.clr := $00000040
  19843. else
  19844. pTDefRegMap(@Self)^.&set := $00000040;
  19845. end;
  19846. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19847. begin
  19848. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19849. end;
  19850. procedure TUART1_U1STA.setURXISEL1; inline;
  19851. begin
  19852. pTDefRegMap(@Self)^.&set := $00000080;
  19853. end;
  19854. procedure TUART1_U1STA.clearURXISEL1; inline;
  19855. begin
  19856. pTDefRegMap(@Self)^.clr := $00000080;
  19857. end;
  19858. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19859. begin
  19860. if thebits = 0 then
  19861. pTDefRegMap(@Self)^.clr := $00000080
  19862. else
  19863. pTDefRegMap(@Self)^.&set := $00000080;
  19864. end;
  19865. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19866. begin
  19867. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19868. end;
  19869. procedure TUART1_U1STA.setUTXISEL0; inline;
  19870. begin
  19871. pTDefRegMap(@Self)^.&set := $00004000;
  19872. end;
  19873. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19874. begin
  19875. pTDefRegMap(@Self)^.clr := $00004000;
  19876. end;
  19877. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19878. begin
  19879. if thebits = 0 then
  19880. pTDefRegMap(@Self)^.clr := $00004000
  19881. else
  19882. pTDefRegMap(@Self)^.&set := $00004000;
  19883. end;
  19884. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19885. begin
  19886. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19887. end;
  19888. procedure TUART1_U1STA.setUTXISEL1; inline;
  19889. begin
  19890. pTDefRegMap(@Self)^.&set := $00008000;
  19891. end;
  19892. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19893. begin
  19894. pTDefRegMap(@Self)^.clr := $00008000;
  19895. end;
  19896. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19897. begin
  19898. if thebits = 0 then
  19899. pTDefRegMap(@Self)^.clr := $00008000
  19900. else
  19901. pTDefRegMap(@Self)^.&set := $00008000;
  19902. end;
  19903. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19904. begin
  19905. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19906. end;
  19907. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19908. begin
  19909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19910. end;
  19911. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19912. begin
  19913. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19914. end;
  19915. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19916. begin
  19917. pTDefRegMap(@Self)^.val := thebits;
  19918. end;
  19919. function TUART1_U1STA.getw : TBits_32; inline;
  19920. begin
  19921. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19922. end;
  19923. procedure TUART2_U2MODE.setSTSEL; inline;
  19924. begin
  19925. pTDefRegMap(@Self)^.&set := $00000001;
  19926. end;
  19927. procedure TUART2_U2MODE.clearSTSEL; inline;
  19928. begin
  19929. pTDefRegMap(@Self)^.clr := $00000001;
  19930. end;
  19931. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19932. begin
  19933. if thebits = 0 then
  19934. pTDefRegMap(@Self)^.clr := $00000001
  19935. else
  19936. pTDefRegMap(@Self)^.&set := $00000001;
  19937. end;
  19938. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19939. begin
  19940. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19941. end;
  19942. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19943. begin
  19944. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19945. end;
  19946. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19947. begin
  19948. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19949. end;
  19950. procedure TUART2_U2MODE.setBRGH; inline;
  19951. begin
  19952. pTDefRegMap(@Self)^.&set := $00000008;
  19953. end;
  19954. procedure TUART2_U2MODE.clearBRGH; inline;
  19955. begin
  19956. pTDefRegMap(@Self)^.clr := $00000008;
  19957. end;
  19958. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19959. begin
  19960. if thebits = 0 then
  19961. pTDefRegMap(@Self)^.clr := $00000008
  19962. else
  19963. pTDefRegMap(@Self)^.&set := $00000008;
  19964. end;
  19965. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19966. begin
  19967. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19968. end;
  19969. procedure TUART2_U2MODE.setRXINV; inline;
  19970. begin
  19971. pTDefRegMap(@Self)^.&set := $00000010;
  19972. end;
  19973. procedure TUART2_U2MODE.clearRXINV; inline;
  19974. begin
  19975. pTDefRegMap(@Self)^.clr := $00000010;
  19976. end;
  19977. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19978. begin
  19979. if thebits = 0 then
  19980. pTDefRegMap(@Self)^.clr := $00000010
  19981. else
  19982. pTDefRegMap(@Self)^.&set := $00000010;
  19983. end;
  19984. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19985. begin
  19986. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19987. end;
  19988. procedure TUART2_U2MODE.setABAUD; inline;
  19989. begin
  19990. pTDefRegMap(@Self)^.&set := $00000020;
  19991. end;
  19992. procedure TUART2_U2MODE.clearABAUD; inline;
  19993. begin
  19994. pTDefRegMap(@Self)^.clr := $00000020;
  19995. end;
  19996. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19997. begin
  19998. if thebits = 0 then
  19999. pTDefRegMap(@Self)^.clr := $00000020
  20000. else
  20001. pTDefRegMap(@Self)^.&set := $00000020;
  20002. end;
  20003. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  20004. begin
  20005. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20006. end;
  20007. procedure TUART2_U2MODE.setLPBACK; inline;
  20008. begin
  20009. pTDefRegMap(@Self)^.&set := $00000040;
  20010. end;
  20011. procedure TUART2_U2MODE.clearLPBACK; inline;
  20012. begin
  20013. pTDefRegMap(@Self)^.clr := $00000040;
  20014. end;
  20015. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  20016. begin
  20017. if thebits = 0 then
  20018. pTDefRegMap(@Self)^.clr := $00000040
  20019. else
  20020. pTDefRegMap(@Self)^.&set := $00000040;
  20021. end;
  20022. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  20023. begin
  20024. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20025. end;
  20026. procedure TUART2_U2MODE.setWAKE; inline;
  20027. begin
  20028. pTDefRegMap(@Self)^.&set := $00000080;
  20029. end;
  20030. procedure TUART2_U2MODE.clearWAKE; inline;
  20031. begin
  20032. pTDefRegMap(@Self)^.clr := $00000080;
  20033. end;
  20034. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  20035. begin
  20036. if thebits = 0 then
  20037. pTDefRegMap(@Self)^.clr := $00000080
  20038. else
  20039. pTDefRegMap(@Self)^.&set := $00000080;
  20040. end;
  20041. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  20042. begin
  20043. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20044. end;
  20045. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  20046. begin
  20047. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20048. end;
  20049. function TUART2_U2MODE.getUEN : TBits_2; inline;
  20050. begin
  20051. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20052. end;
  20053. procedure TUART2_U2MODE.setRTSMD; inline;
  20054. begin
  20055. pTDefRegMap(@Self)^.&set := $00000800;
  20056. end;
  20057. procedure TUART2_U2MODE.clearRTSMD; inline;
  20058. begin
  20059. pTDefRegMap(@Self)^.clr := $00000800;
  20060. end;
  20061. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  20062. begin
  20063. if thebits = 0 then
  20064. pTDefRegMap(@Self)^.clr := $00000800
  20065. else
  20066. pTDefRegMap(@Self)^.&set := $00000800;
  20067. end;
  20068. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  20069. begin
  20070. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20071. end;
  20072. procedure TUART2_U2MODE.setIREN; inline;
  20073. begin
  20074. pTDefRegMap(@Self)^.&set := $00001000;
  20075. end;
  20076. procedure TUART2_U2MODE.clearIREN; inline;
  20077. begin
  20078. pTDefRegMap(@Self)^.clr := $00001000;
  20079. end;
  20080. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  20081. begin
  20082. if thebits = 0 then
  20083. pTDefRegMap(@Self)^.clr := $00001000
  20084. else
  20085. pTDefRegMap(@Self)^.&set := $00001000;
  20086. end;
  20087. function TUART2_U2MODE.getIREN : TBits_1; inline;
  20088. begin
  20089. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20090. end;
  20091. procedure TUART2_U2MODE.setSIDL; inline;
  20092. begin
  20093. pTDefRegMap(@Self)^.&set := $00002000;
  20094. end;
  20095. procedure TUART2_U2MODE.clearSIDL; inline;
  20096. begin
  20097. pTDefRegMap(@Self)^.clr := $00002000;
  20098. end;
  20099. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  20100. begin
  20101. if thebits = 0 then
  20102. pTDefRegMap(@Self)^.clr := $00002000
  20103. else
  20104. pTDefRegMap(@Self)^.&set := $00002000;
  20105. end;
  20106. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  20107. begin
  20108. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20109. end;
  20110. procedure TUART2_U2MODE.setON; inline;
  20111. begin
  20112. pTDefRegMap(@Self)^.&set := $00008000;
  20113. end;
  20114. procedure TUART2_U2MODE.clearON; inline;
  20115. begin
  20116. pTDefRegMap(@Self)^.clr := $00008000;
  20117. end;
  20118. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  20119. begin
  20120. if thebits = 0 then
  20121. pTDefRegMap(@Self)^.clr := $00008000
  20122. else
  20123. pTDefRegMap(@Self)^.&set := $00008000;
  20124. end;
  20125. function TUART2_U2MODE.getON : TBits_1; inline;
  20126. begin
  20127. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20128. end;
  20129. procedure TUART2_U2MODE.setPDSEL0; inline;
  20130. begin
  20131. pTDefRegMap(@Self)^.&set := $00000002;
  20132. end;
  20133. procedure TUART2_U2MODE.clearPDSEL0; inline;
  20134. begin
  20135. pTDefRegMap(@Self)^.clr := $00000002;
  20136. end;
  20137. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  20138. begin
  20139. if thebits = 0 then
  20140. pTDefRegMap(@Self)^.clr := $00000002
  20141. else
  20142. pTDefRegMap(@Self)^.&set := $00000002;
  20143. end;
  20144. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  20145. begin
  20146. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20147. end;
  20148. procedure TUART2_U2MODE.setPDSEL1; inline;
  20149. begin
  20150. pTDefRegMap(@Self)^.&set := $00000004;
  20151. end;
  20152. procedure TUART2_U2MODE.clearPDSEL1; inline;
  20153. begin
  20154. pTDefRegMap(@Self)^.clr := $00000004;
  20155. end;
  20156. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  20157. begin
  20158. if thebits = 0 then
  20159. pTDefRegMap(@Self)^.clr := $00000004
  20160. else
  20161. pTDefRegMap(@Self)^.&set := $00000004;
  20162. end;
  20163. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  20164. begin
  20165. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20166. end;
  20167. procedure TUART2_U2MODE.setUEN0; inline;
  20168. begin
  20169. pTDefRegMap(@Self)^.&set := $00000100;
  20170. end;
  20171. procedure TUART2_U2MODE.clearUEN0; inline;
  20172. begin
  20173. pTDefRegMap(@Self)^.clr := $00000100;
  20174. end;
  20175. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  20176. begin
  20177. if thebits = 0 then
  20178. pTDefRegMap(@Self)^.clr := $00000100
  20179. else
  20180. pTDefRegMap(@Self)^.&set := $00000100;
  20181. end;
  20182. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  20183. begin
  20184. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20185. end;
  20186. procedure TUART2_U2MODE.setUEN1; inline;
  20187. begin
  20188. pTDefRegMap(@Self)^.&set := $00000200;
  20189. end;
  20190. procedure TUART2_U2MODE.clearUEN1; inline;
  20191. begin
  20192. pTDefRegMap(@Self)^.clr := $00000200;
  20193. end;
  20194. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  20195. begin
  20196. if thebits = 0 then
  20197. pTDefRegMap(@Self)^.clr := $00000200
  20198. else
  20199. pTDefRegMap(@Self)^.&set := $00000200;
  20200. end;
  20201. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  20202. begin
  20203. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20204. end;
  20205. procedure TUART2_U2MODE.setUSIDL; inline;
  20206. begin
  20207. pTDefRegMap(@Self)^.&set := $00002000;
  20208. end;
  20209. procedure TUART2_U2MODE.clearUSIDL; inline;
  20210. begin
  20211. pTDefRegMap(@Self)^.clr := $00002000;
  20212. end;
  20213. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  20214. begin
  20215. if thebits = 0 then
  20216. pTDefRegMap(@Self)^.clr := $00002000
  20217. else
  20218. pTDefRegMap(@Self)^.&set := $00002000;
  20219. end;
  20220. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  20221. begin
  20222. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20223. end;
  20224. procedure TUART2_U2MODE.setUARTEN; inline;
  20225. begin
  20226. pTDefRegMap(@Self)^.&set := $00008000;
  20227. end;
  20228. procedure TUART2_U2MODE.clearUARTEN; inline;
  20229. begin
  20230. pTDefRegMap(@Self)^.clr := $00008000;
  20231. end;
  20232. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  20233. begin
  20234. if thebits = 0 then
  20235. pTDefRegMap(@Self)^.clr := $00008000
  20236. else
  20237. pTDefRegMap(@Self)^.&set := $00008000;
  20238. end;
  20239. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  20240. begin
  20241. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20242. end;
  20243. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  20244. begin
  20245. pTDefRegMap(@Self)^.val := thebits;
  20246. end;
  20247. function TUART2_U2MODE.getw : TBits_32; inline;
  20248. begin
  20249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20250. end;
  20251. procedure TUART2_U3AMODE.setSTSEL; inline;
  20252. begin
  20253. pTDefRegMap(@Self)^.&set := $00000001;
  20254. end;
  20255. procedure TUART2_U3AMODE.clearSTSEL; inline;
  20256. begin
  20257. pTDefRegMap(@Self)^.clr := $00000001;
  20258. end;
  20259. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  20260. begin
  20261. if thebits = 0 then
  20262. pTDefRegMap(@Self)^.clr := $00000001
  20263. else
  20264. pTDefRegMap(@Self)^.&set := $00000001;
  20265. end;
  20266. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  20267. begin
  20268. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20269. end;
  20270. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  20271. begin
  20272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  20273. end;
  20274. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  20275. begin
  20276. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  20277. end;
  20278. procedure TUART2_U3AMODE.setBRGH; inline;
  20279. begin
  20280. pTDefRegMap(@Self)^.&set := $00000008;
  20281. end;
  20282. procedure TUART2_U3AMODE.clearBRGH; inline;
  20283. begin
  20284. pTDefRegMap(@Self)^.clr := $00000008;
  20285. end;
  20286. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  20287. begin
  20288. if thebits = 0 then
  20289. pTDefRegMap(@Self)^.clr := $00000008
  20290. else
  20291. pTDefRegMap(@Self)^.&set := $00000008;
  20292. end;
  20293. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  20294. begin
  20295. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20296. end;
  20297. procedure TUART2_U3AMODE.setRXINV; inline;
  20298. begin
  20299. pTDefRegMap(@Self)^.&set := $00000010;
  20300. end;
  20301. procedure TUART2_U3AMODE.clearRXINV; inline;
  20302. begin
  20303. pTDefRegMap(@Self)^.clr := $00000010;
  20304. end;
  20305. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  20306. begin
  20307. if thebits = 0 then
  20308. pTDefRegMap(@Self)^.clr := $00000010
  20309. else
  20310. pTDefRegMap(@Self)^.&set := $00000010;
  20311. end;
  20312. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  20313. begin
  20314. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20315. end;
  20316. procedure TUART2_U3AMODE.setABAUD; inline;
  20317. begin
  20318. pTDefRegMap(@Self)^.&set := $00000020;
  20319. end;
  20320. procedure TUART2_U3AMODE.clearABAUD; inline;
  20321. begin
  20322. pTDefRegMap(@Self)^.clr := $00000020;
  20323. end;
  20324. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  20325. begin
  20326. if thebits = 0 then
  20327. pTDefRegMap(@Self)^.clr := $00000020
  20328. else
  20329. pTDefRegMap(@Self)^.&set := $00000020;
  20330. end;
  20331. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  20332. begin
  20333. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20334. end;
  20335. procedure TUART2_U3AMODE.setLPBACK; inline;
  20336. begin
  20337. pTDefRegMap(@Self)^.&set := $00000040;
  20338. end;
  20339. procedure TUART2_U3AMODE.clearLPBACK; inline;
  20340. begin
  20341. pTDefRegMap(@Self)^.clr := $00000040;
  20342. end;
  20343. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  20344. begin
  20345. if thebits = 0 then
  20346. pTDefRegMap(@Self)^.clr := $00000040
  20347. else
  20348. pTDefRegMap(@Self)^.&set := $00000040;
  20349. end;
  20350. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  20351. begin
  20352. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20353. end;
  20354. procedure TUART2_U3AMODE.setWAKE; inline;
  20355. begin
  20356. pTDefRegMap(@Self)^.&set := $00000080;
  20357. end;
  20358. procedure TUART2_U3AMODE.clearWAKE; inline;
  20359. begin
  20360. pTDefRegMap(@Self)^.clr := $00000080;
  20361. end;
  20362. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  20363. begin
  20364. if thebits = 0 then
  20365. pTDefRegMap(@Self)^.clr := $00000080
  20366. else
  20367. pTDefRegMap(@Self)^.&set := $00000080;
  20368. end;
  20369. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  20370. begin
  20371. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20372. end;
  20373. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  20374. begin
  20375. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20376. end;
  20377. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  20378. begin
  20379. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20380. end;
  20381. procedure TUART2_U3AMODE.setRTSMD; inline;
  20382. begin
  20383. pTDefRegMap(@Self)^.&set := $00000800;
  20384. end;
  20385. procedure TUART2_U3AMODE.clearRTSMD; inline;
  20386. begin
  20387. pTDefRegMap(@Self)^.clr := $00000800;
  20388. end;
  20389. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  20390. begin
  20391. if thebits = 0 then
  20392. pTDefRegMap(@Self)^.clr := $00000800
  20393. else
  20394. pTDefRegMap(@Self)^.&set := $00000800;
  20395. end;
  20396. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  20397. begin
  20398. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20399. end;
  20400. procedure TUART2_U3AMODE.setIREN; inline;
  20401. begin
  20402. pTDefRegMap(@Self)^.&set := $00001000;
  20403. end;
  20404. procedure TUART2_U3AMODE.clearIREN; inline;
  20405. begin
  20406. pTDefRegMap(@Self)^.clr := $00001000;
  20407. end;
  20408. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  20409. begin
  20410. if thebits = 0 then
  20411. pTDefRegMap(@Self)^.clr := $00001000
  20412. else
  20413. pTDefRegMap(@Self)^.&set := $00001000;
  20414. end;
  20415. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  20416. begin
  20417. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20418. end;
  20419. procedure TUART2_U3AMODE.setSIDL; inline;
  20420. begin
  20421. pTDefRegMap(@Self)^.&set := $00002000;
  20422. end;
  20423. procedure TUART2_U3AMODE.clearSIDL; inline;
  20424. begin
  20425. pTDefRegMap(@Self)^.clr := $00002000;
  20426. end;
  20427. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  20428. begin
  20429. if thebits = 0 then
  20430. pTDefRegMap(@Self)^.clr := $00002000
  20431. else
  20432. pTDefRegMap(@Self)^.&set := $00002000;
  20433. end;
  20434. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  20435. begin
  20436. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20437. end;
  20438. procedure TUART2_U3AMODE.setON; inline;
  20439. begin
  20440. pTDefRegMap(@Self)^.&set := $00008000;
  20441. end;
  20442. procedure TUART2_U3AMODE.clearON; inline;
  20443. begin
  20444. pTDefRegMap(@Self)^.clr := $00008000;
  20445. end;
  20446. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  20447. begin
  20448. if thebits = 0 then
  20449. pTDefRegMap(@Self)^.clr := $00008000
  20450. else
  20451. pTDefRegMap(@Self)^.&set := $00008000;
  20452. end;
  20453. function TUART2_U3AMODE.getON : TBits_1; inline;
  20454. begin
  20455. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20456. end;
  20457. procedure TUART2_U3AMODE.setPDSEL0; inline;
  20458. begin
  20459. pTDefRegMap(@Self)^.&set := $00000002;
  20460. end;
  20461. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  20462. begin
  20463. pTDefRegMap(@Self)^.clr := $00000002;
  20464. end;
  20465. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  20466. begin
  20467. if thebits = 0 then
  20468. pTDefRegMap(@Self)^.clr := $00000002
  20469. else
  20470. pTDefRegMap(@Self)^.&set := $00000002;
  20471. end;
  20472. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  20473. begin
  20474. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20475. end;
  20476. procedure TUART2_U3AMODE.setPDSEL1; inline;
  20477. begin
  20478. pTDefRegMap(@Self)^.&set := $00000004;
  20479. end;
  20480. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  20481. begin
  20482. pTDefRegMap(@Self)^.clr := $00000004;
  20483. end;
  20484. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  20485. begin
  20486. if thebits = 0 then
  20487. pTDefRegMap(@Self)^.clr := $00000004
  20488. else
  20489. pTDefRegMap(@Self)^.&set := $00000004;
  20490. end;
  20491. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  20492. begin
  20493. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20494. end;
  20495. procedure TUART2_U3AMODE.setUEN0; inline;
  20496. begin
  20497. pTDefRegMap(@Self)^.&set := $00000100;
  20498. end;
  20499. procedure TUART2_U3AMODE.clearUEN0; inline;
  20500. begin
  20501. pTDefRegMap(@Self)^.clr := $00000100;
  20502. end;
  20503. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  20504. begin
  20505. if thebits = 0 then
  20506. pTDefRegMap(@Self)^.clr := $00000100
  20507. else
  20508. pTDefRegMap(@Self)^.&set := $00000100;
  20509. end;
  20510. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  20511. begin
  20512. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20513. end;
  20514. procedure TUART2_U3AMODE.setUEN1; inline;
  20515. begin
  20516. pTDefRegMap(@Self)^.&set := $00000200;
  20517. end;
  20518. procedure TUART2_U3AMODE.clearUEN1; inline;
  20519. begin
  20520. pTDefRegMap(@Self)^.clr := $00000200;
  20521. end;
  20522. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  20523. begin
  20524. if thebits = 0 then
  20525. pTDefRegMap(@Self)^.clr := $00000200
  20526. else
  20527. pTDefRegMap(@Self)^.&set := $00000200;
  20528. end;
  20529. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  20530. begin
  20531. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20532. end;
  20533. procedure TUART2_U3AMODE.setUSIDL; inline;
  20534. begin
  20535. pTDefRegMap(@Self)^.&set := $00002000;
  20536. end;
  20537. procedure TUART2_U3AMODE.clearUSIDL; inline;
  20538. begin
  20539. pTDefRegMap(@Self)^.clr := $00002000;
  20540. end;
  20541. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  20542. begin
  20543. if thebits = 0 then
  20544. pTDefRegMap(@Self)^.clr := $00002000
  20545. else
  20546. pTDefRegMap(@Self)^.&set := $00002000;
  20547. end;
  20548. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  20549. begin
  20550. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20551. end;
  20552. procedure TUART2_U3AMODE.setUARTEN; inline;
  20553. begin
  20554. pTDefRegMap(@Self)^.&set := $00008000;
  20555. end;
  20556. procedure TUART2_U3AMODE.clearUARTEN; inline;
  20557. begin
  20558. pTDefRegMap(@Self)^.clr := $00008000;
  20559. end;
  20560. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  20561. begin
  20562. if thebits = 0 then
  20563. pTDefRegMap(@Self)^.clr := $00008000
  20564. else
  20565. pTDefRegMap(@Self)^.&set := $00008000;
  20566. end;
  20567. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  20568. begin
  20569. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20570. end;
  20571. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  20572. begin
  20573. pTDefRegMap(@Self)^.val := thebits;
  20574. end;
  20575. function TUART2_U3AMODE.getw : TBits_32; inline;
  20576. begin
  20577. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20578. end;
  20579. procedure TUART2_U2STA.setURXDA; inline;
  20580. begin
  20581. pTDefRegMap(@Self)^.&set := $00000001;
  20582. end;
  20583. procedure TUART2_U2STA.clearURXDA; inline;
  20584. begin
  20585. pTDefRegMap(@Self)^.clr := $00000001;
  20586. end;
  20587. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  20588. begin
  20589. if thebits = 0 then
  20590. pTDefRegMap(@Self)^.clr := $00000001
  20591. else
  20592. pTDefRegMap(@Self)^.&set := $00000001;
  20593. end;
  20594. function TUART2_U2STA.getURXDA : TBits_1; inline;
  20595. begin
  20596. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20597. end;
  20598. procedure TUART2_U2STA.setOERR; inline;
  20599. begin
  20600. pTDefRegMap(@Self)^.&set := $00000002;
  20601. end;
  20602. procedure TUART2_U2STA.clearOERR; inline;
  20603. begin
  20604. pTDefRegMap(@Self)^.clr := $00000002;
  20605. end;
  20606. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  20607. begin
  20608. if thebits = 0 then
  20609. pTDefRegMap(@Self)^.clr := $00000002
  20610. else
  20611. pTDefRegMap(@Self)^.&set := $00000002;
  20612. end;
  20613. function TUART2_U2STA.getOERR : TBits_1; inline;
  20614. begin
  20615. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20616. end;
  20617. procedure TUART2_U2STA.setFERR; inline;
  20618. begin
  20619. pTDefRegMap(@Self)^.&set := $00000004;
  20620. end;
  20621. procedure TUART2_U2STA.clearFERR; inline;
  20622. begin
  20623. pTDefRegMap(@Self)^.clr := $00000004;
  20624. end;
  20625. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  20626. begin
  20627. if thebits = 0 then
  20628. pTDefRegMap(@Self)^.clr := $00000004
  20629. else
  20630. pTDefRegMap(@Self)^.&set := $00000004;
  20631. end;
  20632. function TUART2_U2STA.getFERR : TBits_1; inline;
  20633. begin
  20634. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20635. end;
  20636. procedure TUART2_U2STA.setPERR; inline;
  20637. begin
  20638. pTDefRegMap(@Self)^.&set := $00000008;
  20639. end;
  20640. procedure TUART2_U2STA.clearPERR; inline;
  20641. begin
  20642. pTDefRegMap(@Self)^.clr := $00000008;
  20643. end;
  20644. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  20645. begin
  20646. if thebits = 0 then
  20647. pTDefRegMap(@Self)^.clr := $00000008
  20648. else
  20649. pTDefRegMap(@Self)^.&set := $00000008;
  20650. end;
  20651. function TUART2_U2STA.getPERR : TBits_1; inline;
  20652. begin
  20653. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20654. end;
  20655. procedure TUART2_U2STA.setRIDLE; inline;
  20656. begin
  20657. pTDefRegMap(@Self)^.&set := $00000010;
  20658. end;
  20659. procedure TUART2_U2STA.clearRIDLE; inline;
  20660. begin
  20661. pTDefRegMap(@Self)^.clr := $00000010;
  20662. end;
  20663. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  20664. begin
  20665. if thebits = 0 then
  20666. pTDefRegMap(@Self)^.clr := $00000010
  20667. else
  20668. pTDefRegMap(@Self)^.&set := $00000010;
  20669. end;
  20670. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  20671. begin
  20672. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20673. end;
  20674. procedure TUART2_U2STA.setADDEN; inline;
  20675. begin
  20676. pTDefRegMap(@Self)^.&set := $00000020;
  20677. end;
  20678. procedure TUART2_U2STA.clearADDEN; inline;
  20679. begin
  20680. pTDefRegMap(@Self)^.clr := $00000020;
  20681. end;
  20682. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  20683. begin
  20684. if thebits = 0 then
  20685. pTDefRegMap(@Self)^.clr := $00000020
  20686. else
  20687. pTDefRegMap(@Self)^.&set := $00000020;
  20688. end;
  20689. function TUART2_U2STA.getADDEN : TBits_1; inline;
  20690. begin
  20691. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20692. end;
  20693. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  20694. begin
  20695. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20696. end;
  20697. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  20698. begin
  20699. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20700. end;
  20701. procedure TUART2_U2STA.setTRMT; inline;
  20702. begin
  20703. pTDefRegMap(@Self)^.&set := $00000100;
  20704. end;
  20705. procedure TUART2_U2STA.clearTRMT; inline;
  20706. begin
  20707. pTDefRegMap(@Self)^.clr := $00000100;
  20708. end;
  20709. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  20710. begin
  20711. if thebits = 0 then
  20712. pTDefRegMap(@Self)^.clr := $00000100
  20713. else
  20714. pTDefRegMap(@Self)^.&set := $00000100;
  20715. end;
  20716. function TUART2_U2STA.getTRMT : TBits_1; inline;
  20717. begin
  20718. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20719. end;
  20720. procedure TUART2_U2STA.setUTXBF; inline;
  20721. begin
  20722. pTDefRegMap(@Self)^.&set := $00000200;
  20723. end;
  20724. procedure TUART2_U2STA.clearUTXBF; inline;
  20725. begin
  20726. pTDefRegMap(@Self)^.clr := $00000200;
  20727. end;
  20728. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  20729. begin
  20730. if thebits = 0 then
  20731. pTDefRegMap(@Self)^.clr := $00000200
  20732. else
  20733. pTDefRegMap(@Self)^.&set := $00000200;
  20734. end;
  20735. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  20736. begin
  20737. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20738. end;
  20739. procedure TUART2_U2STA.setUTXEN; inline;
  20740. begin
  20741. pTDefRegMap(@Self)^.&set := $00000400;
  20742. end;
  20743. procedure TUART2_U2STA.clearUTXEN; inline;
  20744. begin
  20745. pTDefRegMap(@Self)^.clr := $00000400;
  20746. end;
  20747. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  20748. begin
  20749. if thebits = 0 then
  20750. pTDefRegMap(@Self)^.clr := $00000400
  20751. else
  20752. pTDefRegMap(@Self)^.&set := $00000400;
  20753. end;
  20754. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  20755. begin
  20756. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20757. end;
  20758. procedure TUART2_U2STA.setUTXBRK; inline;
  20759. begin
  20760. pTDefRegMap(@Self)^.&set := $00000800;
  20761. end;
  20762. procedure TUART2_U2STA.clearUTXBRK; inline;
  20763. begin
  20764. pTDefRegMap(@Self)^.clr := $00000800;
  20765. end;
  20766. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  20767. begin
  20768. if thebits = 0 then
  20769. pTDefRegMap(@Self)^.clr := $00000800
  20770. else
  20771. pTDefRegMap(@Self)^.&set := $00000800;
  20772. end;
  20773. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  20774. begin
  20775. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20776. end;
  20777. procedure TUART2_U2STA.setURXEN; inline;
  20778. begin
  20779. pTDefRegMap(@Self)^.&set := $00001000;
  20780. end;
  20781. procedure TUART2_U2STA.clearURXEN; inline;
  20782. begin
  20783. pTDefRegMap(@Self)^.clr := $00001000;
  20784. end;
  20785. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20786. begin
  20787. if thebits = 0 then
  20788. pTDefRegMap(@Self)^.clr := $00001000
  20789. else
  20790. pTDefRegMap(@Self)^.&set := $00001000;
  20791. end;
  20792. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20793. begin
  20794. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20795. end;
  20796. procedure TUART2_U2STA.setUTXINV; inline;
  20797. begin
  20798. pTDefRegMap(@Self)^.&set := $00002000;
  20799. end;
  20800. procedure TUART2_U2STA.clearUTXINV; inline;
  20801. begin
  20802. pTDefRegMap(@Self)^.clr := $00002000;
  20803. end;
  20804. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20805. begin
  20806. if thebits = 0 then
  20807. pTDefRegMap(@Self)^.clr := $00002000
  20808. else
  20809. pTDefRegMap(@Self)^.&set := $00002000;
  20810. end;
  20811. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20812. begin
  20813. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20814. end;
  20815. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20816. begin
  20817. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20818. end;
  20819. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20820. begin
  20821. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20822. end;
  20823. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20824. begin
  20825. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20826. end;
  20827. function TUART2_U2STA.getADDR : TBits_8; inline;
  20828. begin
  20829. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20830. end;
  20831. procedure TUART2_U2STA.setADM_EN; inline;
  20832. begin
  20833. pTDefRegMap(@Self)^.&set := $01000000;
  20834. end;
  20835. procedure TUART2_U2STA.clearADM_EN; inline;
  20836. begin
  20837. pTDefRegMap(@Self)^.clr := $01000000;
  20838. end;
  20839. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20840. begin
  20841. if thebits = 0 then
  20842. pTDefRegMap(@Self)^.clr := $01000000
  20843. else
  20844. pTDefRegMap(@Self)^.&set := $01000000;
  20845. end;
  20846. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20847. begin
  20848. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20849. end;
  20850. procedure TUART2_U2STA.setURXISEL0; inline;
  20851. begin
  20852. pTDefRegMap(@Self)^.&set := $00000040;
  20853. end;
  20854. procedure TUART2_U2STA.clearURXISEL0; inline;
  20855. begin
  20856. pTDefRegMap(@Self)^.clr := $00000040;
  20857. end;
  20858. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20859. begin
  20860. if thebits = 0 then
  20861. pTDefRegMap(@Self)^.clr := $00000040
  20862. else
  20863. pTDefRegMap(@Self)^.&set := $00000040;
  20864. end;
  20865. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20866. begin
  20867. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20868. end;
  20869. procedure TUART2_U2STA.setURXISEL1; inline;
  20870. begin
  20871. pTDefRegMap(@Self)^.&set := $00000080;
  20872. end;
  20873. procedure TUART2_U2STA.clearURXISEL1; inline;
  20874. begin
  20875. pTDefRegMap(@Self)^.clr := $00000080;
  20876. end;
  20877. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20878. begin
  20879. if thebits = 0 then
  20880. pTDefRegMap(@Self)^.clr := $00000080
  20881. else
  20882. pTDefRegMap(@Self)^.&set := $00000080;
  20883. end;
  20884. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20885. begin
  20886. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20887. end;
  20888. procedure TUART2_U2STA.setUTXISEL0; inline;
  20889. begin
  20890. pTDefRegMap(@Self)^.&set := $00004000;
  20891. end;
  20892. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20893. begin
  20894. pTDefRegMap(@Self)^.clr := $00004000;
  20895. end;
  20896. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20897. begin
  20898. if thebits = 0 then
  20899. pTDefRegMap(@Self)^.clr := $00004000
  20900. else
  20901. pTDefRegMap(@Self)^.&set := $00004000;
  20902. end;
  20903. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20904. begin
  20905. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20906. end;
  20907. procedure TUART2_U2STA.setUTXISEL1; inline;
  20908. begin
  20909. pTDefRegMap(@Self)^.&set := $00008000;
  20910. end;
  20911. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20912. begin
  20913. pTDefRegMap(@Self)^.clr := $00008000;
  20914. end;
  20915. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20916. begin
  20917. if thebits = 0 then
  20918. pTDefRegMap(@Self)^.clr := $00008000
  20919. else
  20920. pTDefRegMap(@Self)^.&set := $00008000;
  20921. end;
  20922. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20923. begin
  20924. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20925. end;
  20926. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20927. begin
  20928. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20929. end;
  20930. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20931. begin
  20932. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20933. end;
  20934. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20935. begin
  20936. pTDefRegMap(@Self)^.val := thebits;
  20937. end;
  20938. function TUART2_U2STA.getw : TBits_32; inline;
  20939. begin
  20940. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20941. end;
  20942. procedure TUART2_U3ASTA.setURXDA; inline;
  20943. begin
  20944. pTDefRegMap(@Self)^.&set := $00000001;
  20945. end;
  20946. procedure TUART2_U3ASTA.clearURXDA; inline;
  20947. begin
  20948. pTDefRegMap(@Self)^.clr := $00000001;
  20949. end;
  20950. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20951. begin
  20952. if thebits = 0 then
  20953. pTDefRegMap(@Self)^.clr := $00000001
  20954. else
  20955. pTDefRegMap(@Self)^.&set := $00000001;
  20956. end;
  20957. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20958. begin
  20959. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20960. end;
  20961. procedure TUART2_U3ASTA.setOERR; inline;
  20962. begin
  20963. pTDefRegMap(@Self)^.&set := $00000002;
  20964. end;
  20965. procedure TUART2_U3ASTA.clearOERR; inline;
  20966. begin
  20967. pTDefRegMap(@Self)^.clr := $00000002;
  20968. end;
  20969. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20970. begin
  20971. if thebits = 0 then
  20972. pTDefRegMap(@Self)^.clr := $00000002
  20973. else
  20974. pTDefRegMap(@Self)^.&set := $00000002;
  20975. end;
  20976. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20977. begin
  20978. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20979. end;
  20980. procedure TUART2_U3ASTA.setFERR; inline;
  20981. begin
  20982. pTDefRegMap(@Self)^.&set := $00000004;
  20983. end;
  20984. procedure TUART2_U3ASTA.clearFERR; inline;
  20985. begin
  20986. pTDefRegMap(@Self)^.clr := $00000004;
  20987. end;
  20988. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20989. begin
  20990. if thebits = 0 then
  20991. pTDefRegMap(@Self)^.clr := $00000004
  20992. else
  20993. pTDefRegMap(@Self)^.&set := $00000004;
  20994. end;
  20995. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20996. begin
  20997. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20998. end;
  20999. procedure TUART2_U3ASTA.setPERR; inline;
  21000. begin
  21001. pTDefRegMap(@Self)^.&set := $00000008;
  21002. end;
  21003. procedure TUART2_U3ASTA.clearPERR; inline;
  21004. begin
  21005. pTDefRegMap(@Self)^.clr := $00000008;
  21006. end;
  21007. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  21008. begin
  21009. if thebits = 0 then
  21010. pTDefRegMap(@Self)^.clr := $00000008
  21011. else
  21012. pTDefRegMap(@Self)^.&set := $00000008;
  21013. end;
  21014. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  21015. begin
  21016. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21017. end;
  21018. procedure TUART2_U3ASTA.setRIDLE; inline;
  21019. begin
  21020. pTDefRegMap(@Self)^.&set := $00000010;
  21021. end;
  21022. procedure TUART2_U3ASTA.clearRIDLE; inline;
  21023. begin
  21024. pTDefRegMap(@Self)^.clr := $00000010;
  21025. end;
  21026. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  21027. begin
  21028. if thebits = 0 then
  21029. pTDefRegMap(@Self)^.clr := $00000010
  21030. else
  21031. pTDefRegMap(@Self)^.&set := $00000010;
  21032. end;
  21033. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  21034. begin
  21035. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21036. end;
  21037. procedure TUART2_U3ASTA.setADDEN; inline;
  21038. begin
  21039. pTDefRegMap(@Self)^.&set := $00000020;
  21040. end;
  21041. procedure TUART2_U3ASTA.clearADDEN; inline;
  21042. begin
  21043. pTDefRegMap(@Self)^.clr := $00000020;
  21044. end;
  21045. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  21046. begin
  21047. if thebits = 0 then
  21048. pTDefRegMap(@Self)^.clr := $00000020
  21049. else
  21050. pTDefRegMap(@Self)^.&set := $00000020;
  21051. end;
  21052. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  21053. begin
  21054. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21055. end;
  21056. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  21057. begin
  21058. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21059. end;
  21060. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  21061. begin
  21062. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21063. end;
  21064. procedure TUART2_U3ASTA.setTRMT; inline;
  21065. begin
  21066. pTDefRegMap(@Self)^.&set := $00000100;
  21067. end;
  21068. procedure TUART2_U3ASTA.clearTRMT; inline;
  21069. begin
  21070. pTDefRegMap(@Self)^.clr := $00000100;
  21071. end;
  21072. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  21073. begin
  21074. if thebits = 0 then
  21075. pTDefRegMap(@Self)^.clr := $00000100
  21076. else
  21077. pTDefRegMap(@Self)^.&set := $00000100;
  21078. end;
  21079. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  21080. begin
  21081. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21082. end;
  21083. procedure TUART2_U3ASTA.setUTXBF; inline;
  21084. begin
  21085. pTDefRegMap(@Self)^.&set := $00000200;
  21086. end;
  21087. procedure TUART2_U3ASTA.clearUTXBF; inline;
  21088. begin
  21089. pTDefRegMap(@Self)^.clr := $00000200;
  21090. end;
  21091. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  21092. begin
  21093. if thebits = 0 then
  21094. pTDefRegMap(@Self)^.clr := $00000200
  21095. else
  21096. pTDefRegMap(@Self)^.&set := $00000200;
  21097. end;
  21098. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  21099. begin
  21100. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21101. end;
  21102. procedure TUART2_U3ASTA.setUTXEN; inline;
  21103. begin
  21104. pTDefRegMap(@Self)^.&set := $00000400;
  21105. end;
  21106. procedure TUART2_U3ASTA.clearUTXEN; inline;
  21107. begin
  21108. pTDefRegMap(@Self)^.clr := $00000400;
  21109. end;
  21110. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  21111. begin
  21112. if thebits = 0 then
  21113. pTDefRegMap(@Self)^.clr := $00000400
  21114. else
  21115. pTDefRegMap(@Self)^.&set := $00000400;
  21116. end;
  21117. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  21118. begin
  21119. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21120. end;
  21121. procedure TUART2_U3ASTA.setUTXBRK; inline;
  21122. begin
  21123. pTDefRegMap(@Self)^.&set := $00000800;
  21124. end;
  21125. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  21126. begin
  21127. pTDefRegMap(@Self)^.clr := $00000800;
  21128. end;
  21129. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  21130. begin
  21131. if thebits = 0 then
  21132. pTDefRegMap(@Self)^.clr := $00000800
  21133. else
  21134. pTDefRegMap(@Self)^.&set := $00000800;
  21135. end;
  21136. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  21137. begin
  21138. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21139. end;
  21140. procedure TUART2_U3ASTA.setURXEN; inline;
  21141. begin
  21142. pTDefRegMap(@Self)^.&set := $00001000;
  21143. end;
  21144. procedure TUART2_U3ASTA.clearURXEN; inline;
  21145. begin
  21146. pTDefRegMap(@Self)^.clr := $00001000;
  21147. end;
  21148. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  21149. begin
  21150. if thebits = 0 then
  21151. pTDefRegMap(@Self)^.clr := $00001000
  21152. else
  21153. pTDefRegMap(@Self)^.&set := $00001000;
  21154. end;
  21155. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  21156. begin
  21157. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21158. end;
  21159. procedure TUART2_U3ASTA.setUTXINV; inline;
  21160. begin
  21161. pTDefRegMap(@Self)^.&set := $00002000;
  21162. end;
  21163. procedure TUART2_U3ASTA.clearUTXINV; inline;
  21164. begin
  21165. pTDefRegMap(@Self)^.clr := $00002000;
  21166. end;
  21167. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  21168. begin
  21169. if thebits = 0 then
  21170. pTDefRegMap(@Self)^.clr := $00002000
  21171. else
  21172. pTDefRegMap(@Self)^.&set := $00002000;
  21173. end;
  21174. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  21175. begin
  21176. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21177. end;
  21178. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  21179. begin
  21180. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21181. end;
  21182. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  21183. begin
  21184. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21185. end;
  21186. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  21187. begin
  21188. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21189. end;
  21190. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  21191. begin
  21192. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21193. end;
  21194. procedure TUART2_U3ASTA.setADM_EN; inline;
  21195. begin
  21196. pTDefRegMap(@Self)^.&set := $01000000;
  21197. end;
  21198. procedure TUART2_U3ASTA.clearADM_EN; inline;
  21199. begin
  21200. pTDefRegMap(@Self)^.clr := $01000000;
  21201. end;
  21202. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  21203. begin
  21204. if thebits = 0 then
  21205. pTDefRegMap(@Self)^.clr := $01000000
  21206. else
  21207. pTDefRegMap(@Self)^.&set := $01000000;
  21208. end;
  21209. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  21210. begin
  21211. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  21212. end;
  21213. procedure TUART2_U3ASTA.setURXISEL0; inline;
  21214. begin
  21215. pTDefRegMap(@Self)^.&set := $00000040;
  21216. end;
  21217. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  21218. begin
  21219. pTDefRegMap(@Self)^.clr := $00000040;
  21220. end;
  21221. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  21222. begin
  21223. if thebits = 0 then
  21224. pTDefRegMap(@Self)^.clr := $00000040
  21225. else
  21226. pTDefRegMap(@Self)^.&set := $00000040;
  21227. end;
  21228. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  21229. begin
  21230. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21231. end;
  21232. procedure TUART2_U3ASTA.setURXISEL1; inline;
  21233. begin
  21234. pTDefRegMap(@Self)^.&set := $00000080;
  21235. end;
  21236. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  21237. begin
  21238. pTDefRegMap(@Self)^.clr := $00000080;
  21239. end;
  21240. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  21241. begin
  21242. if thebits = 0 then
  21243. pTDefRegMap(@Self)^.clr := $00000080
  21244. else
  21245. pTDefRegMap(@Self)^.&set := $00000080;
  21246. end;
  21247. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  21248. begin
  21249. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21250. end;
  21251. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  21252. begin
  21253. pTDefRegMap(@Self)^.&set := $00004000;
  21254. end;
  21255. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  21256. begin
  21257. pTDefRegMap(@Self)^.clr := $00004000;
  21258. end;
  21259. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  21260. begin
  21261. if thebits = 0 then
  21262. pTDefRegMap(@Self)^.clr := $00004000
  21263. else
  21264. pTDefRegMap(@Self)^.&set := $00004000;
  21265. end;
  21266. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  21267. begin
  21268. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21269. end;
  21270. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  21271. begin
  21272. pTDefRegMap(@Self)^.&set := $00008000;
  21273. end;
  21274. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  21275. begin
  21276. pTDefRegMap(@Self)^.clr := $00008000;
  21277. end;
  21278. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  21279. begin
  21280. if thebits = 0 then
  21281. pTDefRegMap(@Self)^.clr := $00008000
  21282. else
  21283. pTDefRegMap(@Self)^.&set := $00008000;
  21284. end;
  21285. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  21286. begin
  21287. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21288. end;
  21289. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  21290. begin
  21291. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21292. end;
  21293. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  21294. begin
  21295. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21296. end;
  21297. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  21298. begin
  21299. pTDefRegMap(@Self)^.val := thebits;
  21300. end;
  21301. function TUART2_U3ASTA.getw : TBits_32; inline;
  21302. begin
  21303. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21304. end;
  21305. procedure TPMP_PMCON.setRDSP; inline;
  21306. begin
  21307. pTDefRegMap(@Self)^.&set := $00000001;
  21308. end;
  21309. procedure TPMP_PMCON.clearRDSP; inline;
  21310. begin
  21311. pTDefRegMap(@Self)^.clr := $00000001;
  21312. end;
  21313. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  21314. begin
  21315. if thebits = 0 then
  21316. pTDefRegMap(@Self)^.clr := $00000001
  21317. else
  21318. pTDefRegMap(@Self)^.&set := $00000001;
  21319. end;
  21320. function TPMP_PMCON.getRDSP : TBits_1; inline;
  21321. begin
  21322. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21323. end;
  21324. procedure TPMP_PMCON.setWRSP; inline;
  21325. begin
  21326. pTDefRegMap(@Self)^.&set := $00000002;
  21327. end;
  21328. procedure TPMP_PMCON.clearWRSP; inline;
  21329. begin
  21330. pTDefRegMap(@Self)^.clr := $00000002;
  21331. end;
  21332. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  21333. begin
  21334. if thebits = 0 then
  21335. pTDefRegMap(@Self)^.clr := $00000002
  21336. else
  21337. pTDefRegMap(@Self)^.&set := $00000002;
  21338. end;
  21339. function TPMP_PMCON.getWRSP : TBits_1; inline;
  21340. begin
  21341. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21342. end;
  21343. procedure TPMP_PMCON.setCS1P; inline;
  21344. begin
  21345. pTDefRegMap(@Self)^.&set := $00000008;
  21346. end;
  21347. procedure TPMP_PMCON.clearCS1P; inline;
  21348. begin
  21349. pTDefRegMap(@Self)^.clr := $00000008;
  21350. end;
  21351. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  21352. begin
  21353. if thebits = 0 then
  21354. pTDefRegMap(@Self)^.clr := $00000008
  21355. else
  21356. pTDefRegMap(@Self)^.&set := $00000008;
  21357. end;
  21358. function TPMP_PMCON.getCS1P : TBits_1; inline;
  21359. begin
  21360. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21361. end;
  21362. procedure TPMP_PMCON.setALP; inline;
  21363. begin
  21364. pTDefRegMap(@Self)^.&set := $00000020;
  21365. end;
  21366. procedure TPMP_PMCON.clearALP; inline;
  21367. begin
  21368. pTDefRegMap(@Self)^.clr := $00000020;
  21369. end;
  21370. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  21371. begin
  21372. if thebits = 0 then
  21373. pTDefRegMap(@Self)^.clr := $00000020
  21374. else
  21375. pTDefRegMap(@Self)^.&set := $00000020;
  21376. end;
  21377. function TPMP_PMCON.getALP : TBits_1; inline;
  21378. begin
  21379. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21380. end;
  21381. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  21382. begin
  21383. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21384. end;
  21385. function TPMP_PMCON.getCSF : TBits_2; inline;
  21386. begin
  21387. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21388. end;
  21389. procedure TPMP_PMCON.setPTRDEN; inline;
  21390. begin
  21391. pTDefRegMap(@Self)^.&set := $00000100;
  21392. end;
  21393. procedure TPMP_PMCON.clearPTRDEN; inline;
  21394. begin
  21395. pTDefRegMap(@Self)^.clr := $00000100;
  21396. end;
  21397. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  21398. begin
  21399. if thebits = 0 then
  21400. pTDefRegMap(@Self)^.clr := $00000100
  21401. else
  21402. pTDefRegMap(@Self)^.&set := $00000100;
  21403. end;
  21404. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  21405. begin
  21406. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21407. end;
  21408. procedure TPMP_PMCON.setPTWREN; inline;
  21409. begin
  21410. pTDefRegMap(@Self)^.&set := $00000200;
  21411. end;
  21412. procedure TPMP_PMCON.clearPTWREN; inline;
  21413. begin
  21414. pTDefRegMap(@Self)^.clr := $00000200;
  21415. end;
  21416. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  21417. begin
  21418. if thebits = 0 then
  21419. pTDefRegMap(@Self)^.clr := $00000200
  21420. else
  21421. pTDefRegMap(@Self)^.&set := $00000200;
  21422. end;
  21423. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  21424. begin
  21425. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21426. end;
  21427. procedure TPMP_PMCON.setPMPTTL; inline;
  21428. begin
  21429. pTDefRegMap(@Self)^.&set := $00000400;
  21430. end;
  21431. procedure TPMP_PMCON.clearPMPTTL; inline;
  21432. begin
  21433. pTDefRegMap(@Self)^.clr := $00000400;
  21434. end;
  21435. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  21436. begin
  21437. if thebits = 0 then
  21438. pTDefRegMap(@Self)^.clr := $00000400
  21439. else
  21440. pTDefRegMap(@Self)^.&set := $00000400;
  21441. end;
  21442. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  21443. begin
  21444. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21445. end;
  21446. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  21447. begin
  21448. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21449. end;
  21450. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  21451. begin
  21452. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21453. end;
  21454. procedure TPMP_PMCON.setSIDL; inline;
  21455. begin
  21456. pTDefRegMap(@Self)^.&set := $00002000;
  21457. end;
  21458. procedure TPMP_PMCON.clearSIDL; inline;
  21459. begin
  21460. pTDefRegMap(@Self)^.clr := $00002000;
  21461. end;
  21462. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  21463. begin
  21464. if thebits = 0 then
  21465. pTDefRegMap(@Self)^.clr := $00002000
  21466. else
  21467. pTDefRegMap(@Self)^.&set := $00002000;
  21468. end;
  21469. function TPMP_PMCON.getSIDL : TBits_1; inline;
  21470. begin
  21471. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21472. end;
  21473. procedure TPMP_PMCON.setON; inline;
  21474. begin
  21475. pTDefRegMap(@Self)^.&set := $00008000;
  21476. end;
  21477. procedure TPMP_PMCON.clearON; inline;
  21478. begin
  21479. pTDefRegMap(@Self)^.clr := $00008000;
  21480. end;
  21481. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  21482. begin
  21483. if thebits = 0 then
  21484. pTDefRegMap(@Self)^.clr := $00008000
  21485. else
  21486. pTDefRegMap(@Self)^.&set := $00008000;
  21487. end;
  21488. function TPMP_PMCON.getON : TBits_1; inline;
  21489. begin
  21490. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21491. end;
  21492. procedure TPMP_PMCON.setCSF0; inline;
  21493. begin
  21494. pTDefRegMap(@Self)^.&set := $00000040;
  21495. end;
  21496. procedure TPMP_PMCON.clearCSF0; inline;
  21497. begin
  21498. pTDefRegMap(@Self)^.clr := $00000040;
  21499. end;
  21500. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  21501. begin
  21502. if thebits = 0 then
  21503. pTDefRegMap(@Self)^.clr := $00000040
  21504. else
  21505. pTDefRegMap(@Self)^.&set := $00000040;
  21506. end;
  21507. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  21508. begin
  21509. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21510. end;
  21511. procedure TPMP_PMCON.setCSF1; inline;
  21512. begin
  21513. pTDefRegMap(@Self)^.&set := $00000080;
  21514. end;
  21515. procedure TPMP_PMCON.clearCSF1; inline;
  21516. begin
  21517. pTDefRegMap(@Self)^.clr := $00000080;
  21518. end;
  21519. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  21520. begin
  21521. if thebits = 0 then
  21522. pTDefRegMap(@Self)^.clr := $00000080
  21523. else
  21524. pTDefRegMap(@Self)^.&set := $00000080;
  21525. end;
  21526. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  21527. begin
  21528. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21529. end;
  21530. procedure TPMP_PMCON.setADRMUX0; inline;
  21531. begin
  21532. pTDefRegMap(@Self)^.&set := $00000800;
  21533. end;
  21534. procedure TPMP_PMCON.clearADRMUX0; inline;
  21535. begin
  21536. pTDefRegMap(@Self)^.clr := $00000800;
  21537. end;
  21538. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  21539. begin
  21540. if thebits = 0 then
  21541. pTDefRegMap(@Self)^.clr := $00000800
  21542. else
  21543. pTDefRegMap(@Self)^.&set := $00000800;
  21544. end;
  21545. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  21546. begin
  21547. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21548. end;
  21549. procedure TPMP_PMCON.setADRMUX1; inline;
  21550. begin
  21551. pTDefRegMap(@Self)^.&set := $00001000;
  21552. end;
  21553. procedure TPMP_PMCON.clearADRMUX1; inline;
  21554. begin
  21555. pTDefRegMap(@Self)^.clr := $00001000;
  21556. end;
  21557. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  21558. begin
  21559. if thebits = 0 then
  21560. pTDefRegMap(@Self)^.clr := $00001000
  21561. else
  21562. pTDefRegMap(@Self)^.&set := $00001000;
  21563. end;
  21564. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  21565. begin
  21566. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21567. end;
  21568. procedure TPMP_PMCON.setPSIDL; inline;
  21569. begin
  21570. pTDefRegMap(@Self)^.&set := $00002000;
  21571. end;
  21572. procedure TPMP_PMCON.clearPSIDL; inline;
  21573. begin
  21574. pTDefRegMap(@Self)^.clr := $00002000;
  21575. end;
  21576. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  21577. begin
  21578. if thebits = 0 then
  21579. pTDefRegMap(@Self)^.clr := $00002000
  21580. else
  21581. pTDefRegMap(@Self)^.&set := $00002000;
  21582. end;
  21583. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  21584. begin
  21585. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21586. end;
  21587. procedure TPMP_PMCON.setPMPEN; inline;
  21588. begin
  21589. pTDefRegMap(@Self)^.&set := $00008000;
  21590. end;
  21591. procedure TPMP_PMCON.clearPMPEN; inline;
  21592. begin
  21593. pTDefRegMap(@Self)^.clr := $00008000;
  21594. end;
  21595. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  21596. begin
  21597. if thebits = 0 then
  21598. pTDefRegMap(@Self)^.clr := $00008000
  21599. else
  21600. pTDefRegMap(@Self)^.&set := $00008000;
  21601. end;
  21602. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  21603. begin
  21604. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21605. end;
  21606. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  21607. begin
  21608. pTDefRegMap(@Self)^.val := thebits;
  21609. end;
  21610. function TPMP_PMCON.getw : TBits_32; inline;
  21611. begin
  21612. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21613. end;
  21614. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  21615. begin
  21616. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21617. end;
  21618. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  21619. begin
  21620. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21621. end;
  21622. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  21623. begin
  21624. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  21625. end;
  21626. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  21627. begin
  21628. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  21629. end;
  21630. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  21631. begin
  21632. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21633. end;
  21634. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  21635. begin
  21636. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21637. end;
  21638. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  21639. begin
  21640. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21641. end;
  21642. function TPMP_PMMODE.getMODE : TBits_2; inline;
  21643. begin
  21644. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21645. end;
  21646. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  21647. begin
  21648. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21649. end;
  21650. function TPMP_PMMODE.getINCM : TBits_2; inline;
  21651. begin
  21652. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21653. end;
  21654. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  21655. begin
  21656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  21657. end;
  21658. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  21659. begin
  21660. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  21661. end;
  21662. procedure TPMP_PMMODE.setBUSY; inline;
  21663. begin
  21664. pTDefRegMap(@Self)^.&set := $00008000;
  21665. end;
  21666. procedure TPMP_PMMODE.clearBUSY; inline;
  21667. begin
  21668. pTDefRegMap(@Self)^.clr := $00008000;
  21669. end;
  21670. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  21671. begin
  21672. if thebits = 0 then
  21673. pTDefRegMap(@Self)^.clr := $00008000
  21674. else
  21675. pTDefRegMap(@Self)^.&set := $00008000;
  21676. end;
  21677. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  21678. begin
  21679. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21680. end;
  21681. procedure TPMP_PMMODE.setWAITE0; inline;
  21682. begin
  21683. pTDefRegMap(@Self)^.&set := $00000001;
  21684. end;
  21685. procedure TPMP_PMMODE.clearWAITE0; inline;
  21686. begin
  21687. pTDefRegMap(@Self)^.clr := $00000001;
  21688. end;
  21689. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  21690. begin
  21691. if thebits = 0 then
  21692. pTDefRegMap(@Self)^.clr := $00000001
  21693. else
  21694. pTDefRegMap(@Self)^.&set := $00000001;
  21695. end;
  21696. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  21697. begin
  21698. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21699. end;
  21700. procedure TPMP_PMMODE.setWAITE1; inline;
  21701. begin
  21702. pTDefRegMap(@Self)^.&set := $00000002;
  21703. end;
  21704. procedure TPMP_PMMODE.clearWAITE1; inline;
  21705. begin
  21706. pTDefRegMap(@Self)^.clr := $00000002;
  21707. end;
  21708. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  21709. begin
  21710. if thebits = 0 then
  21711. pTDefRegMap(@Self)^.clr := $00000002
  21712. else
  21713. pTDefRegMap(@Self)^.&set := $00000002;
  21714. end;
  21715. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  21716. begin
  21717. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21718. end;
  21719. procedure TPMP_PMMODE.setWAITM0; inline;
  21720. begin
  21721. pTDefRegMap(@Self)^.&set := $00000004;
  21722. end;
  21723. procedure TPMP_PMMODE.clearWAITM0; inline;
  21724. begin
  21725. pTDefRegMap(@Self)^.clr := $00000004;
  21726. end;
  21727. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  21728. begin
  21729. if thebits = 0 then
  21730. pTDefRegMap(@Self)^.clr := $00000004
  21731. else
  21732. pTDefRegMap(@Self)^.&set := $00000004;
  21733. end;
  21734. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  21735. begin
  21736. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21737. end;
  21738. procedure TPMP_PMMODE.setWAITM1; inline;
  21739. begin
  21740. pTDefRegMap(@Self)^.&set := $00000008;
  21741. end;
  21742. procedure TPMP_PMMODE.clearWAITM1; inline;
  21743. begin
  21744. pTDefRegMap(@Self)^.clr := $00000008;
  21745. end;
  21746. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  21747. begin
  21748. if thebits = 0 then
  21749. pTDefRegMap(@Self)^.clr := $00000008
  21750. else
  21751. pTDefRegMap(@Self)^.&set := $00000008;
  21752. end;
  21753. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  21754. begin
  21755. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21756. end;
  21757. procedure TPMP_PMMODE.setWAITM2; inline;
  21758. begin
  21759. pTDefRegMap(@Self)^.&set := $00000010;
  21760. end;
  21761. procedure TPMP_PMMODE.clearWAITM2; inline;
  21762. begin
  21763. pTDefRegMap(@Self)^.clr := $00000010;
  21764. end;
  21765. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  21766. begin
  21767. if thebits = 0 then
  21768. pTDefRegMap(@Self)^.clr := $00000010
  21769. else
  21770. pTDefRegMap(@Self)^.&set := $00000010;
  21771. end;
  21772. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  21773. begin
  21774. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21775. end;
  21776. procedure TPMP_PMMODE.setWAITM3; inline;
  21777. begin
  21778. pTDefRegMap(@Self)^.&set := $00000020;
  21779. end;
  21780. procedure TPMP_PMMODE.clearWAITM3; inline;
  21781. begin
  21782. pTDefRegMap(@Self)^.clr := $00000020;
  21783. end;
  21784. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21785. begin
  21786. if thebits = 0 then
  21787. pTDefRegMap(@Self)^.clr := $00000020
  21788. else
  21789. pTDefRegMap(@Self)^.&set := $00000020;
  21790. end;
  21791. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21792. begin
  21793. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21794. end;
  21795. procedure TPMP_PMMODE.setWAITB0; inline;
  21796. begin
  21797. pTDefRegMap(@Self)^.&set := $00000040;
  21798. end;
  21799. procedure TPMP_PMMODE.clearWAITB0; inline;
  21800. begin
  21801. pTDefRegMap(@Self)^.clr := $00000040;
  21802. end;
  21803. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21804. begin
  21805. if thebits = 0 then
  21806. pTDefRegMap(@Self)^.clr := $00000040
  21807. else
  21808. pTDefRegMap(@Self)^.&set := $00000040;
  21809. end;
  21810. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21811. begin
  21812. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21813. end;
  21814. procedure TPMP_PMMODE.setWAITB1; inline;
  21815. begin
  21816. pTDefRegMap(@Self)^.&set := $00000080;
  21817. end;
  21818. procedure TPMP_PMMODE.clearWAITB1; inline;
  21819. begin
  21820. pTDefRegMap(@Self)^.clr := $00000080;
  21821. end;
  21822. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21823. begin
  21824. if thebits = 0 then
  21825. pTDefRegMap(@Self)^.clr := $00000080
  21826. else
  21827. pTDefRegMap(@Self)^.&set := $00000080;
  21828. end;
  21829. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21830. begin
  21831. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21832. end;
  21833. procedure TPMP_PMMODE.setMODE0; inline;
  21834. begin
  21835. pTDefRegMap(@Self)^.&set := $00000100;
  21836. end;
  21837. procedure TPMP_PMMODE.clearMODE0; inline;
  21838. begin
  21839. pTDefRegMap(@Self)^.clr := $00000100;
  21840. end;
  21841. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21842. begin
  21843. if thebits = 0 then
  21844. pTDefRegMap(@Self)^.clr := $00000100
  21845. else
  21846. pTDefRegMap(@Self)^.&set := $00000100;
  21847. end;
  21848. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21849. begin
  21850. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21851. end;
  21852. procedure TPMP_PMMODE.setMODE1; inline;
  21853. begin
  21854. pTDefRegMap(@Self)^.&set := $00000200;
  21855. end;
  21856. procedure TPMP_PMMODE.clearMODE1; inline;
  21857. begin
  21858. pTDefRegMap(@Self)^.clr := $00000200;
  21859. end;
  21860. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21861. begin
  21862. if thebits = 0 then
  21863. pTDefRegMap(@Self)^.clr := $00000200
  21864. else
  21865. pTDefRegMap(@Self)^.&set := $00000200;
  21866. end;
  21867. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21868. begin
  21869. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21870. end;
  21871. procedure TPMP_PMMODE.setINCM0; inline;
  21872. begin
  21873. pTDefRegMap(@Self)^.&set := $00000800;
  21874. end;
  21875. procedure TPMP_PMMODE.clearINCM0; inline;
  21876. begin
  21877. pTDefRegMap(@Self)^.clr := $00000800;
  21878. end;
  21879. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21880. begin
  21881. if thebits = 0 then
  21882. pTDefRegMap(@Self)^.clr := $00000800
  21883. else
  21884. pTDefRegMap(@Self)^.&set := $00000800;
  21885. end;
  21886. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21887. begin
  21888. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21889. end;
  21890. procedure TPMP_PMMODE.setINCM1; inline;
  21891. begin
  21892. pTDefRegMap(@Self)^.&set := $00001000;
  21893. end;
  21894. procedure TPMP_PMMODE.clearINCM1; inline;
  21895. begin
  21896. pTDefRegMap(@Self)^.clr := $00001000;
  21897. end;
  21898. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21899. begin
  21900. if thebits = 0 then
  21901. pTDefRegMap(@Self)^.clr := $00001000
  21902. else
  21903. pTDefRegMap(@Self)^.&set := $00001000;
  21904. end;
  21905. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21906. begin
  21907. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21908. end;
  21909. procedure TPMP_PMMODE.setIRQM0; inline;
  21910. begin
  21911. pTDefRegMap(@Self)^.&set := $00002000;
  21912. end;
  21913. procedure TPMP_PMMODE.clearIRQM0; inline;
  21914. begin
  21915. pTDefRegMap(@Self)^.clr := $00002000;
  21916. end;
  21917. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21918. begin
  21919. if thebits = 0 then
  21920. pTDefRegMap(@Self)^.clr := $00002000
  21921. else
  21922. pTDefRegMap(@Self)^.&set := $00002000;
  21923. end;
  21924. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21925. begin
  21926. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21927. end;
  21928. procedure TPMP_PMMODE.setIRQM1; inline;
  21929. begin
  21930. pTDefRegMap(@Self)^.&set := $00004000;
  21931. end;
  21932. procedure TPMP_PMMODE.clearIRQM1; inline;
  21933. begin
  21934. pTDefRegMap(@Self)^.clr := $00004000;
  21935. end;
  21936. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21937. begin
  21938. if thebits = 0 then
  21939. pTDefRegMap(@Self)^.clr := $00004000
  21940. else
  21941. pTDefRegMap(@Self)^.&set := $00004000;
  21942. end;
  21943. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21944. begin
  21945. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21946. end;
  21947. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21948. begin
  21949. pTDefRegMap(@Self)^.val := thebits;
  21950. end;
  21951. function TPMP_PMMODE.getw : TBits_32; inline;
  21952. begin
  21953. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21954. end;
  21955. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21956. begin
  21957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21958. end;
  21959. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21960. begin
  21961. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21962. end;
  21963. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21964. begin
  21965. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21966. end;
  21967. function TPMP_PMADDR.getCS : TBits_2; inline;
  21968. begin
  21969. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21970. end;
  21971. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21972. begin
  21973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21974. end;
  21975. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21976. begin
  21977. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21978. end;
  21979. procedure TPMP_PMADDR.setCS1; inline;
  21980. begin
  21981. pTDefRegMap(@Self)^.&set := $00004000;
  21982. end;
  21983. procedure TPMP_PMADDR.clearCS1; inline;
  21984. begin
  21985. pTDefRegMap(@Self)^.clr := $00004000;
  21986. end;
  21987. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21988. begin
  21989. if thebits = 0 then
  21990. pTDefRegMap(@Self)^.clr := $00004000
  21991. else
  21992. pTDefRegMap(@Self)^.&set := $00004000;
  21993. end;
  21994. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21995. begin
  21996. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21997. end;
  21998. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21999. begin
  22000. pTDefRegMap(@Self)^.val := thebits;
  22001. end;
  22002. function TPMP_PMADDR.getw : TBits_32; inline;
  22003. begin
  22004. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22005. end;
  22006. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  22007. begin
  22008. pTDefRegMap(@Self)^.val := thebits;
  22009. end;
  22010. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  22011. begin
  22012. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22013. end;
  22014. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  22015. begin
  22016. pTDefRegMap(@Self)^.val := thebits;
  22017. end;
  22018. function TPMP_PMDOUT.getw : TBits_32; inline;
  22019. begin
  22020. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22021. end;
  22022. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  22023. begin
  22024. pTDefRegMap(@Self)^.val := thebits;
  22025. end;
  22026. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  22027. begin
  22028. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22029. end;
  22030. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  22031. begin
  22032. pTDefRegMap(@Self)^.val := thebits;
  22033. end;
  22034. function TPMP_PMDIN.getw : TBits_32; inline;
  22035. begin
  22036. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22037. end;
  22038. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  22039. begin
  22040. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  22041. end;
  22042. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  22043. begin
  22044. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  22045. end;
  22046. procedure TPMP_PMAEN.setPTEN0; inline;
  22047. begin
  22048. pTDefRegMap(@Self)^.&set := $00000001;
  22049. end;
  22050. procedure TPMP_PMAEN.clearPTEN0; inline;
  22051. begin
  22052. pTDefRegMap(@Self)^.clr := $00000001;
  22053. end;
  22054. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  22055. begin
  22056. if thebits = 0 then
  22057. pTDefRegMap(@Self)^.clr := $00000001
  22058. else
  22059. pTDefRegMap(@Self)^.&set := $00000001;
  22060. end;
  22061. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  22062. begin
  22063. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22064. end;
  22065. procedure TPMP_PMAEN.setPTEN1; inline;
  22066. begin
  22067. pTDefRegMap(@Self)^.&set := $00000002;
  22068. end;
  22069. procedure TPMP_PMAEN.clearPTEN1; inline;
  22070. begin
  22071. pTDefRegMap(@Self)^.clr := $00000002;
  22072. end;
  22073. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  22074. begin
  22075. if thebits = 0 then
  22076. pTDefRegMap(@Self)^.clr := $00000002
  22077. else
  22078. pTDefRegMap(@Self)^.&set := $00000002;
  22079. end;
  22080. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  22081. begin
  22082. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22083. end;
  22084. procedure TPMP_PMAEN.setPTEN2; inline;
  22085. begin
  22086. pTDefRegMap(@Self)^.&set := $00000004;
  22087. end;
  22088. procedure TPMP_PMAEN.clearPTEN2; inline;
  22089. begin
  22090. pTDefRegMap(@Self)^.clr := $00000004;
  22091. end;
  22092. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  22093. begin
  22094. if thebits = 0 then
  22095. pTDefRegMap(@Self)^.clr := $00000004
  22096. else
  22097. pTDefRegMap(@Self)^.&set := $00000004;
  22098. end;
  22099. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  22100. begin
  22101. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22102. end;
  22103. procedure TPMP_PMAEN.setPTEN3; inline;
  22104. begin
  22105. pTDefRegMap(@Self)^.&set := $00000008;
  22106. end;
  22107. procedure TPMP_PMAEN.clearPTEN3; inline;
  22108. begin
  22109. pTDefRegMap(@Self)^.clr := $00000008;
  22110. end;
  22111. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  22112. begin
  22113. if thebits = 0 then
  22114. pTDefRegMap(@Self)^.clr := $00000008
  22115. else
  22116. pTDefRegMap(@Self)^.&set := $00000008;
  22117. end;
  22118. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  22119. begin
  22120. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22121. end;
  22122. procedure TPMP_PMAEN.setPTEN4; inline;
  22123. begin
  22124. pTDefRegMap(@Self)^.&set := $00000010;
  22125. end;
  22126. procedure TPMP_PMAEN.clearPTEN4; inline;
  22127. begin
  22128. pTDefRegMap(@Self)^.clr := $00000010;
  22129. end;
  22130. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  22131. begin
  22132. if thebits = 0 then
  22133. pTDefRegMap(@Self)^.clr := $00000010
  22134. else
  22135. pTDefRegMap(@Self)^.&set := $00000010;
  22136. end;
  22137. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  22138. begin
  22139. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22140. end;
  22141. procedure TPMP_PMAEN.setPTEN5; inline;
  22142. begin
  22143. pTDefRegMap(@Self)^.&set := $00000020;
  22144. end;
  22145. procedure TPMP_PMAEN.clearPTEN5; inline;
  22146. begin
  22147. pTDefRegMap(@Self)^.clr := $00000020;
  22148. end;
  22149. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  22150. begin
  22151. if thebits = 0 then
  22152. pTDefRegMap(@Self)^.clr := $00000020
  22153. else
  22154. pTDefRegMap(@Self)^.&set := $00000020;
  22155. end;
  22156. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  22157. begin
  22158. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22159. end;
  22160. procedure TPMP_PMAEN.setPTEN6; inline;
  22161. begin
  22162. pTDefRegMap(@Self)^.&set := $00000040;
  22163. end;
  22164. procedure TPMP_PMAEN.clearPTEN6; inline;
  22165. begin
  22166. pTDefRegMap(@Self)^.clr := $00000040;
  22167. end;
  22168. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  22169. begin
  22170. if thebits = 0 then
  22171. pTDefRegMap(@Self)^.clr := $00000040
  22172. else
  22173. pTDefRegMap(@Self)^.&set := $00000040;
  22174. end;
  22175. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  22176. begin
  22177. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22178. end;
  22179. procedure TPMP_PMAEN.setPTEN7; inline;
  22180. begin
  22181. pTDefRegMap(@Self)^.&set := $00000080;
  22182. end;
  22183. procedure TPMP_PMAEN.clearPTEN7; inline;
  22184. begin
  22185. pTDefRegMap(@Self)^.clr := $00000080;
  22186. end;
  22187. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  22188. begin
  22189. if thebits = 0 then
  22190. pTDefRegMap(@Self)^.clr := $00000080
  22191. else
  22192. pTDefRegMap(@Self)^.&set := $00000080;
  22193. end;
  22194. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  22195. begin
  22196. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22197. end;
  22198. procedure TPMP_PMAEN.setPTEN8; inline;
  22199. begin
  22200. pTDefRegMap(@Self)^.&set := $00000100;
  22201. end;
  22202. procedure TPMP_PMAEN.clearPTEN8; inline;
  22203. begin
  22204. pTDefRegMap(@Self)^.clr := $00000100;
  22205. end;
  22206. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  22207. begin
  22208. if thebits = 0 then
  22209. pTDefRegMap(@Self)^.clr := $00000100
  22210. else
  22211. pTDefRegMap(@Self)^.&set := $00000100;
  22212. end;
  22213. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  22214. begin
  22215. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22216. end;
  22217. procedure TPMP_PMAEN.setPTEN9; inline;
  22218. begin
  22219. pTDefRegMap(@Self)^.&set := $00000200;
  22220. end;
  22221. procedure TPMP_PMAEN.clearPTEN9; inline;
  22222. begin
  22223. pTDefRegMap(@Self)^.clr := $00000200;
  22224. end;
  22225. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  22226. begin
  22227. if thebits = 0 then
  22228. pTDefRegMap(@Self)^.clr := $00000200
  22229. else
  22230. pTDefRegMap(@Self)^.&set := $00000200;
  22231. end;
  22232. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  22233. begin
  22234. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22235. end;
  22236. procedure TPMP_PMAEN.setPTEN10; inline;
  22237. begin
  22238. pTDefRegMap(@Self)^.&set := $00000400;
  22239. end;
  22240. procedure TPMP_PMAEN.clearPTEN10; inline;
  22241. begin
  22242. pTDefRegMap(@Self)^.clr := $00000400;
  22243. end;
  22244. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  22245. begin
  22246. if thebits = 0 then
  22247. pTDefRegMap(@Self)^.clr := $00000400
  22248. else
  22249. pTDefRegMap(@Self)^.&set := $00000400;
  22250. end;
  22251. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  22252. begin
  22253. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22254. end;
  22255. procedure TPMP_PMAEN.setPTEN11; inline;
  22256. begin
  22257. pTDefRegMap(@Self)^.&set := $00000800;
  22258. end;
  22259. procedure TPMP_PMAEN.clearPTEN11; inline;
  22260. begin
  22261. pTDefRegMap(@Self)^.clr := $00000800;
  22262. end;
  22263. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  22264. begin
  22265. if thebits = 0 then
  22266. pTDefRegMap(@Self)^.clr := $00000800
  22267. else
  22268. pTDefRegMap(@Self)^.&set := $00000800;
  22269. end;
  22270. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  22271. begin
  22272. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22273. end;
  22274. procedure TPMP_PMAEN.setPTEN12; inline;
  22275. begin
  22276. pTDefRegMap(@Self)^.&set := $00001000;
  22277. end;
  22278. procedure TPMP_PMAEN.clearPTEN12; inline;
  22279. begin
  22280. pTDefRegMap(@Self)^.clr := $00001000;
  22281. end;
  22282. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  22283. begin
  22284. if thebits = 0 then
  22285. pTDefRegMap(@Self)^.clr := $00001000
  22286. else
  22287. pTDefRegMap(@Self)^.&set := $00001000;
  22288. end;
  22289. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  22290. begin
  22291. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22292. end;
  22293. procedure TPMP_PMAEN.setPTEN13; inline;
  22294. begin
  22295. pTDefRegMap(@Self)^.&set := $00002000;
  22296. end;
  22297. procedure TPMP_PMAEN.clearPTEN13; inline;
  22298. begin
  22299. pTDefRegMap(@Self)^.clr := $00002000;
  22300. end;
  22301. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  22302. begin
  22303. if thebits = 0 then
  22304. pTDefRegMap(@Self)^.clr := $00002000
  22305. else
  22306. pTDefRegMap(@Self)^.&set := $00002000;
  22307. end;
  22308. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  22309. begin
  22310. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22311. end;
  22312. procedure TPMP_PMAEN.setPTEN14; inline;
  22313. begin
  22314. pTDefRegMap(@Self)^.&set := $00004000;
  22315. end;
  22316. procedure TPMP_PMAEN.clearPTEN14; inline;
  22317. begin
  22318. pTDefRegMap(@Self)^.clr := $00004000;
  22319. end;
  22320. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  22321. begin
  22322. if thebits = 0 then
  22323. pTDefRegMap(@Self)^.clr := $00004000
  22324. else
  22325. pTDefRegMap(@Self)^.&set := $00004000;
  22326. end;
  22327. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  22328. begin
  22329. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22330. end;
  22331. procedure TPMP_PMAEN.setPTEN15; inline;
  22332. begin
  22333. pTDefRegMap(@Self)^.&set := $00008000;
  22334. end;
  22335. procedure TPMP_PMAEN.clearPTEN15; inline;
  22336. begin
  22337. pTDefRegMap(@Self)^.clr := $00008000;
  22338. end;
  22339. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  22340. begin
  22341. if thebits = 0 then
  22342. pTDefRegMap(@Self)^.clr := $00008000
  22343. else
  22344. pTDefRegMap(@Self)^.&set := $00008000;
  22345. end;
  22346. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  22347. begin
  22348. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22349. end;
  22350. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  22351. begin
  22352. pTDefRegMap(@Self)^.val := thebits;
  22353. end;
  22354. function TPMP_PMAEN.getw : TBits_32; inline;
  22355. begin
  22356. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22357. end;
  22358. procedure TPMP_PMSTAT.setOB0E; inline;
  22359. begin
  22360. pTDefRegMap(@Self)^.&set := $00000001;
  22361. end;
  22362. procedure TPMP_PMSTAT.clearOB0E; inline;
  22363. begin
  22364. pTDefRegMap(@Self)^.clr := $00000001;
  22365. end;
  22366. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  22367. begin
  22368. if thebits = 0 then
  22369. pTDefRegMap(@Self)^.clr := $00000001
  22370. else
  22371. pTDefRegMap(@Self)^.&set := $00000001;
  22372. end;
  22373. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  22374. begin
  22375. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22376. end;
  22377. procedure TPMP_PMSTAT.setOB1E; inline;
  22378. begin
  22379. pTDefRegMap(@Self)^.&set := $00000002;
  22380. end;
  22381. procedure TPMP_PMSTAT.clearOB1E; inline;
  22382. begin
  22383. pTDefRegMap(@Self)^.clr := $00000002;
  22384. end;
  22385. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  22386. begin
  22387. if thebits = 0 then
  22388. pTDefRegMap(@Self)^.clr := $00000002
  22389. else
  22390. pTDefRegMap(@Self)^.&set := $00000002;
  22391. end;
  22392. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  22393. begin
  22394. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22395. end;
  22396. procedure TPMP_PMSTAT.setOB2E; inline;
  22397. begin
  22398. pTDefRegMap(@Self)^.&set := $00000004;
  22399. end;
  22400. procedure TPMP_PMSTAT.clearOB2E; inline;
  22401. begin
  22402. pTDefRegMap(@Self)^.clr := $00000004;
  22403. end;
  22404. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  22405. begin
  22406. if thebits = 0 then
  22407. pTDefRegMap(@Self)^.clr := $00000004
  22408. else
  22409. pTDefRegMap(@Self)^.&set := $00000004;
  22410. end;
  22411. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  22412. begin
  22413. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22414. end;
  22415. procedure TPMP_PMSTAT.setOB3E; inline;
  22416. begin
  22417. pTDefRegMap(@Self)^.&set := $00000008;
  22418. end;
  22419. procedure TPMP_PMSTAT.clearOB3E; inline;
  22420. begin
  22421. pTDefRegMap(@Self)^.clr := $00000008;
  22422. end;
  22423. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  22424. begin
  22425. if thebits = 0 then
  22426. pTDefRegMap(@Self)^.clr := $00000008
  22427. else
  22428. pTDefRegMap(@Self)^.&set := $00000008;
  22429. end;
  22430. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  22431. begin
  22432. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22433. end;
  22434. procedure TPMP_PMSTAT.setOBUF; inline;
  22435. begin
  22436. pTDefRegMap(@Self)^.&set := $00000040;
  22437. end;
  22438. procedure TPMP_PMSTAT.clearOBUF; inline;
  22439. begin
  22440. pTDefRegMap(@Self)^.clr := $00000040;
  22441. end;
  22442. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  22443. begin
  22444. if thebits = 0 then
  22445. pTDefRegMap(@Self)^.clr := $00000040
  22446. else
  22447. pTDefRegMap(@Self)^.&set := $00000040;
  22448. end;
  22449. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  22450. begin
  22451. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22452. end;
  22453. procedure TPMP_PMSTAT.setOBE; inline;
  22454. begin
  22455. pTDefRegMap(@Self)^.&set := $00000080;
  22456. end;
  22457. procedure TPMP_PMSTAT.clearOBE; inline;
  22458. begin
  22459. pTDefRegMap(@Self)^.clr := $00000080;
  22460. end;
  22461. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  22462. begin
  22463. if thebits = 0 then
  22464. pTDefRegMap(@Self)^.clr := $00000080
  22465. else
  22466. pTDefRegMap(@Self)^.&set := $00000080;
  22467. end;
  22468. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  22469. begin
  22470. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22471. end;
  22472. procedure TPMP_PMSTAT.setIB0F; inline;
  22473. begin
  22474. pTDefRegMap(@Self)^.&set := $00000100;
  22475. end;
  22476. procedure TPMP_PMSTAT.clearIB0F; inline;
  22477. begin
  22478. pTDefRegMap(@Self)^.clr := $00000100;
  22479. end;
  22480. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  22481. begin
  22482. if thebits = 0 then
  22483. pTDefRegMap(@Self)^.clr := $00000100
  22484. else
  22485. pTDefRegMap(@Self)^.&set := $00000100;
  22486. end;
  22487. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  22488. begin
  22489. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22490. end;
  22491. procedure TPMP_PMSTAT.setIB1F; inline;
  22492. begin
  22493. pTDefRegMap(@Self)^.&set := $00000200;
  22494. end;
  22495. procedure TPMP_PMSTAT.clearIB1F; inline;
  22496. begin
  22497. pTDefRegMap(@Self)^.clr := $00000200;
  22498. end;
  22499. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  22500. begin
  22501. if thebits = 0 then
  22502. pTDefRegMap(@Self)^.clr := $00000200
  22503. else
  22504. pTDefRegMap(@Self)^.&set := $00000200;
  22505. end;
  22506. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  22507. begin
  22508. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22509. end;
  22510. procedure TPMP_PMSTAT.setIB2F; inline;
  22511. begin
  22512. pTDefRegMap(@Self)^.&set := $00000400;
  22513. end;
  22514. procedure TPMP_PMSTAT.clearIB2F; inline;
  22515. begin
  22516. pTDefRegMap(@Self)^.clr := $00000400;
  22517. end;
  22518. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  22519. begin
  22520. if thebits = 0 then
  22521. pTDefRegMap(@Self)^.clr := $00000400
  22522. else
  22523. pTDefRegMap(@Self)^.&set := $00000400;
  22524. end;
  22525. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  22526. begin
  22527. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22528. end;
  22529. procedure TPMP_PMSTAT.setIB3F; inline;
  22530. begin
  22531. pTDefRegMap(@Self)^.&set := $00000800;
  22532. end;
  22533. procedure TPMP_PMSTAT.clearIB3F; inline;
  22534. begin
  22535. pTDefRegMap(@Self)^.clr := $00000800;
  22536. end;
  22537. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  22538. begin
  22539. if thebits = 0 then
  22540. pTDefRegMap(@Self)^.clr := $00000800
  22541. else
  22542. pTDefRegMap(@Self)^.&set := $00000800;
  22543. end;
  22544. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  22545. begin
  22546. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22547. end;
  22548. procedure TPMP_PMSTAT.setIBOV; inline;
  22549. begin
  22550. pTDefRegMap(@Self)^.&set := $00004000;
  22551. end;
  22552. procedure TPMP_PMSTAT.clearIBOV; inline;
  22553. begin
  22554. pTDefRegMap(@Self)^.clr := $00004000;
  22555. end;
  22556. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  22557. begin
  22558. if thebits = 0 then
  22559. pTDefRegMap(@Self)^.clr := $00004000
  22560. else
  22561. pTDefRegMap(@Self)^.&set := $00004000;
  22562. end;
  22563. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  22564. begin
  22565. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22566. end;
  22567. procedure TPMP_PMSTAT.setIBF; inline;
  22568. begin
  22569. pTDefRegMap(@Self)^.&set := $00008000;
  22570. end;
  22571. procedure TPMP_PMSTAT.clearIBF; inline;
  22572. begin
  22573. pTDefRegMap(@Self)^.clr := $00008000;
  22574. end;
  22575. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  22576. begin
  22577. if thebits = 0 then
  22578. pTDefRegMap(@Self)^.clr := $00008000
  22579. else
  22580. pTDefRegMap(@Self)^.&set := $00008000;
  22581. end;
  22582. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  22583. begin
  22584. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22585. end;
  22586. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  22587. begin
  22588. pTDefRegMap(@Self)^.val := thebits;
  22589. end;
  22590. function TPMP_PMSTAT.getw : TBits_32; inline;
  22591. begin
  22592. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22593. end;
  22594. procedure TADC10_AD1CON1.setDONE; inline;
  22595. begin
  22596. pTDefRegMap(@Self)^.&set := $00000001;
  22597. end;
  22598. procedure TADC10_AD1CON1.clearDONE; inline;
  22599. begin
  22600. pTDefRegMap(@Self)^.clr := $00000001;
  22601. end;
  22602. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  22603. begin
  22604. if thebits = 0 then
  22605. pTDefRegMap(@Self)^.clr := $00000001
  22606. else
  22607. pTDefRegMap(@Self)^.&set := $00000001;
  22608. end;
  22609. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  22610. begin
  22611. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22612. end;
  22613. procedure TADC10_AD1CON1.setSAMP; inline;
  22614. begin
  22615. pTDefRegMap(@Self)^.&set := $00000002;
  22616. end;
  22617. procedure TADC10_AD1CON1.clearSAMP; inline;
  22618. begin
  22619. pTDefRegMap(@Self)^.clr := $00000002;
  22620. end;
  22621. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  22622. begin
  22623. if thebits = 0 then
  22624. pTDefRegMap(@Self)^.clr := $00000002
  22625. else
  22626. pTDefRegMap(@Self)^.&set := $00000002;
  22627. end;
  22628. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  22629. begin
  22630. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22631. end;
  22632. procedure TADC10_AD1CON1.setASAM; inline;
  22633. begin
  22634. pTDefRegMap(@Self)^.&set := $00000004;
  22635. end;
  22636. procedure TADC10_AD1CON1.clearASAM; inline;
  22637. begin
  22638. pTDefRegMap(@Self)^.clr := $00000004;
  22639. end;
  22640. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  22641. begin
  22642. if thebits = 0 then
  22643. pTDefRegMap(@Self)^.clr := $00000004
  22644. else
  22645. pTDefRegMap(@Self)^.&set := $00000004;
  22646. end;
  22647. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  22648. begin
  22649. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22650. end;
  22651. procedure TADC10_AD1CON1.setCLRASAM; inline;
  22652. begin
  22653. pTDefRegMap(@Self)^.&set := $00000010;
  22654. end;
  22655. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  22656. begin
  22657. pTDefRegMap(@Self)^.clr := $00000010;
  22658. end;
  22659. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  22660. begin
  22661. if thebits = 0 then
  22662. pTDefRegMap(@Self)^.clr := $00000010
  22663. else
  22664. pTDefRegMap(@Self)^.&set := $00000010;
  22665. end;
  22666. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  22667. begin
  22668. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22669. end;
  22670. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  22671. begin
  22672. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  22673. end;
  22674. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  22675. begin
  22676. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  22677. end;
  22678. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  22679. begin
  22680. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  22681. end;
  22682. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  22683. begin
  22684. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  22685. end;
  22686. procedure TADC10_AD1CON1.setSIDL; inline;
  22687. begin
  22688. pTDefRegMap(@Self)^.&set := $00002000;
  22689. end;
  22690. procedure TADC10_AD1CON1.clearSIDL; inline;
  22691. begin
  22692. pTDefRegMap(@Self)^.clr := $00002000;
  22693. end;
  22694. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  22695. begin
  22696. if thebits = 0 then
  22697. pTDefRegMap(@Self)^.clr := $00002000
  22698. else
  22699. pTDefRegMap(@Self)^.&set := $00002000;
  22700. end;
  22701. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  22702. begin
  22703. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22704. end;
  22705. procedure TADC10_AD1CON1.setON; inline;
  22706. begin
  22707. pTDefRegMap(@Self)^.&set := $00008000;
  22708. end;
  22709. procedure TADC10_AD1CON1.clearON; inline;
  22710. begin
  22711. pTDefRegMap(@Self)^.clr := $00008000;
  22712. end;
  22713. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  22714. begin
  22715. if thebits = 0 then
  22716. pTDefRegMap(@Self)^.clr := $00008000
  22717. else
  22718. pTDefRegMap(@Self)^.&set := $00008000;
  22719. end;
  22720. function TADC10_AD1CON1.getON : TBits_1; inline;
  22721. begin
  22722. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22723. end;
  22724. procedure TADC10_AD1CON1.setSSRC0; inline;
  22725. begin
  22726. pTDefRegMap(@Self)^.&set := $00000020;
  22727. end;
  22728. procedure TADC10_AD1CON1.clearSSRC0; inline;
  22729. begin
  22730. pTDefRegMap(@Self)^.clr := $00000020;
  22731. end;
  22732. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  22733. begin
  22734. if thebits = 0 then
  22735. pTDefRegMap(@Self)^.clr := $00000020
  22736. else
  22737. pTDefRegMap(@Self)^.&set := $00000020;
  22738. end;
  22739. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  22740. begin
  22741. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22742. end;
  22743. procedure TADC10_AD1CON1.setSSRC1; inline;
  22744. begin
  22745. pTDefRegMap(@Self)^.&set := $00000040;
  22746. end;
  22747. procedure TADC10_AD1CON1.clearSSRC1; inline;
  22748. begin
  22749. pTDefRegMap(@Self)^.clr := $00000040;
  22750. end;
  22751. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  22752. begin
  22753. if thebits = 0 then
  22754. pTDefRegMap(@Self)^.clr := $00000040
  22755. else
  22756. pTDefRegMap(@Self)^.&set := $00000040;
  22757. end;
  22758. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  22759. begin
  22760. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22761. end;
  22762. procedure TADC10_AD1CON1.setSSRC2; inline;
  22763. begin
  22764. pTDefRegMap(@Self)^.&set := $00000080;
  22765. end;
  22766. procedure TADC10_AD1CON1.clearSSRC2; inline;
  22767. begin
  22768. pTDefRegMap(@Self)^.clr := $00000080;
  22769. end;
  22770. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  22771. begin
  22772. if thebits = 0 then
  22773. pTDefRegMap(@Self)^.clr := $00000080
  22774. else
  22775. pTDefRegMap(@Self)^.&set := $00000080;
  22776. end;
  22777. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  22778. begin
  22779. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22780. end;
  22781. procedure TADC10_AD1CON1.setFORM0; inline;
  22782. begin
  22783. pTDefRegMap(@Self)^.&set := $00000100;
  22784. end;
  22785. procedure TADC10_AD1CON1.clearFORM0; inline;
  22786. begin
  22787. pTDefRegMap(@Self)^.clr := $00000100;
  22788. end;
  22789. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22790. begin
  22791. if thebits = 0 then
  22792. pTDefRegMap(@Self)^.clr := $00000100
  22793. else
  22794. pTDefRegMap(@Self)^.&set := $00000100;
  22795. end;
  22796. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22797. begin
  22798. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22799. end;
  22800. procedure TADC10_AD1CON1.setFORM1; inline;
  22801. begin
  22802. pTDefRegMap(@Self)^.&set := $00000200;
  22803. end;
  22804. procedure TADC10_AD1CON1.clearFORM1; inline;
  22805. begin
  22806. pTDefRegMap(@Self)^.clr := $00000200;
  22807. end;
  22808. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22809. begin
  22810. if thebits = 0 then
  22811. pTDefRegMap(@Self)^.clr := $00000200
  22812. else
  22813. pTDefRegMap(@Self)^.&set := $00000200;
  22814. end;
  22815. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22816. begin
  22817. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22818. end;
  22819. procedure TADC10_AD1CON1.setFORM2; inline;
  22820. begin
  22821. pTDefRegMap(@Self)^.&set := $00000400;
  22822. end;
  22823. procedure TADC10_AD1CON1.clearFORM2; inline;
  22824. begin
  22825. pTDefRegMap(@Self)^.clr := $00000400;
  22826. end;
  22827. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22828. begin
  22829. if thebits = 0 then
  22830. pTDefRegMap(@Self)^.clr := $00000400
  22831. else
  22832. pTDefRegMap(@Self)^.&set := $00000400;
  22833. end;
  22834. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22835. begin
  22836. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22837. end;
  22838. procedure TADC10_AD1CON1.setADSIDL; inline;
  22839. begin
  22840. pTDefRegMap(@Self)^.&set := $00002000;
  22841. end;
  22842. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22843. begin
  22844. pTDefRegMap(@Self)^.clr := $00002000;
  22845. end;
  22846. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22847. begin
  22848. if thebits = 0 then
  22849. pTDefRegMap(@Self)^.clr := $00002000
  22850. else
  22851. pTDefRegMap(@Self)^.&set := $00002000;
  22852. end;
  22853. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22854. begin
  22855. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22856. end;
  22857. procedure TADC10_AD1CON1.setADON; inline;
  22858. begin
  22859. pTDefRegMap(@Self)^.&set := $00008000;
  22860. end;
  22861. procedure TADC10_AD1CON1.clearADON; inline;
  22862. begin
  22863. pTDefRegMap(@Self)^.clr := $00008000;
  22864. end;
  22865. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22866. begin
  22867. if thebits = 0 then
  22868. pTDefRegMap(@Self)^.clr := $00008000
  22869. else
  22870. pTDefRegMap(@Self)^.&set := $00008000;
  22871. end;
  22872. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22873. begin
  22874. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22875. end;
  22876. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22877. begin
  22878. pTDefRegMap(@Self)^.val := thebits;
  22879. end;
  22880. function TADC10_AD1CON1.getw : TBits_32; inline;
  22881. begin
  22882. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22883. end;
  22884. procedure TADC10_AD1CON2.setALTS; inline;
  22885. begin
  22886. pTDefRegMap(@Self)^.&set := $00000001;
  22887. end;
  22888. procedure TADC10_AD1CON2.clearALTS; inline;
  22889. begin
  22890. pTDefRegMap(@Self)^.clr := $00000001;
  22891. end;
  22892. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22893. begin
  22894. if thebits = 0 then
  22895. pTDefRegMap(@Self)^.clr := $00000001
  22896. else
  22897. pTDefRegMap(@Self)^.&set := $00000001;
  22898. end;
  22899. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22900. begin
  22901. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22902. end;
  22903. procedure TADC10_AD1CON2.setBUFM; inline;
  22904. begin
  22905. pTDefRegMap(@Self)^.&set := $00000002;
  22906. end;
  22907. procedure TADC10_AD1CON2.clearBUFM; inline;
  22908. begin
  22909. pTDefRegMap(@Self)^.clr := $00000002;
  22910. end;
  22911. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22912. begin
  22913. if thebits = 0 then
  22914. pTDefRegMap(@Self)^.clr := $00000002
  22915. else
  22916. pTDefRegMap(@Self)^.&set := $00000002;
  22917. end;
  22918. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22919. begin
  22920. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22921. end;
  22922. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22923. begin
  22924. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22925. end;
  22926. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22927. begin
  22928. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22929. end;
  22930. procedure TADC10_AD1CON2.setBUFS; inline;
  22931. begin
  22932. pTDefRegMap(@Self)^.&set := $00000080;
  22933. end;
  22934. procedure TADC10_AD1CON2.clearBUFS; inline;
  22935. begin
  22936. pTDefRegMap(@Self)^.clr := $00000080;
  22937. end;
  22938. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22939. begin
  22940. if thebits = 0 then
  22941. pTDefRegMap(@Self)^.clr := $00000080
  22942. else
  22943. pTDefRegMap(@Self)^.&set := $00000080;
  22944. end;
  22945. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22946. begin
  22947. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22948. end;
  22949. procedure TADC10_AD1CON2.setCSCNA; inline;
  22950. begin
  22951. pTDefRegMap(@Self)^.&set := $00000400;
  22952. end;
  22953. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22954. begin
  22955. pTDefRegMap(@Self)^.clr := $00000400;
  22956. end;
  22957. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22958. begin
  22959. if thebits = 0 then
  22960. pTDefRegMap(@Self)^.clr := $00000400
  22961. else
  22962. pTDefRegMap(@Self)^.&set := $00000400;
  22963. end;
  22964. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22965. begin
  22966. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22967. end;
  22968. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22969. begin
  22970. pTDefRegMap(@Self)^.&set := $00001000;
  22971. end;
  22972. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22973. begin
  22974. pTDefRegMap(@Self)^.clr := $00001000;
  22975. end;
  22976. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22977. begin
  22978. if thebits = 0 then
  22979. pTDefRegMap(@Self)^.clr := $00001000
  22980. else
  22981. pTDefRegMap(@Self)^.&set := $00001000;
  22982. end;
  22983. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22984. begin
  22985. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22986. end;
  22987. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22988. begin
  22989. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22990. end;
  22991. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22992. begin
  22993. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22994. end;
  22995. procedure TADC10_AD1CON2.setSMPI0; inline;
  22996. begin
  22997. pTDefRegMap(@Self)^.&set := $00000004;
  22998. end;
  22999. procedure TADC10_AD1CON2.clearSMPI0; inline;
  23000. begin
  23001. pTDefRegMap(@Self)^.clr := $00000004;
  23002. end;
  23003. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  23004. begin
  23005. if thebits = 0 then
  23006. pTDefRegMap(@Self)^.clr := $00000004
  23007. else
  23008. pTDefRegMap(@Self)^.&set := $00000004;
  23009. end;
  23010. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  23011. begin
  23012. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23013. end;
  23014. procedure TADC10_AD1CON2.setSMPI1; inline;
  23015. begin
  23016. pTDefRegMap(@Self)^.&set := $00000008;
  23017. end;
  23018. procedure TADC10_AD1CON2.clearSMPI1; inline;
  23019. begin
  23020. pTDefRegMap(@Self)^.clr := $00000008;
  23021. end;
  23022. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  23023. begin
  23024. if thebits = 0 then
  23025. pTDefRegMap(@Self)^.clr := $00000008
  23026. else
  23027. pTDefRegMap(@Self)^.&set := $00000008;
  23028. end;
  23029. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  23030. begin
  23031. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23032. end;
  23033. procedure TADC10_AD1CON2.setSMPI2; inline;
  23034. begin
  23035. pTDefRegMap(@Self)^.&set := $00000010;
  23036. end;
  23037. procedure TADC10_AD1CON2.clearSMPI2; inline;
  23038. begin
  23039. pTDefRegMap(@Self)^.clr := $00000010;
  23040. end;
  23041. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  23042. begin
  23043. if thebits = 0 then
  23044. pTDefRegMap(@Self)^.clr := $00000010
  23045. else
  23046. pTDefRegMap(@Self)^.&set := $00000010;
  23047. end;
  23048. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  23049. begin
  23050. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23051. end;
  23052. procedure TADC10_AD1CON2.setSMPI3; inline;
  23053. begin
  23054. pTDefRegMap(@Self)^.&set := $00000020;
  23055. end;
  23056. procedure TADC10_AD1CON2.clearSMPI3; inline;
  23057. begin
  23058. pTDefRegMap(@Self)^.clr := $00000020;
  23059. end;
  23060. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  23061. begin
  23062. if thebits = 0 then
  23063. pTDefRegMap(@Self)^.clr := $00000020
  23064. else
  23065. pTDefRegMap(@Self)^.&set := $00000020;
  23066. end;
  23067. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  23068. begin
  23069. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23070. end;
  23071. procedure TADC10_AD1CON2.setVCFG0; inline;
  23072. begin
  23073. pTDefRegMap(@Self)^.&set := $00002000;
  23074. end;
  23075. procedure TADC10_AD1CON2.clearVCFG0; inline;
  23076. begin
  23077. pTDefRegMap(@Self)^.clr := $00002000;
  23078. end;
  23079. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  23080. begin
  23081. if thebits = 0 then
  23082. pTDefRegMap(@Self)^.clr := $00002000
  23083. else
  23084. pTDefRegMap(@Self)^.&set := $00002000;
  23085. end;
  23086. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  23087. begin
  23088. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23089. end;
  23090. procedure TADC10_AD1CON2.setVCFG1; inline;
  23091. begin
  23092. pTDefRegMap(@Self)^.&set := $00004000;
  23093. end;
  23094. procedure TADC10_AD1CON2.clearVCFG1; inline;
  23095. begin
  23096. pTDefRegMap(@Self)^.clr := $00004000;
  23097. end;
  23098. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  23099. begin
  23100. if thebits = 0 then
  23101. pTDefRegMap(@Self)^.clr := $00004000
  23102. else
  23103. pTDefRegMap(@Self)^.&set := $00004000;
  23104. end;
  23105. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  23106. begin
  23107. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23108. end;
  23109. procedure TADC10_AD1CON2.setVCFG2; inline;
  23110. begin
  23111. pTDefRegMap(@Self)^.&set := $00008000;
  23112. end;
  23113. procedure TADC10_AD1CON2.clearVCFG2; inline;
  23114. begin
  23115. pTDefRegMap(@Self)^.clr := $00008000;
  23116. end;
  23117. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  23118. begin
  23119. if thebits = 0 then
  23120. pTDefRegMap(@Self)^.clr := $00008000
  23121. else
  23122. pTDefRegMap(@Self)^.&set := $00008000;
  23123. end;
  23124. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  23125. begin
  23126. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23127. end;
  23128. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  23129. begin
  23130. pTDefRegMap(@Self)^.val := thebits;
  23131. end;
  23132. function TADC10_AD1CON2.getw : TBits_32; inline;
  23133. begin
  23134. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23135. end;
  23136. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  23137. begin
  23138. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  23139. end;
  23140. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  23141. begin
  23142. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  23143. end;
  23144. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  23145. begin
  23146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  23147. end;
  23148. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  23149. begin
  23150. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  23151. end;
  23152. procedure TADC10_AD1CON3.setADRC; inline;
  23153. begin
  23154. pTDefRegMap(@Self)^.&set := $00008000;
  23155. end;
  23156. procedure TADC10_AD1CON3.clearADRC; inline;
  23157. begin
  23158. pTDefRegMap(@Self)^.clr := $00008000;
  23159. end;
  23160. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  23161. begin
  23162. if thebits = 0 then
  23163. pTDefRegMap(@Self)^.clr := $00008000
  23164. else
  23165. pTDefRegMap(@Self)^.&set := $00008000;
  23166. end;
  23167. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  23168. begin
  23169. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23170. end;
  23171. procedure TADC10_AD1CON3.setADCS0; inline;
  23172. begin
  23173. pTDefRegMap(@Self)^.&set := $00000001;
  23174. end;
  23175. procedure TADC10_AD1CON3.clearADCS0; inline;
  23176. begin
  23177. pTDefRegMap(@Self)^.clr := $00000001;
  23178. end;
  23179. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  23180. begin
  23181. if thebits = 0 then
  23182. pTDefRegMap(@Self)^.clr := $00000001
  23183. else
  23184. pTDefRegMap(@Self)^.&set := $00000001;
  23185. end;
  23186. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  23187. begin
  23188. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23189. end;
  23190. procedure TADC10_AD1CON3.setADCS1; inline;
  23191. begin
  23192. pTDefRegMap(@Self)^.&set := $00000002;
  23193. end;
  23194. procedure TADC10_AD1CON3.clearADCS1; inline;
  23195. begin
  23196. pTDefRegMap(@Self)^.clr := $00000002;
  23197. end;
  23198. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  23199. begin
  23200. if thebits = 0 then
  23201. pTDefRegMap(@Self)^.clr := $00000002
  23202. else
  23203. pTDefRegMap(@Self)^.&set := $00000002;
  23204. end;
  23205. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  23206. begin
  23207. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23208. end;
  23209. procedure TADC10_AD1CON3.setADCS2; inline;
  23210. begin
  23211. pTDefRegMap(@Self)^.&set := $00000004;
  23212. end;
  23213. procedure TADC10_AD1CON3.clearADCS2; inline;
  23214. begin
  23215. pTDefRegMap(@Self)^.clr := $00000004;
  23216. end;
  23217. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  23218. begin
  23219. if thebits = 0 then
  23220. pTDefRegMap(@Self)^.clr := $00000004
  23221. else
  23222. pTDefRegMap(@Self)^.&set := $00000004;
  23223. end;
  23224. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  23225. begin
  23226. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23227. end;
  23228. procedure TADC10_AD1CON3.setADCS3; inline;
  23229. begin
  23230. pTDefRegMap(@Self)^.&set := $00000008;
  23231. end;
  23232. procedure TADC10_AD1CON3.clearADCS3; inline;
  23233. begin
  23234. pTDefRegMap(@Self)^.clr := $00000008;
  23235. end;
  23236. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  23237. begin
  23238. if thebits = 0 then
  23239. pTDefRegMap(@Self)^.clr := $00000008
  23240. else
  23241. pTDefRegMap(@Self)^.&set := $00000008;
  23242. end;
  23243. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  23244. begin
  23245. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23246. end;
  23247. procedure TADC10_AD1CON3.setADCS4; inline;
  23248. begin
  23249. pTDefRegMap(@Self)^.&set := $00000010;
  23250. end;
  23251. procedure TADC10_AD1CON3.clearADCS4; inline;
  23252. begin
  23253. pTDefRegMap(@Self)^.clr := $00000010;
  23254. end;
  23255. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  23256. begin
  23257. if thebits = 0 then
  23258. pTDefRegMap(@Self)^.clr := $00000010
  23259. else
  23260. pTDefRegMap(@Self)^.&set := $00000010;
  23261. end;
  23262. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  23263. begin
  23264. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23265. end;
  23266. procedure TADC10_AD1CON3.setADCS5; inline;
  23267. begin
  23268. pTDefRegMap(@Self)^.&set := $00000020;
  23269. end;
  23270. procedure TADC10_AD1CON3.clearADCS5; inline;
  23271. begin
  23272. pTDefRegMap(@Self)^.clr := $00000020;
  23273. end;
  23274. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  23275. begin
  23276. if thebits = 0 then
  23277. pTDefRegMap(@Self)^.clr := $00000020
  23278. else
  23279. pTDefRegMap(@Self)^.&set := $00000020;
  23280. end;
  23281. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  23282. begin
  23283. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23284. end;
  23285. procedure TADC10_AD1CON3.setADCS6; inline;
  23286. begin
  23287. pTDefRegMap(@Self)^.&set := $00000040;
  23288. end;
  23289. procedure TADC10_AD1CON3.clearADCS6; inline;
  23290. begin
  23291. pTDefRegMap(@Self)^.clr := $00000040;
  23292. end;
  23293. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  23294. begin
  23295. if thebits = 0 then
  23296. pTDefRegMap(@Self)^.clr := $00000040
  23297. else
  23298. pTDefRegMap(@Self)^.&set := $00000040;
  23299. end;
  23300. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  23301. begin
  23302. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23303. end;
  23304. procedure TADC10_AD1CON3.setADCS7; inline;
  23305. begin
  23306. pTDefRegMap(@Self)^.&set := $00000080;
  23307. end;
  23308. procedure TADC10_AD1CON3.clearADCS7; inline;
  23309. begin
  23310. pTDefRegMap(@Self)^.clr := $00000080;
  23311. end;
  23312. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  23313. begin
  23314. if thebits = 0 then
  23315. pTDefRegMap(@Self)^.clr := $00000080
  23316. else
  23317. pTDefRegMap(@Self)^.&set := $00000080;
  23318. end;
  23319. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  23320. begin
  23321. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23322. end;
  23323. procedure TADC10_AD1CON3.setSAMC0; inline;
  23324. begin
  23325. pTDefRegMap(@Self)^.&set := $00000100;
  23326. end;
  23327. procedure TADC10_AD1CON3.clearSAMC0; inline;
  23328. begin
  23329. pTDefRegMap(@Self)^.clr := $00000100;
  23330. end;
  23331. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  23332. begin
  23333. if thebits = 0 then
  23334. pTDefRegMap(@Self)^.clr := $00000100
  23335. else
  23336. pTDefRegMap(@Self)^.&set := $00000100;
  23337. end;
  23338. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  23339. begin
  23340. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23341. end;
  23342. procedure TADC10_AD1CON3.setSAMC1; inline;
  23343. begin
  23344. pTDefRegMap(@Self)^.&set := $00000200;
  23345. end;
  23346. procedure TADC10_AD1CON3.clearSAMC1; inline;
  23347. begin
  23348. pTDefRegMap(@Self)^.clr := $00000200;
  23349. end;
  23350. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  23351. begin
  23352. if thebits = 0 then
  23353. pTDefRegMap(@Self)^.clr := $00000200
  23354. else
  23355. pTDefRegMap(@Self)^.&set := $00000200;
  23356. end;
  23357. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  23358. begin
  23359. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23360. end;
  23361. procedure TADC10_AD1CON3.setSAMC2; inline;
  23362. begin
  23363. pTDefRegMap(@Self)^.&set := $00000400;
  23364. end;
  23365. procedure TADC10_AD1CON3.clearSAMC2; inline;
  23366. begin
  23367. pTDefRegMap(@Self)^.clr := $00000400;
  23368. end;
  23369. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  23370. begin
  23371. if thebits = 0 then
  23372. pTDefRegMap(@Self)^.clr := $00000400
  23373. else
  23374. pTDefRegMap(@Self)^.&set := $00000400;
  23375. end;
  23376. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  23377. begin
  23378. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23379. end;
  23380. procedure TADC10_AD1CON3.setSAMC3; inline;
  23381. begin
  23382. pTDefRegMap(@Self)^.&set := $00000800;
  23383. end;
  23384. procedure TADC10_AD1CON3.clearSAMC3; inline;
  23385. begin
  23386. pTDefRegMap(@Self)^.clr := $00000800;
  23387. end;
  23388. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  23389. begin
  23390. if thebits = 0 then
  23391. pTDefRegMap(@Self)^.clr := $00000800
  23392. else
  23393. pTDefRegMap(@Self)^.&set := $00000800;
  23394. end;
  23395. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  23396. begin
  23397. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23398. end;
  23399. procedure TADC10_AD1CON3.setSAMC4; inline;
  23400. begin
  23401. pTDefRegMap(@Self)^.&set := $00001000;
  23402. end;
  23403. procedure TADC10_AD1CON3.clearSAMC4; inline;
  23404. begin
  23405. pTDefRegMap(@Self)^.clr := $00001000;
  23406. end;
  23407. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  23408. begin
  23409. if thebits = 0 then
  23410. pTDefRegMap(@Self)^.clr := $00001000
  23411. else
  23412. pTDefRegMap(@Self)^.&set := $00001000;
  23413. end;
  23414. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  23415. begin
  23416. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23417. end;
  23418. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  23419. begin
  23420. pTDefRegMap(@Self)^.val := thebits;
  23421. end;
  23422. function TADC10_AD1CON3.getw : TBits_32; inline;
  23423. begin
  23424. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23425. end;
  23426. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  23427. begin
  23428. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  23429. end;
  23430. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  23431. begin
  23432. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  23433. end;
  23434. procedure TADC10_AD1CHS.setCH0NA; inline;
  23435. begin
  23436. pTDefRegMap(@Self)^.&set := $00800000;
  23437. end;
  23438. procedure TADC10_AD1CHS.clearCH0NA; inline;
  23439. begin
  23440. pTDefRegMap(@Self)^.clr := $00800000;
  23441. end;
  23442. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  23443. begin
  23444. if thebits = 0 then
  23445. pTDefRegMap(@Self)^.clr := $00800000
  23446. else
  23447. pTDefRegMap(@Self)^.&set := $00800000;
  23448. end;
  23449. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  23450. begin
  23451. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  23452. end;
  23453. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  23454. begin
  23455. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  23456. end;
  23457. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  23458. begin
  23459. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  23460. end;
  23461. procedure TADC10_AD1CHS.setCH0NB; inline;
  23462. begin
  23463. pTDefRegMap(@Self)^.&set := $80000000;
  23464. end;
  23465. procedure TADC10_AD1CHS.clearCH0NB; inline;
  23466. begin
  23467. pTDefRegMap(@Self)^.clr := $80000000;
  23468. end;
  23469. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  23470. begin
  23471. if thebits = 0 then
  23472. pTDefRegMap(@Self)^.clr := $80000000
  23473. else
  23474. pTDefRegMap(@Self)^.&set := $80000000;
  23475. end;
  23476. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  23477. begin
  23478. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  23479. end;
  23480. procedure TADC10_AD1CHS.setCH0SA0; inline;
  23481. begin
  23482. pTDefRegMap(@Self)^.&set := $00010000;
  23483. end;
  23484. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  23485. begin
  23486. pTDefRegMap(@Self)^.clr := $00010000;
  23487. end;
  23488. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  23489. begin
  23490. if thebits = 0 then
  23491. pTDefRegMap(@Self)^.clr := $00010000
  23492. else
  23493. pTDefRegMap(@Self)^.&set := $00010000;
  23494. end;
  23495. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  23496. begin
  23497. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23498. end;
  23499. procedure TADC10_AD1CHS.setCH0SA1; inline;
  23500. begin
  23501. pTDefRegMap(@Self)^.&set := $00020000;
  23502. end;
  23503. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  23504. begin
  23505. pTDefRegMap(@Self)^.clr := $00020000;
  23506. end;
  23507. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  23508. begin
  23509. if thebits = 0 then
  23510. pTDefRegMap(@Self)^.clr := $00020000
  23511. else
  23512. pTDefRegMap(@Self)^.&set := $00020000;
  23513. end;
  23514. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  23515. begin
  23516. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23517. end;
  23518. procedure TADC10_AD1CHS.setCH0SA2; inline;
  23519. begin
  23520. pTDefRegMap(@Self)^.&set := $00040000;
  23521. end;
  23522. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  23523. begin
  23524. pTDefRegMap(@Self)^.clr := $00040000;
  23525. end;
  23526. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  23527. begin
  23528. if thebits = 0 then
  23529. pTDefRegMap(@Self)^.clr := $00040000
  23530. else
  23531. pTDefRegMap(@Self)^.&set := $00040000;
  23532. end;
  23533. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  23534. begin
  23535. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23536. end;
  23537. procedure TADC10_AD1CHS.setCH0SA3; inline;
  23538. begin
  23539. pTDefRegMap(@Self)^.&set := $00080000;
  23540. end;
  23541. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  23542. begin
  23543. pTDefRegMap(@Self)^.clr := $00080000;
  23544. end;
  23545. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  23546. begin
  23547. if thebits = 0 then
  23548. pTDefRegMap(@Self)^.clr := $00080000
  23549. else
  23550. pTDefRegMap(@Self)^.&set := $00080000;
  23551. end;
  23552. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  23553. begin
  23554. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  23555. end;
  23556. procedure TADC10_AD1CHS.setCH0SB0; inline;
  23557. begin
  23558. pTDefRegMap(@Self)^.&set := $01000000;
  23559. end;
  23560. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  23561. begin
  23562. pTDefRegMap(@Self)^.clr := $01000000;
  23563. end;
  23564. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  23565. begin
  23566. if thebits = 0 then
  23567. pTDefRegMap(@Self)^.clr := $01000000
  23568. else
  23569. pTDefRegMap(@Self)^.&set := $01000000;
  23570. end;
  23571. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  23572. begin
  23573. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23574. end;
  23575. procedure TADC10_AD1CHS.setCH0SB1; inline;
  23576. begin
  23577. pTDefRegMap(@Self)^.&set := $02000000;
  23578. end;
  23579. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  23580. begin
  23581. pTDefRegMap(@Self)^.clr := $02000000;
  23582. end;
  23583. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  23584. begin
  23585. if thebits = 0 then
  23586. pTDefRegMap(@Self)^.clr := $02000000
  23587. else
  23588. pTDefRegMap(@Self)^.&set := $02000000;
  23589. end;
  23590. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  23591. begin
  23592. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  23593. end;
  23594. procedure TADC10_AD1CHS.setCH0SB2; inline;
  23595. begin
  23596. pTDefRegMap(@Self)^.&set := $04000000;
  23597. end;
  23598. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  23599. begin
  23600. pTDefRegMap(@Self)^.clr := $04000000;
  23601. end;
  23602. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  23603. begin
  23604. if thebits = 0 then
  23605. pTDefRegMap(@Self)^.clr := $04000000
  23606. else
  23607. pTDefRegMap(@Self)^.&set := $04000000;
  23608. end;
  23609. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  23610. begin
  23611. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  23612. end;
  23613. procedure TADC10_AD1CHS.setCH0SB3; inline;
  23614. begin
  23615. pTDefRegMap(@Self)^.&set := $08000000;
  23616. end;
  23617. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  23618. begin
  23619. pTDefRegMap(@Self)^.clr := $08000000;
  23620. end;
  23621. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  23622. begin
  23623. if thebits = 0 then
  23624. pTDefRegMap(@Self)^.clr := $08000000
  23625. else
  23626. pTDefRegMap(@Self)^.&set := $08000000;
  23627. end;
  23628. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  23629. begin
  23630. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  23631. end;
  23632. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  23633. begin
  23634. pTDefRegMap(@Self)^.val := thebits;
  23635. end;
  23636. function TADC10_AD1CHS.getw : TBits_32; inline;
  23637. begin
  23638. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23639. end;
  23640. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  23641. begin
  23642. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  23643. end;
  23644. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  23645. begin
  23646. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  23647. end;
  23648. procedure TADC10_AD1CSSL.setCSSL0; inline;
  23649. begin
  23650. pTDefRegMap(@Self)^.&set := $00000001;
  23651. end;
  23652. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  23653. begin
  23654. pTDefRegMap(@Self)^.clr := $00000001;
  23655. end;
  23656. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  23657. begin
  23658. if thebits = 0 then
  23659. pTDefRegMap(@Self)^.clr := $00000001
  23660. else
  23661. pTDefRegMap(@Self)^.&set := $00000001;
  23662. end;
  23663. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  23664. begin
  23665. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23666. end;
  23667. procedure TADC10_AD1CSSL.setCSSL1; inline;
  23668. begin
  23669. pTDefRegMap(@Self)^.&set := $00000002;
  23670. end;
  23671. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  23672. begin
  23673. pTDefRegMap(@Self)^.clr := $00000002;
  23674. end;
  23675. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  23676. begin
  23677. if thebits = 0 then
  23678. pTDefRegMap(@Self)^.clr := $00000002
  23679. else
  23680. pTDefRegMap(@Self)^.&set := $00000002;
  23681. end;
  23682. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  23683. begin
  23684. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23685. end;
  23686. procedure TADC10_AD1CSSL.setCSSL2; inline;
  23687. begin
  23688. pTDefRegMap(@Self)^.&set := $00000004;
  23689. end;
  23690. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  23691. begin
  23692. pTDefRegMap(@Self)^.clr := $00000004;
  23693. end;
  23694. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  23695. begin
  23696. if thebits = 0 then
  23697. pTDefRegMap(@Self)^.clr := $00000004
  23698. else
  23699. pTDefRegMap(@Self)^.&set := $00000004;
  23700. end;
  23701. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  23702. begin
  23703. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23704. end;
  23705. procedure TADC10_AD1CSSL.setCSSL3; inline;
  23706. begin
  23707. pTDefRegMap(@Self)^.&set := $00000008;
  23708. end;
  23709. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  23710. begin
  23711. pTDefRegMap(@Self)^.clr := $00000008;
  23712. end;
  23713. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  23714. begin
  23715. if thebits = 0 then
  23716. pTDefRegMap(@Self)^.clr := $00000008
  23717. else
  23718. pTDefRegMap(@Self)^.&set := $00000008;
  23719. end;
  23720. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  23721. begin
  23722. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23723. end;
  23724. procedure TADC10_AD1CSSL.setCSSL4; inline;
  23725. begin
  23726. pTDefRegMap(@Self)^.&set := $00000010;
  23727. end;
  23728. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  23729. begin
  23730. pTDefRegMap(@Self)^.clr := $00000010;
  23731. end;
  23732. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  23733. begin
  23734. if thebits = 0 then
  23735. pTDefRegMap(@Self)^.clr := $00000010
  23736. else
  23737. pTDefRegMap(@Self)^.&set := $00000010;
  23738. end;
  23739. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  23740. begin
  23741. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23742. end;
  23743. procedure TADC10_AD1CSSL.setCSSL5; inline;
  23744. begin
  23745. pTDefRegMap(@Self)^.&set := $00000020;
  23746. end;
  23747. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  23748. begin
  23749. pTDefRegMap(@Self)^.clr := $00000020;
  23750. end;
  23751. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  23752. begin
  23753. if thebits = 0 then
  23754. pTDefRegMap(@Self)^.clr := $00000020
  23755. else
  23756. pTDefRegMap(@Self)^.&set := $00000020;
  23757. end;
  23758. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  23759. begin
  23760. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23761. end;
  23762. procedure TADC10_AD1CSSL.setCSSL6; inline;
  23763. begin
  23764. pTDefRegMap(@Self)^.&set := $00000040;
  23765. end;
  23766. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  23767. begin
  23768. pTDefRegMap(@Self)^.clr := $00000040;
  23769. end;
  23770. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  23771. begin
  23772. if thebits = 0 then
  23773. pTDefRegMap(@Self)^.clr := $00000040
  23774. else
  23775. pTDefRegMap(@Self)^.&set := $00000040;
  23776. end;
  23777. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  23778. begin
  23779. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23780. end;
  23781. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23782. begin
  23783. pTDefRegMap(@Self)^.&set := $00000080;
  23784. end;
  23785. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23786. begin
  23787. pTDefRegMap(@Self)^.clr := $00000080;
  23788. end;
  23789. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23790. begin
  23791. if thebits = 0 then
  23792. pTDefRegMap(@Self)^.clr := $00000080
  23793. else
  23794. pTDefRegMap(@Self)^.&set := $00000080;
  23795. end;
  23796. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23797. begin
  23798. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23799. end;
  23800. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23801. begin
  23802. pTDefRegMap(@Self)^.&set := $00000100;
  23803. end;
  23804. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23805. begin
  23806. pTDefRegMap(@Self)^.clr := $00000100;
  23807. end;
  23808. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23809. begin
  23810. if thebits = 0 then
  23811. pTDefRegMap(@Self)^.clr := $00000100
  23812. else
  23813. pTDefRegMap(@Self)^.&set := $00000100;
  23814. end;
  23815. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23816. begin
  23817. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23818. end;
  23819. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23820. begin
  23821. pTDefRegMap(@Self)^.&set := $00000200;
  23822. end;
  23823. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23824. begin
  23825. pTDefRegMap(@Self)^.clr := $00000200;
  23826. end;
  23827. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23828. begin
  23829. if thebits = 0 then
  23830. pTDefRegMap(@Self)^.clr := $00000200
  23831. else
  23832. pTDefRegMap(@Self)^.&set := $00000200;
  23833. end;
  23834. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23835. begin
  23836. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23837. end;
  23838. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23839. begin
  23840. pTDefRegMap(@Self)^.&set := $00000400;
  23841. end;
  23842. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23843. begin
  23844. pTDefRegMap(@Self)^.clr := $00000400;
  23845. end;
  23846. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23847. begin
  23848. if thebits = 0 then
  23849. pTDefRegMap(@Self)^.clr := $00000400
  23850. else
  23851. pTDefRegMap(@Self)^.&set := $00000400;
  23852. end;
  23853. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23854. begin
  23855. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23856. end;
  23857. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23858. begin
  23859. pTDefRegMap(@Self)^.&set := $00000800;
  23860. end;
  23861. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23862. begin
  23863. pTDefRegMap(@Self)^.clr := $00000800;
  23864. end;
  23865. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23866. begin
  23867. if thebits = 0 then
  23868. pTDefRegMap(@Self)^.clr := $00000800
  23869. else
  23870. pTDefRegMap(@Self)^.&set := $00000800;
  23871. end;
  23872. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23873. begin
  23874. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23875. end;
  23876. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23877. begin
  23878. pTDefRegMap(@Self)^.&set := $00001000;
  23879. end;
  23880. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23881. begin
  23882. pTDefRegMap(@Self)^.clr := $00001000;
  23883. end;
  23884. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23885. begin
  23886. if thebits = 0 then
  23887. pTDefRegMap(@Self)^.clr := $00001000
  23888. else
  23889. pTDefRegMap(@Self)^.&set := $00001000;
  23890. end;
  23891. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23892. begin
  23893. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23894. end;
  23895. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23896. begin
  23897. pTDefRegMap(@Self)^.&set := $00002000;
  23898. end;
  23899. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23900. begin
  23901. pTDefRegMap(@Self)^.clr := $00002000;
  23902. end;
  23903. procedure TADC10_AD1CSSL.setCSSL13(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 TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23911. begin
  23912. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23913. end;
  23914. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23915. begin
  23916. pTDefRegMap(@Self)^.&set := $00004000;
  23917. end;
  23918. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23919. begin
  23920. pTDefRegMap(@Self)^.clr := $00004000;
  23921. end;
  23922. procedure TADC10_AD1CSSL.setCSSL14(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 TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23930. begin
  23931. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23932. end;
  23933. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23934. begin
  23935. pTDefRegMap(@Self)^.&set := $00008000;
  23936. end;
  23937. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23938. begin
  23939. pTDefRegMap(@Self)^.clr := $00008000;
  23940. end;
  23941. procedure TADC10_AD1CSSL.setCSSL15(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 TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23949. begin
  23950. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23951. end;
  23952. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23953. begin
  23954. pTDefRegMap(@Self)^.val := thebits;
  23955. end;
  23956. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23957. begin
  23958. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23959. end;
  23960. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23961. begin
  23962. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23963. end;
  23964. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23965. begin
  23966. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23967. end;
  23968. procedure TCVR_CVRCON.setCVRSS; inline;
  23969. begin
  23970. pTDefRegMap(@Self)^.&set := $00000010;
  23971. end;
  23972. procedure TCVR_CVRCON.clearCVRSS; inline;
  23973. begin
  23974. pTDefRegMap(@Self)^.clr := $00000010;
  23975. end;
  23976. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23977. begin
  23978. if thebits = 0 then
  23979. pTDefRegMap(@Self)^.clr := $00000010
  23980. else
  23981. pTDefRegMap(@Self)^.&set := $00000010;
  23982. end;
  23983. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23984. begin
  23985. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23986. end;
  23987. procedure TCVR_CVRCON.setCVRR; inline;
  23988. begin
  23989. pTDefRegMap(@Self)^.&set := $00000020;
  23990. end;
  23991. procedure TCVR_CVRCON.clearCVRR; inline;
  23992. begin
  23993. pTDefRegMap(@Self)^.clr := $00000020;
  23994. end;
  23995. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23996. begin
  23997. if thebits = 0 then
  23998. pTDefRegMap(@Self)^.clr := $00000020
  23999. else
  24000. pTDefRegMap(@Self)^.&set := $00000020;
  24001. end;
  24002. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  24003. begin
  24004. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24005. end;
  24006. procedure TCVR_CVRCON.setCVROE; inline;
  24007. begin
  24008. pTDefRegMap(@Self)^.&set := $00000040;
  24009. end;
  24010. procedure TCVR_CVRCON.clearCVROE; inline;
  24011. begin
  24012. pTDefRegMap(@Self)^.clr := $00000040;
  24013. end;
  24014. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  24015. begin
  24016. if thebits = 0 then
  24017. pTDefRegMap(@Self)^.clr := $00000040
  24018. else
  24019. pTDefRegMap(@Self)^.&set := $00000040;
  24020. end;
  24021. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  24022. begin
  24023. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24024. end;
  24025. procedure TCVR_CVRCON.setON; inline;
  24026. begin
  24027. pTDefRegMap(@Self)^.&set := $00008000;
  24028. end;
  24029. procedure TCVR_CVRCON.clearON; inline;
  24030. begin
  24031. pTDefRegMap(@Self)^.clr := $00008000;
  24032. end;
  24033. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  24034. begin
  24035. if thebits = 0 then
  24036. pTDefRegMap(@Self)^.clr := $00008000
  24037. else
  24038. pTDefRegMap(@Self)^.&set := $00008000;
  24039. end;
  24040. function TCVR_CVRCON.getON : TBits_1; inline;
  24041. begin
  24042. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24043. end;
  24044. procedure TCVR_CVRCON.setCVR0; inline;
  24045. begin
  24046. pTDefRegMap(@Self)^.&set := $00000001;
  24047. end;
  24048. procedure TCVR_CVRCON.clearCVR0; inline;
  24049. begin
  24050. pTDefRegMap(@Self)^.clr := $00000001;
  24051. end;
  24052. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  24053. begin
  24054. if thebits = 0 then
  24055. pTDefRegMap(@Self)^.clr := $00000001
  24056. else
  24057. pTDefRegMap(@Self)^.&set := $00000001;
  24058. end;
  24059. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  24060. begin
  24061. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24062. end;
  24063. procedure TCVR_CVRCON.setCVR1; inline;
  24064. begin
  24065. pTDefRegMap(@Self)^.&set := $00000002;
  24066. end;
  24067. procedure TCVR_CVRCON.clearCVR1; inline;
  24068. begin
  24069. pTDefRegMap(@Self)^.clr := $00000002;
  24070. end;
  24071. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  24072. begin
  24073. if thebits = 0 then
  24074. pTDefRegMap(@Self)^.clr := $00000002
  24075. else
  24076. pTDefRegMap(@Self)^.&set := $00000002;
  24077. end;
  24078. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  24079. begin
  24080. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24081. end;
  24082. procedure TCVR_CVRCON.setCVR2; inline;
  24083. begin
  24084. pTDefRegMap(@Self)^.&set := $00000004;
  24085. end;
  24086. procedure TCVR_CVRCON.clearCVR2; inline;
  24087. begin
  24088. pTDefRegMap(@Self)^.clr := $00000004;
  24089. end;
  24090. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  24091. begin
  24092. if thebits = 0 then
  24093. pTDefRegMap(@Self)^.clr := $00000004
  24094. else
  24095. pTDefRegMap(@Self)^.&set := $00000004;
  24096. end;
  24097. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  24098. begin
  24099. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24100. end;
  24101. procedure TCVR_CVRCON.setCVR3; inline;
  24102. begin
  24103. pTDefRegMap(@Self)^.&set := $00000008;
  24104. end;
  24105. procedure TCVR_CVRCON.clearCVR3; inline;
  24106. begin
  24107. pTDefRegMap(@Self)^.clr := $00000008;
  24108. end;
  24109. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  24110. begin
  24111. if thebits = 0 then
  24112. pTDefRegMap(@Self)^.clr := $00000008
  24113. else
  24114. pTDefRegMap(@Self)^.&set := $00000008;
  24115. end;
  24116. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  24117. begin
  24118. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24119. end;
  24120. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  24121. begin
  24122. pTDefRegMap(@Self)^.val := thebits;
  24123. end;
  24124. function TCVR_CVRCON.getw : TBits_32; inline;
  24125. begin
  24126. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24127. end;
  24128. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  24129. begin
  24130. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24131. end;
  24132. function TCMP_CM1CON.getCCH : TBits_2; inline;
  24133. begin
  24134. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24135. end;
  24136. procedure TCMP_CM1CON.setCREF; inline;
  24137. begin
  24138. pTDefRegMap(@Self)^.&set := $00000010;
  24139. end;
  24140. procedure TCMP_CM1CON.clearCREF; inline;
  24141. begin
  24142. pTDefRegMap(@Self)^.clr := $00000010;
  24143. end;
  24144. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  24145. begin
  24146. if thebits = 0 then
  24147. pTDefRegMap(@Self)^.clr := $00000010
  24148. else
  24149. pTDefRegMap(@Self)^.&set := $00000010;
  24150. end;
  24151. function TCMP_CM1CON.getCREF : TBits_1; inline;
  24152. begin
  24153. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24154. end;
  24155. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  24156. begin
  24157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24158. end;
  24159. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  24160. begin
  24161. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24162. end;
  24163. procedure TCMP_CM1CON.setCOUT; inline;
  24164. begin
  24165. pTDefRegMap(@Self)^.&set := $00000100;
  24166. end;
  24167. procedure TCMP_CM1CON.clearCOUT; inline;
  24168. begin
  24169. pTDefRegMap(@Self)^.clr := $00000100;
  24170. end;
  24171. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  24172. begin
  24173. if thebits = 0 then
  24174. pTDefRegMap(@Self)^.clr := $00000100
  24175. else
  24176. pTDefRegMap(@Self)^.&set := $00000100;
  24177. end;
  24178. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  24179. begin
  24180. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24181. end;
  24182. procedure TCMP_CM1CON.setCPOL; inline;
  24183. begin
  24184. pTDefRegMap(@Self)^.&set := $00002000;
  24185. end;
  24186. procedure TCMP_CM1CON.clearCPOL; inline;
  24187. begin
  24188. pTDefRegMap(@Self)^.clr := $00002000;
  24189. end;
  24190. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  24191. begin
  24192. if thebits = 0 then
  24193. pTDefRegMap(@Self)^.clr := $00002000
  24194. else
  24195. pTDefRegMap(@Self)^.&set := $00002000;
  24196. end;
  24197. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  24198. begin
  24199. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24200. end;
  24201. procedure TCMP_CM1CON.setCOE; inline;
  24202. begin
  24203. pTDefRegMap(@Self)^.&set := $00004000;
  24204. end;
  24205. procedure TCMP_CM1CON.clearCOE; inline;
  24206. begin
  24207. pTDefRegMap(@Self)^.clr := $00004000;
  24208. end;
  24209. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  24210. begin
  24211. if thebits = 0 then
  24212. pTDefRegMap(@Self)^.clr := $00004000
  24213. else
  24214. pTDefRegMap(@Self)^.&set := $00004000;
  24215. end;
  24216. function TCMP_CM1CON.getCOE : TBits_1; inline;
  24217. begin
  24218. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24219. end;
  24220. procedure TCMP_CM1CON.setON; inline;
  24221. begin
  24222. pTDefRegMap(@Self)^.&set := $00008000;
  24223. end;
  24224. procedure TCMP_CM1CON.clearON; inline;
  24225. begin
  24226. pTDefRegMap(@Self)^.clr := $00008000;
  24227. end;
  24228. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  24229. begin
  24230. if thebits = 0 then
  24231. pTDefRegMap(@Self)^.clr := $00008000
  24232. else
  24233. pTDefRegMap(@Self)^.&set := $00008000;
  24234. end;
  24235. function TCMP_CM1CON.getON : TBits_1; inline;
  24236. begin
  24237. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24238. end;
  24239. procedure TCMP_CM1CON.setCCH0; inline;
  24240. begin
  24241. pTDefRegMap(@Self)^.&set := $00000001;
  24242. end;
  24243. procedure TCMP_CM1CON.clearCCH0; inline;
  24244. begin
  24245. pTDefRegMap(@Self)^.clr := $00000001;
  24246. end;
  24247. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  24248. begin
  24249. if thebits = 0 then
  24250. pTDefRegMap(@Self)^.clr := $00000001
  24251. else
  24252. pTDefRegMap(@Self)^.&set := $00000001;
  24253. end;
  24254. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  24255. begin
  24256. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24257. end;
  24258. procedure TCMP_CM1CON.setCCH1; inline;
  24259. begin
  24260. pTDefRegMap(@Self)^.&set := $00000002;
  24261. end;
  24262. procedure TCMP_CM1CON.clearCCH1; inline;
  24263. begin
  24264. pTDefRegMap(@Self)^.clr := $00000002;
  24265. end;
  24266. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  24267. begin
  24268. if thebits = 0 then
  24269. pTDefRegMap(@Self)^.clr := $00000002
  24270. else
  24271. pTDefRegMap(@Self)^.&set := $00000002;
  24272. end;
  24273. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  24274. begin
  24275. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24276. end;
  24277. procedure TCMP_CM1CON.setEVPOL0; inline;
  24278. begin
  24279. pTDefRegMap(@Self)^.&set := $00000040;
  24280. end;
  24281. procedure TCMP_CM1CON.clearEVPOL0; inline;
  24282. begin
  24283. pTDefRegMap(@Self)^.clr := $00000040;
  24284. end;
  24285. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  24286. begin
  24287. if thebits = 0 then
  24288. pTDefRegMap(@Self)^.clr := $00000040
  24289. else
  24290. pTDefRegMap(@Self)^.&set := $00000040;
  24291. end;
  24292. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  24293. begin
  24294. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24295. end;
  24296. procedure TCMP_CM1CON.setEVPOL1; inline;
  24297. begin
  24298. pTDefRegMap(@Self)^.&set := $00000080;
  24299. end;
  24300. procedure TCMP_CM1CON.clearEVPOL1; inline;
  24301. begin
  24302. pTDefRegMap(@Self)^.clr := $00000080;
  24303. end;
  24304. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  24305. begin
  24306. if thebits = 0 then
  24307. pTDefRegMap(@Self)^.clr := $00000080
  24308. else
  24309. pTDefRegMap(@Self)^.&set := $00000080;
  24310. end;
  24311. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  24312. begin
  24313. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24314. end;
  24315. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  24316. begin
  24317. pTDefRegMap(@Self)^.val := thebits;
  24318. end;
  24319. function TCMP_CM1CON.getw : TBits_32; inline;
  24320. begin
  24321. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24322. end;
  24323. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  24324. begin
  24325. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24326. end;
  24327. function TCMP_CM2CON.getCCH : TBits_2; inline;
  24328. begin
  24329. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24330. end;
  24331. procedure TCMP_CM2CON.setCREF; inline;
  24332. begin
  24333. pTDefRegMap(@Self)^.&set := $00000010;
  24334. end;
  24335. procedure TCMP_CM2CON.clearCREF; inline;
  24336. begin
  24337. pTDefRegMap(@Self)^.clr := $00000010;
  24338. end;
  24339. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  24340. begin
  24341. if thebits = 0 then
  24342. pTDefRegMap(@Self)^.clr := $00000010
  24343. else
  24344. pTDefRegMap(@Self)^.&set := $00000010;
  24345. end;
  24346. function TCMP_CM2CON.getCREF : TBits_1; inline;
  24347. begin
  24348. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24349. end;
  24350. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  24351. begin
  24352. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24353. end;
  24354. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  24355. begin
  24356. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24357. end;
  24358. procedure TCMP_CM2CON.setCOUT; inline;
  24359. begin
  24360. pTDefRegMap(@Self)^.&set := $00000100;
  24361. end;
  24362. procedure TCMP_CM2CON.clearCOUT; inline;
  24363. begin
  24364. pTDefRegMap(@Self)^.clr := $00000100;
  24365. end;
  24366. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  24367. begin
  24368. if thebits = 0 then
  24369. pTDefRegMap(@Self)^.clr := $00000100
  24370. else
  24371. pTDefRegMap(@Self)^.&set := $00000100;
  24372. end;
  24373. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  24374. begin
  24375. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24376. end;
  24377. procedure TCMP_CM2CON.setCPOL; inline;
  24378. begin
  24379. pTDefRegMap(@Self)^.&set := $00002000;
  24380. end;
  24381. procedure TCMP_CM2CON.clearCPOL; inline;
  24382. begin
  24383. pTDefRegMap(@Self)^.clr := $00002000;
  24384. end;
  24385. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  24386. begin
  24387. if thebits = 0 then
  24388. pTDefRegMap(@Self)^.clr := $00002000
  24389. else
  24390. pTDefRegMap(@Self)^.&set := $00002000;
  24391. end;
  24392. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  24393. begin
  24394. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24395. end;
  24396. procedure TCMP_CM2CON.setCOE; inline;
  24397. begin
  24398. pTDefRegMap(@Self)^.&set := $00004000;
  24399. end;
  24400. procedure TCMP_CM2CON.clearCOE; inline;
  24401. begin
  24402. pTDefRegMap(@Self)^.clr := $00004000;
  24403. end;
  24404. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  24405. begin
  24406. if thebits = 0 then
  24407. pTDefRegMap(@Self)^.clr := $00004000
  24408. else
  24409. pTDefRegMap(@Self)^.&set := $00004000;
  24410. end;
  24411. function TCMP_CM2CON.getCOE : TBits_1; inline;
  24412. begin
  24413. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24414. end;
  24415. procedure TCMP_CM2CON.setON; inline;
  24416. begin
  24417. pTDefRegMap(@Self)^.&set := $00008000;
  24418. end;
  24419. procedure TCMP_CM2CON.clearON; inline;
  24420. begin
  24421. pTDefRegMap(@Self)^.clr := $00008000;
  24422. end;
  24423. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  24424. begin
  24425. if thebits = 0 then
  24426. pTDefRegMap(@Self)^.clr := $00008000
  24427. else
  24428. pTDefRegMap(@Self)^.&set := $00008000;
  24429. end;
  24430. function TCMP_CM2CON.getON : TBits_1; inline;
  24431. begin
  24432. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24433. end;
  24434. procedure TCMP_CM2CON.setCCH0; inline;
  24435. begin
  24436. pTDefRegMap(@Self)^.&set := $00000001;
  24437. end;
  24438. procedure TCMP_CM2CON.clearCCH0; inline;
  24439. begin
  24440. pTDefRegMap(@Self)^.clr := $00000001;
  24441. end;
  24442. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  24443. begin
  24444. if thebits = 0 then
  24445. pTDefRegMap(@Self)^.clr := $00000001
  24446. else
  24447. pTDefRegMap(@Self)^.&set := $00000001;
  24448. end;
  24449. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  24450. begin
  24451. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24452. end;
  24453. procedure TCMP_CM2CON.setCCH1; inline;
  24454. begin
  24455. pTDefRegMap(@Self)^.&set := $00000002;
  24456. end;
  24457. procedure TCMP_CM2CON.clearCCH1; inline;
  24458. begin
  24459. pTDefRegMap(@Self)^.clr := $00000002;
  24460. end;
  24461. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  24462. begin
  24463. if thebits = 0 then
  24464. pTDefRegMap(@Self)^.clr := $00000002
  24465. else
  24466. pTDefRegMap(@Self)^.&set := $00000002;
  24467. end;
  24468. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  24469. begin
  24470. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24471. end;
  24472. procedure TCMP_CM2CON.setEVPOL0; inline;
  24473. begin
  24474. pTDefRegMap(@Self)^.&set := $00000040;
  24475. end;
  24476. procedure TCMP_CM2CON.clearEVPOL0; inline;
  24477. begin
  24478. pTDefRegMap(@Self)^.clr := $00000040;
  24479. end;
  24480. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  24481. begin
  24482. if thebits = 0 then
  24483. pTDefRegMap(@Self)^.clr := $00000040
  24484. else
  24485. pTDefRegMap(@Self)^.&set := $00000040;
  24486. end;
  24487. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  24488. begin
  24489. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24490. end;
  24491. procedure TCMP_CM2CON.setEVPOL1; inline;
  24492. begin
  24493. pTDefRegMap(@Self)^.&set := $00000080;
  24494. end;
  24495. procedure TCMP_CM2CON.clearEVPOL1; inline;
  24496. begin
  24497. pTDefRegMap(@Self)^.clr := $00000080;
  24498. end;
  24499. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  24500. begin
  24501. if thebits = 0 then
  24502. pTDefRegMap(@Self)^.clr := $00000080
  24503. else
  24504. pTDefRegMap(@Self)^.&set := $00000080;
  24505. end;
  24506. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  24507. begin
  24508. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24509. end;
  24510. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  24511. begin
  24512. pTDefRegMap(@Self)^.val := thebits;
  24513. end;
  24514. function TCMP_CM2CON.getw : TBits_32; inline;
  24515. begin
  24516. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24517. end;
  24518. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  24519. begin
  24520. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24521. end;
  24522. function TCMP_CM3CON.getCCH : TBits_2; inline;
  24523. begin
  24524. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24525. end;
  24526. procedure TCMP_CM3CON.setCREF; inline;
  24527. begin
  24528. pTDefRegMap(@Self)^.&set := $00000010;
  24529. end;
  24530. procedure TCMP_CM3CON.clearCREF; inline;
  24531. begin
  24532. pTDefRegMap(@Self)^.clr := $00000010;
  24533. end;
  24534. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  24535. begin
  24536. if thebits = 0 then
  24537. pTDefRegMap(@Self)^.clr := $00000010
  24538. else
  24539. pTDefRegMap(@Self)^.&set := $00000010;
  24540. end;
  24541. function TCMP_CM3CON.getCREF : TBits_1; inline;
  24542. begin
  24543. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24544. end;
  24545. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  24546. begin
  24547. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24548. end;
  24549. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  24550. begin
  24551. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24552. end;
  24553. procedure TCMP_CM3CON.setCOUT; inline;
  24554. begin
  24555. pTDefRegMap(@Self)^.&set := $00000100;
  24556. end;
  24557. procedure TCMP_CM3CON.clearCOUT; inline;
  24558. begin
  24559. pTDefRegMap(@Self)^.clr := $00000100;
  24560. end;
  24561. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  24562. begin
  24563. if thebits = 0 then
  24564. pTDefRegMap(@Self)^.clr := $00000100
  24565. else
  24566. pTDefRegMap(@Self)^.&set := $00000100;
  24567. end;
  24568. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  24569. begin
  24570. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24571. end;
  24572. procedure TCMP_CM3CON.setCPOL; inline;
  24573. begin
  24574. pTDefRegMap(@Self)^.&set := $00002000;
  24575. end;
  24576. procedure TCMP_CM3CON.clearCPOL; inline;
  24577. begin
  24578. pTDefRegMap(@Self)^.clr := $00002000;
  24579. end;
  24580. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  24581. begin
  24582. if thebits = 0 then
  24583. pTDefRegMap(@Self)^.clr := $00002000
  24584. else
  24585. pTDefRegMap(@Self)^.&set := $00002000;
  24586. end;
  24587. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  24588. begin
  24589. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24590. end;
  24591. procedure TCMP_CM3CON.setCOE; inline;
  24592. begin
  24593. pTDefRegMap(@Self)^.&set := $00004000;
  24594. end;
  24595. procedure TCMP_CM3CON.clearCOE; inline;
  24596. begin
  24597. pTDefRegMap(@Self)^.clr := $00004000;
  24598. end;
  24599. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  24600. begin
  24601. if thebits = 0 then
  24602. pTDefRegMap(@Self)^.clr := $00004000
  24603. else
  24604. pTDefRegMap(@Self)^.&set := $00004000;
  24605. end;
  24606. function TCMP_CM3CON.getCOE : TBits_1; inline;
  24607. begin
  24608. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24609. end;
  24610. procedure TCMP_CM3CON.setON; inline;
  24611. begin
  24612. pTDefRegMap(@Self)^.&set := $00008000;
  24613. end;
  24614. procedure TCMP_CM3CON.clearON; inline;
  24615. begin
  24616. pTDefRegMap(@Self)^.clr := $00008000;
  24617. end;
  24618. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  24619. begin
  24620. if thebits = 0 then
  24621. pTDefRegMap(@Self)^.clr := $00008000
  24622. else
  24623. pTDefRegMap(@Self)^.&set := $00008000;
  24624. end;
  24625. function TCMP_CM3CON.getON : TBits_1; inline;
  24626. begin
  24627. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24628. end;
  24629. procedure TCMP_CM3CON.setCCH0; inline;
  24630. begin
  24631. pTDefRegMap(@Self)^.&set := $00000001;
  24632. end;
  24633. procedure TCMP_CM3CON.clearCCH0; inline;
  24634. begin
  24635. pTDefRegMap(@Self)^.clr := $00000001;
  24636. end;
  24637. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  24638. begin
  24639. if thebits = 0 then
  24640. pTDefRegMap(@Self)^.clr := $00000001
  24641. else
  24642. pTDefRegMap(@Self)^.&set := $00000001;
  24643. end;
  24644. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  24645. begin
  24646. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24647. end;
  24648. procedure TCMP_CM3CON.setCCH1; inline;
  24649. begin
  24650. pTDefRegMap(@Self)^.&set := $00000002;
  24651. end;
  24652. procedure TCMP_CM3CON.clearCCH1; inline;
  24653. begin
  24654. pTDefRegMap(@Self)^.clr := $00000002;
  24655. end;
  24656. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  24657. begin
  24658. if thebits = 0 then
  24659. pTDefRegMap(@Self)^.clr := $00000002
  24660. else
  24661. pTDefRegMap(@Self)^.&set := $00000002;
  24662. end;
  24663. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  24664. begin
  24665. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24666. end;
  24667. procedure TCMP_CM3CON.setEVPOL0; inline;
  24668. begin
  24669. pTDefRegMap(@Self)^.&set := $00000040;
  24670. end;
  24671. procedure TCMP_CM3CON.clearEVPOL0; inline;
  24672. begin
  24673. pTDefRegMap(@Self)^.clr := $00000040;
  24674. end;
  24675. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  24676. begin
  24677. if thebits = 0 then
  24678. pTDefRegMap(@Self)^.clr := $00000040
  24679. else
  24680. pTDefRegMap(@Self)^.&set := $00000040;
  24681. end;
  24682. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  24683. begin
  24684. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24685. end;
  24686. procedure TCMP_CM3CON.setEVPOL1; inline;
  24687. begin
  24688. pTDefRegMap(@Self)^.&set := $00000080;
  24689. end;
  24690. procedure TCMP_CM3CON.clearEVPOL1; inline;
  24691. begin
  24692. pTDefRegMap(@Self)^.clr := $00000080;
  24693. end;
  24694. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  24695. begin
  24696. if thebits = 0 then
  24697. pTDefRegMap(@Self)^.clr := $00000080
  24698. else
  24699. pTDefRegMap(@Self)^.&set := $00000080;
  24700. end;
  24701. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  24702. begin
  24703. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24704. end;
  24705. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  24706. begin
  24707. pTDefRegMap(@Self)^.val := thebits;
  24708. end;
  24709. function TCMP_CM3CON.getw : TBits_32; inline;
  24710. begin
  24711. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24712. end;
  24713. procedure TCMP_CMSTAT.setC1OUT; inline;
  24714. begin
  24715. pTDefRegMap(@Self)^.&set := $00000001;
  24716. end;
  24717. procedure TCMP_CMSTAT.clearC1OUT; inline;
  24718. begin
  24719. pTDefRegMap(@Self)^.clr := $00000001;
  24720. end;
  24721. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  24722. begin
  24723. if thebits = 0 then
  24724. pTDefRegMap(@Self)^.clr := $00000001
  24725. else
  24726. pTDefRegMap(@Self)^.&set := $00000001;
  24727. end;
  24728. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  24729. begin
  24730. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24731. end;
  24732. procedure TCMP_CMSTAT.setC2OUT; inline;
  24733. begin
  24734. pTDefRegMap(@Self)^.&set := $00000002;
  24735. end;
  24736. procedure TCMP_CMSTAT.clearC2OUT; inline;
  24737. begin
  24738. pTDefRegMap(@Self)^.clr := $00000002;
  24739. end;
  24740. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  24741. begin
  24742. if thebits = 0 then
  24743. pTDefRegMap(@Self)^.clr := $00000002
  24744. else
  24745. pTDefRegMap(@Self)^.&set := $00000002;
  24746. end;
  24747. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  24748. begin
  24749. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24750. end;
  24751. procedure TCMP_CMSTAT.setC3OUT; inline;
  24752. begin
  24753. pTDefRegMap(@Self)^.&set := $00000004;
  24754. end;
  24755. procedure TCMP_CMSTAT.clearC3OUT; inline;
  24756. begin
  24757. pTDefRegMap(@Self)^.clr := $00000004;
  24758. end;
  24759. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  24760. begin
  24761. if thebits = 0 then
  24762. pTDefRegMap(@Self)^.clr := $00000004
  24763. else
  24764. pTDefRegMap(@Self)^.&set := $00000004;
  24765. end;
  24766. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  24767. begin
  24768. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24769. end;
  24770. procedure TCMP_CMSTAT.setSIDL; inline;
  24771. begin
  24772. pTDefRegMap(@Self)^.&set := $00002000;
  24773. end;
  24774. procedure TCMP_CMSTAT.clearSIDL; inline;
  24775. begin
  24776. pTDefRegMap(@Self)^.clr := $00002000;
  24777. end;
  24778. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  24779. begin
  24780. if thebits = 0 then
  24781. pTDefRegMap(@Self)^.clr := $00002000
  24782. else
  24783. pTDefRegMap(@Self)^.&set := $00002000;
  24784. end;
  24785. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24786. begin
  24787. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24788. end;
  24789. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24790. begin
  24791. pTDefRegMap(@Self)^.val := thebits;
  24792. end;
  24793. function TCMP_CMSTAT.getw : TBits_32; inline;
  24794. begin
  24795. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24796. end;
  24797. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24798. begin
  24799. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24800. end;
  24801. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24802. begin
  24803. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24804. end;
  24805. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24806. begin
  24807. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24808. end;
  24809. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24810. begin
  24811. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24812. end;
  24813. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24814. begin
  24815. pTDefRegMap(@Self)^.&set := $00000100;
  24816. end;
  24817. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24818. begin
  24819. pTDefRegMap(@Self)^.clr := $00000100;
  24820. end;
  24821. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24822. begin
  24823. if thebits = 0 then
  24824. pTDefRegMap(@Self)^.clr := $00000100
  24825. else
  24826. pTDefRegMap(@Self)^.&set := $00000100;
  24827. end;
  24828. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24829. begin
  24830. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24831. end;
  24832. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24833. begin
  24834. pTDefRegMap(@Self)^.&set := $00000200;
  24835. end;
  24836. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24837. begin
  24838. pTDefRegMap(@Self)^.clr := $00000200;
  24839. end;
  24840. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24841. begin
  24842. if thebits = 0 then
  24843. pTDefRegMap(@Self)^.clr := $00000200
  24844. else
  24845. pTDefRegMap(@Self)^.&set := $00000200;
  24846. end;
  24847. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24848. begin
  24849. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24850. end;
  24851. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24852. begin
  24853. pTDefRegMap(@Self)^.&set := $00000400;
  24854. end;
  24855. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24856. begin
  24857. pTDefRegMap(@Self)^.clr := $00000400;
  24858. end;
  24859. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24860. begin
  24861. if thebits = 0 then
  24862. pTDefRegMap(@Self)^.clr := $00000400
  24863. else
  24864. pTDefRegMap(@Self)^.&set := $00000400;
  24865. end;
  24866. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24867. begin
  24868. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24869. end;
  24870. procedure TCMP_CTMUCON.setEDGEN; inline;
  24871. begin
  24872. pTDefRegMap(@Self)^.&set := $00000800;
  24873. end;
  24874. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24875. begin
  24876. pTDefRegMap(@Self)^.clr := $00000800;
  24877. end;
  24878. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24879. begin
  24880. if thebits = 0 then
  24881. pTDefRegMap(@Self)^.clr := $00000800
  24882. else
  24883. pTDefRegMap(@Self)^.&set := $00000800;
  24884. end;
  24885. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24886. begin
  24887. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24888. end;
  24889. procedure TCMP_CTMUCON.setTGEN; inline;
  24890. begin
  24891. pTDefRegMap(@Self)^.&set := $00001000;
  24892. end;
  24893. procedure TCMP_CTMUCON.clearTGEN; inline;
  24894. begin
  24895. pTDefRegMap(@Self)^.clr := $00001000;
  24896. end;
  24897. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24898. begin
  24899. if thebits = 0 then
  24900. pTDefRegMap(@Self)^.clr := $00001000
  24901. else
  24902. pTDefRegMap(@Self)^.&set := $00001000;
  24903. end;
  24904. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24905. begin
  24906. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24907. end;
  24908. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24909. begin
  24910. pTDefRegMap(@Self)^.&set := $00002000;
  24911. end;
  24912. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24913. begin
  24914. pTDefRegMap(@Self)^.clr := $00002000;
  24915. end;
  24916. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24917. begin
  24918. if thebits = 0 then
  24919. pTDefRegMap(@Self)^.clr := $00002000
  24920. else
  24921. pTDefRegMap(@Self)^.&set := $00002000;
  24922. end;
  24923. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24924. begin
  24925. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24926. end;
  24927. procedure TCMP_CTMUCON.setON; inline;
  24928. begin
  24929. pTDefRegMap(@Self)^.&set := $00008000;
  24930. end;
  24931. procedure TCMP_CTMUCON.clearON; inline;
  24932. begin
  24933. pTDefRegMap(@Self)^.clr := $00008000;
  24934. end;
  24935. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24936. begin
  24937. if thebits = 0 then
  24938. pTDefRegMap(@Self)^.clr := $00008000
  24939. else
  24940. pTDefRegMap(@Self)^.&set := $00008000;
  24941. end;
  24942. function TCMP_CTMUCON.getON : TBits_1; inline;
  24943. begin
  24944. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24945. end;
  24946. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24947. begin
  24948. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24949. end;
  24950. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24951. begin
  24952. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24953. end;
  24954. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24955. begin
  24956. pTDefRegMap(@Self)^.&set := $00400000;
  24957. end;
  24958. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24959. begin
  24960. pTDefRegMap(@Self)^.clr := $00400000;
  24961. end;
  24962. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24963. begin
  24964. if thebits = 0 then
  24965. pTDefRegMap(@Self)^.clr := $00400000
  24966. else
  24967. pTDefRegMap(@Self)^.&set := $00400000;
  24968. end;
  24969. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24970. begin
  24971. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24972. end;
  24973. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24974. begin
  24975. pTDefRegMap(@Self)^.&set := $00800000;
  24976. end;
  24977. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24978. begin
  24979. pTDefRegMap(@Self)^.clr := $00800000;
  24980. end;
  24981. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24982. begin
  24983. if thebits = 0 then
  24984. pTDefRegMap(@Self)^.clr := $00800000
  24985. else
  24986. pTDefRegMap(@Self)^.&set := $00800000;
  24987. end;
  24988. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24989. begin
  24990. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24991. end;
  24992. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24993. begin
  24994. pTDefRegMap(@Self)^.&set := $01000000;
  24995. end;
  24996. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24997. begin
  24998. pTDefRegMap(@Self)^.clr := $01000000;
  24999. end;
  25000. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  25001. begin
  25002. if thebits = 0 then
  25003. pTDefRegMap(@Self)^.clr := $01000000
  25004. else
  25005. pTDefRegMap(@Self)^.&set := $01000000;
  25006. end;
  25007. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  25008. begin
  25009. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25010. end;
  25011. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  25012. begin
  25013. pTDefRegMap(@Self)^.&set := $02000000;
  25014. end;
  25015. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  25016. begin
  25017. pTDefRegMap(@Self)^.clr := $02000000;
  25018. end;
  25019. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  25020. begin
  25021. if thebits = 0 then
  25022. pTDefRegMap(@Self)^.clr := $02000000
  25023. else
  25024. pTDefRegMap(@Self)^.&set := $02000000;
  25025. end;
  25026. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  25027. begin
  25028. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  25029. end;
  25030. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  25031. begin
  25032. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  25033. end;
  25034. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  25035. begin
  25036. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  25037. end;
  25038. procedure TCMP_CTMUCON.setEDG1POL; inline;
  25039. begin
  25040. pTDefRegMap(@Self)^.&set := $40000000;
  25041. end;
  25042. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  25043. begin
  25044. pTDefRegMap(@Self)^.clr := $40000000;
  25045. end;
  25046. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  25047. begin
  25048. if thebits = 0 then
  25049. pTDefRegMap(@Self)^.clr := $40000000
  25050. else
  25051. pTDefRegMap(@Self)^.&set := $40000000;
  25052. end;
  25053. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  25054. begin
  25055. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25056. end;
  25057. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  25058. begin
  25059. pTDefRegMap(@Self)^.&set := $80000000;
  25060. end;
  25061. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  25062. begin
  25063. pTDefRegMap(@Self)^.clr := $80000000;
  25064. end;
  25065. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  25066. begin
  25067. if thebits = 0 then
  25068. pTDefRegMap(@Self)^.clr := $80000000
  25069. else
  25070. pTDefRegMap(@Self)^.&set := $80000000;
  25071. end;
  25072. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  25073. begin
  25074. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25075. end;
  25076. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  25077. begin
  25078. pTDefRegMap(@Self)^.val := thebits;
  25079. end;
  25080. function TCMP_CTMUCON.getw : TBits_32; inline;
  25081. begin
  25082. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25083. end;
  25084. procedure TOSC_OSCCON.setOSWEN; inline;
  25085. begin
  25086. pTDefRegMap(@Self)^.&set := $00000001;
  25087. end;
  25088. procedure TOSC_OSCCON.clearOSWEN; inline;
  25089. begin
  25090. pTDefRegMap(@Self)^.clr := $00000001;
  25091. end;
  25092. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  25093. begin
  25094. if thebits = 0 then
  25095. pTDefRegMap(@Self)^.clr := $00000001
  25096. else
  25097. pTDefRegMap(@Self)^.&set := $00000001;
  25098. end;
  25099. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  25100. begin
  25101. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25102. end;
  25103. procedure TOSC_OSCCON.setSOSCEN; inline;
  25104. begin
  25105. pTDefRegMap(@Self)^.&set := $00000002;
  25106. end;
  25107. procedure TOSC_OSCCON.clearSOSCEN; inline;
  25108. begin
  25109. pTDefRegMap(@Self)^.clr := $00000002;
  25110. end;
  25111. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  25112. begin
  25113. if thebits = 0 then
  25114. pTDefRegMap(@Self)^.clr := $00000002
  25115. else
  25116. pTDefRegMap(@Self)^.&set := $00000002;
  25117. end;
  25118. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  25119. begin
  25120. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25121. end;
  25122. procedure TOSC_OSCCON.setUFRCEN; inline;
  25123. begin
  25124. pTDefRegMap(@Self)^.&set := $00000004;
  25125. end;
  25126. procedure TOSC_OSCCON.clearUFRCEN; inline;
  25127. begin
  25128. pTDefRegMap(@Self)^.clr := $00000004;
  25129. end;
  25130. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  25131. begin
  25132. if thebits = 0 then
  25133. pTDefRegMap(@Self)^.clr := $00000004
  25134. else
  25135. pTDefRegMap(@Self)^.&set := $00000004;
  25136. end;
  25137. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  25138. begin
  25139. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25140. end;
  25141. procedure TOSC_OSCCON.setCF; inline;
  25142. begin
  25143. pTDefRegMap(@Self)^.&set := $00000008;
  25144. end;
  25145. procedure TOSC_OSCCON.clearCF; inline;
  25146. begin
  25147. pTDefRegMap(@Self)^.clr := $00000008;
  25148. end;
  25149. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  25150. begin
  25151. if thebits = 0 then
  25152. pTDefRegMap(@Self)^.clr := $00000008
  25153. else
  25154. pTDefRegMap(@Self)^.&set := $00000008;
  25155. end;
  25156. function TOSC_OSCCON.getCF : TBits_1; inline;
  25157. begin
  25158. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25159. end;
  25160. procedure TOSC_OSCCON.setSLPEN; inline;
  25161. begin
  25162. pTDefRegMap(@Self)^.&set := $00000010;
  25163. end;
  25164. procedure TOSC_OSCCON.clearSLPEN; inline;
  25165. begin
  25166. pTDefRegMap(@Self)^.clr := $00000010;
  25167. end;
  25168. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  25169. begin
  25170. if thebits = 0 then
  25171. pTDefRegMap(@Self)^.clr := $00000010
  25172. else
  25173. pTDefRegMap(@Self)^.&set := $00000010;
  25174. end;
  25175. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  25176. begin
  25177. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25178. end;
  25179. procedure TOSC_OSCCON.setSLOCK; inline;
  25180. begin
  25181. pTDefRegMap(@Self)^.&set := $00000020;
  25182. end;
  25183. procedure TOSC_OSCCON.clearSLOCK; inline;
  25184. begin
  25185. pTDefRegMap(@Self)^.clr := $00000020;
  25186. end;
  25187. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  25188. begin
  25189. if thebits = 0 then
  25190. pTDefRegMap(@Self)^.clr := $00000020
  25191. else
  25192. pTDefRegMap(@Self)^.&set := $00000020;
  25193. end;
  25194. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  25195. begin
  25196. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25197. end;
  25198. procedure TOSC_OSCCON.setULOCK; inline;
  25199. begin
  25200. pTDefRegMap(@Self)^.&set := $00000040;
  25201. end;
  25202. procedure TOSC_OSCCON.clearULOCK; inline;
  25203. begin
  25204. pTDefRegMap(@Self)^.clr := $00000040;
  25205. end;
  25206. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  25207. begin
  25208. if thebits = 0 then
  25209. pTDefRegMap(@Self)^.clr := $00000040
  25210. else
  25211. pTDefRegMap(@Self)^.&set := $00000040;
  25212. end;
  25213. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  25214. begin
  25215. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25216. end;
  25217. procedure TOSC_OSCCON.setCLKLOCK; inline;
  25218. begin
  25219. pTDefRegMap(@Self)^.&set := $00000080;
  25220. end;
  25221. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  25222. begin
  25223. pTDefRegMap(@Self)^.clr := $00000080;
  25224. end;
  25225. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  25226. begin
  25227. if thebits = 0 then
  25228. pTDefRegMap(@Self)^.clr := $00000080
  25229. else
  25230. pTDefRegMap(@Self)^.&set := $00000080;
  25231. end;
  25232. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  25233. begin
  25234. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25235. end;
  25236. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  25237. begin
  25238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  25239. end;
  25240. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  25241. begin
  25242. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  25243. end;
  25244. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  25245. begin
  25246. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  25247. end;
  25248. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  25249. begin
  25250. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  25251. end;
  25252. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  25253. begin
  25254. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  25255. end;
  25256. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  25257. begin
  25258. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  25259. end;
  25260. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  25261. begin
  25262. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  25263. end;
  25264. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  25265. begin
  25266. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  25267. end;
  25268. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  25269. begin
  25270. pTDefRegMap(@Self)^.&set := $00200000;
  25271. end;
  25272. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  25273. begin
  25274. pTDefRegMap(@Self)^.clr := $00200000;
  25275. end;
  25276. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  25277. begin
  25278. if thebits = 0 then
  25279. pTDefRegMap(@Self)^.clr := $00200000
  25280. else
  25281. pTDefRegMap(@Self)^.&set := $00200000;
  25282. end;
  25283. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  25284. begin
  25285. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  25286. end;
  25287. procedure TOSC_OSCCON.setSOSCRDY; inline;
  25288. begin
  25289. pTDefRegMap(@Self)^.&set := $00400000;
  25290. end;
  25291. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  25292. begin
  25293. pTDefRegMap(@Self)^.clr := $00400000;
  25294. end;
  25295. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  25296. begin
  25297. if thebits = 0 then
  25298. pTDefRegMap(@Self)^.clr := $00400000
  25299. else
  25300. pTDefRegMap(@Self)^.&set := $00400000;
  25301. end;
  25302. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  25303. begin
  25304. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  25305. end;
  25306. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  25307. begin
  25308. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25309. end;
  25310. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  25311. begin
  25312. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25313. end;
  25314. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  25315. begin
  25316. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  25317. end;
  25318. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  25319. begin
  25320. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  25321. end;
  25322. procedure TOSC_OSCCON.setNOSC0; inline;
  25323. begin
  25324. pTDefRegMap(@Self)^.&set := $00000100;
  25325. end;
  25326. procedure TOSC_OSCCON.clearNOSC0; inline;
  25327. begin
  25328. pTDefRegMap(@Self)^.clr := $00000100;
  25329. end;
  25330. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  25331. begin
  25332. if thebits = 0 then
  25333. pTDefRegMap(@Self)^.clr := $00000100
  25334. else
  25335. pTDefRegMap(@Self)^.&set := $00000100;
  25336. end;
  25337. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  25338. begin
  25339. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25340. end;
  25341. procedure TOSC_OSCCON.setNOSC1; inline;
  25342. begin
  25343. pTDefRegMap(@Self)^.&set := $00000200;
  25344. end;
  25345. procedure TOSC_OSCCON.clearNOSC1; inline;
  25346. begin
  25347. pTDefRegMap(@Self)^.clr := $00000200;
  25348. end;
  25349. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  25350. begin
  25351. if thebits = 0 then
  25352. pTDefRegMap(@Self)^.clr := $00000200
  25353. else
  25354. pTDefRegMap(@Self)^.&set := $00000200;
  25355. end;
  25356. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  25357. begin
  25358. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25359. end;
  25360. procedure TOSC_OSCCON.setNOSC2; inline;
  25361. begin
  25362. pTDefRegMap(@Self)^.&set := $00000400;
  25363. end;
  25364. procedure TOSC_OSCCON.clearNOSC2; inline;
  25365. begin
  25366. pTDefRegMap(@Self)^.clr := $00000400;
  25367. end;
  25368. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  25369. begin
  25370. if thebits = 0 then
  25371. pTDefRegMap(@Self)^.clr := $00000400
  25372. else
  25373. pTDefRegMap(@Self)^.&set := $00000400;
  25374. end;
  25375. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  25376. begin
  25377. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25378. end;
  25379. procedure TOSC_OSCCON.setCOSC0; inline;
  25380. begin
  25381. pTDefRegMap(@Self)^.&set := $00001000;
  25382. end;
  25383. procedure TOSC_OSCCON.clearCOSC0; inline;
  25384. begin
  25385. pTDefRegMap(@Self)^.clr := $00001000;
  25386. end;
  25387. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  25388. begin
  25389. if thebits = 0 then
  25390. pTDefRegMap(@Self)^.clr := $00001000
  25391. else
  25392. pTDefRegMap(@Self)^.&set := $00001000;
  25393. end;
  25394. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  25395. begin
  25396. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25397. end;
  25398. procedure TOSC_OSCCON.setCOSC1; inline;
  25399. begin
  25400. pTDefRegMap(@Self)^.&set := $00002000;
  25401. end;
  25402. procedure TOSC_OSCCON.clearCOSC1; inline;
  25403. begin
  25404. pTDefRegMap(@Self)^.clr := $00002000;
  25405. end;
  25406. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  25407. begin
  25408. if thebits = 0 then
  25409. pTDefRegMap(@Self)^.clr := $00002000
  25410. else
  25411. pTDefRegMap(@Self)^.&set := $00002000;
  25412. end;
  25413. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  25414. begin
  25415. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25416. end;
  25417. procedure TOSC_OSCCON.setCOSC2; inline;
  25418. begin
  25419. pTDefRegMap(@Self)^.&set := $00004000;
  25420. end;
  25421. procedure TOSC_OSCCON.clearCOSC2; inline;
  25422. begin
  25423. pTDefRegMap(@Self)^.clr := $00004000;
  25424. end;
  25425. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  25426. begin
  25427. if thebits = 0 then
  25428. pTDefRegMap(@Self)^.clr := $00004000
  25429. else
  25430. pTDefRegMap(@Self)^.&set := $00004000;
  25431. end;
  25432. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  25433. begin
  25434. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25435. end;
  25436. procedure TOSC_OSCCON.setPLLMULT0; inline;
  25437. begin
  25438. pTDefRegMap(@Self)^.&set := $00010000;
  25439. end;
  25440. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  25441. begin
  25442. pTDefRegMap(@Self)^.clr := $00010000;
  25443. end;
  25444. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  25445. begin
  25446. if thebits = 0 then
  25447. pTDefRegMap(@Self)^.clr := $00010000
  25448. else
  25449. pTDefRegMap(@Self)^.&set := $00010000;
  25450. end;
  25451. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  25452. begin
  25453. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25454. end;
  25455. procedure TOSC_OSCCON.setPLLMULT1; inline;
  25456. begin
  25457. pTDefRegMap(@Self)^.&set := $00020000;
  25458. end;
  25459. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  25460. begin
  25461. pTDefRegMap(@Self)^.clr := $00020000;
  25462. end;
  25463. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  25464. begin
  25465. if thebits = 0 then
  25466. pTDefRegMap(@Self)^.clr := $00020000
  25467. else
  25468. pTDefRegMap(@Self)^.&set := $00020000;
  25469. end;
  25470. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  25471. begin
  25472. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25473. end;
  25474. procedure TOSC_OSCCON.setPLLMULT2; inline;
  25475. begin
  25476. pTDefRegMap(@Self)^.&set := $00040000;
  25477. end;
  25478. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  25479. begin
  25480. pTDefRegMap(@Self)^.clr := $00040000;
  25481. end;
  25482. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  25483. begin
  25484. if thebits = 0 then
  25485. pTDefRegMap(@Self)^.clr := $00040000
  25486. else
  25487. pTDefRegMap(@Self)^.&set := $00040000;
  25488. end;
  25489. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  25490. begin
  25491. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  25492. end;
  25493. procedure TOSC_OSCCON.setPBDIV0; inline;
  25494. begin
  25495. pTDefRegMap(@Self)^.&set := $00080000;
  25496. end;
  25497. procedure TOSC_OSCCON.clearPBDIV0; inline;
  25498. begin
  25499. pTDefRegMap(@Self)^.clr := $00080000;
  25500. end;
  25501. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  25502. begin
  25503. if thebits = 0 then
  25504. pTDefRegMap(@Self)^.clr := $00080000
  25505. else
  25506. pTDefRegMap(@Self)^.&set := $00080000;
  25507. end;
  25508. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  25509. begin
  25510. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  25511. end;
  25512. procedure TOSC_OSCCON.setPBDIV1; inline;
  25513. begin
  25514. pTDefRegMap(@Self)^.&set := $00100000;
  25515. end;
  25516. procedure TOSC_OSCCON.clearPBDIV1; inline;
  25517. begin
  25518. pTDefRegMap(@Self)^.clr := $00100000;
  25519. end;
  25520. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  25521. begin
  25522. if thebits = 0 then
  25523. pTDefRegMap(@Self)^.clr := $00100000
  25524. else
  25525. pTDefRegMap(@Self)^.&set := $00100000;
  25526. end;
  25527. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  25528. begin
  25529. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  25530. end;
  25531. procedure TOSC_OSCCON.setFRCDIV0; inline;
  25532. begin
  25533. pTDefRegMap(@Self)^.&set := $01000000;
  25534. end;
  25535. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  25536. begin
  25537. pTDefRegMap(@Self)^.clr := $01000000;
  25538. end;
  25539. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  25540. begin
  25541. if thebits = 0 then
  25542. pTDefRegMap(@Self)^.clr := $01000000
  25543. else
  25544. pTDefRegMap(@Self)^.&set := $01000000;
  25545. end;
  25546. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  25547. begin
  25548. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25549. end;
  25550. procedure TOSC_OSCCON.setFRCDIV1; inline;
  25551. begin
  25552. pTDefRegMap(@Self)^.&set := $02000000;
  25553. end;
  25554. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  25555. begin
  25556. pTDefRegMap(@Self)^.clr := $02000000;
  25557. end;
  25558. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  25559. begin
  25560. if thebits = 0 then
  25561. pTDefRegMap(@Self)^.clr := $02000000
  25562. else
  25563. pTDefRegMap(@Self)^.&set := $02000000;
  25564. end;
  25565. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  25566. begin
  25567. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  25568. end;
  25569. procedure TOSC_OSCCON.setFRCDIV2; inline;
  25570. begin
  25571. pTDefRegMap(@Self)^.&set := $04000000;
  25572. end;
  25573. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  25574. begin
  25575. pTDefRegMap(@Self)^.clr := $04000000;
  25576. end;
  25577. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  25578. begin
  25579. if thebits = 0 then
  25580. pTDefRegMap(@Self)^.clr := $04000000
  25581. else
  25582. pTDefRegMap(@Self)^.&set := $04000000;
  25583. end;
  25584. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  25585. begin
  25586. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  25587. end;
  25588. procedure TOSC_OSCCON.setPLLODIV0; inline;
  25589. begin
  25590. pTDefRegMap(@Self)^.&set := $08000000;
  25591. end;
  25592. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  25593. begin
  25594. pTDefRegMap(@Self)^.clr := $08000000;
  25595. end;
  25596. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  25597. begin
  25598. if thebits = 0 then
  25599. pTDefRegMap(@Self)^.clr := $08000000
  25600. else
  25601. pTDefRegMap(@Self)^.&set := $08000000;
  25602. end;
  25603. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  25604. begin
  25605. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25606. end;
  25607. procedure TOSC_OSCCON.setPLLODIV1; inline;
  25608. begin
  25609. pTDefRegMap(@Self)^.&set := $10000000;
  25610. end;
  25611. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  25612. begin
  25613. pTDefRegMap(@Self)^.clr := $10000000;
  25614. end;
  25615. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  25616. begin
  25617. if thebits = 0 then
  25618. pTDefRegMap(@Self)^.clr := $10000000
  25619. else
  25620. pTDefRegMap(@Self)^.&set := $10000000;
  25621. end;
  25622. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  25623. begin
  25624. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25625. end;
  25626. procedure TOSC_OSCCON.setPLLODIV2; inline;
  25627. begin
  25628. pTDefRegMap(@Self)^.&set := $20000000;
  25629. end;
  25630. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  25631. begin
  25632. pTDefRegMap(@Self)^.clr := $20000000;
  25633. end;
  25634. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  25635. begin
  25636. if thebits = 0 then
  25637. pTDefRegMap(@Self)^.clr := $20000000
  25638. else
  25639. pTDefRegMap(@Self)^.&set := $20000000;
  25640. end;
  25641. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  25642. begin
  25643. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25644. end;
  25645. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  25646. begin
  25647. pTDefRegMap(@Self)^.val := thebits;
  25648. end;
  25649. function TOSC_OSCCON.getw : TBits_32; inline;
  25650. begin
  25651. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25652. end;
  25653. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  25654. begin
  25655. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  25656. end;
  25657. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  25658. begin
  25659. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  25660. end;
  25661. procedure TOSC_OSCTUN.setTUN0; inline;
  25662. begin
  25663. pTDefRegMap(@Self)^.&set := $00000001;
  25664. end;
  25665. procedure TOSC_OSCTUN.clearTUN0; inline;
  25666. begin
  25667. pTDefRegMap(@Self)^.clr := $00000001;
  25668. end;
  25669. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  25670. begin
  25671. if thebits = 0 then
  25672. pTDefRegMap(@Self)^.clr := $00000001
  25673. else
  25674. pTDefRegMap(@Self)^.&set := $00000001;
  25675. end;
  25676. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  25677. begin
  25678. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25679. end;
  25680. procedure TOSC_OSCTUN.setTUN1; inline;
  25681. begin
  25682. pTDefRegMap(@Self)^.&set := $00000002;
  25683. end;
  25684. procedure TOSC_OSCTUN.clearTUN1; inline;
  25685. begin
  25686. pTDefRegMap(@Self)^.clr := $00000002;
  25687. end;
  25688. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  25689. begin
  25690. if thebits = 0 then
  25691. pTDefRegMap(@Self)^.clr := $00000002
  25692. else
  25693. pTDefRegMap(@Self)^.&set := $00000002;
  25694. end;
  25695. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  25696. begin
  25697. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25698. end;
  25699. procedure TOSC_OSCTUN.setTUN2; inline;
  25700. begin
  25701. pTDefRegMap(@Self)^.&set := $00000004;
  25702. end;
  25703. procedure TOSC_OSCTUN.clearTUN2; inline;
  25704. begin
  25705. pTDefRegMap(@Self)^.clr := $00000004;
  25706. end;
  25707. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  25708. begin
  25709. if thebits = 0 then
  25710. pTDefRegMap(@Self)^.clr := $00000004
  25711. else
  25712. pTDefRegMap(@Self)^.&set := $00000004;
  25713. end;
  25714. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  25715. begin
  25716. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25717. end;
  25718. procedure TOSC_OSCTUN.setTUN3; inline;
  25719. begin
  25720. pTDefRegMap(@Self)^.&set := $00000008;
  25721. end;
  25722. procedure TOSC_OSCTUN.clearTUN3; inline;
  25723. begin
  25724. pTDefRegMap(@Self)^.clr := $00000008;
  25725. end;
  25726. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  25727. begin
  25728. if thebits = 0 then
  25729. pTDefRegMap(@Self)^.clr := $00000008
  25730. else
  25731. pTDefRegMap(@Self)^.&set := $00000008;
  25732. end;
  25733. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  25734. begin
  25735. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25736. end;
  25737. procedure TOSC_OSCTUN.setTUN4; inline;
  25738. begin
  25739. pTDefRegMap(@Self)^.&set := $00000010;
  25740. end;
  25741. procedure TOSC_OSCTUN.clearTUN4; inline;
  25742. begin
  25743. pTDefRegMap(@Self)^.clr := $00000010;
  25744. end;
  25745. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  25746. begin
  25747. if thebits = 0 then
  25748. pTDefRegMap(@Self)^.clr := $00000010
  25749. else
  25750. pTDefRegMap(@Self)^.&set := $00000010;
  25751. end;
  25752. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  25753. begin
  25754. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25755. end;
  25756. procedure TOSC_OSCTUN.setTUN5; inline;
  25757. begin
  25758. pTDefRegMap(@Self)^.&set := $00000020;
  25759. end;
  25760. procedure TOSC_OSCTUN.clearTUN5; inline;
  25761. begin
  25762. pTDefRegMap(@Self)^.clr := $00000020;
  25763. end;
  25764. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  25765. begin
  25766. if thebits = 0 then
  25767. pTDefRegMap(@Self)^.clr := $00000020
  25768. else
  25769. pTDefRegMap(@Self)^.&set := $00000020;
  25770. end;
  25771. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  25772. begin
  25773. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25774. end;
  25775. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  25776. begin
  25777. pTDefRegMap(@Self)^.val := thebits;
  25778. end;
  25779. function TOSC_OSCTUN.getw : TBits_32; inline;
  25780. begin
  25781. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25782. end;
  25783. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25784. begin
  25785. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25786. end;
  25787. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25788. begin
  25789. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25790. end;
  25791. procedure TOSC_REFOCON.setACTIVE; inline;
  25792. begin
  25793. pTDefRegMap(@Self)^.&set := $00000100;
  25794. end;
  25795. procedure TOSC_REFOCON.clearACTIVE; inline;
  25796. begin
  25797. pTDefRegMap(@Self)^.clr := $00000100;
  25798. end;
  25799. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25800. begin
  25801. if thebits = 0 then
  25802. pTDefRegMap(@Self)^.clr := $00000100
  25803. else
  25804. pTDefRegMap(@Self)^.&set := $00000100;
  25805. end;
  25806. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25807. begin
  25808. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25809. end;
  25810. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25811. begin
  25812. pTDefRegMap(@Self)^.&set := $00000200;
  25813. end;
  25814. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25815. begin
  25816. pTDefRegMap(@Self)^.clr := $00000200;
  25817. end;
  25818. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25819. begin
  25820. if thebits = 0 then
  25821. pTDefRegMap(@Self)^.clr := $00000200
  25822. else
  25823. pTDefRegMap(@Self)^.&set := $00000200;
  25824. end;
  25825. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25826. begin
  25827. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25828. end;
  25829. procedure TOSC_REFOCON.setRSLP; inline;
  25830. begin
  25831. pTDefRegMap(@Self)^.&set := $00000800;
  25832. end;
  25833. procedure TOSC_REFOCON.clearRSLP; inline;
  25834. begin
  25835. pTDefRegMap(@Self)^.clr := $00000800;
  25836. end;
  25837. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25838. begin
  25839. if thebits = 0 then
  25840. pTDefRegMap(@Self)^.clr := $00000800
  25841. else
  25842. pTDefRegMap(@Self)^.&set := $00000800;
  25843. end;
  25844. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25845. begin
  25846. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25847. end;
  25848. procedure TOSC_REFOCON.setOE; inline;
  25849. begin
  25850. pTDefRegMap(@Self)^.&set := $00001000;
  25851. end;
  25852. procedure TOSC_REFOCON.clearOE; inline;
  25853. begin
  25854. pTDefRegMap(@Self)^.clr := $00001000;
  25855. end;
  25856. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25857. begin
  25858. if thebits = 0 then
  25859. pTDefRegMap(@Self)^.clr := $00001000
  25860. else
  25861. pTDefRegMap(@Self)^.&set := $00001000;
  25862. end;
  25863. function TOSC_REFOCON.getOE : TBits_1; inline;
  25864. begin
  25865. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25866. end;
  25867. procedure TOSC_REFOCON.setSIDL; inline;
  25868. begin
  25869. pTDefRegMap(@Self)^.&set := $00002000;
  25870. end;
  25871. procedure TOSC_REFOCON.clearSIDL; inline;
  25872. begin
  25873. pTDefRegMap(@Self)^.clr := $00002000;
  25874. end;
  25875. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25876. begin
  25877. if thebits = 0 then
  25878. pTDefRegMap(@Self)^.clr := $00002000
  25879. else
  25880. pTDefRegMap(@Self)^.&set := $00002000;
  25881. end;
  25882. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25883. begin
  25884. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25885. end;
  25886. procedure TOSC_REFOCON.setON; inline;
  25887. begin
  25888. pTDefRegMap(@Self)^.&set := $00008000;
  25889. end;
  25890. procedure TOSC_REFOCON.clearON; inline;
  25891. begin
  25892. pTDefRegMap(@Self)^.clr := $00008000;
  25893. end;
  25894. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25895. begin
  25896. if thebits = 0 then
  25897. pTDefRegMap(@Self)^.clr := $00008000
  25898. else
  25899. pTDefRegMap(@Self)^.&set := $00008000;
  25900. end;
  25901. function TOSC_REFOCON.getON : TBits_1; inline;
  25902. begin
  25903. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25904. end;
  25905. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25906. begin
  25907. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25908. end;
  25909. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25910. begin
  25911. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25912. end;
  25913. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25914. begin
  25915. pTDefRegMap(@Self)^.val := thebits;
  25916. end;
  25917. function TOSC_REFOCON.getw : TBits_32; inline;
  25918. begin
  25919. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25920. end;
  25921. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25922. begin
  25923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25924. end;
  25925. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25926. begin
  25927. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25928. end;
  25929. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25930. begin
  25931. pTDefRegMap(@Self)^.val := thebits;
  25932. end;
  25933. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25934. begin
  25935. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25936. end;
  25937. procedure TCFG_PMD5.setU1MD; inline;
  25938. begin
  25939. pTDefRegMap(@Self)^.&set := $00000001;
  25940. end;
  25941. procedure TCFG_PMD5.clearU1MD; inline;
  25942. begin
  25943. pTDefRegMap(@Self)^.clr := $00000001;
  25944. end;
  25945. procedure TCFG_PMD5.setU1MD(thebits : TBits_1); inline;
  25946. begin
  25947. if thebits = 0 then
  25948. pTDefRegMap(@Self)^.clr := $00000001
  25949. else
  25950. pTDefRegMap(@Self)^.&set := $00000001;
  25951. end;
  25952. function TCFG_PMD5.getU1MD : TBits_1; inline;
  25953. begin
  25954. getU1MD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25955. end;
  25956. procedure TCFG_PMD5.setU2MD; inline;
  25957. begin
  25958. pTDefRegMap(@Self)^.&set := $00000002;
  25959. end;
  25960. procedure TCFG_PMD5.clearU2MD; inline;
  25961. begin
  25962. pTDefRegMap(@Self)^.clr := $00000002;
  25963. end;
  25964. procedure TCFG_PMD5.setU2MD(thebits : TBits_1); inline;
  25965. begin
  25966. if thebits = 0 then
  25967. pTDefRegMap(@Self)^.clr := $00000002
  25968. else
  25969. pTDefRegMap(@Self)^.&set := $00000002;
  25970. end;
  25971. function TCFG_PMD5.getU2MD : TBits_1; inline;
  25972. begin
  25973. getU2MD := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25974. end;
  25975. procedure TCFG_PMD5.setSPI1MD; inline;
  25976. begin
  25977. pTDefRegMap(@Self)^.&set := $00000100;
  25978. end;
  25979. procedure TCFG_PMD5.clearSPI1MD; inline;
  25980. begin
  25981. pTDefRegMap(@Self)^.clr := $00000100;
  25982. end;
  25983. procedure TCFG_PMD5.setSPI1MD(thebits : TBits_1); inline;
  25984. begin
  25985. if thebits = 0 then
  25986. pTDefRegMap(@Self)^.clr := $00000100
  25987. else
  25988. pTDefRegMap(@Self)^.&set := $00000100;
  25989. end;
  25990. function TCFG_PMD5.getSPI1MD : TBits_1; inline;
  25991. begin
  25992. getSPI1MD := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25993. end;
  25994. procedure TCFG_PMD5.setSPI2MD; inline;
  25995. begin
  25996. pTDefRegMap(@Self)^.&set := $00000200;
  25997. end;
  25998. procedure TCFG_PMD5.clearSPI2MD; inline;
  25999. begin
  26000. pTDefRegMap(@Self)^.clr := $00000200;
  26001. end;
  26002. procedure TCFG_PMD5.setSPI2MD(thebits : TBits_1); inline;
  26003. begin
  26004. if thebits = 0 then
  26005. pTDefRegMap(@Self)^.clr := $00000200
  26006. else
  26007. pTDefRegMap(@Self)^.&set := $00000200;
  26008. end;
  26009. function TCFG_PMD5.getSPI2MD : TBits_1; inline;
  26010. begin
  26011. getSPI2MD := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26012. end;
  26013. procedure TCFG_PMD5.setI2C1MD; inline;
  26014. begin
  26015. pTDefRegMap(@Self)^.&set := $00010000;
  26016. end;
  26017. procedure TCFG_PMD5.clearI2C1MD; inline;
  26018. begin
  26019. pTDefRegMap(@Self)^.clr := $00010000;
  26020. end;
  26021. procedure TCFG_PMD5.setI2C1MD(thebits : TBits_1); inline;
  26022. begin
  26023. if thebits = 0 then
  26024. pTDefRegMap(@Self)^.clr := $00010000
  26025. else
  26026. pTDefRegMap(@Self)^.&set := $00010000;
  26027. end;
  26028. function TCFG_PMD5.getI2C1MD : TBits_1; inline;
  26029. begin
  26030. getI2C1MD := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26031. end;
  26032. procedure TCFG_PMD5.setI2C2MD; inline;
  26033. begin
  26034. pTDefRegMap(@Self)^.&set := $00020000;
  26035. end;
  26036. procedure TCFG_PMD5.clearI2C2MD; inline;
  26037. begin
  26038. pTDefRegMap(@Self)^.clr := $00020000;
  26039. end;
  26040. procedure TCFG_PMD5.setI2C2MD(thebits : TBits_1); inline;
  26041. begin
  26042. if thebits = 0 then
  26043. pTDefRegMap(@Self)^.clr := $00020000
  26044. else
  26045. pTDefRegMap(@Self)^.&set := $00020000;
  26046. end;
  26047. function TCFG_PMD5.getI2C2MD : TBits_1; inline;
  26048. begin
  26049. getI2C2MD := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26050. end;
  26051. procedure TCFG_PMD5.setUSB1MD; inline;
  26052. begin
  26053. pTDefRegMap(@Self)^.&set := $01000000;
  26054. end;
  26055. procedure TCFG_PMD5.clearUSB1MD; inline;
  26056. begin
  26057. pTDefRegMap(@Self)^.clr := $01000000;
  26058. end;
  26059. procedure TCFG_PMD5.setUSB1MD(thebits : TBits_1); inline;
  26060. begin
  26061. if thebits = 0 then
  26062. pTDefRegMap(@Self)^.clr := $01000000
  26063. else
  26064. pTDefRegMap(@Self)^.&set := $01000000;
  26065. end;
  26066. function TCFG_PMD5.getUSB1MD : TBits_1; inline;
  26067. begin
  26068. getUSB1MD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26069. end;
  26070. procedure TCFG_PMD5.setUSBMD; inline;
  26071. begin
  26072. pTDefRegMap(@Self)^.&set := $01000000;
  26073. end;
  26074. procedure TCFG_PMD5.clearUSBMD; inline;
  26075. begin
  26076. pTDefRegMap(@Self)^.clr := $01000000;
  26077. end;
  26078. procedure TCFG_PMD5.setUSBMD(thebits : TBits_1); inline;
  26079. begin
  26080. if thebits = 0 then
  26081. pTDefRegMap(@Self)^.clr := $01000000
  26082. else
  26083. pTDefRegMap(@Self)^.&set := $01000000;
  26084. end;
  26085. function TCFG_PMD5.getUSBMD : TBits_1; inline;
  26086. begin
  26087. getUSBMD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26088. end;
  26089. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  26090. begin
  26091. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  26092. end;
  26093. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  26094. begin
  26095. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  26096. end;
  26097. procedure TNVM_NVMCON.setLVDSTAT; inline;
  26098. begin
  26099. pTDefRegMap(@Self)^.&set := $00000800;
  26100. end;
  26101. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  26102. begin
  26103. pTDefRegMap(@Self)^.clr := $00000800;
  26104. end;
  26105. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  26106. begin
  26107. if thebits = 0 then
  26108. pTDefRegMap(@Self)^.clr := $00000800
  26109. else
  26110. pTDefRegMap(@Self)^.&set := $00000800;
  26111. end;
  26112. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  26113. begin
  26114. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26115. end;
  26116. procedure TNVM_NVMCON.setLVDERR; inline;
  26117. begin
  26118. pTDefRegMap(@Self)^.&set := $00001000;
  26119. end;
  26120. procedure TNVM_NVMCON.clearLVDERR; inline;
  26121. begin
  26122. pTDefRegMap(@Self)^.clr := $00001000;
  26123. end;
  26124. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  26125. begin
  26126. if thebits = 0 then
  26127. pTDefRegMap(@Self)^.clr := $00001000
  26128. else
  26129. pTDefRegMap(@Self)^.&set := $00001000;
  26130. end;
  26131. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  26132. begin
  26133. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26134. end;
  26135. procedure TNVM_NVMCON.setWRERR; inline;
  26136. begin
  26137. pTDefRegMap(@Self)^.&set := $00002000;
  26138. end;
  26139. procedure TNVM_NVMCON.clearWRERR; inline;
  26140. begin
  26141. pTDefRegMap(@Self)^.clr := $00002000;
  26142. end;
  26143. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  26144. begin
  26145. if thebits = 0 then
  26146. pTDefRegMap(@Self)^.clr := $00002000
  26147. else
  26148. pTDefRegMap(@Self)^.&set := $00002000;
  26149. end;
  26150. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  26151. begin
  26152. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26153. end;
  26154. procedure TNVM_NVMCON.setWREN; inline;
  26155. begin
  26156. pTDefRegMap(@Self)^.&set := $00004000;
  26157. end;
  26158. procedure TNVM_NVMCON.clearWREN; inline;
  26159. begin
  26160. pTDefRegMap(@Self)^.clr := $00004000;
  26161. end;
  26162. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  26163. begin
  26164. if thebits = 0 then
  26165. pTDefRegMap(@Self)^.clr := $00004000
  26166. else
  26167. pTDefRegMap(@Self)^.&set := $00004000;
  26168. end;
  26169. function TNVM_NVMCON.getWREN : TBits_1; inline;
  26170. begin
  26171. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26172. end;
  26173. procedure TNVM_NVMCON.setWR; inline;
  26174. begin
  26175. pTDefRegMap(@Self)^.&set := $00008000;
  26176. end;
  26177. procedure TNVM_NVMCON.clearWR; inline;
  26178. begin
  26179. pTDefRegMap(@Self)^.clr := $00008000;
  26180. end;
  26181. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  26182. begin
  26183. if thebits = 0 then
  26184. pTDefRegMap(@Self)^.clr := $00008000
  26185. else
  26186. pTDefRegMap(@Self)^.&set := $00008000;
  26187. end;
  26188. function TNVM_NVMCON.getWR : TBits_1; inline;
  26189. begin
  26190. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26191. end;
  26192. procedure TNVM_NVMCON.setNVMOP0; inline;
  26193. begin
  26194. pTDefRegMap(@Self)^.&set := $00000001;
  26195. end;
  26196. procedure TNVM_NVMCON.clearNVMOP0; inline;
  26197. begin
  26198. pTDefRegMap(@Self)^.clr := $00000001;
  26199. end;
  26200. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  26201. begin
  26202. if thebits = 0 then
  26203. pTDefRegMap(@Self)^.clr := $00000001
  26204. else
  26205. pTDefRegMap(@Self)^.&set := $00000001;
  26206. end;
  26207. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  26208. begin
  26209. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26210. end;
  26211. procedure TNVM_NVMCON.setNVMOP1; inline;
  26212. begin
  26213. pTDefRegMap(@Self)^.&set := $00000002;
  26214. end;
  26215. procedure TNVM_NVMCON.clearNVMOP1; inline;
  26216. begin
  26217. pTDefRegMap(@Self)^.clr := $00000002;
  26218. end;
  26219. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  26220. begin
  26221. if thebits = 0 then
  26222. pTDefRegMap(@Self)^.clr := $00000002
  26223. else
  26224. pTDefRegMap(@Self)^.&set := $00000002;
  26225. end;
  26226. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  26227. begin
  26228. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26229. end;
  26230. procedure TNVM_NVMCON.setNVMOP2; inline;
  26231. begin
  26232. pTDefRegMap(@Self)^.&set := $00000004;
  26233. end;
  26234. procedure TNVM_NVMCON.clearNVMOP2; inline;
  26235. begin
  26236. pTDefRegMap(@Self)^.clr := $00000004;
  26237. end;
  26238. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  26239. begin
  26240. if thebits = 0 then
  26241. pTDefRegMap(@Self)^.clr := $00000004
  26242. else
  26243. pTDefRegMap(@Self)^.&set := $00000004;
  26244. end;
  26245. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  26246. begin
  26247. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26248. end;
  26249. procedure TNVM_NVMCON.setNVMOP3; inline;
  26250. begin
  26251. pTDefRegMap(@Self)^.&set := $00000008;
  26252. end;
  26253. procedure TNVM_NVMCON.clearNVMOP3; inline;
  26254. begin
  26255. pTDefRegMap(@Self)^.clr := $00000008;
  26256. end;
  26257. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  26258. begin
  26259. if thebits = 0 then
  26260. pTDefRegMap(@Self)^.clr := $00000008
  26261. else
  26262. pTDefRegMap(@Self)^.&set := $00000008;
  26263. end;
  26264. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  26265. begin
  26266. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26267. end;
  26268. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  26269. begin
  26270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  26271. end;
  26272. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  26273. begin
  26274. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  26275. end;
  26276. procedure TNVM_NVMCON.setPROGOP0; inline;
  26277. begin
  26278. pTDefRegMap(@Self)^.&set := $00000001;
  26279. end;
  26280. procedure TNVM_NVMCON.clearPROGOP0; inline;
  26281. begin
  26282. pTDefRegMap(@Self)^.clr := $00000001;
  26283. end;
  26284. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  26285. begin
  26286. if thebits = 0 then
  26287. pTDefRegMap(@Self)^.clr := $00000001
  26288. else
  26289. pTDefRegMap(@Self)^.&set := $00000001;
  26290. end;
  26291. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  26292. begin
  26293. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26294. end;
  26295. procedure TNVM_NVMCON.setPROGOP1; inline;
  26296. begin
  26297. pTDefRegMap(@Self)^.&set := $00000002;
  26298. end;
  26299. procedure TNVM_NVMCON.clearPROGOP1; inline;
  26300. begin
  26301. pTDefRegMap(@Self)^.clr := $00000002;
  26302. end;
  26303. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  26304. begin
  26305. if thebits = 0 then
  26306. pTDefRegMap(@Self)^.clr := $00000002
  26307. else
  26308. pTDefRegMap(@Self)^.&set := $00000002;
  26309. end;
  26310. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  26311. begin
  26312. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26313. end;
  26314. procedure TNVM_NVMCON.setPROGOP2; inline;
  26315. begin
  26316. pTDefRegMap(@Self)^.&set := $00000004;
  26317. end;
  26318. procedure TNVM_NVMCON.clearPROGOP2; inline;
  26319. begin
  26320. pTDefRegMap(@Self)^.clr := $00000004;
  26321. end;
  26322. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  26323. begin
  26324. if thebits = 0 then
  26325. pTDefRegMap(@Self)^.clr := $00000004
  26326. else
  26327. pTDefRegMap(@Self)^.&set := $00000004;
  26328. end;
  26329. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  26330. begin
  26331. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26332. end;
  26333. procedure TNVM_NVMCON.setPROGOP3; inline;
  26334. begin
  26335. pTDefRegMap(@Self)^.&set := $00000008;
  26336. end;
  26337. procedure TNVM_NVMCON.clearPROGOP3; inline;
  26338. begin
  26339. pTDefRegMap(@Self)^.clr := $00000008;
  26340. end;
  26341. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  26342. begin
  26343. if thebits = 0 then
  26344. pTDefRegMap(@Self)^.clr := $00000008
  26345. else
  26346. pTDefRegMap(@Self)^.&set := $00000008;
  26347. end;
  26348. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  26349. begin
  26350. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26351. end;
  26352. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  26353. begin
  26354. pTDefRegMap(@Self)^.val := thebits;
  26355. end;
  26356. function TNVM_NVMCON.getw : TBits_32; inline;
  26357. begin
  26358. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26359. end;
  26360. procedure TRCON_RCON.setPOR; inline;
  26361. begin
  26362. pTDefRegMap(@Self)^.&set := $00000001;
  26363. end;
  26364. procedure TRCON_RCON.clearPOR; inline;
  26365. begin
  26366. pTDefRegMap(@Self)^.clr := $00000001;
  26367. end;
  26368. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  26369. begin
  26370. if thebits = 0 then
  26371. pTDefRegMap(@Self)^.clr := $00000001
  26372. else
  26373. pTDefRegMap(@Self)^.&set := $00000001;
  26374. end;
  26375. function TRCON_RCON.getPOR : TBits_1; inline;
  26376. begin
  26377. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26378. end;
  26379. procedure TRCON_RCON.setBOR; inline;
  26380. begin
  26381. pTDefRegMap(@Self)^.&set := $00000002;
  26382. end;
  26383. procedure TRCON_RCON.clearBOR; inline;
  26384. begin
  26385. pTDefRegMap(@Self)^.clr := $00000002;
  26386. end;
  26387. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  26388. begin
  26389. if thebits = 0 then
  26390. pTDefRegMap(@Self)^.clr := $00000002
  26391. else
  26392. pTDefRegMap(@Self)^.&set := $00000002;
  26393. end;
  26394. function TRCON_RCON.getBOR : TBits_1; inline;
  26395. begin
  26396. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26397. end;
  26398. procedure TRCON_RCON.setIDLE; inline;
  26399. begin
  26400. pTDefRegMap(@Self)^.&set := $00000004;
  26401. end;
  26402. procedure TRCON_RCON.clearIDLE; inline;
  26403. begin
  26404. pTDefRegMap(@Self)^.clr := $00000004;
  26405. end;
  26406. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  26407. begin
  26408. if thebits = 0 then
  26409. pTDefRegMap(@Self)^.clr := $00000004
  26410. else
  26411. pTDefRegMap(@Self)^.&set := $00000004;
  26412. end;
  26413. function TRCON_RCON.getIDLE : TBits_1; inline;
  26414. begin
  26415. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26416. end;
  26417. procedure TRCON_RCON.setSLEEP; inline;
  26418. begin
  26419. pTDefRegMap(@Self)^.&set := $00000008;
  26420. end;
  26421. procedure TRCON_RCON.clearSLEEP; inline;
  26422. begin
  26423. pTDefRegMap(@Self)^.clr := $00000008;
  26424. end;
  26425. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  26426. begin
  26427. if thebits = 0 then
  26428. pTDefRegMap(@Self)^.clr := $00000008
  26429. else
  26430. pTDefRegMap(@Self)^.&set := $00000008;
  26431. end;
  26432. function TRCON_RCON.getSLEEP : TBits_1; inline;
  26433. begin
  26434. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26435. end;
  26436. procedure TRCON_RCON.setWDTO; inline;
  26437. begin
  26438. pTDefRegMap(@Self)^.&set := $00000010;
  26439. end;
  26440. procedure TRCON_RCON.clearWDTO; inline;
  26441. begin
  26442. pTDefRegMap(@Self)^.clr := $00000010;
  26443. end;
  26444. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  26445. begin
  26446. if thebits = 0 then
  26447. pTDefRegMap(@Self)^.clr := $00000010
  26448. else
  26449. pTDefRegMap(@Self)^.&set := $00000010;
  26450. end;
  26451. function TRCON_RCON.getWDTO : TBits_1; inline;
  26452. begin
  26453. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26454. end;
  26455. procedure TRCON_RCON.setSWR; inline;
  26456. begin
  26457. pTDefRegMap(@Self)^.&set := $00000040;
  26458. end;
  26459. procedure TRCON_RCON.clearSWR; inline;
  26460. begin
  26461. pTDefRegMap(@Self)^.clr := $00000040;
  26462. end;
  26463. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  26464. begin
  26465. if thebits = 0 then
  26466. pTDefRegMap(@Self)^.clr := $00000040
  26467. else
  26468. pTDefRegMap(@Self)^.&set := $00000040;
  26469. end;
  26470. function TRCON_RCON.getSWR : TBits_1; inline;
  26471. begin
  26472. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26473. end;
  26474. procedure TRCON_RCON.setEXTR; inline;
  26475. begin
  26476. pTDefRegMap(@Self)^.&set := $00000080;
  26477. end;
  26478. procedure TRCON_RCON.clearEXTR; inline;
  26479. begin
  26480. pTDefRegMap(@Self)^.clr := $00000080;
  26481. end;
  26482. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  26483. begin
  26484. if thebits = 0 then
  26485. pTDefRegMap(@Self)^.clr := $00000080
  26486. else
  26487. pTDefRegMap(@Self)^.&set := $00000080;
  26488. end;
  26489. function TRCON_RCON.getEXTR : TBits_1; inline;
  26490. begin
  26491. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26492. end;
  26493. procedure TRCON_RCON.setVREGS; inline;
  26494. begin
  26495. pTDefRegMap(@Self)^.&set := $00000100;
  26496. end;
  26497. procedure TRCON_RCON.clearVREGS; inline;
  26498. begin
  26499. pTDefRegMap(@Self)^.clr := $00000100;
  26500. end;
  26501. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  26502. begin
  26503. if thebits = 0 then
  26504. pTDefRegMap(@Self)^.clr := $00000100
  26505. else
  26506. pTDefRegMap(@Self)^.&set := $00000100;
  26507. end;
  26508. function TRCON_RCON.getVREGS : TBits_1; inline;
  26509. begin
  26510. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26511. end;
  26512. procedure TRCON_RCON.setCMR; inline;
  26513. begin
  26514. pTDefRegMap(@Self)^.&set := $00000200;
  26515. end;
  26516. procedure TRCON_RCON.clearCMR; inline;
  26517. begin
  26518. pTDefRegMap(@Self)^.clr := $00000200;
  26519. end;
  26520. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  26521. begin
  26522. if thebits = 0 then
  26523. pTDefRegMap(@Self)^.clr := $00000200
  26524. else
  26525. pTDefRegMap(@Self)^.&set := $00000200;
  26526. end;
  26527. function TRCON_RCON.getCMR : TBits_1; inline;
  26528. begin
  26529. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26530. end;
  26531. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  26532. begin
  26533. pTDefRegMap(@Self)^.val := thebits;
  26534. end;
  26535. function TRCON_RCON.getw : TBits_32; inline;
  26536. begin
  26537. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26538. end;
  26539. procedure TRCON_RSWRST.setSWRST; inline;
  26540. begin
  26541. pTDefRegMap(@Self)^.&set := $00000001;
  26542. end;
  26543. procedure TRCON_RSWRST.clearSWRST; inline;
  26544. begin
  26545. pTDefRegMap(@Self)^.clr := $00000001;
  26546. end;
  26547. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  26548. begin
  26549. if thebits = 0 then
  26550. pTDefRegMap(@Self)^.clr := $00000001
  26551. else
  26552. pTDefRegMap(@Self)^.&set := $00000001;
  26553. end;
  26554. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  26555. begin
  26556. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26557. end;
  26558. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  26559. begin
  26560. pTDefRegMap(@Self)^.val := thebits;
  26561. end;
  26562. function TRCON_RSWRST.getw : TBits_32; inline;
  26563. begin
  26564. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26565. end;
  26566. procedure TINT_INTCON.setINT0EP; inline;
  26567. begin
  26568. pTDefRegMap(@Self)^.&set := $00000001;
  26569. end;
  26570. procedure TINT_INTCON.clearINT0EP; inline;
  26571. begin
  26572. pTDefRegMap(@Self)^.clr := $00000001;
  26573. end;
  26574. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  26575. begin
  26576. if thebits = 0 then
  26577. pTDefRegMap(@Self)^.clr := $00000001
  26578. else
  26579. pTDefRegMap(@Self)^.&set := $00000001;
  26580. end;
  26581. function TINT_INTCON.getINT0EP : TBits_1; inline;
  26582. begin
  26583. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26584. end;
  26585. procedure TINT_INTCON.setINT1EP; inline;
  26586. begin
  26587. pTDefRegMap(@Self)^.&set := $00000002;
  26588. end;
  26589. procedure TINT_INTCON.clearINT1EP; inline;
  26590. begin
  26591. pTDefRegMap(@Self)^.clr := $00000002;
  26592. end;
  26593. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  26594. begin
  26595. if thebits = 0 then
  26596. pTDefRegMap(@Self)^.clr := $00000002
  26597. else
  26598. pTDefRegMap(@Self)^.&set := $00000002;
  26599. end;
  26600. function TINT_INTCON.getINT1EP : TBits_1; inline;
  26601. begin
  26602. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26603. end;
  26604. procedure TINT_INTCON.setINT2EP; inline;
  26605. begin
  26606. pTDefRegMap(@Self)^.&set := $00000004;
  26607. end;
  26608. procedure TINT_INTCON.clearINT2EP; inline;
  26609. begin
  26610. pTDefRegMap(@Self)^.clr := $00000004;
  26611. end;
  26612. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  26613. begin
  26614. if thebits = 0 then
  26615. pTDefRegMap(@Self)^.clr := $00000004
  26616. else
  26617. pTDefRegMap(@Self)^.&set := $00000004;
  26618. end;
  26619. function TINT_INTCON.getINT2EP : TBits_1; inline;
  26620. begin
  26621. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26622. end;
  26623. procedure TINT_INTCON.setINT3EP; inline;
  26624. begin
  26625. pTDefRegMap(@Self)^.&set := $00000008;
  26626. end;
  26627. procedure TINT_INTCON.clearINT3EP; inline;
  26628. begin
  26629. pTDefRegMap(@Self)^.clr := $00000008;
  26630. end;
  26631. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  26632. begin
  26633. if thebits = 0 then
  26634. pTDefRegMap(@Self)^.clr := $00000008
  26635. else
  26636. pTDefRegMap(@Self)^.&set := $00000008;
  26637. end;
  26638. function TINT_INTCON.getINT3EP : TBits_1; inline;
  26639. begin
  26640. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26641. end;
  26642. procedure TINT_INTCON.setINT4EP; inline;
  26643. begin
  26644. pTDefRegMap(@Self)^.&set := $00000010;
  26645. end;
  26646. procedure TINT_INTCON.clearINT4EP; inline;
  26647. begin
  26648. pTDefRegMap(@Self)^.clr := $00000010;
  26649. end;
  26650. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  26651. begin
  26652. if thebits = 0 then
  26653. pTDefRegMap(@Self)^.clr := $00000010
  26654. else
  26655. pTDefRegMap(@Self)^.&set := $00000010;
  26656. end;
  26657. function TINT_INTCON.getINT4EP : TBits_1; inline;
  26658. begin
  26659. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26660. end;
  26661. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  26662. begin
  26663. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  26664. end;
  26665. function TINT_INTCON.getTPC : TBits_3; inline;
  26666. begin
  26667. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  26668. end;
  26669. procedure TINT_INTCON.setMVEC; inline;
  26670. begin
  26671. pTDefRegMap(@Self)^.&set := $00001000;
  26672. end;
  26673. procedure TINT_INTCON.clearMVEC; inline;
  26674. begin
  26675. pTDefRegMap(@Self)^.clr := $00001000;
  26676. end;
  26677. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  26678. begin
  26679. if thebits = 0 then
  26680. pTDefRegMap(@Self)^.clr := $00001000
  26681. else
  26682. pTDefRegMap(@Self)^.&set := $00001000;
  26683. end;
  26684. function TINT_INTCON.getMVEC : TBits_1; inline;
  26685. begin
  26686. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26687. end;
  26688. procedure TINT_INTCON.setSS0; inline;
  26689. begin
  26690. pTDefRegMap(@Self)^.&set := $00010000;
  26691. end;
  26692. procedure TINT_INTCON.clearSS0; inline;
  26693. begin
  26694. pTDefRegMap(@Self)^.clr := $00010000;
  26695. end;
  26696. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  26697. begin
  26698. if thebits = 0 then
  26699. pTDefRegMap(@Self)^.clr := $00010000
  26700. else
  26701. pTDefRegMap(@Self)^.&set := $00010000;
  26702. end;
  26703. function TINT_INTCON.getSS0 : TBits_1; inline;
  26704. begin
  26705. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26706. end;
  26707. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  26708. begin
  26709. pTDefRegMap(@Self)^.val := thebits;
  26710. end;
  26711. function TINT_INTCON.getw : TBits_32; inline;
  26712. begin
  26713. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26714. end;
  26715. procedure TINT_IFS0.setCTIF; inline;
  26716. begin
  26717. pTDefRegMap(@Self)^.&set := $00000001;
  26718. end;
  26719. procedure TINT_IFS0.clearCTIF; inline;
  26720. begin
  26721. pTDefRegMap(@Self)^.clr := $00000001;
  26722. end;
  26723. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  26724. begin
  26725. if thebits = 0 then
  26726. pTDefRegMap(@Self)^.clr := $00000001
  26727. else
  26728. pTDefRegMap(@Self)^.&set := $00000001;
  26729. end;
  26730. function TINT_IFS0.getCTIF : TBits_1; inline;
  26731. begin
  26732. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26733. end;
  26734. procedure TINT_IFS0.setCS0IF; inline;
  26735. begin
  26736. pTDefRegMap(@Self)^.&set := $00000002;
  26737. end;
  26738. procedure TINT_IFS0.clearCS0IF; inline;
  26739. begin
  26740. pTDefRegMap(@Self)^.clr := $00000002;
  26741. end;
  26742. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  26743. begin
  26744. if thebits = 0 then
  26745. pTDefRegMap(@Self)^.clr := $00000002
  26746. else
  26747. pTDefRegMap(@Self)^.&set := $00000002;
  26748. end;
  26749. function TINT_IFS0.getCS0IF : TBits_1; inline;
  26750. begin
  26751. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26752. end;
  26753. procedure TINT_IFS0.setCS1IF; inline;
  26754. begin
  26755. pTDefRegMap(@Self)^.&set := $00000004;
  26756. end;
  26757. procedure TINT_IFS0.clearCS1IF; inline;
  26758. begin
  26759. pTDefRegMap(@Self)^.clr := $00000004;
  26760. end;
  26761. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  26762. begin
  26763. if thebits = 0 then
  26764. pTDefRegMap(@Self)^.clr := $00000004
  26765. else
  26766. pTDefRegMap(@Self)^.&set := $00000004;
  26767. end;
  26768. function TINT_IFS0.getCS1IF : TBits_1; inline;
  26769. begin
  26770. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26771. end;
  26772. procedure TINT_IFS0.setINT0IF; inline;
  26773. begin
  26774. pTDefRegMap(@Self)^.&set := $00000008;
  26775. end;
  26776. procedure TINT_IFS0.clearINT0IF; inline;
  26777. begin
  26778. pTDefRegMap(@Self)^.clr := $00000008;
  26779. end;
  26780. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  26781. begin
  26782. if thebits = 0 then
  26783. pTDefRegMap(@Self)^.clr := $00000008
  26784. else
  26785. pTDefRegMap(@Self)^.&set := $00000008;
  26786. end;
  26787. function TINT_IFS0.getINT0IF : TBits_1; inline;
  26788. begin
  26789. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26790. end;
  26791. procedure TINT_IFS0.setT1IF; inline;
  26792. begin
  26793. pTDefRegMap(@Self)^.&set := $00000010;
  26794. end;
  26795. procedure TINT_IFS0.clearT1IF; inline;
  26796. begin
  26797. pTDefRegMap(@Self)^.clr := $00000010;
  26798. end;
  26799. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  26800. begin
  26801. if thebits = 0 then
  26802. pTDefRegMap(@Self)^.clr := $00000010
  26803. else
  26804. pTDefRegMap(@Self)^.&set := $00000010;
  26805. end;
  26806. function TINT_IFS0.getT1IF : TBits_1; inline;
  26807. begin
  26808. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26809. end;
  26810. procedure TINT_IFS0.setIC1EIF; inline;
  26811. begin
  26812. pTDefRegMap(@Self)^.&set := $00000020;
  26813. end;
  26814. procedure TINT_IFS0.clearIC1EIF; inline;
  26815. begin
  26816. pTDefRegMap(@Self)^.clr := $00000020;
  26817. end;
  26818. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  26819. begin
  26820. if thebits = 0 then
  26821. pTDefRegMap(@Self)^.clr := $00000020
  26822. else
  26823. pTDefRegMap(@Self)^.&set := $00000020;
  26824. end;
  26825. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  26826. begin
  26827. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26828. end;
  26829. procedure TINT_IFS0.setIC1IF; inline;
  26830. begin
  26831. pTDefRegMap(@Self)^.&set := $00000040;
  26832. end;
  26833. procedure TINT_IFS0.clearIC1IF; inline;
  26834. begin
  26835. pTDefRegMap(@Self)^.clr := $00000040;
  26836. end;
  26837. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  26838. begin
  26839. if thebits = 0 then
  26840. pTDefRegMap(@Self)^.clr := $00000040
  26841. else
  26842. pTDefRegMap(@Self)^.&set := $00000040;
  26843. end;
  26844. function TINT_IFS0.getIC1IF : TBits_1; inline;
  26845. begin
  26846. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26847. end;
  26848. procedure TINT_IFS0.setOC1IF; inline;
  26849. begin
  26850. pTDefRegMap(@Self)^.&set := $00000080;
  26851. end;
  26852. procedure TINT_IFS0.clearOC1IF; inline;
  26853. begin
  26854. pTDefRegMap(@Self)^.clr := $00000080;
  26855. end;
  26856. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  26857. begin
  26858. if thebits = 0 then
  26859. pTDefRegMap(@Self)^.clr := $00000080
  26860. else
  26861. pTDefRegMap(@Self)^.&set := $00000080;
  26862. end;
  26863. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26864. begin
  26865. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26866. end;
  26867. procedure TINT_IFS0.setINT1IF; inline;
  26868. begin
  26869. pTDefRegMap(@Self)^.&set := $00000100;
  26870. end;
  26871. procedure TINT_IFS0.clearINT1IF; inline;
  26872. begin
  26873. pTDefRegMap(@Self)^.clr := $00000100;
  26874. end;
  26875. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26876. begin
  26877. if thebits = 0 then
  26878. pTDefRegMap(@Self)^.clr := $00000100
  26879. else
  26880. pTDefRegMap(@Self)^.&set := $00000100;
  26881. end;
  26882. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26883. begin
  26884. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26885. end;
  26886. procedure TINT_IFS0.setT2IF; inline;
  26887. begin
  26888. pTDefRegMap(@Self)^.&set := $00000200;
  26889. end;
  26890. procedure TINT_IFS0.clearT2IF; inline;
  26891. begin
  26892. pTDefRegMap(@Self)^.clr := $00000200;
  26893. end;
  26894. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26895. begin
  26896. if thebits = 0 then
  26897. pTDefRegMap(@Self)^.clr := $00000200
  26898. else
  26899. pTDefRegMap(@Self)^.&set := $00000200;
  26900. end;
  26901. function TINT_IFS0.getT2IF : TBits_1; inline;
  26902. begin
  26903. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26904. end;
  26905. procedure TINT_IFS0.setIC2EIF; inline;
  26906. begin
  26907. pTDefRegMap(@Self)^.&set := $00000400;
  26908. end;
  26909. procedure TINT_IFS0.clearIC2EIF; inline;
  26910. begin
  26911. pTDefRegMap(@Self)^.clr := $00000400;
  26912. end;
  26913. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26914. begin
  26915. if thebits = 0 then
  26916. pTDefRegMap(@Self)^.clr := $00000400
  26917. else
  26918. pTDefRegMap(@Self)^.&set := $00000400;
  26919. end;
  26920. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26921. begin
  26922. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26923. end;
  26924. procedure TINT_IFS0.setIC2IF; inline;
  26925. begin
  26926. pTDefRegMap(@Self)^.&set := $00000800;
  26927. end;
  26928. procedure TINT_IFS0.clearIC2IF; inline;
  26929. begin
  26930. pTDefRegMap(@Self)^.clr := $00000800;
  26931. end;
  26932. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26933. begin
  26934. if thebits = 0 then
  26935. pTDefRegMap(@Self)^.clr := $00000800
  26936. else
  26937. pTDefRegMap(@Self)^.&set := $00000800;
  26938. end;
  26939. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26940. begin
  26941. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26942. end;
  26943. procedure TINT_IFS0.setOC2IF; inline;
  26944. begin
  26945. pTDefRegMap(@Self)^.&set := $00001000;
  26946. end;
  26947. procedure TINT_IFS0.clearOC2IF; inline;
  26948. begin
  26949. pTDefRegMap(@Self)^.clr := $00001000;
  26950. end;
  26951. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26952. begin
  26953. if thebits = 0 then
  26954. pTDefRegMap(@Self)^.clr := $00001000
  26955. else
  26956. pTDefRegMap(@Self)^.&set := $00001000;
  26957. end;
  26958. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26959. begin
  26960. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26961. end;
  26962. procedure TINT_IFS0.setINT2IF; inline;
  26963. begin
  26964. pTDefRegMap(@Self)^.&set := $00002000;
  26965. end;
  26966. procedure TINT_IFS0.clearINT2IF; inline;
  26967. begin
  26968. pTDefRegMap(@Self)^.clr := $00002000;
  26969. end;
  26970. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26971. begin
  26972. if thebits = 0 then
  26973. pTDefRegMap(@Self)^.clr := $00002000
  26974. else
  26975. pTDefRegMap(@Self)^.&set := $00002000;
  26976. end;
  26977. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26978. begin
  26979. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26980. end;
  26981. procedure TINT_IFS0.setT3IF; inline;
  26982. begin
  26983. pTDefRegMap(@Self)^.&set := $00004000;
  26984. end;
  26985. procedure TINT_IFS0.clearT3IF; inline;
  26986. begin
  26987. pTDefRegMap(@Self)^.clr := $00004000;
  26988. end;
  26989. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26990. begin
  26991. if thebits = 0 then
  26992. pTDefRegMap(@Self)^.clr := $00004000
  26993. else
  26994. pTDefRegMap(@Self)^.&set := $00004000;
  26995. end;
  26996. function TINT_IFS0.getT3IF : TBits_1; inline;
  26997. begin
  26998. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26999. end;
  27000. procedure TINT_IFS0.setIC3EIF; inline;
  27001. begin
  27002. pTDefRegMap(@Self)^.&set := $00008000;
  27003. end;
  27004. procedure TINT_IFS0.clearIC3EIF; inline;
  27005. begin
  27006. pTDefRegMap(@Self)^.clr := $00008000;
  27007. end;
  27008. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  27009. begin
  27010. if thebits = 0 then
  27011. pTDefRegMap(@Self)^.clr := $00008000
  27012. else
  27013. pTDefRegMap(@Self)^.&set := $00008000;
  27014. end;
  27015. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  27016. begin
  27017. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27018. end;
  27019. procedure TINT_IFS0.setIC3IF; inline;
  27020. begin
  27021. pTDefRegMap(@Self)^.&set := $00010000;
  27022. end;
  27023. procedure TINT_IFS0.clearIC3IF; inline;
  27024. begin
  27025. pTDefRegMap(@Self)^.clr := $00010000;
  27026. end;
  27027. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  27028. begin
  27029. if thebits = 0 then
  27030. pTDefRegMap(@Self)^.clr := $00010000
  27031. else
  27032. pTDefRegMap(@Self)^.&set := $00010000;
  27033. end;
  27034. function TINT_IFS0.getIC3IF : TBits_1; inline;
  27035. begin
  27036. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27037. end;
  27038. procedure TINT_IFS0.setOC3IF; inline;
  27039. begin
  27040. pTDefRegMap(@Self)^.&set := $00020000;
  27041. end;
  27042. procedure TINT_IFS0.clearOC3IF; inline;
  27043. begin
  27044. pTDefRegMap(@Self)^.clr := $00020000;
  27045. end;
  27046. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  27047. begin
  27048. if thebits = 0 then
  27049. pTDefRegMap(@Self)^.clr := $00020000
  27050. else
  27051. pTDefRegMap(@Self)^.&set := $00020000;
  27052. end;
  27053. function TINT_IFS0.getOC3IF : TBits_1; inline;
  27054. begin
  27055. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27056. end;
  27057. procedure TINT_IFS0.setINT3IF; inline;
  27058. begin
  27059. pTDefRegMap(@Self)^.&set := $00040000;
  27060. end;
  27061. procedure TINT_IFS0.clearINT3IF; inline;
  27062. begin
  27063. pTDefRegMap(@Self)^.clr := $00040000;
  27064. end;
  27065. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  27066. begin
  27067. if thebits = 0 then
  27068. pTDefRegMap(@Self)^.clr := $00040000
  27069. else
  27070. pTDefRegMap(@Self)^.&set := $00040000;
  27071. end;
  27072. function TINT_IFS0.getINT3IF : TBits_1; inline;
  27073. begin
  27074. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27075. end;
  27076. procedure TINT_IFS0.setT4IF; inline;
  27077. begin
  27078. pTDefRegMap(@Self)^.&set := $00080000;
  27079. end;
  27080. procedure TINT_IFS0.clearT4IF; inline;
  27081. begin
  27082. pTDefRegMap(@Self)^.clr := $00080000;
  27083. end;
  27084. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  27085. begin
  27086. if thebits = 0 then
  27087. pTDefRegMap(@Self)^.clr := $00080000
  27088. else
  27089. pTDefRegMap(@Self)^.&set := $00080000;
  27090. end;
  27091. function TINT_IFS0.getT4IF : TBits_1; inline;
  27092. begin
  27093. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27094. end;
  27095. procedure TINT_IFS0.setIC4EIF; inline;
  27096. begin
  27097. pTDefRegMap(@Self)^.&set := $00100000;
  27098. end;
  27099. procedure TINT_IFS0.clearIC4EIF; inline;
  27100. begin
  27101. pTDefRegMap(@Self)^.clr := $00100000;
  27102. end;
  27103. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  27104. begin
  27105. if thebits = 0 then
  27106. pTDefRegMap(@Self)^.clr := $00100000
  27107. else
  27108. pTDefRegMap(@Self)^.&set := $00100000;
  27109. end;
  27110. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  27111. begin
  27112. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27113. end;
  27114. procedure TINT_IFS0.setIC4IF; inline;
  27115. begin
  27116. pTDefRegMap(@Self)^.&set := $00200000;
  27117. end;
  27118. procedure TINT_IFS0.clearIC4IF; inline;
  27119. begin
  27120. pTDefRegMap(@Self)^.clr := $00200000;
  27121. end;
  27122. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  27123. begin
  27124. if thebits = 0 then
  27125. pTDefRegMap(@Self)^.clr := $00200000
  27126. else
  27127. pTDefRegMap(@Self)^.&set := $00200000;
  27128. end;
  27129. function TINT_IFS0.getIC4IF : TBits_1; inline;
  27130. begin
  27131. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27132. end;
  27133. procedure TINT_IFS0.setOC4IF; inline;
  27134. begin
  27135. pTDefRegMap(@Self)^.&set := $00400000;
  27136. end;
  27137. procedure TINT_IFS0.clearOC4IF; inline;
  27138. begin
  27139. pTDefRegMap(@Self)^.clr := $00400000;
  27140. end;
  27141. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  27142. begin
  27143. if thebits = 0 then
  27144. pTDefRegMap(@Self)^.clr := $00400000
  27145. else
  27146. pTDefRegMap(@Self)^.&set := $00400000;
  27147. end;
  27148. function TINT_IFS0.getOC4IF : TBits_1; inline;
  27149. begin
  27150. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27151. end;
  27152. procedure TINT_IFS0.setINT4IF; inline;
  27153. begin
  27154. pTDefRegMap(@Self)^.&set := $00800000;
  27155. end;
  27156. procedure TINT_IFS0.clearINT4IF; inline;
  27157. begin
  27158. pTDefRegMap(@Self)^.clr := $00800000;
  27159. end;
  27160. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  27161. begin
  27162. if thebits = 0 then
  27163. pTDefRegMap(@Self)^.clr := $00800000
  27164. else
  27165. pTDefRegMap(@Self)^.&set := $00800000;
  27166. end;
  27167. function TINT_IFS0.getINT4IF : TBits_1; inline;
  27168. begin
  27169. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27170. end;
  27171. procedure TINT_IFS0.setT5IF; inline;
  27172. begin
  27173. pTDefRegMap(@Self)^.&set := $01000000;
  27174. end;
  27175. procedure TINT_IFS0.clearT5IF; inline;
  27176. begin
  27177. pTDefRegMap(@Self)^.clr := $01000000;
  27178. end;
  27179. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  27180. begin
  27181. if thebits = 0 then
  27182. pTDefRegMap(@Self)^.clr := $01000000
  27183. else
  27184. pTDefRegMap(@Self)^.&set := $01000000;
  27185. end;
  27186. function TINT_IFS0.getT5IF : TBits_1; inline;
  27187. begin
  27188. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27189. end;
  27190. procedure TINT_IFS0.setIC5EIF; inline;
  27191. begin
  27192. pTDefRegMap(@Self)^.&set := $02000000;
  27193. end;
  27194. procedure TINT_IFS0.clearIC5EIF; inline;
  27195. begin
  27196. pTDefRegMap(@Self)^.clr := $02000000;
  27197. end;
  27198. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  27199. begin
  27200. if thebits = 0 then
  27201. pTDefRegMap(@Self)^.clr := $02000000
  27202. else
  27203. pTDefRegMap(@Self)^.&set := $02000000;
  27204. end;
  27205. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  27206. begin
  27207. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27208. end;
  27209. procedure TINT_IFS0.setIC5IF; inline;
  27210. begin
  27211. pTDefRegMap(@Self)^.&set := $04000000;
  27212. end;
  27213. procedure TINT_IFS0.clearIC5IF; inline;
  27214. begin
  27215. pTDefRegMap(@Self)^.clr := $04000000;
  27216. end;
  27217. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  27218. begin
  27219. if thebits = 0 then
  27220. pTDefRegMap(@Self)^.clr := $04000000
  27221. else
  27222. pTDefRegMap(@Self)^.&set := $04000000;
  27223. end;
  27224. function TINT_IFS0.getIC5IF : TBits_1; inline;
  27225. begin
  27226. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27227. end;
  27228. procedure TINT_IFS0.setOC5IF; inline;
  27229. begin
  27230. pTDefRegMap(@Self)^.&set := $08000000;
  27231. end;
  27232. procedure TINT_IFS0.clearOC5IF; inline;
  27233. begin
  27234. pTDefRegMap(@Self)^.clr := $08000000;
  27235. end;
  27236. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  27237. begin
  27238. if thebits = 0 then
  27239. pTDefRegMap(@Self)^.clr := $08000000
  27240. else
  27241. pTDefRegMap(@Self)^.&set := $08000000;
  27242. end;
  27243. function TINT_IFS0.getOC5IF : TBits_1; inline;
  27244. begin
  27245. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27246. end;
  27247. procedure TINT_IFS0.setAD1IF; inline;
  27248. begin
  27249. pTDefRegMap(@Self)^.&set := $10000000;
  27250. end;
  27251. procedure TINT_IFS0.clearAD1IF; inline;
  27252. begin
  27253. pTDefRegMap(@Self)^.clr := $10000000;
  27254. end;
  27255. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  27256. begin
  27257. if thebits = 0 then
  27258. pTDefRegMap(@Self)^.clr := $10000000
  27259. else
  27260. pTDefRegMap(@Self)^.&set := $10000000;
  27261. end;
  27262. function TINT_IFS0.getAD1IF : TBits_1; inline;
  27263. begin
  27264. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27265. end;
  27266. procedure TINT_IFS0.setFSCMIF; inline;
  27267. begin
  27268. pTDefRegMap(@Self)^.&set := $20000000;
  27269. end;
  27270. procedure TINT_IFS0.clearFSCMIF; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.clr := $20000000;
  27273. end;
  27274. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  27275. begin
  27276. if thebits = 0 then
  27277. pTDefRegMap(@Self)^.clr := $20000000
  27278. else
  27279. pTDefRegMap(@Self)^.&set := $20000000;
  27280. end;
  27281. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  27282. begin
  27283. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27284. end;
  27285. procedure TINT_IFS0.setRTCCIF; inline;
  27286. begin
  27287. pTDefRegMap(@Self)^.&set := $40000000;
  27288. end;
  27289. procedure TINT_IFS0.clearRTCCIF; inline;
  27290. begin
  27291. pTDefRegMap(@Self)^.clr := $40000000;
  27292. end;
  27293. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  27294. begin
  27295. if thebits = 0 then
  27296. pTDefRegMap(@Self)^.clr := $40000000
  27297. else
  27298. pTDefRegMap(@Self)^.&set := $40000000;
  27299. end;
  27300. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  27301. begin
  27302. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27303. end;
  27304. procedure TINT_IFS0.setFCEIF; inline;
  27305. begin
  27306. pTDefRegMap(@Self)^.&set := $80000000;
  27307. end;
  27308. procedure TINT_IFS0.clearFCEIF; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.clr := $80000000;
  27311. end;
  27312. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  27313. begin
  27314. if thebits = 0 then
  27315. pTDefRegMap(@Self)^.clr := $80000000
  27316. else
  27317. pTDefRegMap(@Self)^.&set := $80000000;
  27318. end;
  27319. function TINT_IFS0.getFCEIF : TBits_1; inline;
  27320. begin
  27321. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27322. end;
  27323. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  27324. begin
  27325. pTDefRegMap(@Self)^.val := thebits;
  27326. end;
  27327. function TINT_IFS0.getw : TBits_32; inline;
  27328. begin
  27329. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27330. end;
  27331. procedure TINT_IFS1.setCMP1IF; inline;
  27332. begin
  27333. pTDefRegMap(@Self)^.&set := $00000001;
  27334. end;
  27335. procedure TINT_IFS1.clearCMP1IF; inline;
  27336. begin
  27337. pTDefRegMap(@Self)^.clr := $00000001;
  27338. end;
  27339. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  27340. begin
  27341. if thebits = 0 then
  27342. pTDefRegMap(@Self)^.clr := $00000001
  27343. else
  27344. pTDefRegMap(@Self)^.&set := $00000001;
  27345. end;
  27346. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  27347. begin
  27348. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27349. end;
  27350. procedure TINT_IFS1.setCMP2IF; inline;
  27351. begin
  27352. pTDefRegMap(@Self)^.&set := $00000002;
  27353. end;
  27354. procedure TINT_IFS1.clearCMP2IF; inline;
  27355. begin
  27356. pTDefRegMap(@Self)^.clr := $00000002;
  27357. end;
  27358. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  27359. begin
  27360. if thebits = 0 then
  27361. pTDefRegMap(@Self)^.clr := $00000002
  27362. else
  27363. pTDefRegMap(@Self)^.&set := $00000002;
  27364. end;
  27365. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  27366. begin
  27367. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27368. end;
  27369. procedure TINT_IFS1.setCMP3IF; inline;
  27370. begin
  27371. pTDefRegMap(@Self)^.&set := $00000004;
  27372. end;
  27373. procedure TINT_IFS1.clearCMP3IF; inline;
  27374. begin
  27375. pTDefRegMap(@Self)^.clr := $00000004;
  27376. end;
  27377. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  27378. begin
  27379. if thebits = 0 then
  27380. pTDefRegMap(@Self)^.clr := $00000004
  27381. else
  27382. pTDefRegMap(@Self)^.&set := $00000004;
  27383. end;
  27384. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  27385. begin
  27386. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27387. end;
  27388. procedure TINT_IFS1.setUSBIF; inline;
  27389. begin
  27390. pTDefRegMap(@Self)^.&set := $00000008;
  27391. end;
  27392. procedure TINT_IFS1.clearUSBIF; inline;
  27393. begin
  27394. pTDefRegMap(@Self)^.clr := $00000008;
  27395. end;
  27396. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  27397. begin
  27398. if thebits = 0 then
  27399. pTDefRegMap(@Self)^.clr := $00000008
  27400. else
  27401. pTDefRegMap(@Self)^.&set := $00000008;
  27402. end;
  27403. function TINT_IFS1.getUSBIF : TBits_1; inline;
  27404. begin
  27405. getUSBIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27406. end;
  27407. procedure TINT_IFS1.setSPI1EIF; inline;
  27408. begin
  27409. pTDefRegMap(@Self)^.&set := $00000010;
  27410. end;
  27411. procedure TINT_IFS1.clearSPI1EIF; inline;
  27412. begin
  27413. pTDefRegMap(@Self)^.clr := $00000010;
  27414. end;
  27415. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  27416. begin
  27417. if thebits = 0 then
  27418. pTDefRegMap(@Self)^.clr := $00000010
  27419. else
  27420. pTDefRegMap(@Self)^.&set := $00000010;
  27421. end;
  27422. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  27423. begin
  27424. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27425. end;
  27426. procedure TINT_IFS1.setSPI1RXIF; inline;
  27427. begin
  27428. pTDefRegMap(@Self)^.&set := $00000020;
  27429. end;
  27430. procedure TINT_IFS1.clearSPI1RXIF; inline;
  27431. begin
  27432. pTDefRegMap(@Self)^.clr := $00000020;
  27433. end;
  27434. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  27435. begin
  27436. if thebits = 0 then
  27437. pTDefRegMap(@Self)^.clr := $00000020
  27438. else
  27439. pTDefRegMap(@Self)^.&set := $00000020;
  27440. end;
  27441. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  27442. begin
  27443. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27444. end;
  27445. procedure TINT_IFS1.setSPI1TXIF; inline;
  27446. begin
  27447. pTDefRegMap(@Self)^.&set := $00000040;
  27448. end;
  27449. procedure TINT_IFS1.clearSPI1TXIF; inline;
  27450. begin
  27451. pTDefRegMap(@Self)^.clr := $00000040;
  27452. end;
  27453. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  27454. begin
  27455. if thebits = 0 then
  27456. pTDefRegMap(@Self)^.clr := $00000040
  27457. else
  27458. pTDefRegMap(@Self)^.&set := $00000040;
  27459. end;
  27460. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  27461. begin
  27462. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27463. end;
  27464. procedure TINT_IFS1.setU1EIF; inline;
  27465. begin
  27466. pTDefRegMap(@Self)^.&set := $00000080;
  27467. end;
  27468. procedure TINT_IFS1.clearU1EIF; inline;
  27469. begin
  27470. pTDefRegMap(@Self)^.clr := $00000080;
  27471. end;
  27472. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  27473. begin
  27474. if thebits = 0 then
  27475. pTDefRegMap(@Self)^.clr := $00000080
  27476. else
  27477. pTDefRegMap(@Self)^.&set := $00000080;
  27478. end;
  27479. function TINT_IFS1.getU1EIF : TBits_1; inline;
  27480. begin
  27481. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27482. end;
  27483. procedure TINT_IFS1.setU1RXIF; inline;
  27484. begin
  27485. pTDefRegMap(@Self)^.&set := $00000100;
  27486. end;
  27487. procedure TINT_IFS1.clearU1RXIF; inline;
  27488. begin
  27489. pTDefRegMap(@Self)^.clr := $00000100;
  27490. end;
  27491. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  27492. begin
  27493. if thebits = 0 then
  27494. pTDefRegMap(@Self)^.clr := $00000100
  27495. else
  27496. pTDefRegMap(@Self)^.&set := $00000100;
  27497. end;
  27498. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  27499. begin
  27500. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27501. end;
  27502. procedure TINT_IFS1.setU1TXIF; inline;
  27503. begin
  27504. pTDefRegMap(@Self)^.&set := $00000200;
  27505. end;
  27506. procedure TINT_IFS1.clearU1TXIF; inline;
  27507. begin
  27508. pTDefRegMap(@Self)^.clr := $00000200;
  27509. end;
  27510. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  27511. begin
  27512. if thebits = 0 then
  27513. pTDefRegMap(@Self)^.clr := $00000200
  27514. else
  27515. pTDefRegMap(@Self)^.&set := $00000200;
  27516. end;
  27517. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  27518. begin
  27519. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27520. end;
  27521. procedure TINT_IFS1.setI2C1BIF; inline;
  27522. begin
  27523. pTDefRegMap(@Self)^.&set := $00000400;
  27524. end;
  27525. procedure TINT_IFS1.clearI2C1BIF; inline;
  27526. begin
  27527. pTDefRegMap(@Self)^.clr := $00000400;
  27528. end;
  27529. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  27530. begin
  27531. if thebits = 0 then
  27532. pTDefRegMap(@Self)^.clr := $00000400
  27533. else
  27534. pTDefRegMap(@Self)^.&set := $00000400;
  27535. end;
  27536. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  27537. begin
  27538. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27539. end;
  27540. procedure TINT_IFS1.setI2C1SIF; inline;
  27541. begin
  27542. pTDefRegMap(@Self)^.&set := $00000800;
  27543. end;
  27544. procedure TINT_IFS1.clearI2C1SIF; inline;
  27545. begin
  27546. pTDefRegMap(@Self)^.clr := $00000800;
  27547. end;
  27548. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  27549. begin
  27550. if thebits = 0 then
  27551. pTDefRegMap(@Self)^.clr := $00000800
  27552. else
  27553. pTDefRegMap(@Self)^.&set := $00000800;
  27554. end;
  27555. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  27556. begin
  27557. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27558. end;
  27559. procedure TINT_IFS1.setI2C1MIF; inline;
  27560. begin
  27561. pTDefRegMap(@Self)^.&set := $00001000;
  27562. end;
  27563. procedure TINT_IFS1.clearI2C1MIF; inline;
  27564. begin
  27565. pTDefRegMap(@Self)^.clr := $00001000;
  27566. end;
  27567. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  27568. begin
  27569. if thebits = 0 then
  27570. pTDefRegMap(@Self)^.clr := $00001000
  27571. else
  27572. pTDefRegMap(@Self)^.&set := $00001000;
  27573. end;
  27574. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  27575. begin
  27576. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27577. end;
  27578. procedure TINT_IFS1.setCNAIF; inline;
  27579. begin
  27580. pTDefRegMap(@Self)^.&set := $00002000;
  27581. end;
  27582. procedure TINT_IFS1.clearCNAIF; inline;
  27583. begin
  27584. pTDefRegMap(@Self)^.clr := $00002000;
  27585. end;
  27586. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  27587. begin
  27588. if thebits = 0 then
  27589. pTDefRegMap(@Self)^.clr := $00002000
  27590. else
  27591. pTDefRegMap(@Self)^.&set := $00002000;
  27592. end;
  27593. function TINT_IFS1.getCNAIF : TBits_1; inline;
  27594. begin
  27595. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27596. end;
  27597. procedure TINT_IFS1.setCNBIF; inline;
  27598. begin
  27599. pTDefRegMap(@Self)^.&set := $00004000;
  27600. end;
  27601. procedure TINT_IFS1.clearCNBIF; inline;
  27602. begin
  27603. pTDefRegMap(@Self)^.clr := $00004000;
  27604. end;
  27605. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  27606. begin
  27607. if thebits = 0 then
  27608. pTDefRegMap(@Self)^.clr := $00004000
  27609. else
  27610. pTDefRegMap(@Self)^.&set := $00004000;
  27611. end;
  27612. function TINT_IFS1.getCNBIF : TBits_1; inline;
  27613. begin
  27614. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27615. end;
  27616. procedure TINT_IFS1.setCNCIF; inline;
  27617. begin
  27618. pTDefRegMap(@Self)^.&set := $00008000;
  27619. end;
  27620. procedure TINT_IFS1.clearCNCIF; inline;
  27621. begin
  27622. pTDefRegMap(@Self)^.clr := $00008000;
  27623. end;
  27624. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  27625. begin
  27626. if thebits = 0 then
  27627. pTDefRegMap(@Self)^.clr := $00008000
  27628. else
  27629. pTDefRegMap(@Self)^.&set := $00008000;
  27630. end;
  27631. function TINT_IFS1.getCNCIF : TBits_1; inline;
  27632. begin
  27633. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27634. end;
  27635. procedure TINT_IFS1.setPMPIF; inline;
  27636. begin
  27637. pTDefRegMap(@Self)^.&set := $00010000;
  27638. end;
  27639. procedure TINT_IFS1.clearPMPIF; inline;
  27640. begin
  27641. pTDefRegMap(@Self)^.clr := $00010000;
  27642. end;
  27643. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  27644. begin
  27645. if thebits = 0 then
  27646. pTDefRegMap(@Self)^.clr := $00010000
  27647. else
  27648. pTDefRegMap(@Self)^.&set := $00010000;
  27649. end;
  27650. function TINT_IFS1.getPMPIF : TBits_1; inline;
  27651. begin
  27652. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27653. end;
  27654. procedure TINT_IFS1.setPMPEIF; inline;
  27655. begin
  27656. pTDefRegMap(@Self)^.&set := $00020000;
  27657. end;
  27658. procedure TINT_IFS1.clearPMPEIF; inline;
  27659. begin
  27660. pTDefRegMap(@Self)^.clr := $00020000;
  27661. end;
  27662. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  27663. begin
  27664. if thebits = 0 then
  27665. pTDefRegMap(@Self)^.clr := $00020000
  27666. else
  27667. pTDefRegMap(@Self)^.&set := $00020000;
  27668. end;
  27669. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  27670. begin
  27671. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27672. end;
  27673. procedure TINT_IFS1.setSPI2EIF; inline;
  27674. begin
  27675. pTDefRegMap(@Self)^.&set := $00040000;
  27676. end;
  27677. procedure TINT_IFS1.clearSPI2EIF; inline;
  27678. begin
  27679. pTDefRegMap(@Self)^.clr := $00040000;
  27680. end;
  27681. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  27682. begin
  27683. if thebits = 0 then
  27684. pTDefRegMap(@Self)^.clr := $00040000
  27685. else
  27686. pTDefRegMap(@Self)^.&set := $00040000;
  27687. end;
  27688. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  27689. begin
  27690. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27691. end;
  27692. procedure TINT_IFS1.setSPI2RXIF; inline;
  27693. begin
  27694. pTDefRegMap(@Self)^.&set := $00080000;
  27695. end;
  27696. procedure TINT_IFS1.clearSPI2RXIF; inline;
  27697. begin
  27698. pTDefRegMap(@Self)^.clr := $00080000;
  27699. end;
  27700. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  27701. begin
  27702. if thebits = 0 then
  27703. pTDefRegMap(@Self)^.clr := $00080000
  27704. else
  27705. pTDefRegMap(@Self)^.&set := $00080000;
  27706. end;
  27707. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  27708. begin
  27709. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27710. end;
  27711. procedure TINT_IFS1.setSPI2TXIF; inline;
  27712. begin
  27713. pTDefRegMap(@Self)^.&set := $00100000;
  27714. end;
  27715. procedure TINT_IFS1.clearSPI2TXIF; inline;
  27716. begin
  27717. pTDefRegMap(@Self)^.clr := $00100000;
  27718. end;
  27719. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  27720. begin
  27721. if thebits = 0 then
  27722. pTDefRegMap(@Self)^.clr := $00100000
  27723. else
  27724. pTDefRegMap(@Self)^.&set := $00100000;
  27725. end;
  27726. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  27727. begin
  27728. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27729. end;
  27730. procedure TINT_IFS1.setU2EIF; inline;
  27731. begin
  27732. pTDefRegMap(@Self)^.&set := $00200000;
  27733. end;
  27734. procedure TINT_IFS1.clearU2EIF; inline;
  27735. begin
  27736. pTDefRegMap(@Self)^.clr := $00200000;
  27737. end;
  27738. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  27739. begin
  27740. if thebits = 0 then
  27741. pTDefRegMap(@Self)^.clr := $00200000
  27742. else
  27743. pTDefRegMap(@Self)^.&set := $00200000;
  27744. end;
  27745. function TINT_IFS1.getU2EIF : TBits_1; inline;
  27746. begin
  27747. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27748. end;
  27749. procedure TINT_IFS1.setU2RXIF; inline;
  27750. begin
  27751. pTDefRegMap(@Self)^.&set := $00400000;
  27752. end;
  27753. procedure TINT_IFS1.clearU2RXIF; inline;
  27754. begin
  27755. pTDefRegMap(@Self)^.clr := $00400000;
  27756. end;
  27757. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  27758. begin
  27759. if thebits = 0 then
  27760. pTDefRegMap(@Self)^.clr := $00400000
  27761. else
  27762. pTDefRegMap(@Self)^.&set := $00400000;
  27763. end;
  27764. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  27765. begin
  27766. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27767. end;
  27768. procedure TINT_IFS1.setU2TXIF; inline;
  27769. begin
  27770. pTDefRegMap(@Self)^.&set := $00800000;
  27771. end;
  27772. procedure TINT_IFS1.clearU2TXIF; inline;
  27773. begin
  27774. pTDefRegMap(@Self)^.clr := $00800000;
  27775. end;
  27776. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  27777. begin
  27778. if thebits = 0 then
  27779. pTDefRegMap(@Self)^.clr := $00800000
  27780. else
  27781. pTDefRegMap(@Self)^.&set := $00800000;
  27782. end;
  27783. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  27784. begin
  27785. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27786. end;
  27787. procedure TINT_IFS1.setI2C2BIF; inline;
  27788. begin
  27789. pTDefRegMap(@Self)^.&set := $01000000;
  27790. end;
  27791. procedure TINT_IFS1.clearI2C2BIF; inline;
  27792. begin
  27793. pTDefRegMap(@Self)^.clr := $01000000;
  27794. end;
  27795. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  27796. begin
  27797. if thebits = 0 then
  27798. pTDefRegMap(@Self)^.clr := $01000000
  27799. else
  27800. pTDefRegMap(@Self)^.&set := $01000000;
  27801. end;
  27802. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  27803. begin
  27804. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27805. end;
  27806. procedure TINT_IFS1.setI2C2SIF; inline;
  27807. begin
  27808. pTDefRegMap(@Self)^.&set := $02000000;
  27809. end;
  27810. procedure TINT_IFS1.clearI2C2SIF; inline;
  27811. begin
  27812. pTDefRegMap(@Self)^.clr := $02000000;
  27813. end;
  27814. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  27815. begin
  27816. if thebits = 0 then
  27817. pTDefRegMap(@Self)^.clr := $02000000
  27818. else
  27819. pTDefRegMap(@Self)^.&set := $02000000;
  27820. end;
  27821. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  27822. begin
  27823. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27824. end;
  27825. procedure TINT_IFS1.setI2C2MIF; inline;
  27826. begin
  27827. pTDefRegMap(@Self)^.&set := $04000000;
  27828. end;
  27829. procedure TINT_IFS1.clearI2C2MIF; inline;
  27830. begin
  27831. pTDefRegMap(@Self)^.clr := $04000000;
  27832. end;
  27833. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  27834. begin
  27835. if thebits = 0 then
  27836. pTDefRegMap(@Self)^.clr := $04000000
  27837. else
  27838. pTDefRegMap(@Self)^.&set := $04000000;
  27839. end;
  27840. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  27841. begin
  27842. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27843. end;
  27844. procedure TINT_IFS1.setCTMUIF; inline;
  27845. begin
  27846. pTDefRegMap(@Self)^.&set := $08000000;
  27847. end;
  27848. procedure TINT_IFS1.clearCTMUIF; inline;
  27849. begin
  27850. pTDefRegMap(@Self)^.clr := $08000000;
  27851. end;
  27852. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  27853. begin
  27854. if thebits = 0 then
  27855. pTDefRegMap(@Self)^.clr := $08000000
  27856. else
  27857. pTDefRegMap(@Self)^.&set := $08000000;
  27858. end;
  27859. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  27860. begin
  27861. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27862. end;
  27863. procedure TINT_IFS1.setDMA0IF; inline;
  27864. begin
  27865. pTDefRegMap(@Self)^.&set := $10000000;
  27866. end;
  27867. procedure TINT_IFS1.clearDMA0IF; inline;
  27868. begin
  27869. pTDefRegMap(@Self)^.clr := $10000000;
  27870. end;
  27871. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  27872. begin
  27873. if thebits = 0 then
  27874. pTDefRegMap(@Self)^.clr := $10000000
  27875. else
  27876. pTDefRegMap(@Self)^.&set := $10000000;
  27877. end;
  27878. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27879. begin
  27880. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27881. end;
  27882. procedure TINT_IFS1.setDMA1IF; inline;
  27883. begin
  27884. pTDefRegMap(@Self)^.&set := $20000000;
  27885. end;
  27886. procedure TINT_IFS1.clearDMA1IF; inline;
  27887. begin
  27888. pTDefRegMap(@Self)^.clr := $20000000;
  27889. end;
  27890. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27891. begin
  27892. if thebits = 0 then
  27893. pTDefRegMap(@Self)^.clr := $20000000
  27894. else
  27895. pTDefRegMap(@Self)^.&set := $20000000;
  27896. end;
  27897. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27898. begin
  27899. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27900. end;
  27901. procedure TINT_IFS1.setDMA2IF; inline;
  27902. begin
  27903. pTDefRegMap(@Self)^.&set := $40000000;
  27904. end;
  27905. procedure TINT_IFS1.clearDMA2IF; inline;
  27906. begin
  27907. pTDefRegMap(@Self)^.clr := $40000000;
  27908. end;
  27909. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27910. begin
  27911. if thebits = 0 then
  27912. pTDefRegMap(@Self)^.clr := $40000000
  27913. else
  27914. pTDefRegMap(@Self)^.&set := $40000000;
  27915. end;
  27916. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27917. begin
  27918. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27919. end;
  27920. procedure TINT_IFS1.setDMA3IF; inline;
  27921. begin
  27922. pTDefRegMap(@Self)^.&set := $80000000;
  27923. end;
  27924. procedure TINT_IFS1.clearDMA3IF; inline;
  27925. begin
  27926. pTDefRegMap(@Self)^.clr := $80000000;
  27927. end;
  27928. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27929. begin
  27930. if thebits = 0 then
  27931. pTDefRegMap(@Self)^.clr := $80000000
  27932. else
  27933. pTDefRegMap(@Self)^.&set := $80000000;
  27934. end;
  27935. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27936. begin
  27937. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27938. end;
  27939. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27940. begin
  27941. pTDefRegMap(@Self)^.val := thebits;
  27942. end;
  27943. function TINT_IFS1.getw : TBits_32; inline;
  27944. begin
  27945. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27946. end;
  27947. procedure TINT_IEC0.setCTIE; inline;
  27948. begin
  27949. pTDefRegMap(@Self)^.&set := $00000001;
  27950. end;
  27951. procedure TINT_IEC0.clearCTIE; inline;
  27952. begin
  27953. pTDefRegMap(@Self)^.clr := $00000001;
  27954. end;
  27955. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27956. begin
  27957. if thebits = 0 then
  27958. pTDefRegMap(@Self)^.clr := $00000001
  27959. else
  27960. pTDefRegMap(@Self)^.&set := $00000001;
  27961. end;
  27962. function TINT_IEC0.getCTIE : TBits_1; inline;
  27963. begin
  27964. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27965. end;
  27966. procedure TINT_IEC0.setCS0IE; inline;
  27967. begin
  27968. pTDefRegMap(@Self)^.&set := $00000002;
  27969. end;
  27970. procedure TINT_IEC0.clearCS0IE; inline;
  27971. begin
  27972. pTDefRegMap(@Self)^.clr := $00000002;
  27973. end;
  27974. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27975. begin
  27976. if thebits = 0 then
  27977. pTDefRegMap(@Self)^.clr := $00000002
  27978. else
  27979. pTDefRegMap(@Self)^.&set := $00000002;
  27980. end;
  27981. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27982. begin
  27983. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27984. end;
  27985. procedure TINT_IEC0.setCS1IE; inline;
  27986. begin
  27987. pTDefRegMap(@Self)^.&set := $00000004;
  27988. end;
  27989. procedure TINT_IEC0.clearCS1IE; inline;
  27990. begin
  27991. pTDefRegMap(@Self)^.clr := $00000004;
  27992. end;
  27993. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27994. begin
  27995. if thebits = 0 then
  27996. pTDefRegMap(@Self)^.clr := $00000004
  27997. else
  27998. pTDefRegMap(@Self)^.&set := $00000004;
  27999. end;
  28000. function TINT_IEC0.getCS1IE : TBits_1; inline;
  28001. begin
  28002. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28003. end;
  28004. procedure TINT_IEC0.setINT0IE; inline;
  28005. begin
  28006. pTDefRegMap(@Self)^.&set := $00000008;
  28007. end;
  28008. procedure TINT_IEC0.clearINT0IE; inline;
  28009. begin
  28010. pTDefRegMap(@Self)^.clr := $00000008;
  28011. end;
  28012. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  28013. begin
  28014. if thebits = 0 then
  28015. pTDefRegMap(@Self)^.clr := $00000008
  28016. else
  28017. pTDefRegMap(@Self)^.&set := $00000008;
  28018. end;
  28019. function TINT_IEC0.getINT0IE : TBits_1; inline;
  28020. begin
  28021. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28022. end;
  28023. procedure TINT_IEC0.setT1IE; inline;
  28024. begin
  28025. pTDefRegMap(@Self)^.&set := $00000010;
  28026. end;
  28027. procedure TINT_IEC0.clearT1IE; inline;
  28028. begin
  28029. pTDefRegMap(@Self)^.clr := $00000010;
  28030. end;
  28031. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  28032. begin
  28033. if thebits = 0 then
  28034. pTDefRegMap(@Self)^.clr := $00000010
  28035. else
  28036. pTDefRegMap(@Self)^.&set := $00000010;
  28037. end;
  28038. function TINT_IEC0.getT1IE : TBits_1; inline;
  28039. begin
  28040. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28041. end;
  28042. procedure TINT_IEC0.setIC1EIE; inline;
  28043. begin
  28044. pTDefRegMap(@Self)^.&set := $00000020;
  28045. end;
  28046. procedure TINT_IEC0.clearIC1EIE; inline;
  28047. begin
  28048. pTDefRegMap(@Self)^.clr := $00000020;
  28049. end;
  28050. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  28051. begin
  28052. if thebits = 0 then
  28053. pTDefRegMap(@Self)^.clr := $00000020
  28054. else
  28055. pTDefRegMap(@Self)^.&set := $00000020;
  28056. end;
  28057. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  28058. begin
  28059. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28060. end;
  28061. procedure TINT_IEC0.setIC1IE; inline;
  28062. begin
  28063. pTDefRegMap(@Self)^.&set := $00000040;
  28064. end;
  28065. procedure TINT_IEC0.clearIC1IE; inline;
  28066. begin
  28067. pTDefRegMap(@Self)^.clr := $00000040;
  28068. end;
  28069. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  28070. begin
  28071. if thebits = 0 then
  28072. pTDefRegMap(@Self)^.clr := $00000040
  28073. else
  28074. pTDefRegMap(@Self)^.&set := $00000040;
  28075. end;
  28076. function TINT_IEC0.getIC1IE : TBits_1; inline;
  28077. begin
  28078. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28079. end;
  28080. procedure TINT_IEC0.setOC1IE; inline;
  28081. begin
  28082. pTDefRegMap(@Self)^.&set := $00000080;
  28083. end;
  28084. procedure TINT_IEC0.clearOC1IE; inline;
  28085. begin
  28086. pTDefRegMap(@Self)^.clr := $00000080;
  28087. end;
  28088. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  28089. begin
  28090. if thebits = 0 then
  28091. pTDefRegMap(@Self)^.clr := $00000080
  28092. else
  28093. pTDefRegMap(@Self)^.&set := $00000080;
  28094. end;
  28095. function TINT_IEC0.getOC1IE : TBits_1; inline;
  28096. begin
  28097. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28098. end;
  28099. procedure TINT_IEC0.setINT1IE; inline;
  28100. begin
  28101. pTDefRegMap(@Self)^.&set := $00000100;
  28102. end;
  28103. procedure TINT_IEC0.clearINT1IE; inline;
  28104. begin
  28105. pTDefRegMap(@Self)^.clr := $00000100;
  28106. end;
  28107. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  28108. begin
  28109. if thebits = 0 then
  28110. pTDefRegMap(@Self)^.clr := $00000100
  28111. else
  28112. pTDefRegMap(@Self)^.&set := $00000100;
  28113. end;
  28114. function TINT_IEC0.getINT1IE : TBits_1; inline;
  28115. begin
  28116. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28117. end;
  28118. procedure TINT_IEC0.setT2IE; inline;
  28119. begin
  28120. pTDefRegMap(@Self)^.&set := $00000200;
  28121. end;
  28122. procedure TINT_IEC0.clearT2IE; inline;
  28123. begin
  28124. pTDefRegMap(@Self)^.clr := $00000200;
  28125. end;
  28126. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  28127. begin
  28128. if thebits = 0 then
  28129. pTDefRegMap(@Self)^.clr := $00000200
  28130. else
  28131. pTDefRegMap(@Self)^.&set := $00000200;
  28132. end;
  28133. function TINT_IEC0.getT2IE : TBits_1; inline;
  28134. begin
  28135. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28136. end;
  28137. procedure TINT_IEC0.setIC2EIE; inline;
  28138. begin
  28139. pTDefRegMap(@Self)^.&set := $00000400;
  28140. end;
  28141. procedure TINT_IEC0.clearIC2EIE; inline;
  28142. begin
  28143. pTDefRegMap(@Self)^.clr := $00000400;
  28144. end;
  28145. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  28146. begin
  28147. if thebits = 0 then
  28148. pTDefRegMap(@Self)^.clr := $00000400
  28149. else
  28150. pTDefRegMap(@Self)^.&set := $00000400;
  28151. end;
  28152. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  28153. begin
  28154. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28155. end;
  28156. procedure TINT_IEC0.setIC2IE; inline;
  28157. begin
  28158. pTDefRegMap(@Self)^.&set := $00000800;
  28159. end;
  28160. procedure TINT_IEC0.clearIC2IE; inline;
  28161. begin
  28162. pTDefRegMap(@Self)^.clr := $00000800;
  28163. end;
  28164. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  28165. begin
  28166. if thebits = 0 then
  28167. pTDefRegMap(@Self)^.clr := $00000800
  28168. else
  28169. pTDefRegMap(@Self)^.&set := $00000800;
  28170. end;
  28171. function TINT_IEC0.getIC2IE : TBits_1; inline;
  28172. begin
  28173. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28174. end;
  28175. procedure TINT_IEC0.setOC2IE; inline;
  28176. begin
  28177. pTDefRegMap(@Self)^.&set := $00001000;
  28178. end;
  28179. procedure TINT_IEC0.clearOC2IE; inline;
  28180. begin
  28181. pTDefRegMap(@Self)^.clr := $00001000;
  28182. end;
  28183. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  28184. begin
  28185. if thebits = 0 then
  28186. pTDefRegMap(@Self)^.clr := $00001000
  28187. else
  28188. pTDefRegMap(@Self)^.&set := $00001000;
  28189. end;
  28190. function TINT_IEC0.getOC2IE : TBits_1; inline;
  28191. begin
  28192. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28193. end;
  28194. procedure TINT_IEC0.setINT2IE; inline;
  28195. begin
  28196. pTDefRegMap(@Self)^.&set := $00002000;
  28197. end;
  28198. procedure TINT_IEC0.clearINT2IE; inline;
  28199. begin
  28200. pTDefRegMap(@Self)^.clr := $00002000;
  28201. end;
  28202. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  28203. begin
  28204. if thebits = 0 then
  28205. pTDefRegMap(@Self)^.clr := $00002000
  28206. else
  28207. pTDefRegMap(@Self)^.&set := $00002000;
  28208. end;
  28209. function TINT_IEC0.getINT2IE : TBits_1; inline;
  28210. begin
  28211. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28212. end;
  28213. procedure TINT_IEC0.setT3IE; inline;
  28214. begin
  28215. pTDefRegMap(@Self)^.&set := $00004000;
  28216. end;
  28217. procedure TINT_IEC0.clearT3IE; inline;
  28218. begin
  28219. pTDefRegMap(@Self)^.clr := $00004000;
  28220. end;
  28221. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  28222. begin
  28223. if thebits = 0 then
  28224. pTDefRegMap(@Self)^.clr := $00004000
  28225. else
  28226. pTDefRegMap(@Self)^.&set := $00004000;
  28227. end;
  28228. function TINT_IEC0.getT3IE : TBits_1; inline;
  28229. begin
  28230. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28231. end;
  28232. procedure TINT_IEC0.setIC3EIE; inline;
  28233. begin
  28234. pTDefRegMap(@Self)^.&set := $00008000;
  28235. end;
  28236. procedure TINT_IEC0.clearIC3EIE; inline;
  28237. begin
  28238. pTDefRegMap(@Self)^.clr := $00008000;
  28239. end;
  28240. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  28241. begin
  28242. if thebits = 0 then
  28243. pTDefRegMap(@Self)^.clr := $00008000
  28244. else
  28245. pTDefRegMap(@Self)^.&set := $00008000;
  28246. end;
  28247. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  28248. begin
  28249. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28250. end;
  28251. procedure TINT_IEC0.setIC3IE; inline;
  28252. begin
  28253. pTDefRegMap(@Self)^.&set := $00010000;
  28254. end;
  28255. procedure TINT_IEC0.clearIC3IE; inline;
  28256. begin
  28257. pTDefRegMap(@Self)^.clr := $00010000;
  28258. end;
  28259. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  28260. begin
  28261. if thebits = 0 then
  28262. pTDefRegMap(@Self)^.clr := $00010000
  28263. else
  28264. pTDefRegMap(@Self)^.&set := $00010000;
  28265. end;
  28266. function TINT_IEC0.getIC3IE : TBits_1; inline;
  28267. begin
  28268. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28269. end;
  28270. procedure TINT_IEC0.setOC3IE; inline;
  28271. begin
  28272. pTDefRegMap(@Self)^.&set := $00020000;
  28273. end;
  28274. procedure TINT_IEC0.clearOC3IE; inline;
  28275. begin
  28276. pTDefRegMap(@Self)^.clr := $00020000;
  28277. end;
  28278. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  28279. begin
  28280. if thebits = 0 then
  28281. pTDefRegMap(@Self)^.clr := $00020000
  28282. else
  28283. pTDefRegMap(@Self)^.&set := $00020000;
  28284. end;
  28285. function TINT_IEC0.getOC3IE : TBits_1; inline;
  28286. begin
  28287. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28288. end;
  28289. procedure TINT_IEC0.setINT3IE; inline;
  28290. begin
  28291. pTDefRegMap(@Self)^.&set := $00040000;
  28292. end;
  28293. procedure TINT_IEC0.clearINT3IE; inline;
  28294. begin
  28295. pTDefRegMap(@Self)^.clr := $00040000;
  28296. end;
  28297. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  28298. begin
  28299. if thebits = 0 then
  28300. pTDefRegMap(@Self)^.clr := $00040000
  28301. else
  28302. pTDefRegMap(@Self)^.&set := $00040000;
  28303. end;
  28304. function TINT_IEC0.getINT3IE : TBits_1; inline;
  28305. begin
  28306. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28307. end;
  28308. procedure TINT_IEC0.setT4IE; inline;
  28309. begin
  28310. pTDefRegMap(@Self)^.&set := $00080000;
  28311. end;
  28312. procedure TINT_IEC0.clearT4IE; inline;
  28313. begin
  28314. pTDefRegMap(@Self)^.clr := $00080000;
  28315. end;
  28316. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  28317. begin
  28318. if thebits = 0 then
  28319. pTDefRegMap(@Self)^.clr := $00080000
  28320. else
  28321. pTDefRegMap(@Self)^.&set := $00080000;
  28322. end;
  28323. function TINT_IEC0.getT4IE : TBits_1; inline;
  28324. begin
  28325. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28326. end;
  28327. procedure TINT_IEC0.setIC4EIE; inline;
  28328. begin
  28329. pTDefRegMap(@Self)^.&set := $00100000;
  28330. end;
  28331. procedure TINT_IEC0.clearIC4EIE; inline;
  28332. begin
  28333. pTDefRegMap(@Self)^.clr := $00100000;
  28334. end;
  28335. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  28336. begin
  28337. if thebits = 0 then
  28338. pTDefRegMap(@Self)^.clr := $00100000
  28339. else
  28340. pTDefRegMap(@Self)^.&set := $00100000;
  28341. end;
  28342. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  28343. begin
  28344. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28345. end;
  28346. procedure TINT_IEC0.setIC4IE; inline;
  28347. begin
  28348. pTDefRegMap(@Self)^.&set := $00200000;
  28349. end;
  28350. procedure TINT_IEC0.clearIC4IE; inline;
  28351. begin
  28352. pTDefRegMap(@Self)^.clr := $00200000;
  28353. end;
  28354. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  28355. begin
  28356. if thebits = 0 then
  28357. pTDefRegMap(@Self)^.clr := $00200000
  28358. else
  28359. pTDefRegMap(@Self)^.&set := $00200000;
  28360. end;
  28361. function TINT_IEC0.getIC4IE : TBits_1; inline;
  28362. begin
  28363. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28364. end;
  28365. procedure TINT_IEC0.setOC4IE; inline;
  28366. begin
  28367. pTDefRegMap(@Self)^.&set := $00400000;
  28368. end;
  28369. procedure TINT_IEC0.clearOC4IE; inline;
  28370. begin
  28371. pTDefRegMap(@Self)^.clr := $00400000;
  28372. end;
  28373. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  28374. begin
  28375. if thebits = 0 then
  28376. pTDefRegMap(@Self)^.clr := $00400000
  28377. else
  28378. pTDefRegMap(@Self)^.&set := $00400000;
  28379. end;
  28380. function TINT_IEC0.getOC4IE : TBits_1; inline;
  28381. begin
  28382. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28383. end;
  28384. procedure TINT_IEC0.setINT4IE; inline;
  28385. begin
  28386. pTDefRegMap(@Self)^.&set := $00800000;
  28387. end;
  28388. procedure TINT_IEC0.clearINT4IE; inline;
  28389. begin
  28390. pTDefRegMap(@Self)^.clr := $00800000;
  28391. end;
  28392. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  28393. begin
  28394. if thebits = 0 then
  28395. pTDefRegMap(@Self)^.clr := $00800000
  28396. else
  28397. pTDefRegMap(@Self)^.&set := $00800000;
  28398. end;
  28399. function TINT_IEC0.getINT4IE : TBits_1; inline;
  28400. begin
  28401. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28402. end;
  28403. procedure TINT_IEC0.setT5IE; inline;
  28404. begin
  28405. pTDefRegMap(@Self)^.&set := $01000000;
  28406. end;
  28407. procedure TINT_IEC0.clearT5IE; inline;
  28408. begin
  28409. pTDefRegMap(@Self)^.clr := $01000000;
  28410. end;
  28411. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  28412. begin
  28413. if thebits = 0 then
  28414. pTDefRegMap(@Self)^.clr := $01000000
  28415. else
  28416. pTDefRegMap(@Self)^.&set := $01000000;
  28417. end;
  28418. function TINT_IEC0.getT5IE : TBits_1; inline;
  28419. begin
  28420. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28421. end;
  28422. procedure TINT_IEC0.setIC5EIE; inline;
  28423. begin
  28424. pTDefRegMap(@Self)^.&set := $02000000;
  28425. end;
  28426. procedure TINT_IEC0.clearIC5EIE; inline;
  28427. begin
  28428. pTDefRegMap(@Self)^.clr := $02000000;
  28429. end;
  28430. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  28431. begin
  28432. if thebits = 0 then
  28433. pTDefRegMap(@Self)^.clr := $02000000
  28434. else
  28435. pTDefRegMap(@Self)^.&set := $02000000;
  28436. end;
  28437. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  28438. begin
  28439. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28440. end;
  28441. procedure TINT_IEC0.setIC5IE; inline;
  28442. begin
  28443. pTDefRegMap(@Self)^.&set := $04000000;
  28444. end;
  28445. procedure TINT_IEC0.clearIC5IE; inline;
  28446. begin
  28447. pTDefRegMap(@Self)^.clr := $04000000;
  28448. end;
  28449. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  28450. begin
  28451. if thebits = 0 then
  28452. pTDefRegMap(@Self)^.clr := $04000000
  28453. else
  28454. pTDefRegMap(@Self)^.&set := $04000000;
  28455. end;
  28456. function TINT_IEC0.getIC5IE : TBits_1; inline;
  28457. begin
  28458. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28459. end;
  28460. procedure TINT_IEC0.setOC5IE; inline;
  28461. begin
  28462. pTDefRegMap(@Self)^.&set := $08000000;
  28463. end;
  28464. procedure TINT_IEC0.clearOC5IE; inline;
  28465. begin
  28466. pTDefRegMap(@Self)^.clr := $08000000;
  28467. end;
  28468. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  28469. begin
  28470. if thebits = 0 then
  28471. pTDefRegMap(@Self)^.clr := $08000000
  28472. else
  28473. pTDefRegMap(@Self)^.&set := $08000000;
  28474. end;
  28475. function TINT_IEC0.getOC5IE : TBits_1; inline;
  28476. begin
  28477. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28478. end;
  28479. procedure TINT_IEC0.setAD1IE; inline;
  28480. begin
  28481. pTDefRegMap(@Self)^.&set := $10000000;
  28482. end;
  28483. procedure TINT_IEC0.clearAD1IE; inline;
  28484. begin
  28485. pTDefRegMap(@Self)^.clr := $10000000;
  28486. end;
  28487. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  28488. begin
  28489. if thebits = 0 then
  28490. pTDefRegMap(@Self)^.clr := $10000000
  28491. else
  28492. pTDefRegMap(@Self)^.&set := $10000000;
  28493. end;
  28494. function TINT_IEC0.getAD1IE : TBits_1; inline;
  28495. begin
  28496. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28497. end;
  28498. procedure TINT_IEC0.setFSCMIE; inline;
  28499. begin
  28500. pTDefRegMap(@Self)^.&set := $20000000;
  28501. end;
  28502. procedure TINT_IEC0.clearFSCMIE; inline;
  28503. begin
  28504. pTDefRegMap(@Self)^.clr := $20000000;
  28505. end;
  28506. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  28507. begin
  28508. if thebits = 0 then
  28509. pTDefRegMap(@Self)^.clr := $20000000
  28510. else
  28511. pTDefRegMap(@Self)^.&set := $20000000;
  28512. end;
  28513. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  28514. begin
  28515. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28516. end;
  28517. procedure TINT_IEC0.setRTCCIE; inline;
  28518. begin
  28519. pTDefRegMap(@Self)^.&set := $40000000;
  28520. end;
  28521. procedure TINT_IEC0.clearRTCCIE; inline;
  28522. begin
  28523. pTDefRegMap(@Self)^.clr := $40000000;
  28524. end;
  28525. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  28526. begin
  28527. if thebits = 0 then
  28528. pTDefRegMap(@Self)^.clr := $40000000
  28529. else
  28530. pTDefRegMap(@Self)^.&set := $40000000;
  28531. end;
  28532. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  28533. begin
  28534. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28535. end;
  28536. procedure TINT_IEC0.setFCEIE; inline;
  28537. begin
  28538. pTDefRegMap(@Self)^.&set := $80000000;
  28539. end;
  28540. procedure TINT_IEC0.clearFCEIE; inline;
  28541. begin
  28542. pTDefRegMap(@Self)^.clr := $80000000;
  28543. end;
  28544. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  28545. begin
  28546. if thebits = 0 then
  28547. pTDefRegMap(@Self)^.clr := $80000000
  28548. else
  28549. pTDefRegMap(@Self)^.&set := $80000000;
  28550. end;
  28551. function TINT_IEC0.getFCEIE : TBits_1; inline;
  28552. begin
  28553. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28554. end;
  28555. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  28556. begin
  28557. pTDefRegMap(@Self)^.val := thebits;
  28558. end;
  28559. function TINT_IEC0.getw : TBits_32; inline;
  28560. begin
  28561. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28562. end;
  28563. procedure TINT_IEC1.setCMP1IE; inline;
  28564. begin
  28565. pTDefRegMap(@Self)^.&set := $00000001;
  28566. end;
  28567. procedure TINT_IEC1.clearCMP1IE; inline;
  28568. begin
  28569. pTDefRegMap(@Self)^.clr := $00000001;
  28570. end;
  28571. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  28572. begin
  28573. if thebits = 0 then
  28574. pTDefRegMap(@Self)^.clr := $00000001
  28575. else
  28576. pTDefRegMap(@Self)^.&set := $00000001;
  28577. end;
  28578. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  28579. begin
  28580. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28581. end;
  28582. procedure TINT_IEC1.setCMP2IE; inline;
  28583. begin
  28584. pTDefRegMap(@Self)^.&set := $00000002;
  28585. end;
  28586. procedure TINT_IEC1.clearCMP2IE; inline;
  28587. begin
  28588. pTDefRegMap(@Self)^.clr := $00000002;
  28589. end;
  28590. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  28591. begin
  28592. if thebits = 0 then
  28593. pTDefRegMap(@Self)^.clr := $00000002
  28594. else
  28595. pTDefRegMap(@Self)^.&set := $00000002;
  28596. end;
  28597. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  28598. begin
  28599. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28600. end;
  28601. procedure TINT_IEC1.setCMP3IE; inline;
  28602. begin
  28603. pTDefRegMap(@Self)^.&set := $00000004;
  28604. end;
  28605. procedure TINT_IEC1.clearCMP3IE; inline;
  28606. begin
  28607. pTDefRegMap(@Self)^.clr := $00000004;
  28608. end;
  28609. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  28610. begin
  28611. if thebits = 0 then
  28612. pTDefRegMap(@Self)^.clr := $00000004
  28613. else
  28614. pTDefRegMap(@Self)^.&set := $00000004;
  28615. end;
  28616. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  28617. begin
  28618. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28619. end;
  28620. procedure TINT_IEC1.setUSBIE; inline;
  28621. begin
  28622. pTDefRegMap(@Self)^.&set := $00000008;
  28623. end;
  28624. procedure TINT_IEC1.clearUSBIE; inline;
  28625. begin
  28626. pTDefRegMap(@Self)^.clr := $00000008;
  28627. end;
  28628. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  28629. begin
  28630. if thebits = 0 then
  28631. pTDefRegMap(@Self)^.clr := $00000008
  28632. else
  28633. pTDefRegMap(@Self)^.&set := $00000008;
  28634. end;
  28635. function TINT_IEC1.getUSBIE : TBits_1; inline;
  28636. begin
  28637. getUSBIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28638. end;
  28639. procedure TINT_IEC1.setSPI1EIE; inline;
  28640. begin
  28641. pTDefRegMap(@Self)^.&set := $00000010;
  28642. end;
  28643. procedure TINT_IEC1.clearSPI1EIE; inline;
  28644. begin
  28645. pTDefRegMap(@Self)^.clr := $00000010;
  28646. end;
  28647. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  28648. begin
  28649. if thebits = 0 then
  28650. pTDefRegMap(@Self)^.clr := $00000010
  28651. else
  28652. pTDefRegMap(@Self)^.&set := $00000010;
  28653. end;
  28654. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  28655. begin
  28656. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28657. end;
  28658. procedure TINT_IEC1.setSPI1RXIE; inline;
  28659. begin
  28660. pTDefRegMap(@Self)^.&set := $00000020;
  28661. end;
  28662. procedure TINT_IEC1.clearSPI1RXIE; inline;
  28663. begin
  28664. pTDefRegMap(@Self)^.clr := $00000020;
  28665. end;
  28666. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  28667. begin
  28668. if thebits = 0 then
  28669. pTDefRegMap(@Self)^.clr := $00000020
  28670. else
  28671. pTDefRegMap(@Self)^.&set := $00000020;
  28672. end;
  28673. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  28674. begin
  28675. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28676. end;
  28677. procedure TINT_IEC1.setSPI1TXIE; inline;
  28678. begin
  28679. pTDefRegMap(@Self)^.&set := $00000040;
  28680. end;
  28681. procedure TINT_IEC1.clearSPI1TXIE; inline;
  28682. begin
  28683. pTDefRegMap(@Self)^.clr := $00000040;
  28684. end;
  28685. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  28686. begin
  28687. if thebits = 0 then
  28688. pTDefRegMap(@Self)^.clr := $00000040
  28689. else
  28690. pTDefRegMap(@Self)^.&set := $00000040;
  28691. end;
  28692. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  28693. begin
  28694. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28695. end;
  28696. procedure TINT_IEC1.setU1EIE; inline;
  28697. begin
  28698. pTDefRegMap(@Self)^.&set := $00000080;
  28699. end;
  28700. procedure TINT_IEC1.clearU1EIE; inline;
  28701. begin
  28702. pTDefRegMap(@Self)^.clr := $00000080;
  28703. end;
  28704. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  28705. begin
  28706. if thebits = 0 then
  28707. pTDefRegMap(@Self)^.clr := $00000080
  28708. else
  28709. pTDefRegMap(@Self)^.&set := $00000080;
  28710. end;
  28711. function TINT_IEC1.getU1EIE : TBits_1; inline;
  28712. begin
  28713. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28714. end;
  28715. procedure TINT_IEC1.setU1RXIE; inline;
  28716. begin
  28717. pTDefRegMap(@Self)^.&set := $00000100;
  28718. end;
  28719. procedure TINT_IEC1.clearU1RXIE; inline;
  28720. begin
  28721. pTDefRegMap(@Self)^.clr := $00000100;
  28722. end;
  28723. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  28724. begin
  28725. if thebits = 0 then
  28726. pTDefRegMap(@Self)^.clr := $00000100
  28727. else
  28728. pTDefRegMap(@Self)^.&set := $00000100;
  28729. end;
  28730. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  28731. begin
  28732. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28733. end;
  28734. procedure TINT_IEC1.setU1TXIE; inline;
  28735. begin
  28736. pTDefRegMap(@Self)^.&set := $00000200;
  28737. end;
  28738. procedure TINT_IEC1.clearU1TXIE; inline;
  28739. begin
  28740. pTDefRegMap(@Self)^.clr := $00000200;
  28741. end;
  28742. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  28743. begin
  28744. if thebits = 0 then
  28745. pTDefRegMap(@Self)^.clr := $00000200
  28746. else
  28747. pTDefRegMap(@Self)^.&set := $00000200;
  28748. end;
  28749. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  28750. begin
  28751. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28752. end;
  28753. procedure TINT_IEC1.setI2C1BIE; inline;
  28754. begin
  28755. pTDefRegMap(@Self)^.&set := $00000400;
  28756. end;
  28757. procedure TINT_IEC1.clearI2C1BIE; inline;
  28758. begin
  28759. pTDefRegMap(@Self)^.clr := $00000400;
  28760. end;
  28761. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  28762. begin
  28763. if thebits = 0 then
  28764. pTDefRegMap(@Self)^.clr := $00000400
  28765. else
  28766. pTDefRegMap(@Self)^.&set := $00000400;
  28767. end;
  28768. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  28769. begin
  28770. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28771. end;
  28772. procedure TINT_IEC1.setI2C1SIE; inline;
  28773. begin
  28774. pTDefRegMap(@Self)^.&set := $00000800;
  28775. end;
  28776. procedure TINT_IEC1.clearI2C1SIE; inline;
  28777. begin
  28778. pTDefRegMap(@Self)^.clr := $00000800;
  28779. end;
  28780. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  28781. begin
  28782. if thebits = 0 then
  28783. pTDefRegMap(@Self)^.clr := $00000800
  28784. else
  28785. pTDefRegMap(@Self)^.&set := $00000800;
  28786. end;
  28787. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  28788. begin
  28789. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28790. end;
  28791. procedure TINT_IEC1.setI2C1MIE; inline;
  28792. begin
  28793. pTDefRegMap(@Self)^.&set := $00001000;
  28794. end;
  28795. procedure TINT_IEC1.clearI2C1MIE; inline;
  28796. begin
  28797. pTDefRegMap(@Self)^.clr := $00001000;
  28798. end;
  28799. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  28800. begin
  28801. if thebits = 0 then
  28802. pTDefRegMap(@Self)^.clr := $00001000
  28803. else
  28804. pTDefRegMap(@Self)^.&set := $00001000;
  28805. end;
  28806. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  28807. begin
  28808. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28809. end;
  28810. procedure TINT_IEC1.setCNAIE; inline;
  28811. begin
  28812. pTDefRegMap(@Self)^.&set := $00002000;
  28813. end;
  28814. procedure TINT_IEC1.clearCNAIE; inline;
  28815. begin
  28816. pTDefRegMap(@Self)^.clr := $00002000;
  28817. end;
  28818. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  28819. begin
  28820. if thebits = 0 then
  28821. pTDefRegMap(@Self)^.clr := $00002000
  28822. else
  28823. pTDefRegMap(@Self)^.&set := $00002000;
  28824. end;
  28825. function TINT_IEC1.getCNAIE : TBits_1; inline;
  28826. begin
  28827. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28828. end;
  28829. procedure TINT_IEC1.setCNBIE; inline;
  28830. begin
  28831. pTDefRegMap(@Self)^.&set := $00004000;
  28832. end;
  28833. procedure TINT_IEC1.clearCNBIE; inline;
  28834. begin
  28835. pTDefRegMap(@Self)^.clr := $00004000;
  28836. end;
  28837. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  28838. begin
  28839. if thebits = 0 then
  28840. pTDefRegMap(@Self)^.clr := $00004000
  28841. else
  28842. pTDefRegMap(@Self)^.&set := $00004000;
  28843. end;
  28844. function TINT_IEC1.getCNBIE : TBits_1; inline;
  28845. begin
  28846. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28847. end;
  28848. procedure TINT_IEC1.setCNCIE; inline;
  28849. begin
  28850. pTDefRegMap(@Self)^.&set := $00008000;
  28851. end;
  28852. procedure TINT_IEC1.clearCNCIE; inline;
  28853. begin
  28854. pTDefRegMap(@Self)^.clr := $00008000;
  28855. end;
  28856. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  28857. begin
  28858. if thebits = 0 then
  28859. pTDefRegMap(@Self)^.clr := $00008000
  28860. else
  28861. pTDefRegMap(@Self)^.&set := $00008000;
  28862. end;
  28863. function TINT_IEC1.getCNCIE : TBits_1; inline;
  28864. begin
  28865. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28866. end;
  28867. procedure TINT_IEC1.setPMPIE; inline;
  28868. begin
  28869. pTDefRegMap(@Self)^.&set := $00010000;
  28870. end;
  28871. procedure TINT_IEC1.clearPMPIE; inline;
  28872. begin
  28873. pTDefRegMap(@Self)^.clr := $00010000;
  28874. end;
  28875. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  28876. begin
  28877. if thebits = 0 then
  28878. pTDefRegMap(@Self)^.clr := $00010000
  28879. else
  28880. pTDefRegMap(@Self)^.&set := $00010000;
  28881. end;
  28882. function TINT_IEC1.getPMPIE : TBits_1; inline;
  28883. begin
  28884. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28885. end;
  28886. procedure TINT_IEC1.setPMPEIE; inline;
  28887. begin
  28888. pTDefRegMap(@Self)^.&set := $00020000;
  28889. end;
  28890. procedure TINT_IEC1.clearPMPEIE; inline;
  28891. begin
  28892. pTDefRegMap(@Self)^.clr := $00020000;
  28893. end;
  28894. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  28895. begin
  28896. if thebits = 0 then
  28897. pTDefRegMap(@Self)^.clr := $00020000
  28898. else
  28899. pTDefRegMap(@Self)^.&set := $00020000;
  28900. end;
  28901. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28902. begin
  28903. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28904. end;
  28905. procedure TINT_IEC1.setSPI2EIE; inline;
  28906. begin
  28907. pTDefRegMap(@Self)^.&set := $00040000;
  28908. end;
  28909. procedure TINT_IEC1.clearSPI2EIE; inline;
  28910. begin
  28911. pTDefRegMap(@Self)^.clr := $00040000;
  28912. end;
  28913. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28914. begin
  28915. if thebits = 0 then
  28916. pTDefRegMap(@Self)^.clr := $00040000
  28917. else
  28918. pTDefRegMap(@Self)^.&set := $00040000;
  28919. end;
  28920. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28921. begin
  28922. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28923. end;
  28924. procedure TINT_IEC1.setSPI2RXIE; inline;
  28925. begin
  28926. pTDefRegMap(@Self)^.&set := $00080000;
  28927. end;
  28928. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28929. begin
  28930. pTDefRegMap(@Self)^.clr := $00080000;
  28931. end;
  28932. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28933. begin
  28934. if thebits = 0 then
  28935. pTDefRegMap(@Self)^.clr := $00080000
  28936. else
  28937. pTDefRegMap(@Self)^.&set := $00080000;
  28938. end;
  28939. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28940. begin
  28941. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28942. end;
  28943. procedure TINT_IEC1.setSPI2TXIE; inline;
  28944. begin
  28945. pTDefRegMap(@Self)^.&set := $00100000;
  28946. end;
  28947. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28948. begin
  28949. pTDefRegMap(@Self)^.clr := $00100000;
  28950. end;
  28951. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28952. begin
  28953. if thebits = 0 then
  28954. pTDefRegMap(@Self)^.clr := $00100000
  28955. else
  28956. pTDefRegMap(@Self)^.&set := $00100000;
  28957. end;
  28958. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28959. begin
  28960. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28961. end;
  28962. procedure TINT_IEC1.setU2EIE; inline;
  28963. begin
  28964. pTDefRegMap(@Self)^.&set := $00200000;
  28965. end;
  28966. procedure TINT_IEC1.clearU2EIE; inline;
  28967. begin
  28968. pTDefRegMap(@Self)^.clr := $00200000;
  28969. end;
  28970. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28971. begin
  28972. if thebits = 0 then
  28973. pTDefRegMap(@Self)^.clr := $00200000
  28974. else
  28975. pTDefRegMap(@Self)^.&set := $00200000;
  28976. end;
  28977. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28978. begin
  28979. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28980. end;
  28981. procedure TINT_IEC1.setU2RXIE; inline;
  28982. begin
  28983. pTDefRegMap(@Self)^.&set := $00400000;
  28984. end;
  28985. procedure TINT_IEC1.clearU2RXIE; inline;
  28986. begin
  28987. pTDefRegMap(@Self)^.clr := $00400000;
  28988. end;
  28989. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28990. begin
  28991. if thebits = 0 then
  28992. pTDefRegMap(@Self)^.clr := $00400000
  28993. else
  28994. pTDefRegMap(@Self)^.&set := $00400000;
  28995. end;
  28996. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28997. begin
  28998. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28999. end;
  29000. procedure TINT_IEC1.setU2TXIE; inline;
  29001. begin
  29002. pTDefRegMap(@Self)^.&set := $00800000;
  29003. end;
  29004. procedure TINT_IEC1.clearU2TXIE; inline;
  29005. begin
  29006. pTDefRegMap(@Self)^.clr := $00800000;
  29007. end;
  29008. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  29009. begin
  29010. if thebits = 0 then
  29011. pTDefRegMap(@Self)^.clr := $00800000
  29012. else
  29013. pTDefRegMap(@Self)^.&set := $00800000;
  29014. end;
  29015. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  29016. begin
  29017. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  29018. end;
  29019. procedure TINT_IEC1.setI2C2BIE; inline;
  29020. begin
  29021. pTDefRegMap(@Self)^.&set := $01000000;
  29022. end;
  29023. procedure TINT_IEC1.clearI2C2BIE; inline;
  29024. begin
  29025. pTDefRegMap(@Self)^.clr := $01000000;
  29026. end;
  29027. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  29028. begin
  29029. if thebits = 0 then
  29030. pTDefRegMap(@Self)^.clr := $01000000
  29031. else
  29032. pTDefRegMap(@Self)^.&set := $01000000;
  29033. end;
  29034. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  29035. begin
  29036. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29037. end;
  29038. procedure TINT_IEC1.setI2C2SIE; inline;
  29039. begin
  29040. pTDefRegMap(@Self)^.&set := $02000000;
  29041. end;
  29042. procedure TINT_IEC1.clearI2C2SIE; inline;
  29043. begin
  29044. pTDefRegMap(@Self)^.clr := $02000000;
  29045. end;
  29046. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  29047. begin
  29048. if thebits = 0 then
  29049. pTDefRegMap(@Self)^.clr := $02000000
  29050. else
  29051. pTDefRegMap(@Self)^.&set := $02000000;
  29052. end;
  29053. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  29054. begin
  29055. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  29056. end;
  29057. procedure TINT_IEC1.setI2C2MIE; inline;
  29058. begin
  29059. pTDefRegMap(@Self)^.&set := $04000000;
  29060. end;
  29061. procedure TINT_IEC1.clearI2C2MIE; inline;
  29062. begin
  29063. pTDefRegMap(@Self)^.clr := $04000000;
  29064. end;
  29065. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  29066. begin
  29067. if thebits = 0 then
  29068. pTDefRegMap(@Self)^.clr := $04000000
  29069. else
  29070. pTDefRegMap(@Self)^.&set := $04000000;
  29071. end;
  29072. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  29073. begin
  29074. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29075. end;
  29076. procedure TINT_IEC1.setCTMUIE; inline;
  29077. begin
  29078. pTDefRegMap(@Self)^.&set := $08000000;
  29079. end;
  29080. procedure TINT_IEC1.clearCTMUIE; inline;
  29081. begin
  29082. pTDefRegMap(@Self)^.clr := $08000000;
  29083. end;
  29084. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  29085. begin
  29086. if thebits = 0 then
  29087. pTDefRegMap(@Self)^.clr := $08000000
  29088. else
  29089. pTDefRegMap(@Self)^.&set := $08000000;
  29090. end;
  29091. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  29092. begin
  29093. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29094. end;
  29095. procedure TINT_IEC1.setDMA0IE; inline;
  29096. begin
  29097. pTDefRegMap(@Self)^.&set := $10000000;
  29098. end;
  29099. procedure TINT_IEC1.clearDMA0IE; inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.clr := $10000000;
  29102. end;
  29103. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  29104. begin
  29105. if thebits = 0 then
  29106. pTDefRegMap(@Self)^.clr := $10000000
  29107. else
  29108. pTDefRegMap(@Self)^.&set := $10000000;
  29109. end;
  29110. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  29111. begin
  29112. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  29113. end;
  29114. procedure TINT_IEC1.setDMA1IE; inline;
  29115. begin
  29116. pTDefRegMap(@Self)^.&set := $20000000;
  29117. end;
  29118. procedure TINT_IEC1.clearDMA1IE; inline;
  29119. begin
  29120. pTDefRegMap(@Self)^.clr := $20000000;
  29121. end;
  29122. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  29123. begin
  29124. if thebits = 0 then
  29125. pTDefRegMap(@Self)^.clr := $20000000
  29126. else
  29127. pTDefRegMap(@Self)^.&set := $20000000;
  29128. end;
  29129. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  29130. begin
  29131. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  29132. end;
  29133. procedure TINT_IEC1.setDMA2IE; inline;
  29134. begin
  29135. pTDefRegMap(@Self)^.&set := $40000000;
  29136. end;
  29137. procedure TINT_IEC1.clearDMA2IE; inline;
  29138. begin
  29139. pTDefRegMap(@Self)^.clr := $40000000;
  29140. end;
  29141. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  29142. begin
  29143. if thebits = 0 then
  29144. pTDefRegMap(@Self)^.clr := $40000000
  29145. else
  29146. pTDefRegMap(@Self)^.&set := $40000000;
  29147. end;
  29148. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  29149. begin
  29150. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  29151. end;
  29152. procedure TINT_IEC1.setDMA3IE; inline;
  29153. begin
  29154. pTDefRegMap(@Self)^.&set := $80000000;
  29155. end;
  29156. procedure TINT_IEC1.clearDMA3IE; inline;
  29157. begin
  29158. pTDefRegMap(@Self)^.clr := $80000000;
  29159. end;
  29160. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  29161. begin
  29162. if thebits = 0 then
  29163. pTDefRegMap(@Self)^.clr := $80000000
  29164. else
  29165. pTDefRegMap(@Self)^.&set := $80000000;
  29166. end;
  29167. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  29168. begin
  29169. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  29170. end;
  29171. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  29172. begin
  29173. pTDefRegMap(@Self)^.val := thebits;
  29174. end;
  29175. function TINT_IEC1.getw : TBits_32; inline;
  29176. begin
  29177. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29178. end;
  29179. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  29180. begin
  29181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29182. end;
  29183. function TINT_IPC0.getCTIS : TBits_2; inline;
  29184. begin
  29185. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29186. end;
  29187. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  29188. begin
  29189. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29190. end;
  29191. function TINT_IPC0.getCTIP : TBits_3; inline;
  29192. begin
  29193. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29194. end;
  29195. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29198. end;
  29199. function TINT_IPC0.getCS0IS : TBits_2; inline;
  29200. begin
  29201. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29202. end;
  29203. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  29204. begin
  29205. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29206. end;
  29207. function TINT_IPC0.getCS0IP : TBits_3; inline;
  29208. begin
  29209. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29210. end;
  29211. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  29212. begin
  29213. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29214. end;
  29215. function TINT_IPC0.getCS1IS : TBits_2; inline;
  29216. begin
  29217. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29218. end;
  29219. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  29220. begin
  29221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29222. end;
  29223. function TINT_IPC0.getCS1IP : TBits_3; inline;
  29224. begin
  29225. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29226. end;
  29227. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  29228. begin
  29229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29230. end;
  29231. function TINT_IPC0.getINT0IS : TBits_2; inline;
  29232. begin
  29233. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29234. end;
  29235. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  29236. begin
  29237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29238. end;
  29239. function TINT_IPC0.getINT0IP : TBits_3; inline;
  29240. begin
  29241. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29242. end;
  29243. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  29244. begin
  29245. pTDefRegMap(@Self)^.val := thebits;
  29246. end;
  29247. function TINT_IPC0.getw : TBits_32; inline;
  29248. begin
  29249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29250. end;
  29251. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  29252. begin
  29253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29254. end;
  29255. function TINT_IPC1.getT1IS : TBits_2; inline;
  29256. begin
  29257. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29258. end;
  29259. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  29260. begin
  29261. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29262. end;
  29263. function TINT_IPC1.getT1IP : TBits_3; inline;
  29264. begin
  29265. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29266. end;
  29267. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  29268. begin
  29269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29270. end;
  29271. function TINT_IPC1.getIC1IS : TBits_2; inline;
  29272. begin
  29273. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29274. end;
  29275. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29278. end;
  29279. function TINT_IPC1.getIC1IP : TBits_3; inline;
  29280. begin
  29281. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29282. end;
  29283. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  29284. begin
  29285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29286. end;
  29287. function TINT_IPC1.getOC1IS : TBits_2; inline;
  29288. begin
  29289. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29290. end;
  29291. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  29292. begin
  29293. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29294. end;
  29295. function TINT_IPC1.getOC1IP : TBits_3; inline;
  29296. begin
  29297. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29298. end;
  29299. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  29300. begin
  29301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29302. end;
  29303. function TINT_IPC1.getINT1IS : TBits_2; inline;
  29304. begin
  29305. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29306. end;
  29307. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  29308. begin
  29309. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29310. end;
  29311. function TINT_IPC1.getINT1IP : TBits_3; inline;
  29312. begin
  29313. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29314. end;
  29315. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  29316. begin
  29317. pTDefRegMap(@Self)^.val := thebits;
  29318. end;
  29319. function TINT_IPC1.getw : TBits_32; inline;
  29320. begin
  29321. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29322. end;
  29323. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  29324. begin
  29325. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29326. end;
  29327. function TINT_IPC2.getT2IS : TBits_2; inline;
  29328. begin
  29329. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29330. end;
  29331. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  29332. begin
  29333. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29334. end;
  29335. function TINT_IPC2.getT2IP : TBits_3; inline;
  29336. begin
  29337. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29338. end;
  29339. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  29340. begin
  29341. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29342. end;
  29343. function TINT_IPC2.getIC2IS : TBits_2; inline;
  29344. begin
  29345. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29346. end;
  29347. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  29348. begin
  29349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29350. end;
  29351. function TINT_IPC2.getIC2IP : TBits_3; inline;
  29352. begin
  29353. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29354. end;
  29355. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29358. end;
  29359. function TINT_IPC2.getOC2IS : TBits_2; inline;
  29360. begin
  29361. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29362. end;
  29363. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  29364. begin
  29365. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29366. end;
  29367. function TINT_IPC2.getOC2IP : TBits_3; inline;
  29368. begin
  29369. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29370. end;
  29371. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  29372. begin
  29373. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29374. end;
  29375. function TINT_IPC2.getINT2IS : TBits_2; inline;
  29376. begin
  29377. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29378. end;
  29379. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  29380. begin
  29381. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29382. end;
  29383. function TINT_IPC2.getINT2IP : TBits_3; inline;
  29384. begin
  29385. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29386. end;
  29387. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  29388. begin
  29389. pTDefRegMap(@Self)^.val := thebits;
  29390. end;
  29391. function TINT_IPC2.getw : TBits_32; inline;
  29392. begin
  29393. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29394. end;
  29395. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  29396. begin
  29397. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29398. end;
  29399. function TINT_IPC3.getT3IS : TBits_2; inline;
  29400. begin
  29401. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29402. end;
  29403. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  29404. begin
  29405. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29406. end;
  29407. function TINT_IPC3.getT3IP : TBits_3; inline;
  29408. begin
  29409. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29410. end;
  29411. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  29412. begin
  29413. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29414. end;
  29415. function TINT_IPC3.getIC3IS : TBits_2; inline;
  29416. begin
  29417. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29418. end;
  29419. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  29420. begin
  29421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29422. end;
  29423. function TINT_IPC3.getIC3IP : TBits_3; inline;
  29424. begin
  29425. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29426. end;
  29427. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  29428. begin
  29429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29430. end;
  29431. function TINT_IPC3.getOC3IS : TBits_2; inline;
  29432. begin
  29433. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29434. end;
  29435. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  29436. begin
  29437. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29438. end;
  29439. function TINT_IPC3.getOC3IP : TBits_3; inline;
  29440. begin
  29441. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29442. end;
  29443. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  29444. begin
  29445. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29446. end;
  29447. function TINT_IPC3.getINT3IS : TBits_2; inline;
  29448. begin
  29449. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29450. end;
  29451. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  29452. begin
  29453. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29454. end;
  29455. function TINT_IPC3.getINT3IP : TBits_3; inline;
  29456. begin
  29457. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29458. end;
  29459. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  29460. begin
  29461. pTDefRegMap(@Self)^.val := thebits;
  29462. end;
  29463. function TINT_IPC3.getw : TBits_32; inline;
  29464. begin
  29465. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29466. end;
  29467. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  29468. begin
  29469. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29470. end;
  29471. function TINT_IPC4.getT4IS : TBits_2; inline;
  29472. begin
  29473. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29474. end;
  29475. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  29476. begin
  29477. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29478. end;
  29479. function TINT_IPC4.getT4IP : TBits_3; inline;
  29480. begin
  29481. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29482. end;
  29483. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  29484. begin
  29485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29486. end;
  29487. function TINT_IPC4.getIC4IS : TBits_2; inline;
  29488. begin
  29489. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29490. end;
  29491. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  29492. begin
  29493. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29494. end;
  29495. function TINT_IPC4.getIC4IP : TBits_3; inline;
  29496. begin
  29497. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29498. end;
  29499. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  29500. begin
  29501. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29502. end;
  29503. function TINT_IPC4.getOC4IS : TBits_2; inline;
  29504. begin
  29505. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29506. end;
  29507. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  29508. begin
  29509. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29510. end;
  29511. function TINT_IPC4.getOC4IP : TBits_3; inline;
  29512. begin
  29513. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29514. end;
  29515. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  29516. begin
  29517. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29518. end;
  29519. function TINT_IPC4.getINT4IS : TBits_2; inline;
  29520. begin
  29521. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29522. end;
  29523. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  29524. begin
  29525. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29526. end;
  29527. function TINT_IPC4.getINT4IP : TBits_3; inline;
  29528. begin
  29529. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29530. end;
  29531. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  29532. begin
  29533. pTDefRegMap(@Self)^.val := thebits;
  29534. end;
  29535. function TINT_IPC4.getw : TBits_32; inline;
  29536. begin
  29537. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29538. end;
  29539. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  29540. begin
  29541. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29542. end;
  29543. function TINT_IPC5.getT5IS : TBits_2; inline;
  29544. begin
  29545. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29546. end;
  29547. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  29548. begin
  29549. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29550. end;
  29551. function TINT_IPC5.getT5IP : TBits_3; inline;
  29552. begin
  29553. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29554. end;
  29555. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  29556. begin
  29557. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29558. end;
  29559. function TINT_IPC5.getIC5IS : TBits_2; inline;
  29560. begin
  29561. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29562. end;
  29563. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  29564. begin
  29565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29566. end;
  29567. function TINT_IPC5.getIC5IP : TBits_3; inline;
  29568. begin
  29569. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29570. end;
  29571. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  29572. begin
  29573. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29574. end;
  29575. function TINT_IPC5.getOC5IS : TBits_2; inline;
  29576. begin
  29577. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29578. end;
  29579. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  29580. begin
  29581. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29582. end;
  29583. function TINT_IPC5.getOC5IP : TBits_3; inline;
  29584. begin
  29585. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29586. end;
  29587. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  29588. begin
  29589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29590. end;
  29591. function TINT_IPC5.getAD1IS : TBits_2; inline;
  29592. begin
  29593. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29594. end;
  29595. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  29596. begin
  29597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29598. end;
  29599. function TINT_IPC5.getAD1IP : TBits_3; inline;
  29600. begin
  29601. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29602. end;
  29603. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  29604. begin
  29605. pTDefRegMap(@Self)^.val := thebits;
  29606. end;
  29607. function TINT_IPC5.getw : TBits_32; inline;
  29608. begin
  29609. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29610. end;
  29611. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  29612. begin
  29613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29614. end;
  29615. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  29616. begin
  29617. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29618. end;
  29619. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  29620. begin
  29621. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29622. end;
  29623. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  29624. begin
  29625. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29626. end;
  29627. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  29628. begin
  29629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29630. end;
  29631. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  29632. begin
  29633. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29634. end;
  29635. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  29636. begin
  29637. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29638. end;
  29639. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  29640. begin
  29641. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29642. end;
  29643. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  29644. begin
  29645. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29646. end;
  29647. function TINT_IPC6.getFCEIS : TBits_2; inline;
  29648. begin
  29649. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29650. end;
  29651. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  29652. begin
  29653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29654. end;
  29655. function TINT_IPC6.getFCEIP : TBits_3; inline;
  29656. begin
  29657. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29658. end;
  29659. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  29660. begin
  29661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29662. end;
  29663. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  29664. begin
  29665. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29666. end;
  29667. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  29668. begin
  29669. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29670. end;
  29671. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  29672. begin
  29673. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29674. end;
  29675. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  29676. begin
  29677. pTDefRegMap(@Self)^.val := thebits;
  29678. end;
  29679. function TINT_IPC6.getw : TBits_32; inline;
  29680. begin
  29681. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29682. end;
  29683. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  29684. begin
  29685. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29686. end;
  29687. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  29688. begin
  29689. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29690. end;
  29691. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  29692. begin
  29693. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29694. end;
  29695. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  29696. begin
  29697. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29698. end;
  29699. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  29700. begin
  29701. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29702. end;
  29703. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  29704. begin
  29705. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29706. end;
  29707. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  29708. begin
  29709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29710. end;
  29711. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  29712. begin
  29713. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29714. end;
  29715. procedure TINT_IPC7.setUSBIS(thebits : TBits_2); inline;
  29716. begin
  29717. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29718. end;
  29719. function TINT_IPC7.getUSBIS : TBits_2; inline;
  29720. begin
  29721. getUSBIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29722. end;
  29723. procedure TINT_IPC7.setUSBIP(thebits : TBits_3); inline;
  29724. begin
  29725. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29726. end;
  29727. function TINT_IPC7.getUSBIP : TBits_3; inline;
  29728. begin
  29729. getUSBIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29730. end;
  29731. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  29732. begin
  29733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29734. end;
  29735. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  29736. begin
  29737. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29738. end;
  29739. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  29740. begin
  29741. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29742. end;
  29743. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  29744. begin
  29745. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29746. end;
  29747. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  29748. begin
  29749. pTDefRegMap(@Self)^.val := thebits;
  29750. end;
  29751. function TINT_IPC7.getw : TBits_32; inline;
  29752. begin
  29753. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29754. end;
  29755. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  29756. begin
  29757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29758. end;
  29759. function TINT_IPC8.getU1IS : TBits_2; inline;
  29760. begin
  29761. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29762. end;
  29763. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  29764. begin
  29765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29766. end;
  29767. function TINT_IPC8.getU1IP : TBits_3; inline;
  29768. begin
  29769. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29770. end;
  29771. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  29772. begin
  29773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29774. end;
  29775. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  29776. begin
  29777. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29778. end;
  29779. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  29780. begin
  29781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29782. end;
  29783. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  29784. begin
  29785. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29786. end;
  29787. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  29788. begin
  29789. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29790. end;
  29791. function TINT_IPC8.getCNIS : TBits_2; inline;
  29792. begin
  29793. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29794. end;
  29795. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  29796. begin
  29797. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29798. end;
  29799. function TINT_IPC8.getCNIP : TBits_3; inline;
  29800. begin
  29801. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29802. end;
  29803. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  29804. begin
  29805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29806. end;
  29807. function TINT_IPC8.getPMPIS : TBits_2; inline;
  29808. begin
  29809. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29810. end;
  29811. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  29812. begin
  29813. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29814. end;
  29815. function TINT_IPC8.getPMPIP : TBits_3; inline;
  29816. begin
  29817. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29818. end;
  29819. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  29820. begin
  29821. pTDefRegMap(@Self)^.val := thebits;
  29822. end;
  29823. function TINT_IPC8.getw : TBits_32; inline;
  29824. begin
  29825. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29826. end;
  29827. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  29828. begin
  29829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29830. end;
  29831. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  29832. begin
  29833. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29834. end;
  29835. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  29836. begin
  29837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29838. end;
  29839. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  29840. begin
  29841. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29842. end;
  29843. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  29844. begin
  29845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29846. end;
  29847. function TINT_IPC9.getU2IS : TBits_2; inline;
  29848. begin
  29849. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29850. end;
  29851. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  29852. begin
  29853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29854. end;
  29855. function TINT_IPC9.getU2IP : TBits_3; inline;
  29856. begin
  29857. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29858. end;
  29859. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  29860. begin
  29861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29862. end;
  29863. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  29864. begin
  29865. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29866. end;
  29867. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  29868. begin
  29869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29870. end;
  29871. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  29872. begin
  29873. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29874. end;
  29875. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  29876. begin
  29877. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29878. end;
  29879. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  29880. begin
  29881. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29882. end;
  29883. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  29884. begin
  29885. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29886. end;
  29887. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  29888. begin
  29889. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29890. end;
  29891. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  29892. begin
  29893. pTDefRegMap(@Self)^.val := thebits;
  29894. end;
  29895. function TINT_IPC9.getw : TBits_32; inline;
  29896. begin
  29897. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29898. end;
  29899. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  29900. begin
  29901. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29902. end;
  29903. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  29904. begin
  29905. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29906. end;
  29907. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  29908. begin
  29909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29910. end;
  29911. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  29912. begin
  29913. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29914. end;
  29915. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29916. begin
  29917. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29918. end;
  29919. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29920. begin
  29921. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29922. end;
  29923. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29924. begin
  29925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29926. end;
  29927. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29928. begin
  29929. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29930. end;
  29931. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29932. begin
  29933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29934. end;
  29935. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29936. begin
  29937. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29938. end;
  29939. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29940. begin
  29941. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29942. end;
  29943. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29944. begin
  29945. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29946. end;
  29947. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29948. begin
  29949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29950. end;
  29951. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29952. begin
  29953. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29954. end;
  29955. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29956. begin
  29957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29958. end;
  29959. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29960. begin
  29961. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29962. end;
  29963. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29964. begin
  29965. pTDefRegMap(@Self)^.val := thebits;
  29966. end;
  29967. function TINT_IPC10.getw : TBits_32; inline;
  29968. begin
  29969. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29970. end;
  29971. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29972. begin
  29973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29974. end;
  29975. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29976. begin
  29977. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29978. end;
  29979. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29980. begin
  29981. pTDefRegMap(@Self)^.&set := $00000040;
  29982. end;
  29983. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29984. begin
  29985. pTDefRegMap(@Self)^.clr := $00000040;
  29986. end;
  29987. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29988. begin
  29989. if thebits = 0 then
  29990. pTDefRegMap(@Self)^.clr := $00000040
  29991. else
  29992. pTDefRegMap(@Self)^.&set := $00000040;
  29993. end;
  29994. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29995. begin
  29996. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29997. end;
  29998. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29999. begin
  30000. pTDefRegMap(@Self)^.&set := $00010000;
  30001. end;
  30002. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  30003. begin
  30004. pTDefRegMap(@Self)^.clr := $00010000;
  30005. end;
  30006. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  30007. begin
  30008. if thebits = 0 then
  30009. pTDefRegMap(@Self)^.clr := $00010000
  30010. else
  30011. pTDefRegMap(@Self)^.&set := $00010000;
  30012. end;
  30013. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  30014. begin
  30015. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30016. end;
  30017. procedure TBMX_BMXCON.setBMXERRDS; inline;
  30018. begin
  30019. pTDefRegMap(@Self)^.&set := $00020000;
  30020. end;
  30021. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  30022. begin
  30023. pTDefRegMap(@Self)^.clr := $00020000;
  30024. end;
  30025. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  30026. begin
  30027. if thebits = 0 then
  30028. pTDefRegMap(@Self)^.clr := $00020000
  30029. else
  30030. pTDefRegMap(@Self)^.&set := $00020000;
  30031. end;
  30032. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  30033. begin
  30034. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30035. end;
  30036. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  30037. begin
  30038. pTDefRegMap(@Self)^.&set := $00040000;
  30039. end;
  30040. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  30041. begin
  30042. pTDefRegMap(@Self)^.clr := $00040000;
  30043. end;
  30044. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  30045. begin
  30046. if thebits = 0 then
  30047. pTDefRegMap(@Self)^.clr := $00040000
  30048. else
  30049. pTDefRegMap(@Self)^.&set := $00040000;
  30050. end;
  30051. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  30052. begin
  30053. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30054. end;
  30055. procedure TBMX_BMXCON.setBMXERRICD; inline;
  30056. begin
  30057. pTDefRegMap(@Self)^.&set := $00080000;
  30058. end;
  30059. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  30060. begin
  30061. pTDefRegMap(@Self)^.clr := $00080000;
  30062. end;
  30063. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  30064. begin
  30065. if thebits = 0 then
  30066. pTDefRegMap(@Self)^.clr := $00080000
  30067. else
  30068. pTDefRegMap(@Self)^.&set := $00080000;
  30069. end;
  30070. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  30071. begin
  30072. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30073. end;
  30074. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  30075. begin
  30076. pTDefRegMap(@Self)^.&set := $00100000;
  30077. end;
  30078. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  30079. begin
  30080. pTDefRegMap(@Self)^.clr := $00100000;
  30081. end;
  30082. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  30083. begin
  30084. if thebits = 0 then
  30085. pTDefRegMap(@Self)^.clr := $00100000
  30086. else
  30087. pTDefRegMap(@Self)^.&set := $00100000;
  30088. end;
  30089. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  30090. begin
  30091. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30092. end;
  30093. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  30094. begin
  30095. pTDefRegMap(@Self)^.&set := $04000000;
  30096. end;
  30097. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  30098. begin
  30099. pTDefRegMap(@Self)^.clr := $04000000;
  30100. end;
  30101. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  30102. begin
  30103. if thebits = 0 then
  30104. pTDefRegMap(@Self)^.clr := $04000000
  30105. else
  30106. pTDefRegMap(@Self)^.&set := $04000000;
  30107. end;
  30108. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  30109. begin
  30110. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  30111. end;
  30112. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  30113. begin
  30114. pTDefRegMap(@Self)^.val := thebits;
  30115. end;
  30116. function TBMX_BMXCON.getw : TBits_32; inline;
  30117. begin
  30118. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30119. end;
  30120. procedure TDMAC_DMACON.setDMABUSY; inline;
  30121. begin
  30122. pTDefRegMap(@Self)^.&set := $00000800;
  30123. end;
  30124. procedure TDMAC_DMACON.clearDMABUSY; inline;
  30125. begin
  30126. pTDefRegMap(@Self)^.clr := $00000800;
  30127. end;
  30128. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  30129. begin
  30130. if thebits = 0 then
  30131. pTDefRegMap(@Self)^.clr := $00000800
  30132. else
  30133. pTDefRegMap(@Self)^.&set := $00000800;
  30134. end;
  30135. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  30136. begin
  30137. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30138. end;
  30139. procedure TDMAC_DMACON.setSUSPEND; inline;
  30140. begin
  30141. pTDefRegMap(@Self)^.&set := $00001000;
  30142. end;
  30143. procedure TDMAC_DMACON.clearSUSPEND; inline;
  30144. begin
  30145. pTDefRegMap(@Self)^.clr := $00001000;
  30146. end;
  30147. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  30148. begin
  30149. if thebits = 0 then
  30150. pTDefRegMap(@Self)^.clr := $00001000
  30151. else
  30152. pTDefRegMap(@Self)^.&set := $00001000;
  30153. end;
  30154. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  30155. begin
  30156. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30157. end;
  30158. procedure TDMAC_DMACON.setON; inline;
  30159. begin
  30160. pTDefRegMap(@Self)^.&set := $00008000;
  30161. end;
  30162. procedure TDMAC_DMACON.clearON; inline;
  30163. begin
  30164. pTDefRegMap(@Self)^.clr := $00008000;
  30165. end;
  30166. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  30167. begin
  30168. if thebits = 0 then
  30169. pTDefRegMap(@Self)^.clr := $00008000
  30170. else
  30171. pTDefRegMap(@Self)^.&set := $00008000;
  30172. end;
  30173. function TDMAC_DMACON.getON : TBits_1; inline;
  30174. begin
  30175. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30176. end;
  30177. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  30178. begin
  30179. pTDefRegMap(@Self)^.val := thebits;
  30180. end;
  30181. function TDMAC_DMACON.getw : TBits_32; inline;
  30182. begin
  30183. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30184. end;
  30185. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  30186. begin
  30187. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  30188. end;
  30189. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  30190. begin
  30191. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  30192. end;
  30193. procedure TDMAC_DMASTAT.setRDWR; inline;
  30194. begin
  30195. pTDefRegMap(@Self)^.&set := $00000008;
  30196. end;
  30197. procedure TDMAC_DMASTAT.clearRDWR; inline;
  30198. begin
  30199. pTDefRegMap(@Self)^.clr := $00000008;
  30200. end;
  30201. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  30202. begin
  30203. if thebits = 0 then
  30204. pTDefRegMap(@Self)^.clr := $00000008
  30205. else
  30206. pTDefRegMap(@Self)^.&set := $00000008;
  30207. end;
  30208. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  30209. begin
  30210. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30211. end;
  30212. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  30213. begin
  30214. pTDefRegMap(@Self)^.val := thebits;
  30215. end;
  30216. function TDMAC_DMASTAT.getw : TBits_32; inline;
  30217. begin
  30218. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30219. end;
  30220. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  30221. begin
  30222. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  30223. end;
  30224. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  30225. begin
  30226. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  30227. end;
  30228. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  30229. begin
  30230. pTDefRegMap(@Self)^.&set := $00000020;
  30231. end;
  30232. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  30233. begin
  30234. pTDefRegMap(@Self)^.clr := $00000020;
  30235. end;
  30236. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  30237. begin
  30238. if thebits = 0 then
  30239. pTDefRegMap(@Self)^.clr := $00000020
  30240. else
  30241. pTDefRegMap(@Self)^.&set := $00000020;
  30242. end;
  30243. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  30244. begin
  30245. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30246. end;
  30247. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  30248. begin
  30249. pTDefRegMap(@Self)^.&set := $00000040;
  30250. end;
  30251. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  30252. begin
  30253. pTDefRegMap(@Self)^.clr := $00000040;
  30254. end;
  30255. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  30256. begin
  30257. if thebits = 0 then
  30258. pTDefRegMap(@Self)^.clr := $00000040
  30259. else
  30260. pTDefRegMap(@Self)^.&set := $00000040;
  30261. end;
  30262. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  30263. begin
  30264. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30265. end;
  30266. procedure TDMAC_DCRCCON.setCRCEN; inline;
  30267. begin
  30268. pTDefRegMap(@Self)^.&set := $00000080;
  30269. end;
  30270. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  30271. begin
  30272. pTDefRegMap(@Self)^.clr := $00000080;
  30273. end;
  30274. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  30275. begin
  30276. if thebits = 0 then
  30277. pTDefRegMap(@Self)^.clr := $00000080
  30278. else
  30279. pTDefRegMap(@Self)^.&set := $00000080;
  30280. end;
  30281. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  30282. begin
  30283. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30284. end;
  30285. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  30286. begin
  30287. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  30288. end;
  30289. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  30290. begin
  30291. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  30292. end;
  30293. procedure TDMAC_DCRCCON.setBITO; inline;
  30294. begin
  30295. pTDefRegMap(@Self)^.&set := $01000000;
  30296. end;
  30297. procedure TDMAC_DCRCCON.clearBITO; inline;
  30298. begin
  30299. pTDefRegMap(@Self)^.clr := $01000000;
  30300. end;
  30301. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  30302. begin
  30303. if thebits = 0 then
  30304. pTDefRegMap(@Self)^.clr := $01000000
  30305. else
  30306. pTDefRegMap(@Self)^.&set := $01000000;
  30307. end;
  30308. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  30309. begin
  30310. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30311. end;
  30312. procedure TDMAC_DCRCCON.setWBO; inline;
  30313. begin
  30314. pTDefRegMap(@Self)^.&set := $08000000;
  30315. end;
  30316. procedure TDMAC_DCRCCON.clearWBO; inline;
  30317. begin
  30318. pTDefRegMap(@Self)^.clr := $08000000;
  30319. end;
  30320. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  30321. begin
  30322. if thebits = 0 then
  30323. pTDefRegMap(@Self)^.clr := $08000000
  30324. else
  30325. pTDefRegMap(@Self)^.&set := $08000000;
  30326. end;
  30327. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  30328. begin
  30329. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  30330. end;
  30331. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  30332. begin
  30333. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  30334. end;
  30335. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  30336. begin
  30337. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  30338. end;
  30339. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  30340. begin
  30341. pTDefRegMap(@Self)^.val := thebits;
  30342. end;
  30343. function TDMAC_DCRCCON.getw : TBits_32; inline;
  30344. begin
  30345. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30346. end;
  30347. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  30348. begin
  30349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30350. end;
  30351. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  30352. begin
  30353. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30354. end;
  30355. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  30356. begin
  30357. pTDefRegMap(@Self)^.&set := $00000004;
  30358. end;
  30359. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  30360. begin
  30361. pTDefRegMap(@Self)^.clr := $00000004;
  30362. end;
  30363. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  30364. begin
  30365. if thebits = 0 then
  30366. pTDefRegMap(@Self)^.clr := $00000004
  30367. else
  30368. pTDefRegMap(@Self)^.&set := $00000004;
  30369. end;
  30370. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  30371. begin
  30372. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30373. end;
  30374. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  30375. begin
  30376. pTDefRegMap(@Self)^.&set := $00000010;
  30377. end;
  30378. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  30379. begin
  30380. pTDefRegMap(@Self)^.clr := $00000010;
  30381. end;
  30382. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  30383. begin
  30384. if thebits = 0 then
  30385. pTDefRegMap(@Self)^.clr := $00000010
  30386. else
  30387. pTDefRegMap(@Self)^.&set := $00000010;
  30388. end;
  30389. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  30390. begin
  30391. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30392. end;
  30393. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  30394. begin
  30395. pTDefRegMap(@Self)^.&set := $00000020;
  30396. end;
  30397. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  30398. begin
  30399. pTDefRegMap(@Self)^.clr := $00000020;
  30400. end;
  30401. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  30402. begin
  30403. if thebits = 0 then
  30404. pTDefRegMap(@Self)^.clr := $00000020
  30405. else
  30406. pTDefRegMap(@Self)^.&set := $00000020;
  30407. end;
  30408. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  30409. begin
  30410. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30411. end;
  30412. procedure TDMAC0_DCH0CON.setCHAED; inline;
  30413. begin
  30414. pTDefRegMap(@Self)^.&set := $00000040;
  30415. end;
  30416. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  30417. begin
  30418. pTDefRegMap(@Self)^.clr := $00000040;
  30419. end;
  30420. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  30421. begin
  30422. if thebits = 0 then
  30423. pTDefRegMap(@Self)^.clr := $00000040
  30424. else
  30425. pTDefRegMap(@Self)^.&set := $00000040;
  30426. end;
  30427. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  30428. begin
  30429. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30430. end;
  30431. procedure TDMAC0_DCH0CON.setCHEN; inline;
  30432. begin
  30433. pTDefRegMap(@Self)^.&set := $00000080;
  30434. end;
  30435. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  30436. begin
  30437. pTDefRegMap(@Self)^.clr := $00000080;
  30438. end;
  30439. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  30440. begin
  30441. if thebits = 0 then
  30442. pTDefRegMap(@Self)^.clr := $00000080
  30443. else
  30444. pTDefRegMap(@Self)^.&set := $00000080;
  30445. end;
  30446. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  30447. begin
  30448. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30449. end;
  30450. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  30451. begin
  30452. pTDefRegMap(@Self)^.&set := $00000100;
  30453. end;
  30454. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  30455. begin
  30456. pTDefRegMap(@Self)^.clr := $00000100;
  30457. end;
  30458. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  30459. begin
  30460. if thebits = 0 then
  30461. pTDefRegMap(@Self)^.clr := $00000100
  30462. else
  30463. pTDefRegMap(@Self)^.&set := $00000100;
  30464. end;
  30465. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  30466. begin
  30467. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30468. end;
  30469. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  30470. begin
  30471. pTDefRegMap(@Self)^.&set := $00008000;
  30472. end;
  30473. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  30474. begin
  30475. pTDefRegMap(@Self)^.clr := $00008000;
  30476. end;
  30477. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  30478. begin
  30479. if thebits = 0 then
  30480. pTDefRegMap(@Self)^.clr := $00008000
  30481. else
  30482. pTDefRegMap(@Self)^.&set := $00008000;
  30483. end;
  30484. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  30485. begin
  30486. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30487. end;
  30488. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  30489. begin
  30490. pTDefRegMap(@Self)^.val := thebits;
  30491. end;
  30492. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  30493. begin
  30494. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30495. end;
  30496. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  30497. begin
  30498. pTDefRegMap(@Self)^.&set := $00000008;
  30499. end;
  30500. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  30501. begin
  30502. pTDefRegMap(@Self)^.clr := $00000008;
  30503. end;
  30504. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  30505. begin
  30506. if thebits = 0 then
  30507. pTDefRegMap(@Self)^.clr := $00000008
  30508. else
  30509. pTDefRegMap(@Self)^.&set := $00000008;
  30510. end;
  30511. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  30512. begin
  30513. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30514. end;
  30515. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  30516. begin
  30517. pTDefRegMap(@Self)^.&set := $00000010;
  30518. end;
  30519. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  30520. begin
  30521. pTDefRegMap(@Self)^.clr := $00000010;
  30522. end;
  30523. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  30524. begin
  30525. if thebits = 0 then
  30526. pTDefRegMap(@Self)^.clr := $00000010
  30527. else
  30528. pTDefRegMap(@Self)^.&set := $00000010;
  30529. end;
  30530. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  30531. begin
  30532. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30533. end;
  30534. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  30535. begin
  30536. pTDefRegMap(@Self)^.&set := $00000020;
  30537. end;
  30538. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  30539. begin
  30540. pTDefRegMap(@Self)^.clr := $00000020;
  30541. end;
  30542. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  30543. begin
  30544. if thebits = 0 then
  30545. pTDefRegMap(@Self)^.clr := $00000020
  30546. else
  30547. pTDefRegMap(@Self)^.&set := $00000020;
  30548. end;
  30549. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  30550. begin
  30551. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30552. end;
  30553. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  30554. begin
  30555. pTDefRegMap(@Self)^.&set := $00000040;
  30556. end;
  30557. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  30558. begin
  30559. pTDefRegMap(@Self)^.clr := $00000040;
  30560. end;
  30561. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  30562. begin
  30563. if thebits = 0 then
  30564. pTDefRegMap(@Self)^.clr := $00000040
  30565. else
  30566. pTDefRegMap(@Self)^.&set := $00000040;
  30567. end;
  30568. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  30569. begin
  30570. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30571. end;
  30572. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  30573. begin
  30574. pTDefRegMap(@Self)^.&set := $00000080;
  30575. end;
  30576. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  30577. begin
  30578. pTDefRegMap(@Self)^.clr := $00000080;
  30579. end;
  30580. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  30581. begin
  30582. if thebits = 0 then
  30583. pTDefRegMap(@Self)^.clr := $00000080
  30584. else
  30585. pTDefRegMap(@Self)^.&set := $00000080;
  30586. end;
  30587. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  30588. begin
  30589. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30590. end;
  30591. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  30592. begin
  30593. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30594. end;
  30595. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  30596. begin
  30597. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30598. end;
  30599. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  30600. begin
  30601. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30602. end;
  30603. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  30604. begin
  30605. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30606. end;
  30607. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  30608. begin
  30609. pTDefRegMap(@Self)^.val := thebits;
  30610. end;
  30611. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  30612. begin
  30613. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30614. end;
  30615. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  30616. begin
  30617. pTDefRegMap(@Self)^.&set := $00000001;
  30618. end;
  30619. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  30620. begin
  30621. pTDefRegMap(@Self)^.clr := $00000001;
  30622. end;
  30623. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  30624. begin
  30625. if thebits = 0 then
  30626. pTDefRegMap(@Self)^.clr := $00000001
  30627. else
  30628. pTDefRegMap(@Self)^.&set := $00000001;
  30629. end;
  30630. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  30631. begin
  30632. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30633. end;
  30634. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  30635. begin
  30636. pTDefRegMap(@Self)^.&set := $00000002;
  30637. end;
  30638. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  30639. begin
  30640. pTDefRegMap(@Self)^.clr := $00000002;
  30641. end;
  30642. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  30643. begin
  30644. if thebits = 0 then
  30645. pTDefRegMap(@Self)^.clr := $00000002
  30646. else
  30647. pTDefRegMap(@Self)^.&set := $00000002;
  30648. end;
  30649. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  30650. begin
  30651. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30652. end;
  30653. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  30654. begin
  30655. pTDefRegMap(@Self)^.&set := $00000004;
  30656. end;
  30657. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  30658. begin
  30659. pTDefRegMap(@Self)^.clr := $00000004;
  30660. end;
  30661. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  30662. begin
  30663. if thebits = 0 then
  30664. pTDefRegMap(@Self)^.clr := $00000004
  30665. else
  30666. pTDefRegMap(@Self)^.&set := $00000004;
  30667. end;
  30668. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  30669. begin
  30670. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30671. end;
  30672. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  30673. begin
  30674. pTDefRegMap(@Self)^.&set := $00000008;
  30675. end;
  30676. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  30677. begin
  30678. pTDefRegMap(@Self)^.clr := $00000008;
  30679. end;
  30680. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  30681. begin
  30682. if thebits = 0 then
  30683. pTDefRegMap(@Self)^.clr := $00000008
  30684. else
  30685. pTDefRegMap(@Self)^.&set := $00000008;
  30686. end;
  30687. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  30688. begin
  30689. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30690. end;
  30691. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  30692. begin
  30693. pTDefRegMap(@Self)^.&set := $00000010;
  30694. end;
  30695. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  30696. begin
  30697. pTDefRegMap(@Self)^.clr := $00000010;
  30698. end;
  30699. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  30700. begin
  30701. if thebits = 0 then
  30702. pTDefRegMap(@Self)^.clr := $00000010
  30703. else
  30704. pTDefRegMap(@Self)^.&set := $00000010;
  30705. end;
  30706. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  30707. begin
  30708. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30709. end;
  30710. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  30711. begin
  30712. pTDefRegMap(@Self)^.&set := $00000020;
  30713. end;
  30714. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  30715. begin
  30716. pTDefRegMap(@Self)^.clr := $00000020;
  30717. end;
  30718. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  30719. begin
  30720. if thebits = 0 then
  30721. pTDefRegMap(@Self)^.clr := $00000020
  30722. else
  30723. pTDefRegMap(@Self)^.&set := $00000020;
  30724. end;
  30725. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  30726. begin
  30727. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30728. end;
  30729. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  30730. begin
  30731. pTDefRegMap(@Self)^.&set := $00000040;
  30732. end;
  30733. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  30734. begin
  30735. pTDefRegMap(@Self)^.clr := $00000040;
  30736. end;
  30737. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  30738. begin
  30739. if thebits = 0 then
  30740. pTDefRegMap(@Self)^.clr := $00000040
  30741. else
  30742. pTDefRegMap(@Self)^.&set := $00000040;
  30743. end;
  30744. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  30745. begin
  30746. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30747. end;
  30748. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  30749. begin
  30750. pTDefRegMap(@Self)^.&set := $00000080;
  30751. end;
  30752. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  30753. begin
  30754. pTDefRegMap(@Self)^.clr := $00000080;
  30755. end;
  30756. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  30757. begin
  30758. if thebits = 0 then
  30759. pTDefRegMap(@Self)^.clr := $00000080
  30760. else
  30761. pTDefRegMap(@Self)^.&set := $00000080;
  30762. end;
  30763. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  30764. begin
  30765. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30766. end;
  30767. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  30768. begin
  30769. pTDefRegMap(@Self)^.&set := $00010000;
  30770. end;
  30771. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  30772. begin
  30773. pTDefRegMap(@Self)^.clr := $00010000;
  30774. end;
  30775. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  30776. begin
  30777. if thebits = 0 then
  30778. pTDefRegMap(@Self)^.clr := $00010000
  30779. else
  30780. pTDefRegMap(@Self)^.&set := $00010000;
  30781. end;
  30782. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  30783. begin
  30784. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30785. end;
  30786. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  30787. begin
  30788. pTDefRegMap(@Self)^.&set := $00020000;
  30789. end;
  30790. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  30791. begin
  30792. pTDefRegMap(@Self)^.clr := $00020000;
  30793. end;
  30794. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  30795. begin
  30796. if thebits = 0 then
  30797. pTDefRegMap(@Self)^.clr := $00020000
  30798. else
  30799. pTDefRegMap(@Self)^.&set := $00020000;
  30800. end;
  30801. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  30802. begin
  30803. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30804. end;
  30805. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  30806. begin
  30807. pTDefRegMap(@Self)^.&set := $00040000;
  30808. end;
  30809. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  30810. begin
  30811. pTDefRegMap(@Self)^.clr := $00040000;
  30812. end;
  30813. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  30814. begin
  30815. if thebits = 0 then
  30816. pTDefRegMap(@Self)^.clr := $00040000
  30817. else
  30818. pTDefRegMap(@Self)^.&set := $00040000;
  30819. end;
  30820. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  30821. begin
  30822. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30823. end;
  30824. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  30825. begin
  30826. pTDefRegMap(@Self)^.&set := $00080000;
  30827. end;
  30828. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  30829. begin
  30830. pTDefRegMap(@Self)^.clr := $00080000;
  30831. end;
  30832. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  30833. begin
  30834. if thebits = 0 then
  30835. pTDefRegMap(@Self)^.clr := $00080000
  30836. else
  30837. pTDefRegMap(@Self)^.&set := $00080000;
  30838. end;
  30839. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  30840. begin
  30841. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30842. end;
  30843. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  30844. begin
  30845. pTDefRegMap(@Self)^.&set := $00100000;
  30846. end;
  30847. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  30848. begin
  30849. pTDefRegMap(@Self)^.clr := $00100000;
  30850. end;
  30851. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  30852. begin
  30853. if thebits = 0 then
  30854. pTDefRegMap(@Self)^.clr := $00100000
  30855. else
  30856. pTDefRegMap(@Self)^.&set := $00100000;
  30857. end;
  30858. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  30859. begin
  30860. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30861. end;
  30862. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  30863. begin
  30864. pTDefRegMap(@Self)^.&set := $00200000;
  30865. end;
  30866. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  30867. begin
  30868. pTDefRegMap(@Self)^.clr := $00200000;
  30869. end;
  30870. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  30871. begin
  30872. if thebits = 0 then
  30873. pTDefRegMap(@Self)^.clr := $00200000
  30874. else
  30875. pTDefRegMap(@Self)^.&set := $00200000;
  30876. end;
  30877. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  30878. begin
  30879. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30880. end;
  30881. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  30882. begin
  30883. pTDefRegMap(@Self)^.&set := $00400000;
  30884. end;
  30885. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  30886. begin
  30887. pTDefRegMap(@Self)^.clr := $00400000;
  30888. end;
  30889. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  30890. begin
  30891. if thebits = 0 then
  30892. pTDefRegMap(@Self)^.clr := $00400000
  30893. else
  30894. pTDefRegMap(@Self)^.&set := $00400000;
  30895. end;
  30896. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  30897. begin
  30898. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30899. end;
  30900. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  30901. begin
  30902. pTDefRegMap(@Self)^.&set := $00800000;
  30903. end;
  30904. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  30905. begin
  30906. pTDefRegMap(@Self)^.clr := $00800000;
  30907. end;
  30908. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  30909. begin
  30910. if thebits = 0 then
  30911. pTDefRegMap(@Self)^.clr := $00800000
  30912. else
  30913. pTDefRegMap(@Self)^.&set := $00800000;
  30914. end;
  30915. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30916. begin
  30917. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30918. end;
  30919. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30920. begin
  30921. pTDefRegMap(@Self)^.val := thebits;
  30922. end;
  30923. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30924. begin
  30925. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30926. end;
  30927. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30928. begin
  30929. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30930. end;
  30931. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30932. begin
  30933. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30934. end;
  30935. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30936. begin
  30937. pTDefRegMap(@Self)^.&set := $00000004;
  30938. end;
  30939. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30940. begin
  30941. pTDefRegMap(@Self)^.clr := $00000004;
  30942. end;
  30943. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30944. begin
  30945. if thebits = 0 then
  30946. pTDefRegMap(@Self)^.clr := $00000004
  30947. else
  30948. pTDefRegMap(@Self)^.&set := $00000004;
  30949. end;
  30950. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30951. begin
  30952. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30953. end;
  30954. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30955. begin
  30956. pTDefRegMap(@Self)^.&set := $00000010;
  30957. end;
  30958. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30959. begin
  30960. pTDefRegMap(@Self)^.clr := $00000010;
  30961. end;
  30962. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30963. begin
  30964. if thebits = 0 then
  30965. pTDefRegMap(@Self)^.clr := $00000010
  30966. else
  30967. pTDefRegMap(@Self)^.&set := $00000010;
  30968. end;
  30969. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30970. begin
  30971. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30972. end;
  30973. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30974. begin
  30975. pTDefRegMap(@Self)^.&set := $00000020;
  30976. end;
  30977. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30978. begin
  30979. pTDefRegMap(@Self)^.clr := $00000020;
  30980. end;
  30981. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30982. begin
  30983. if thebits = 0 then
  30984. pTDefRegMap(@Self)^.clr := $00000020
  30985. else
  30986. pTDefRegMap(@Self)^.&set := $00000020;
  30987. end;
  30988. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30989. begin
  30990. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30991. end;
  30992. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30993. begin
  30994. pTDefRegMap(@Self)^.&set := $00000040;
  30995. end;
  30996. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30997. begin
  30998. pTDefRegMap(@Self)^.clr := $00000040;
  30999. end;
  31000. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  31001. begin
  31002. if thebits = 0 then
  31003. pTDefRegMap(@Self)^.clr := $00000040
  31004. else
  31005. pTDefRegMap(@Self)^.&set := $00000040;
  31006. end;
  31007. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  31008. begin
  31009. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31010. end;
  31011. procedure TDMAC1_DCH1CON.setCHEN; inline;
  31012. begin
  31013. pTDefRegMap(@Self)^.&set := $00000080;
  31014. end;
  31015. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  31016. begin
  31017. pTDefRegMap(@Self)^.clr := $00000080;
  31018. end;
  31019. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  31020. begin
  31021. if thebits = 0 then
  31022. pTDefRegMap(@Self)^.clr := $00000080
  31023. else
  31024. pTDefRegMap(@Self)^.&set := $00000080;
  31025. end;
  31026. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  31027. begin
  31028. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31029. end;
  31030. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  31031. begin
  31032. pTDefRegMap(@Self)^.&set := $00000100;
  31033. end;
  31034. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  31035. begin
  31036. pTDefRegMap(@Self)^.clr := $00000100;
  31037. end;
  31038. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  31039. begin
  31040. if thebits = 0 then
  31041. pTDefRegMap(@Self)^.clr := $00000100
  31042. else
  31043. pTDefRegMap(@Self)^.&set := $00000100;
  31044. end;
  31045. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  31046. begin
  31047. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31048. end;
  31049. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  31050. begin
  31051. pTDefRegMap(@Self)^.&set := $00008000;
  31052. end;
  31053. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  31054. begin
  31055. pTDefRegMap(@Self)^.clr := $00008000;
  31056. end;
  31057. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  31058. begin
  31059. if thebits = 0 then
  31060. pTDefRegMap(@Self)^.clr := $00008000
  31061. else
  31062. pTDefRegMap(@Self)^.&set := $00008000;
  31063. end;
  31064. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  31065. begin
  31066. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31067. end;
  31068. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  31069. begin
  31070. pTDefRegMap(@Self)^.val := thebits;
  31071. end;
  31072. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  31073. begin
  31074. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31075. end;
  31076. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  31077. begin
  31078. pTDefRegMap(@Self)^.&set := $00000008;
  31079. end;
  31080. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  31081. begin
  31082. pTDefRegMap(@Self)^.clr := $00000008;
  31083. end;
  31084. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  31085. begin
  31086. if thebits = 0 then
  31087. pTDefRegMap(@Self)^.clr := $00000008
  31088. else
  31089. pTDefRegMap(@Self)^.&set := $00000008;
  31090. end;
  31091. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  31092. begin
  31093. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31094. end;
  31095. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  31096. begin
  31097. pTDefRegMap(@Self)^.&set := $00000010;
  31098. end;
  31099. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  31100. begin
  31101. pTDefRegMap(@Self)^.clr := $00000010;
  31102. end;
  31103. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  31104. begin
  31105. if thebits = 0 then
  31106. pTDefRegMap(@Self)^.clr := $00000010
  31107. else
  31108. pTDefRegMap(@Self)^.&set := $00000010;
  31109. end;
  31110. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  31111. begin
  31112. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31113. end;
  31114. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  31115. begin
  31116. pTDefRegMap(@Self)^.&set := $00000020;
  31117. end;
  31118. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  31119. begin
  31120. pTDefRegMap(@Self)^.clr := $00000020;
  31121. end;
  31122. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  31123. begin
  31124. if thebits = 0 then
  31125. pTDefRegMap(@Self)^.clr := $00000020
  31126. else
  31127. pTDefRegMap(@Self)^.&set := $00000020;
  31128. end;
  31129. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  31130. begin
  31131. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31132. end;
  31133. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  31134. begin
  31135. pTDefRegMap(@Self)^.&set := $00000040;
  31136. end;
  31137. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  31138. begin
  31139. pTDefRegMap(@Self)^.clr := $00000040;
  31140. end;
  31141. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  31142. begin
  31143. if thebits = 0 then
  31144. pTDefRegMap(@Self)^.clr := $00000040
  31145. else
  31146. pTDefRegMap(@Self)^.&set := $00000040;
  31147. end;
  31148. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  31149. begin
  31150. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31151. end;
  31152. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  31153. begin
  31154. pTDefRegMap(@Self)^.&set := $00000080;
  31155. end;
  31156. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  31157. begin
  31158. pTDefRegMap(@Self)^.clr := $00000080;
  31159. end;
  31160. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  31161. begin
  31162. if thebits = 0 then
  31163. pTDefRegMap(@Self)^.clr := $00000080
  31164. else
  31165. pTDefRegMap(@Self)^.&set := $00000080;
  31166. end;
  31167. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  31168. begin
  31169. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31170. end;
  31171. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  31172. begin
  31173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31174. end;
  31175. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  31176. begin
  31177. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31178. end;
  31179. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  31180. begin
  31181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31182. end;
  31183. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  31184. begin
  31185. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31186. end;
  31187. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  31188. begin
  31189. pTDefRegMap(@Self)^.val := thebits;
  31190. end;
  31191. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  31192. begin
  31193. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31194. end;
  31195. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  31196. begin
  31197. pTDefRegMap(@Self)^.&set := $00000001;
  31198. end;
  31199. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  31200. begin
  31201. pTDefRegMap(@Self)^.clr := $00000001;
  31202. end;
  31203. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  31204. begin
  31205. if thebits = 0 then
  31206. pTDefRegMap(@Self)^.clr := $00000001
  31207. else
  31208. pTDefRegMap(@Self)^.&set := $00000001;
  31209. end;
  31210. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  31211. begin
  31212. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31213. end;
  31214. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  31215. begin
  31216. pTDefRegMap(@Self)^.&set := $00000002;
  31217. end;
  31218. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  31219. begin
  31220. pTDefRegMap(@Self)^.clr := $00000002;
  31221. end;
  31222. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  31223. begin
  31224. if thebits = 0 then
  31225. pTDefRegMap(@Self)^.clr := $00000002
  31226. else
  31227. pTDefRegMap(@Self)^.&set := $00000002;
  31228. end;
  31229. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  31230. begin
  31231. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31232. end;
  31233. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  31234. begin
  31235. pTDefRegMap(@Self)^.&set := $00000004;
  31236. end;
  31237. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  31238. begin
  31239. pTDefRegMap(@Self)^.clr := $00000004;
  31240. end;
  31241. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  31242. begin
  31243. if thebits = 0 then
  31244. pTDefRegMap(@Self)^.clr := $00000004
  31245. else
  31246. pTDefRegMap(@Self)^.&set := $00000004;
  31247. end;
  31248. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  31249. begin
  31250. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31251. end;
  31252. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  31253. begin
  31254. pTDefRegMap(@Self)^.&set := $00000008;
  31255. end;
  31256. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  31257. begin
  31258. pTDefRegMap(@Self)^.clr := $00000008;
  31259. end;
  31260. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  31261. begin
  31262. if thebits = 0 then
  31263. pTDefRegMap(@Self)^.clr := $00000008
  31264. else
  31265. pTDefRegMap(@Self)^.&set := $00000008;
  31266. end;
  31267. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  31268. begin
  31269. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31270. end;
  31271. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  31272. begin
  31273. pTDefRegMap(@Self)^.&set := $00000010;
  31274. end;
  31275. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  31276. begin
  31277. pTDefRegMap(@Self)^.clr := $00000010;
  31278. end;
  31279. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  31280. begin
  31281. if thebits = 0 then
  31282. pTDefRegMap(@Self)^.clr := $00000010
  31283. else
  31284. pTDefRegMap(@Self)^.&set := $00000010;
  31285. end;
  31286. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  31287. begin
  31288. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31289. end;
  31290. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  31291. begin
  31292. pTDefRegMap(@Self)^.&set := $00000020;
  31293. end;
  31294. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  31295. begin
  31296. pTDefRegMap(@Self)^.clr := $00000020;
  31297. end;
  31298. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  31299. begin
  31300. if thebits = 0 then
  31301. pTDefRegMap(@Self)^.clr := $00000020
  31302. else
  31303. pTDefRegMap(@Self)^.&set := $00000020;
  31304. end;
  31305. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  31306. begin
  31307. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31308. end;
  31309. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  31310. begin
  31311. pTDefRegMap(@Self)^.&set := $00000040;
  31312. end;
  31313. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  31314. begin
  31315. pTDefRegMap(@Self)^.clr := $00000040;
  31316. end;
  31317. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  31318. begin
  31319. if thebits = 0 then
  31320. pTDefRegMap(@Self)^.clr := $00000040
  31321. else
  31322. pTDefRegMap(@Self)^.&set := $00000040;
  31323. end;
  31324. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  31325. begin
  31326. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31327. end;
  31328. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  31329. begin
  31330. pTDefRegMap(@Self)^.&set := $00000080;
  31331. end;
  31332. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  31333. begin
  31334. pTDefRegMap(@Self)^.clr := $00000080;
  31335. end;
  31336. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  31337. begin
  31338. if thebits = 0 then
  31339. pTDefRegMap(@Self)^.clr := $00000080
  31340. else
  31341. pTDefRegMap(@Self)^.&set := $00000080;
  31342. end;
  31343. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  31344. begin
  31345. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31346. end;
  31347. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  31348. begin
  31349. pTDefRegMap(@Self)^.&set := $00010000;
  31350. end;
  31351. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  31352. begin
  31353. pTDefRegMap(@Self)^.clr := $00010000;
  31354. end;
  31355. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  31356. begin
  31357. if thebits = 0 then
  31358. pTDefRegMap(@Self)^.clr := $00010000
  31359. else
  31360. pTDefRegMap(@Self)^.&set := $00010000;
  31361. end;
  31362. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  31363. begin
  31364. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31365. end;
  31366. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  31367. begin
  31368. pTDefRegMap(@Self)^.&set := $00020000;
  31369. end;
  31370. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  31371. begin
  31372. pTDefRegMap(@Self)^.clr := $00020000;
  31373. end;
  31374. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  31375. begin
  31376. if thebits = 0 then
  31377. pTDefRegMap(@Self)^.clr := $00020000
  31378. else
  31379. pTDefRegMap(@Self)^.&set := $00020000;
  31380. end;
  31381. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  31382. begin
  31383. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31384. end;
  31385. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  31386. begin
  31387. pTDefRegMap(@Self)^.&set := $00040000;
  31388. end;
  31389. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  31390. begin
  31391. pTDefRegMap(@Self)^.clr := $00040000;
  31392. end;
  31393. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  31394. begin
  31395. if thebits = 0 then
  31396. pTDefRegMap(@Self)^.clr := $00040000
  31397. else
  31398. pTDefRegMap(@Self)^.&set := $00040000;
  31399. end;
  31400. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  31401. begin
  31402. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31403. end;
  31404. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  31405. begin
  31406. pTDefRegMap(@Self)^.&set := $00080000;
  31407. end;
  31408. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  31409. begin
  31410. pTDefRegMap(@Self)^.clr := $00080000;
  31411. end;
  31412. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  31413. begin
  31414. if thebits = 0 then
  31415. pTDefRegMap(@Self)^.clr := $00080000
  31416. else
  31417. pTDefRegMap(@Self)^.&set := $00080000;
  31418. end;
  31419. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  31420. begin
  31421. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31422. end;
  31423. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  31424. begin
  31425. pTDefRegMap(@Self)^.&set := $00100000;
  31426. end;
  31427. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  31428. begin
  31429. pTDefRegMap(@Self)^.clr := $00100000;
  31430. end;
  31431. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  31432. begin
  31433. if thebits = 0 then
  31434. pTDefRegMap(@Self)^.clr := $00100000
  31435. else
  31436. pTDefRegMap(@Self)^.&set := $00100000;
  31437. end;
  31438. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  31439. begin
  31440. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31441. end;
  31442. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  31443. begin
  31444. pTDefRegMap(@Self)^.&set := $00200000;
  31445. end;
  31446. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  31447. begin
  31448. pTDefRegMap(@Self)^.clr := $00200000;
  31449. end;
  31450. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  31451. begin
  31452. if thebits = 0 then
  31453. pTDefRegMap(@Self)^.clr := $00200000
  31454. else
  31455. pTDefRegMap(@Self)^.&set := $00200000;
  31456. end;
  31457. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  31458. begin
  31459. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31460. end;
  31461. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  31462. begin
  31463. pTDefRegMap(@Self)^.&set := $00400000;
  31464. end;
  31465. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  31466. begin
  31467. pTDefRegMap(@Self)^.clr := $00400000;
  31468. end;
  31469. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  31470. begin
  31471. if thebits = 0 then
  31472. pTDefRegMap(@Self)^.clr := $00400000
  31473. else
  31474. pTDefRegMap(@Self)^.&set := $00400000;
  31475. end;
  31476. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  31477. begin
  31478. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31479. end;
  31480. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  31481. begin
  31482. pTDefRegMap(@Self)^.&set := $00800000;
  31483. end;
  31484. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  31485. begin
  31486. pTDefRegMap(@Self)^.clr := $00800000;
  31487. end;
  31488. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  31489. begin
  31490. if thebits = 0 then
  31491. pTDefRegMap(@Self)^.clr := $00800000
  31492. else
  31493. pTDefRegMap(@Self)^.&set := $00800000;
  31494. end;
  31495. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  31496. begin
  31497. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31498. end;
  31499. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  31500. begin
  31501. pTDefRegMap(@Self)^.val := thebits;
  31502. end;
  31503. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  31504. begin
  31505. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31506. end;
  31507. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  31508. begin
  31509. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31510. end;
  31511. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  31512. begin
  31513. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31514. end;
  31515. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  31516. begin
  31517. pTDefRegMap(@Self)^.&set := $00000004;
  31518. end;
  31519. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  31520. begin
  31521. pTDefRegMap(@Self)^.clr := $00000004;
  31522. end;
  31523. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  31524. begin
  31525. if thebits = 0 then
  31526. pTDefRegMap(@Self)^.clr := $00000004
  31527. else
  31528. pTDefRegMap(@Self)^.&set := $00000004;
  31529. end;
  31530. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  31531. begin
  31532. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31533. end;
  31534. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  31535. begin
  31536. pTDefRegMap(@Self)^.&set := $00000010;
  31537. end;
  31538. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  31539. begin
  31540. pTDefRegMap(@Self)^.clr := $00000010;
  31541. end;
  31542. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  31543. begin
  31544. if thebits = 0 then
  31545. pTDefRegMap(@Self)^.clr := $00000010
  31546. else
  31547. pTDefRegMap(@Self)^.&set := $00000010;
  31548. end;
  31549. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  31550. begin
  31551. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31552. end;
  31553. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  31554. begin
  31555. pTDefRegMap(@Self)^.&set := $00000020;
  31556. end;
  31557. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  31558. begin
  31559. pTDefRegMap(@Self)^.clr := $00000020;
  31560. end;
  31561. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  31562. begin
  31563. if thebits = 0 then
  31564. pTDefRegMap(@Self)^.clr := $00000020
  31565. else
  31566. pTDefRegMap(@Self)^.&set := $00000020;
  31567. end;
  31568. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  31569. begin
  31570. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31571. end;
  31572. procedure TDMAC2_DCH2CON.setCHAED; inline;
  31573. begin
  31574. pTDefRegMap(@Self)^.&set := $00000040;
  31575. end;
  31576. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  31577. begin
  31578. pTDefRegMap(@Self)^.clr := $00000040;
  31579. end;
  31580. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  31581. begin
  31582. if thebits = 0 then
  31583. pTDefRegMap(@Self)^.clr := $00000040
  31584. else
  31585. pTDefRegMap(@Self)^.&set := $00000040;
  31586. end;
  31587. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  31588. begin
  31589. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31590. end;
  31591. procedure TDMAC2_DCH2CON.setCHEN; inline;
  31592. begin
  31593. pTDefRegMap(@Self)^.&set := $00000080;
  31594. end;
  31595. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  31596. begin
  31597. pTDefRegMap(@Self)^.clr := $00000080;
  31598. end;
  31599. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  31600. begin
  31601. if thebits = 0 then
  31602. pTDefRegMap(@Self)^.clr := $00000080
  31603. else
  31604. pTDefRegMap(@Self)^.&set := $00000080;
  31605. end;
  31606. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  31607. begin
  31608. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31609. end;
  31610. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  31611. begin
  31612. pTDefRegMap(@Self)^.&set := $00000100;
  31613. end;
  31614. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  31615. begin
  31616. pTDefRegMap(@Self)^.clr := $00000100;
  31617. end;
  31618. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  31619. begin
  31620. if thebits = 0 then
  31621. pTDefRegMap(@Self)^.clr := $00000100
  31622. else
  31623. pTDefRegMap(@Self)^.&set := $00000100;
  31624. end;
  31625. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  31626. begin
  31627. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31628. end;
  31629. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  31630. begin
  31631. pTDefRegMap(@Self)^.&set := $00008000;
  31632. end;
  31633. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  31634. begin
  31635. pTDefRegMap(@Self)^.clr := $00008000;
  31636. end;
  31637. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  31638. begin
  31639. if thebits = 0 then
  31640. pTDefRegMap(@Self)^.clr := $00008000
  31641. else
  31642. pTDefRegMap(@Self)^.&set := $00008000;
  31643. end;
  31644. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  31645. begin
  31646. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31647. end;
  31648. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  31649. begin
  31650. pTDefRegMap(@Self)^.val := thebits;
  31651. end;
  31652. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  31653. begin
  31654. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31655. end;
  31656. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  31657. begin
  31658. pTDefRegMap(@Self)^.&set := $00000008;
  31659. end;
  31660. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  31661. begin
  31662. pTDefRegMap(@Self)^.clr := $00000008;
  31663. end;
  31664. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  31665. begin
  31666. if thebits = 0 then
  31667. pTDefRegMap(@Self)^.clr := $00000008
  31668. else
  31669. pTDefRegMap(@Self)^.&set := $00000008;
  31670. end;
  31671. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  31672. begin
  31673. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31674. end;
  31675. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  31676. begin
  31677. pTDefRegMap(@Self)^.&set := $00000010;
  31678. end;
  31679. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  31680. begin
  31681. pTDefRegMap(@Self)^.clr := $00000010;
  31682. end;
  31683. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  31684. begin
  31685. if thebits = 0 then
  31686. pTDefRegMap(@Self)^.clr := $00000010
  31687. else
  31688. pTDefRegMap(@Self)^.&set := $00000010;
  31689. end;
  31690. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  31691. begin
  31692. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31693. end;
  31694. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  31695. begin
  31696. pTDefRegMap(@Self)^.&set := $00000020;
  31697. end;
  31698. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  31699. begin
  31700. pTDefRegMap(@Self)^.clr := $00000020;
  31701. end;
  31702. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  31703. begin
  31704. if thebits = 0 then
  31705. pTDefRegMap(@Self)^.clr := $00000020
  31706. else
  31707. pTDefRegMap(@Self)^.&set := $00000020;
  31708. end;
  31709. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  31710. begin
  31711. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31712. end;
  31713. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  31714. begin
  31715. pTDefRegMap(@Self)^.&set := $00000040;
  31716. end;
  31717. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  31718. begin
  31719. pTDefRegMap(@Self)^.clr := $00000040;
  31720. end;
  31721. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  31722. begin
  31723. if thebits = 0 then
  31724. pTDefRegMap(@Self)^.clr := $00000040
  31725. else
  31726. pTDefRegMap(@Self)^.&set := $00000040;
  31727. end;
  31728. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  31729. begin
  31730. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31731. end;
  31732. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  31733. begin
  31734. pTDefRegMap(@Self)^.&set := $00000080;
  31735. end;
  31736. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  31737. begin
  31738. pTDefRegMap(@Self)^.clr := $00000080;
  31739. end;
  31740. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  31741. begin
  31742. if thebits = 0 then
  31743. pTDefRegMap(@Self)^.clr := $00000080
  31744. else
  31745. pTDefRegMap(@Self)^.&set := $00000080;
  31746. end;
  31747. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  31748. begin
  31749. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31750. end;
  31751. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  31752. begin
  31753. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31754. end;
  31755. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  31756. begin
  31757. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31758. end;
  31759. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  31760. begin
  31761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31762. end;
  31763. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  31764. begin
  31765. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31766. end;
  31767. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  31768. begin
  31769. pTDefRegMap(@Self)^.val := thebits;
  31770. end;
  31771. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  31772. begin
  31773. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31774. end;
  31775. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  31776. begin
  31777. pTDefRegMap(@Self)^.&set := $00000001;
  31778. end;
  31779. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  31780. begin
  31781. pTDefRegMap(@Self)^.clr := $00000001;
  31782. end;
  31783. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  31784. begin
  31785. if thebits = 0 then
  31786. pTDefRegMap(@Self)^.clr := $00000001
  31787. else
  31788. pTDefRegMap(@Self)^.&set := $00000001;
  31789. end;
  31790. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  31791. begin
  31792. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31793. end;
  31794. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  31795. begin
  31796. pTDefRegMap(@Self)^.&set := $00000002;
  31797. end;
  31798. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  31799. begin
  31800. pTDefRegMap(@Self)^.clr := $00000002;
  31801. end;
  31802. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  31803. begin
  31804. if thebits = 0 then
  31805. pTDefRegMap(@Self)^.clr := $00000002
  31806. else
  31807. pTDefRegMap(@Self)^.&set := $00000002;
  31808. end;
  31809. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  31810. begin
  31811. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31812. end;
  31813. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  31814. begin
  31815. pTDefRegMap(@Self)^.&set := $00000004;
  31816. end;
  31817. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  31818. begin
  31819. pTDefRegMap(@Self)^.clr := $00000004;
  31820. end;
  31821. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  31822. begin
  31823. if thebits = 0 then
  31824. pTDefRegMap(@Self)^.clr := $00000004
  31825. else
  31826. pTDefRegMap(@Self)^.&set := $00000004;
  31827. end;
  31828. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  31829. begin
  31830. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31831. end;
  31832. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  31833. begin
  31834. pTDefRegMap(@Self)^.&set := $00000008;
  31835. end;
  31836. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  31837. begin
  31838. pTDefRegMap(@Self)^.clr := $00000008;
  31839. end;
  31840. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  31841. begin
  31842. if thebits = 0 then
  31843. pTDefRegMap(@Self)^.clr := $00000008
  31844. else
  31845. pTDefRegMap(@Self)^.&set := $00000008;
  31846. end;
  31847. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  31848. begin
  31849. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31850. end;
  31851. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  31852. begin
  31853. pTDefRegMap(@Self)^.&set := $00000010;
  31854. end;
  31855. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  31856. begin
  31857. pTDefRegMap(@Self)^.clr := $00000010;
  31858. end;
  31859. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  31860. begin
  31861. if thebits = 0 then
  31862. pTDefRegMap(@Self)^.clr := $00000010
  31863. else
  31864. pTDefRegMap(@Self)^.&set := $00000010;
  31865. end;
  31866. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  31867. begin
  31868. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31869. end;
  31870. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  31871. begin
  31872. pTDefRegMap(@Self)^.&set := $00000020;
  31873. end;
  31874. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  31875. begin
  31876. pTDefRegMap(@Self)^.clr := $00000020;
  31877. end;
  31878. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  31879. begin
  31880. if thebits = 0 then
  31881. pTDefRegMap(@Self)^.clr := $00000020
  31882. else
  31883. pTDefRegMap(@Self)^.&set := $00000020;
  31884. end;
  31885. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  31886. begin
  31887. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31888. end;
  31889. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  31890. begin
  31891. pTDefRegMap(@Self)^.&set := $00000040;
  31892. end;
  31893. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  31894. begin
  31895. pTDefRegMap(@Self)^.clr := $00000040;
  31896. end;
  31897. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  31898. begin
  31899. if thebits = 0 then
  31900. pTDefRegMap(@Self)^.clr := $00000040
  31901. else
  31902. pTDefRegMap(@Self)^.&set := $00000040;
  31903. end;
  31904. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  31905. begin
  31906. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31907. end;
  31908. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  31909. begin
  31910. pTDefRegMap(@Self)^.&set := $00000080;
  31911. end;
  31912. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  31913. begin
  31914. pTDefRegMap(@Self)^.clr := $00000080;
  31915. end;
  31916. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31917. begin
  31918. if thebits = 0 then
  31919. pTDefRegMap(@Self)^.clr := $00000080
  31920. else
  31921. pTDefRegMap(@Self)^.&set := $00000080;
  31922. end;
  31923. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31924. begin
  31925. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31926. end;
  31927. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31928. begin
  31929. pTDefRegMap(@Self)^.&set := $00010000;
  31930. end;
  31931. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31932. begin
  31933. pTDefRegMap(@Self)^.clr := $00010000;
  31934. end;
  31935. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  31936. begin
  31937. if thebits = 0 then
  31938. pTDefRegMap(@Self)^.clr := $00010000
  31939. else
  31940. pTDefRegMap(@Self)^.&set := $00010000;
  31941. end;
  31942. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31943. begin
  31944. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31945. end;
  31946. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31947. begin
  31948. pTDefRegMap(@Self)^.&set := $00020000;
  31949. end;
  31950. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31951. begin
  31952. pTDefRegMap(@Self)^.clr := $00020000;
  31953. end;
  31954. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31955. begin
  31956. if thebits = 0 then
  31957. pTDefRegMap(@Self)^.clr := $00020000
  31958. else
  31959. pTDefRegMap(@Self)^.&set := $00020000;
  31960. end;
  31961. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31962. begin
  31963. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31964. end;
  31965. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31966. begin
  31967. pTDefRegMap(@Self)^.&set := $00040000;
  31968. end;
  31969. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31970. begin
  31971. pTDefRegMap(@Self)^.clr := $00040000;
  31972. end;
  31973. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31974. begin
  31975. if thebits = 0 then
  31976. pTDefRegMap(@Self)^.clr := $00040000
  31977. else
  31978. pTDefRegMap(@Self)^.&set := $00040000;
  31979. end;
  31980. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31981. begin
  31982. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31983. end;
  31984. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31985. begin
  31986. pTDefRegMap(@Self)^.&set := $00080000;
  31987. end;
  31988. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31989. begin
  31990. pTDefRegMap(@Self)^.clr := $00080000;
  31991. end;
  31992. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31993. begin
  31994. if thebits = 0 then
  31995. pTDefRegMap(@Self)^.clr := $00080000
  31996. else
  31997. pTDefRegMap(@Self)^.&set := $00080000;
  31998. end;
  31999. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  32000. begin
  32001. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32002. end;
  32003. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  32004. begin
  32005. pTDefRegMap(@Self)^.&set := $00100000;
  32006. end;
  32007. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  32008. begin
  32009. pTDefRegMap(@Self)^.clr := $00100000;
  32010. end;
  32011. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  32012. begin
  32013. if thebits = 0 then
  32014. pTDefRegMap(@Self)^.clr := $00100000
  32015. else
  32016. pTDefRegMap(@Self)^.&set := $00100000;
  32017. end;
  32018. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  32019. begin
  32020. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32021. end;
  32022. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  32023. begin
  32024. pTDefRegMap(@Self)^.&set := $00200000;
  32025. end;
  32026. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  32027. begin
  32028. pTDefRegMap(@Self)^.clr := $00200000;
  32029. end;
  32030. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  32031. begin
  32032. if thebits = 0 then
  32033. pTDefRegMap(@Self)^.clr := $00200000
  32034. else
  32035. pTDefRegMap(@Self)^.&set := $00200000;
  32036. end;
  32037. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  32038. begin
  32039. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32040. end;
  32041. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  32042. begin
  32043. pTDefRegMap(@Self)^.&set := $00400000;
  32044. end;
  32045. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  32046. begin
  32047. pTDefRegMap(@Self)^.clr := $00400000;
  32048. end;
  32049. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  32050. begin
  32051. if thebits = 0 then
  32052. pTDefRegMap(@Self)^.clr := $00400000
  32053. else
  32054. pTDefRegMap(@Self)^.&set := $00400000;
  32055. end;
  32056. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  32057. begin
  32058. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32059. end;
  32060. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  32061. begin
  32062. pTDefRegMap(@Self)^.&set := $00800000;
  32063. end;
  32064. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  32065. begin
  32066. pTDefRegMap(@Self)^.clr := $00800000;
  32067. end;
  32068. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  32069. begin
  32070. if thebits = 0 then
  32071. pTDefRegMap(@Self)^.clr := $00800000
  32072. else
  32073. pTDefRegMap(@Self)^.&set := $00800000;
  32074. end;
  32075. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  32076. begin
  32077. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32078. end;
  32079. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  32080. begin
  32081. pTDefRegMap(@Self)^.val := thebits;
  32082. end;
  32083. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  32084. begin
  32085. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32086. end;
  32087. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  32088. begin
  32089. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32090. end;
  32091. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  32092. begin
  32093. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32094. end;
  32095. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  32096. begin
  32097. pTDefRegMap(@Self)^.&set := $00000004;
  32098. end;
  32099. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  32100. begin
  32101. pTDefRegMap(@Self)^.clr := $00000004;
  32102. end;
  32103. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  32104. begin
  32105. if thebits = 0 then
  32106. pTDefRegMap(@Self)^.clr := $00000004
  32107. else
  32108. pTDefRegMap(@Self)^.&set := $00000004;
  32109. end;
  32110. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  32111. begin
  32112. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32113. end;
  32114. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  32115. begin
  32116. pTDefRegMap(@Self)^.&set := $00000010;
  32117. end;
  32118. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  32119. begin
  32120. pTDefRegMap(@Self)^.clr := $00000010;
  32121. end;
  32122. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  32123. begin
  32124. if thebits = 0 then
  32125. pTDefRegMap(@Self)^.clr := $00000010
  32126. else
  32127. pTDefRegMap(@Self)^.&set := $00000010;
  32128. end;
  32129. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  32130. begin
  32131. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32132. end;
  32133. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  32134. begin
  32135. pTDefRegMap(@Self)^.&set := $00000020;
  32136. end;
  32137. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  32138. begin
  32139. pTDefRegMap(@Self)^.clr := $00000020;
  32140. end;
  32141. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  32142. begin
  32143. if thebits = 0 then
  32144. pTDefRegMap(@Self)^.clr := $00000020
  32145. else
  32146. pTDefRegMap(@Self)^.&set := $00000020;
  32147. end;
  32148. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  32149. begin
  32150. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32151. end;
  32152. procedure TDMAC3_DCH3CON.setCHAED; inline;
  32153. begin
  32154. pTDefRegMap(@Self)^.&set := $00000040;
  32155. end;
  32156. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  32157. begin
  32158. pTDefRegMap(@Self)^.clr := $00000040;
  32159. end;
  32160. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  32161. begin
  32162. if thebits = 0 then
  32163. pTDefRegMap(@Self)^.clr := $00000040
  32164. else
  32165. pTDefRegMap(@Self)^.&set := $00000040;
  32166. end;
  32167. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  32168. begin
  32169. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32170. end;
  32171. procedure TDMAC3_DCH3CON.setCHEN; inline;
  32172. begin
  32173. pTDefRegMap(@Self)^.&set := $00000080;
  32174. end;
  32175. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  32176. begin
  32177. pTDefRegMap(@Self)^.clr := $00000080;
  32178. end;
  32179. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  32180. begin
  32181. if thebits = 0 then
  32182. pTDefRegMap(@Self)^.clr := $00000080
  32183. else
  32184. pTDefRegMap(@Self)^.&set := $00000080;
  32185. end;
  32186. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  32187. begin
  32188. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32189. end;
  32190. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  32191. begin
  32192. pTDefRegMap(@Self)^.&set := $00000100;
  32193. end;
  32194. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  32195. begin
  32196. pTDefRegMap(@Self)^.clr := $00000100;
  32197. end;
  32198. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  32199. begin
  32200. if thebits = 0 then
  32201. pTDefRegMap(@Self)^.clr := $00000100
  32202. else
  32203. pTDefRegMap(@Self)^.&set := $00000100;
  32204. end;
  32205. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  32206. begin
  32207. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32208. end;
  32209. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  32210. begin
  32211. pTDefRegMap(@Self)^.&set := $00008000;
  32212. end;
  32213. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  32214. begin
  32215. pTDefRegMap(@Self)^.clr := $00008000;
  32216. end;
  32217. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  32218. begin
  32219. if thebits = 0 then
  32220. pTDefRegMap(@Self)^.clr := $00008000
  32221. else
  32222. pTDefRegMap(@Self)^.&set := $00008000;
  32223. end;
  32224. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  32225. begin
  32226. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32227. end;
  32228. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  32229. begin
  32230. pTDefRegMap(@Self)^.val := thebits;
  32231. end;
  32232. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  32233. begin
  32234. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32235. end;
  32236. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  32237. begin
  32238. pTDefRegMap(@Self)^.&set := $00000008;
  32239. end;
  32240. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  32241. begin
  32242. pTDefRegMap(@Self)^.clr := $00000008;
  32243. end;
  32244. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  32245. begin
  32246. if thebits = 0 then
  32247. pTDefRegMap(@Self)^.clr := $00000008
  32248. else
  32249. pTDefRegMap(@Self)^.&set := $00000008;
  32250. end;
  32251. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  32252. begin
  32253. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32254. end;
  32255. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  32256. begin
  32257. pTDefRegMap(@Self)^.&set := $00000010;
  32258. end;
  32259. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  32260. begin
  32261. pTDefRegMap(@Self)^.clr := $00000010;
  32262. end;
  32263. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  32264. begin
  32265. if thebits = 0 then
  32266. pTDefRegMap(@Self)^.clr := $00000010
  32267. else
  32268. pTDefRegMap(@Self)^.&set := $00000010;
  32269. end;
  32270. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  32271. begin
  32272. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32273. end;
  32274. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  32275. begin
  32276. pTDefRegMap(@Self)^.&set := $00000020;
  32277. end;
  32278. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  32279. begin
  32280. pTDefRegMap(@Self)^.clr := $00000020;
  32281. end;
  32282. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  32283. begin
  32284. if thebits = 0 then
  32285. pTDefRegMap(@Self)^.clr := $00000020
  32286. else
  32287. pTDefRegMap(@Self)^.&set := $00000020;
  32288. end;
  32289. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  32290. begin
  32291. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32292. end;
  32293. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  32294. begin
  32295. pTDefRegMap(@Self)^.&set := $00000040;
  32296. end;
  32297. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  32298. begin
  32299. pTDefRegMap(@Self)^.clr := $00000040;
  32300. end;
  32301. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  32302. begin
  32303. if thebits = 0 then
  32304. pTDefRegMap(@Self)^.clr := $00000040
  32305. else
  32306. pTDefRegMap(@Self)^.&set := $00000040;
  32307. end;
  32308. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  32309. begin
  32310. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32311. end;
  32312. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  32313. begin
  32314. pTDefRegMap(@Self)^.&set := $00000080;
  32315. end;
  32316. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  32317. begin
  32318. pTDefRegMap(@Self)^.clr := $00000080;
  32319. end;
  32320. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  32321. begin
  32322. if thebits = 0 then
  32323. pTDefRegMap(@Self)^.clr := $00000080
  32324. else
  32325. pTDefRegMap(@Self)^.&set := $00000080;
  32326. end;
  32327. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  32328. begin
  32329. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32330. end;
  32331. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  32332. begin
  32333. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  32334. end;
  32335. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  32336. begin
  32337. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  32338. end;
  32339. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  32340. begin
  32341. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32342. end;
  32343. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  32344. begin
  32345. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32346. end;
  32347. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  32348. begin
  32349. pTDefRegMap(@Self)^.val := thebits;
  32350. end;
  32351. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  32352. begin
  32353. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32354. end;
  32355. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  32356. begin
  32357. pTDefRegMap(@Self)^.&set := $00000001;
  32358. end;
  32359. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  32360. begin
  32361. pTDefRegMap(@Self)^.clr := $00000001;
  32362. end;
  32363. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  32364. begin
  32365. if thebits = 0 then
  32366. pTDefRegMap(@Self)^.clr := $00000001
  32367. else
  32368. pTDefRegMap(@Self)^.&set := $00000001;
  32369. end;
  32370. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  32371. begin
  32372. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32373. end;
  32374. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  32375. begin
  32376. pTDefRegMap(@Self)^.&set := $00000002;
  32377. end;
  32378. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  32379. begin
  32380. pTDefRegMap(@Self)^.clr := $00000002;
  32381. end;
  32382. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  32383. begin
  32384. if thebits = 0 then
  32385. pTDefRegMap(@Self)^.clr := $00000002
  32386. else
  32387. pTDefRegMap(@Self)^.&set := $00000002;
  32388. end;
  32389. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  32390. begin
  32391. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32392. end;
  32393. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  32394. begin
  32395. pTDefRegMap(@Self)^.&set := $00000004;
  32396. end;
  32397. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  32398. begin
  32399. pTDefRegMap(@Self)^.clr := $00000004;
  32400. end;
  32401. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  32402. begin
  32403. if thebits = 0 then
  32404. pTDefRegMap(@Self)^.clr := $00000004
  32405. else
  32406. pTDefRegMap(@Self)^.&set := $00000004;
  32407. end;
  32408. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  32409. begin
  32410. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32411. end;
  32412. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  32413. begin
  32414. pTDefRegMap(@Self)^.&set := $00000008;
  32415. end;
  32416. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  32417. begin
  32418. pTDefRegMap(@Self)^.clr := $00000008;
  32419. end;
  32420. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  32421. begin
  32422. if thebits = 0 then
  32423. pTDefRegMap(@Self)^.clr := $00000008
  32424. else
  32425. pTDefRegMap(@Self)^.&set := $00000008;
  32426. end;
  32427. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  32428. begin
  32429. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32430. end;
  32431. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  32432. begin
  32433. pTDefRegMap(@Self)^.&set := $00000010;
  32434. end;
  32435. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  32436. begin
  32437. pTDefRegMap(@Self)^.clr := $00000010;
  32438. end;
  32439. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  32440. begin
  32441. if thebits = 0 then
  32442. pTDefRegMap(@Self)^.clr := $00000010
  32443. else
  32444. pTDefRegMap(@Self)^.&set := $00000010;
  32445. end;
  32446. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  32447. begin
  32448. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32449. end;
  32450. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  32451. begin
  32452. pTDefRegMap(@Self)^.&set := $00000020;
  32453. end;
  32454. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  32455. begin
  32456. pTDefRegMap(@Self)^.clr := $00000020;
  32457. end;
  32458. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  32459. begin
  32460. if thebits = 0 then
  32461. pTDefRegMap(@Self)^.clr := $00000020
  32462. else
  32463. pTDefRegMap(@Self)^.&set := $00000020;
  32464. end;
  32465. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  32466. begin
  32467. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32468. end;
  32469. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  32470. begin
  32471. pTDefRegMap(@Self)^.&set := $00000040;
  32472. end;
  32473. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  32474. begin
  32475. pTDefRegMap(@Self)^.clr := $00000040;
  32476. end;
  32477. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  32478. begin
  32479. if thebits = 0 then
  32480. pTDefRegMap(@Self)^.clr := $00000040
  32481. else
  32482. pTDefRegMap(@Self)^.&set := $00000040;
  32483. end;
  32484. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  32485. begin
  32486. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32487. end;
  32488. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  32489. begin
  32490. pTDefRegMap(@Self)^.&set := $00000080;
  32491. end;
  32492. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  32493. begin
  32494. pTDefRegMap(@Self)^.clr := $00000080;
  32495. end;
  32496. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  32497. begin
  32498. if thebits = 0 then
  32499. pTDefRegMap(@Self)^.clr := $00000080
  32500. else
  32501. pTDefRegMap(@Self)^.&set := $00000080;
  32502. end;
  32503. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  32504. begin
  32505. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32506. end;
  32507. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  32508. begin
  32509. pTDefRegMap(@Self)^.&set := $00010000;
  32510. end;
  32511. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  32512. begin
  32513. pTDefRegMap(@Self)^.clr := $00010000;
  32514. end;
  32515. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  32516. begin
  32517. if thebits = 0 then
  32518. pTDefRegMap(@Self)^.clr := $00010000
  32519. else
  32520. pTDefRegMap(@Self)^.&set := $00010000;
  32521. end;
  32522. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  32523. begin
  32524. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32525. end;
  32526. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  32527. begin
  32528. pTDefRegMap(@Self)^.&set := $00020000;
  32529. end;
  32530. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  32531. begin
  32532. pTDefRegMap(@Self)^.clr := $00020000;
  32533. end;
  32534. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  32535. begin
  32536. if thebits = 0 then
  32537. pTDefRegMap(@Self)^.clr := $00020000
  32538. else
  32539. pTDefRegMap(@Self)^.&set := $00020000;
  32540. end;
  32541. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  32542. begin
  32543. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32544. end;
  32545. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  32546. begin
  32547. pTDefRegMap(@Self)^.&set := $00040000;
  32548. end;
  32549. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  32550. begin
  32551. pTDefRegMap(@Self)^.clr := $00040000;
  32552. end;
  32553. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  32554. begin
  32555. if thebits = 0 then
  32556. pTDefRegMap(@Self)^.clr := $00040000
  32557. else
  32558. pTDefRegMap(@Self)^.&set := $00040000;
  32559. end;
  32560. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  32561. begin
  32562. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32563. end;
  32564. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  32565. begin
  32566. pTDefRegMap(@Self)^.&set := $00080000;
  32567. end;
  32568. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  32569. begin
  32570. pTDefRegMap(@Self)^.clr := $00080000;
  32571. end;
  32572. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  32573. begin
  32574. if thebits = 0 then
  32575. pTDefRegMap(@Self)^.clr := $00080000
  32576. else
  32577. pTDefRegMap(@Self)^.&set := $00080000;
  32578. end;
  32579. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  32580. begin
  32581. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32582. end;
  32583. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  32584. begin
  32585. pTDefRegMap(@Self)^.&set := $00100000;
  32586. end;
  32587. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  32588. begin
  32589. pTDefRegMap(@Self)^.clr := $00100000;
  32590. end;
  32591. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  32592. begin
  32593. if thebits = 0 then
  32594. pTDefRegMap(@Self)^.clr := $00100000
  32595. else
  32596. pTDefRegMap(@Self)^.&set := $00100000;
  32597. end;
  32598. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  32599. begin
  32600. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32601. end;
  32602. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  32603. begin
  32604. pTDefRegMap(@Self)^.&set := $00200000;
  32605. end;
  32606. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  32607. begin
  32608. pTDefRegMap(@Self)^.clr := $00200000;
  32609. end;
  32610. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  32611. begin
  32612. if thebits = 0 then
  32613. pTDefRegMap(@Self)^.clr := $00200000
  32614. else
  32615. pTDefRegMap(@Self)^.&set := $00200000;
  32616. end;
  32617. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  32618. begin
  32619. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32620. end;
  32621. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  32622. begin
  32623. pTDefRegMap(@Self)^.&set := $00400000;
  32624. end;
  32625. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  32626. begin
  32627. pTDefRegMap(@Self)^.clr := $00400000;
  32628. end;
  32629. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  32630. begin
  32631. if thebits = 0 then
  32632. pTDefRegMap(@Self)^.clr := $00400000
  32633. else
  32634. pTDefRegMap(@Self)^.&set := $00400000;
  32635. end;
  32636. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  32637. begin
  32638. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32639. end;
  32640. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  32641. begin
  32642. pTDefRegMap(@Self)^.&set := $00800000;
  32643. end;
  32644. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  32645. begin
  32646. pTDefRegMap(@Self)^.clr := $00800000;
  32647. end;
  32648. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  32649. begin
  32650. if thebits = 0 then
  32651. pTDefRegMap(@Self)^.clr := $00800000
  32652. else
  32653. pTDefRegMap(@Self)^.&set := $00800000;
  32654. end;
  32655. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  32656. begin
  32657. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32658. end;
  32659. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  32660. begin
  32661. pTDefRegMap(@Self)^.val := thebits;
  32662. end;
  32663. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  32664. begin
  32665. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32666. end;
  32667. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  32668. begin
  32669. pTDefRegMap(@Self)^.&set := $00000001;
  32670. end;
  32671. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  32672. begin
  32673. pTDefRegMap(@Self)^.clr := $00000001;
  32674. end;
  32675. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  32676. begin
  32677. if thebits = 0 then
  32678. pTDefRegMap(@Self)^.clr := $00000001
  32679. else
  32680. pTDefRegMap(@Self)^.&set := $00000001;
  32681. end;
  32682. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  32683. begin
  32684. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32685. end;
  32686. procedure TUSB_U1IR.setUERRIF; inline;
  32687. begin
  32688. pTDefRegMap(@Self)^.&set := $00000002;
  32689. end;
  32690. procedure TUSB_U1IR.clearUERRIF; inline;
  32691. begin
  32692. pTDefRegMap(@Self)^.clr := $00000002;
  32693. end;
  32694. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  32695. begin
  32696. if thebits = 0 then
  32697. pTDefRegMap(@Self)^.clr := $00000002
  32698. else
  32699. pTDefRegMap(@Self)^.&set := $00000002;
  32700. end;
  32701. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  32702. begin
  32703. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32704. end;
  32705. procedure TUSB_U1IR.setSOFIF; inline;
  32706. begin
  32707. pTDefRegMap(@Self)^.&set := $00000004;
  32708. end;
  32709. procedure TUSB_U1IR.clearSOFIF; inline;
  32710. begin
  32711. pTDefRegMap(@Self)^.clr := $00000004;
  32712. end;
  32713. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  32714. begin
  32715. if thebits = 0 then
  32716. pTDefRegMap(@Self)^.clr := $00000004
  32717. else
  32718. pTDefRegMap(@Self)^.&set := $00000004;
  32719. end;
  32720. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  32721. begin
  32722. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32723. end;
  32724. procedure TUSB_U1IR.setTRNIF; inline;
  32725. begin
  32726. pTDefRegMap(@Self)^.&set := $00000008;
  32727. end;
  32728. procedure TUSB_U1IR.clearTRNIF; inline;
  32729. begin
  32730. pTDefRegMap(@Self)^.clr := $00000008;
  32731. end;
  32732. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  32733. begin
  32734. if thebits = 0 then
  32735. pTDefRegMap(@Self)^.clr := $00000008
  32736. else
  32737. pTDefRegMap(@Self)^.&set := $00000008;
  32738. end;
  32739. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  32740. begin
  32741. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32742. end;
  32743. procedure TUSB_U1IR.setIDLEIF; inline;
  32744. begin
  32745. pTDefRegMap(@Self)^.&set := $00000010;
  32746. end;
  32747. procedure TUSB_U1IR.clearIDLEIF; inline;
  32748. begin
  32749. pTDefRegMap(@Self)^.clr := $00000010;
  32750. end;
  32751. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  32752. begin
  32753. if thebits = 0 then
  32754. pTDefRegMap(@Self)^.clr := $00000010
  32755. else
  32756. pTDefRegMap(@Self)^.&set := $00000010;
  32757. end;
  32758. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  32759. begin
  32760. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32761. end;
  32762. procedure TUSB_U1IR.setRESUMEIF; inline;
  32763. begin
  32764. pTDefRegMap(@Self)^.&set := $00000020;
  32765. end;
  32766. procedure TUSB_U1IR.clearRESUMEIF; inline;
  32767. begin
  32768. pTDefRegMap(@Self)^.clr := $00000020;
  32769. end;
  32770. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  32771. begin
  32772. if thebits = 0 then
  32773. pTDefRegMap(@Self)^.clr := $00000020
  32774. else
  32775. pTDefRegMap(@Self)^.&set := $00000020;
  32776. end;
  32777. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  32778. begin
  32779. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32780. end;
  32781. procedure TUSB_U1IR.setATTACHIF; inline;
  32782. begin
  32783. pTDefRegMap(@Self)^.&set := $00000040;
  32784. end;
  32785. procedure TUSB_U1IR.clearATTACHIF; inline;
  32786. begin
  32787. pTDefRegMap(@Self)^.clr := $00000040;
  32788. end;
  32789. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  32790. begin
  32791. if thebits = 0 then
  32792. pTDefRegMap(@Self)^.clr := $00000040
  32793. else
  32794. pTDefRegMap(@Self)^.&set := $00000040;
  32795. end;
  32796. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  32797. begin
  32798. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32799. end;
  32800. procedure TUSB_U1IR.setSTALLIF; inline;
  32801. begin
  32802. pTDefRegMap(@Self)^.&set := $00000080;
  32803. end;
  32804. procedure TUSB_U1IR.clearSTALLIF; inline;
  32805. begin
  32806. pTDefRegMap(@Self)^.clr := $00000080;
  32807. end;
  32808. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  32809. begin
  32810. if thebits = 0 then
  32811. pTDefRegMap(@Self)^.clr := $00000080
  32812. else
  32813. pTDefRegMap(@Self)^.&set := $00000080;
  32814. end;
  32815. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  32816. begin
  32817. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32818. end;
  32819. procedure TUSB_U1IR.setDETACHIF; inline;
  32820. begin
  32821. pTDefRegMap(@Self)^.&set := $00000001;
  32822. end;
  32823. procedure TUSB_U1IR.clearDETACHIF; inline;
  32824. begin
  32825. pTDefRegMap(@Self)^.clr := $00000001;
  32826. end;
  32827. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  32828. begin
  32829. if thebits = 0 then
  32830. pTDefRegMap(@Self)^.clr := $00000001
  32831. else
  32832. pTDefRegMap(@Self)^.&set := $00000001;
  32833. end;
  32834. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  32835. begin
  32836. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32837. end;
  32838. procedure TUSB_U1IR.setURSTIF; inline;
  32839. begin
  32840. pTDefRegMap(@Self)^.&set := $00000001;
  32841. end;
  32842. procedure TUSB_U1IR.clearURSTIF; inline;
  32843. begin
  32844. pTDefRegMap(@Self)^.clr := $00000001;
  32845. end;
  32846. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  32847. begin
  32848. if thebits = 0 then
  32849. pTDefRegMap(@Self)^.clr := $00000001
  32850. else
  32851. pTDefRegMap(@Self)^.&set := $00000001;
  32852. end;
  32853. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  32854. begin
  32855. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32856. end;
  32857. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  32858. begin
  32859. pTDefRegMap(@Self)^.&set := $00000001;
  32860. end;
  32861. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  32862. begin
  32863. pTDefRegMap(@Self)^.clr := $00000001;
  32864. end;
  32865. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  32866. begin
  32867. if thebits = 0 then
  32868. pTDefRegMap(@Self)^.clr := $00000001
  32869. else
  32870. pTDefRegMap(@Self)^.&set := $00000001;
  32871. end;
  32872. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  32873. begin
  32874. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32875. end;
  32876. procedure TUSB_U1IE.setUERRIE; inline;
  32877. begin
  32878. pTDefRegMap(@Self)^.&set := $00000002;
  32879. end;
  32880. procedure TUSB_U1IE.clearUERRIE; inline;
  32881. begin
  32882. pTDefRegMap(@Self)^.clr := $00000002;
  32883. end;
  32884. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  32885. begin
  32886. if thebits = 0 then
  32887. pTDefRegMap(@Self)^.clr := $00000002
  32888. else
  32889. pTDefRegMap(@Self)^.&set := $00000002;
  32890. end;
  32891. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  32892. begin
  32893. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32894. end;
  32895. procedure TUSB_U1IE.setSOFIE; inline;
  32896. begin
  32897. pTDefRegMap(@Self)^.&set := $00000004;
  32898. end;
  32899. procedure TUSB_U1IE.clearSOFIE; inline;
  32900. begin
  32901. pTDefRegMap(@Self)^.clr := $00000004;
  32902. end;
  32903. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  32904. begin
  32905. if thebits = 0 then
  32906. pTDefRegMap(@Self)^.clr := $00000004
  32907. else
  32908. pTDefRegMap(@Self)^.&set := $00000004;
  32909. end;
  32910. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  32911. begin
  32912. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32913. end;
  32914. procedure TUSB_U1IE.setTRNIE; inline;
  32915. begin
  32916. pTDefRegMap(@Self)^.&set := $00000008;
  32917. end;
  32918. procedure TUSB_U1IE.clearTRNIE; inline;
  32919. begin
  32920. pTDefRegMap(@Self)^.clr := $00000008;
  32921. end;
  32922. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  32923. begin
  32924. if thebits = 0 then
  32925. pTDefRegMap(@Self)^.clr := $00000008
  32926. else
  32927. pTDefRegMap(@Self)^.&set := $00000008;
  32928. end;
  32929. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  32930. begin
  32931. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32932. end;
  32933. procedure TUSB_U1IE.setIDLEIE; inline;
  32934. begin
  32935. pTDefRegMap(@Self)^.&set := $00000010;
  32936. end;
  32937. procedure TUSB_U1IE.clearIDLEIE; inline;
  32938. begin
  32939. pTDefRegMap(@Self)^.clr := $00000010;
  32940. end;
  32941. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32942. begin
  32943. if thebits = 0 then
  32944. pTDefRegMap(@Self)^.clr := $00000010
  32945. else
  32946. pTDefRegMap(@Self)^.&set := $00000010;
  32947. end;
  32948. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  32949. begin
  32950. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32951. end;
  32952. procedure TUSB_U1IE.setRESUMEIE; inline;
  32953. begin
  32954. pTDefRegMap(@Self)^.&set := $00000020;
  32955. end;
  32956. procedure TUSB_U1IE.clearRESUMEIE; inline;
  32957. begin
  32958. pTDefRegMap(@Self)^.clr := $00000020;
  32959. end;
  32960. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32961. begin
  32962. if thebits = 0 then
  32963. pTDefRegMap(@Self)^.clr := $00000020
  32964. else
  32965. pTDefRegMap(@Self)^.&set := $00000020;
  32966. end;
  32967. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  32968. begin
  32969. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32970. end;
  32971. procedure TUSB_U1IE.setATTACHIE; inline;
  32972. begin
  32973. pTDefRegMap(@Self)^.&set := $00000040;
  32974. end;
  32975. procedure TUSB_U1IE.clearATTACHIE; inline;
  32976. begin
  32977. pTDefRegMap(@Self)^.clr := $00000040;
  32978. end;
  32979. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32980. begin
  32981. if thebits = 0 then
  32982. pTDefRegMap(@Self)^.clr := $00000040
  32983. else
  32984. pTDefRegMap(@Self)^.&set := $00000040;
  32985. end;
  32986. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  32987. begin
  32988. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32989. end;
  32990. procedure TUSB_U1IE.setSTALLIE; inline;
  32991. begin
  32992. pTDefRegMap(@Self)^.&set := $00000080;
  32993. end;
  32994. procedure TUSB_U1IE.clearSTALLIE; inline;
  32995. begin
  32996. pTDefRegMap(@Self)^.clr := $00000080;
  32997. end;
  32998. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32999. begin
  33000. if thebits = 0 then
  33001. pTDefRegMap(@Self)^.clr := $00000080
  33002. else
  33003. pTDefRegMap(@Self)^.&set := $00000080;
  33004. end;
  33005. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  33006. begin
  33007. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33008. end;
  33009. procedure TUSB_U1IE.setDETACHIE; inline;
  33010. begin
  33011. pTDefRegMap(@Self)^.&set := $00000001;
  33012. end;
  33013. procedure TUSB_U1IE.clearDETACHIE; inline;
  33014. begin
  33015. pTDefRegMap(@Self)^.clr := $00000001;
  33016. end;
  33017. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  33018. begin
  33019. if thebits = 0 then
  33020. pTDefRegMap(@Self)^.clr := $00000001
  33021. else
  33022. pTDefRegMap(@Self)^.&set := $00000001;
  33023. end;
  33024. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  33025. begin
  33026. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33027. end;
  33028. procedure TUSB_U1IE.setURSTIE; inline;
  33029. begin
  33030. pTDefRegMap(@Self)^.&set := $00000001;
  33031. end;
  33032. procedure TUSB_U1IE.clearURSTIE; inline;
  33033. begin
  33034. pTDefRegMap(@Self)^.clr := $00000001;
  33035. end;
  33036. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  33037. begin
  33038. if thebits = 0 then
  33039. pTDefRegMap(@Self)^.clr := $00000001
  33040. else
  33041. pTDefRegMap(@Self)^.&set := $00000001;
  33042. end;
  33043. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  33044. begin
  33045. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33046. end;
  33047. procedure TUSB_U1EIR.setPIDEF; inline;
  33048. begin
  33049. pTDefRegMap(@Self)^.&set := $00000001;
  33050. end;
  33051. procedure TUSB_U1EIR.clearPIDEF; inline;
  33052. begin
  33053. pTDefRegMap(@Self)^.clr := $00000001;
  33054. end;
  33055. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  33056. begin
  33057. if thebits = 0 then
  33058. pTDefRegMap(@Self)^.clr := $00000001
  33059. else
  33060. pTDefRegMap(@Self)^.&set := $00000001;
  33061. end;
  33062. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  33063. begin
  33064. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33065. end;
  33066. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  33067. begin
  33068. pTDefRegMap(@Self)^.&set := $00000002;
  33069. end;
  33070. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  33071. begin
  33072. pTDefRegMap(@Self)^.clr := $00000002;
  33073. end;
  33074. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  33075. begin
  33076. if thebits = 0 then
  33077. pTDefRegMap(@Self)^.clr := $00000002
  33078. else
  33079. pTDefRegMap(@Self)^.&set := $00000002;
  33080. end;
  33081. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  33082. begin
  33083. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33084. end;
  33085. procedure TUSB_U1EIR.setCRC16EF; inline;
  33086. begin
  33087. pTDefRegMap(@Self)^.&set := $00000004;
  33088. end;
  33089. procedure TUSB_U1EIR.clearCRC16EF; inline;
  33090. begin
  33091. pTDefRegMap(@Self)^.clr := $00000004;
  33092. end;
  33093. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  33094. begin
  33095. if thebits = 0 then
  33096. pTDefRegMap(@Self)^.clr := $00000004
  33097. else
  33098. pTDefRegMap(@Self)^.&set := $00000004;
  33099. end;
  33100. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  33101. begin
  33102. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33103. end;
  33104. procedure TUSB_U1EIR.setDFN8EF; inline;
  33105. begin
  33106. pTDefRegMap(@Self)^.&set := $00000008;
  33107. end;
  33108. procedure TUSB_U1EIR.clearDFN8EF; inline;
  33109. begin
  33110. pTDefRegMap(@Self)^.clr := $00000008;
  33111. end;
  33112. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  33113. begin
  33114. if thebits = 0 then
  33115. pTDefRegMap(@Self)^.clr := $00000008
  33116. else
  33117. pTDefRegMap(@Self)^.&set := $00000008;
  33118. end;
  33119. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  33120. begin
  33121. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33122. end;
  33123. procedure TUSB_U1EIR.setBTOEF; inline;
  33124. begin
  33125. pTDefRegMap(@Self)^.&set := $00000010;
  33126. end;
  33127. procedure TUSB_U1EIR.clearBTOEF; inline;
  33128. begin
  33129. pTDefRegMap(@Self)^.clr := $00000010;
  33130. end;
  33131. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  33132. begin
  33133. if thebits = 0 then
  33134. pTDefRegMap(@Self)^.clr := $00000010
  33135. else
  33136. pTDefRegMap(@Self)^.&set := $00000010;
  33137. end;
  33138. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  33139. begin
  33140. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33141. end;
  33142. procedure TUSB_U1EIR.setDMAEF; inline;
  33143. begin
  33144. pTDefRegMap(@Self)^.&set := $00000020;
  33145. end;
  33146. procedure TUSB_U1EIR.clearDMAEF; inline;
  33147. begin
  33148. pTDefRegMap(@Self)^.clr := $00000020;
  33149. end;
  33150. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  33151. begin
  33152. if thebits = 0 then
  33153. pTDefRegMap(@Self)^.clr := $00000020
  33154. else
  33155. pTDefRegMap(@Self)^.&set := $00000020;
  33156. end;
  33157. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  33158. begin
  33159. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33160. end;
  33161. procedure TUSB_U1EIR.setBMXEF; inline;
  33162. begin
  33163. pTDefRegMap(@Self)^.&set := $00000040;
  33164. end;
  33165. procedure TUSB_U1EIR.clearBMXEF; inline;
  33166. begin
  33167. pTDefRegMap(@Self)^.clr := $00000040;
  33168. end;
  33169. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  33170. begin
  33171. if thebits = 0 then
  33172. pTDefRegMap(@Self)^.clr := $00000040
  33173. else
  33174. pTDefRegMap(@Self)^.&set := $00000040;
  33175. end;
  33176. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  33177. begin
  33178. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33179. end;
  33180. procedure TUSB_U1EIR.setBTSEF; inline;
  33181. begin
  33182. pTDefRegMap(@Self)^.&set := $00000080;
  33183. end;
  33184. procedure TUSB_U1EIR.clearBTSEF; inline;
  33185. begin
  33186. pTDefRegMap(@Self)^.clr := $00000080;
  33187. end;
  33188. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  33189. begin
  33190. if thebits = 0 then
  33191. pTDefRegMap(@Self)^.clr := $00000080
  33192. else
  33193. pTDefRegMap(@Self)^.&set := $00000080;
  33194. end;
  33195. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  33196. begin
  33197. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33198. end;
  33199. procedure TUSB_U1EIR.setCRC5EF; inline;
  33200. begin
  33201. pTDefRegMap(@Self)^.&set := $00000002;
  33202. end;
  33203. procedure TUSB_U1EIR.clearCRC5EF; inline;
  33204. begin
  33205. pTDefRegMap(@Self)^.clr := $00000002;
  33206. end;
  33207. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  33208. begin
  33209. if thebits = 0 then
  33210. pTDefRegMap(@Self)^.clr := $00000002
  33211. else
  33212. pTDefRegMap(@Self)^.&set := $00000002;
  33213. end;
  33214. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  33215. begin
  33216. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33217. end;
  33218. procedure TUSB_U1EIR.setEOFEF; inline;
  33219. begin
  33220. pTDefRegMap(@Self)^.&set := $00000002;
  33221. end;
  33222. procedure TUSB_U1EIR.clearEOFEF; inline;
  33223. begin
  33224. pTDefRegMap(@Self)^.clr := $00000002;
  33225. end;
  33226. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  33227. begin
  33228. if thebits = 0 then
  33229. pTDefRegMap(@Self)^.clr := $00000002
  33230. else
  33231. pTDefRegMap(@Self)^.&set := $00000002;
  33232. end;
  33233. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  33234. begin
  33235. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33236. end;
  33237. procedure TUSB_U1EIE.setPIDEE; inline;
  33238. begin
  33239. pTDefRegMap(@Self)^.&set := $00000001;
  33240. end;
  33241. procedure TUSB_U1EIE.clearPIDEE; inline;
  33242. begin
  33243. pTDefRegMap(@Self)^.clr := $00000001;
  33244. end;
  33245. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  33246. begin
  33247. if thebits = 0 then
  33248. pTDefRegMap(@Self)^.clr := $00000001
  33249. else
  33250. pTDefRegMap(@Self)^.&set := $00000001;
  33251. end;
  33252. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  33253. begin
  33254. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33255. end;
  33256. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  33257. begin
  33258. pTDefRegMap(@Self)^.&set := $00000002;
  33259. end;
  33260. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  33261. begin
  33262. pTDefRegMap(@Self)^.clr := $00000002;
  33263. end;
  33264. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  33265. begin
  33266. if thebits = 0 then
  33267. pTDefRegMap(@Self)^.clr := $00000002
  33268. else
  33269. pTDefRegMap(@Self)^.&set := $00000002;
  33270. end;
  33271. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  33272. begin
  33273. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33274. end;
  33275. procedure TUSB_U1EIE.setCRC16EE; inline;
  33276. begin
  33277. pTDefRegMap(@Self)^.&set := $00000004;
  33278. end;
  33279. procedure TUSB_U1EIE.clearCRC16EE; inline;
  33280. begin
  33281. pTDefRegMap(@Self)^.clr := $00000004;
  33282. end;
  33283. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  33284. begin
  33285. if thebits = 0 then
  33286. pTDefRegMap(@Self)^.clr := $00000004
  33287. else
  33288. pTDefRegMap(@Self)^.&set := $00000004;
  33289. end;
  33290. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  33291. begin
  33292. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33293. end;
  33294. procedure TUSB_U1EIE.setDFN8EE; inline;
  33295. begin
  33296. pTDefRegMap(@Self)^.&set := $00000008;
  33297. end;
  33298. procedure TUSB_U1EIE.clearDFN8EE; inline;
  33299. begin
  33300. pTDefRegMap(@Self)^.clr := $00000008;
  33301. end;
  33302. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  33303. begin
  33304. if thebits = 0 then
  33305. pTDefRegMap(@Self)^.clr := $00000008
  33306. else
  33307. pTDefRegMap(@Self)^.&set := $00000008;
  33308. end;
  33309. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  33310. begin
  33311. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33312. end;
  33313. procedure TUSB_U1EIE.setBTOEE; inline;
  33314. begin
  33315. pTDefRegMap(@Self)^.&set := $00000010;
  33316. end;
  33317. procedure TUSB_U1EIE.clearBTOEE; inline;
  33318. begin
  33319. pTDefRegMap(@Self)^.clr := $00000010;
  33320. end;
  33321. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  33322. begin
  33323. if thebits = 0 then
  33324. pTDefRegMap(@Self)^.clr := $00000010
  33325. else
  33326. pTDefRegMap(@Self)^.&set := $00000010;
  33327. end;
  33328. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  33329. begin
  33330. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33331. end;
  33332. procedure TUSB_U1EIE.setDMAEE; inline;
  33333. begin
  33334. pTDefRegMap(@Self)^.&set := $00000020;
  33335. end;
  33336. procedure TUSB_U1EIE.clearDMAEE; inline;
  33337. begin
  33338. pTDefRegMap(@Self)^.clr := $00000020;
  33339. end;
  33340. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  33341. begin
  33342. if thebits = 0 then
  33343. pTDefRegMap(@Self)^.clr := $00000020
  33344. else
  33345. pTDefRegMap(@Self)^.&set := $00000020;
  33346. end;
  33347. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  33348. begin
  33349. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33350. end;
  33351. procedure TUSB_U1EIE.setBMXEE; inline;
  33352. begin
  33353. pTDefRegMap(@Self)^.&set := $00000040;
  33354. end;
  33355. procedure TUSB_U1EIE.clearBMXEE; inline;
  33356. begin
  33357. pTDefRegMap(@Self)^.clr := $00000040;
  33358. end;
  33359. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  33360. begin
  33361. if thebits = 0 then
  33362. pTDefRegMap(@Self)^.clr := $00000040
  33363. else
  33364. pTDefRegMap(@Self)^.&set := $00000040;
  33365. end;
  33366. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  33367. begin
  33368. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33369. end;
  33370. procedure TUSB_U1EIE.setBTSEE; inline;
  33371. begin
  33372. pTDefRegMap(@Self)^.&set := $00000080;
  33373. end;
  33374. procedure TUSB_U1EIE.clearBTSEE; inline;
  33375. begin
  33376. pTDefRegMap(@Self)^.clr := $00000080;
  33377. end;
  33378. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  33379. begin
  33380. if thebits = 0 then
  33381. pTDefRegMap(@Self)^.clr := $00000080
  33382. else
  33383. pTDefRegMap(@Self)^.&set := $00000080;
  33384. end;
  33385. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  33386. begin
  33387. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33388. end;
  33389. procedure TUSB_U1EIE.setCRC5EE; inline;
  33390. begin
  33391. pTDefRegMap(@Self)^.&set := $00000002;
  33392. end;
  33393. procedure TUSB_U1EIE.clearCRC5EE; inline;
  33394. begin
  33395. pTDefRegMap(@Self)^.clr := $00000002;
  33396. end;
  33397. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  33398. begin
  33399. if thebits = 0 then
  33400. pTDefRegMap(@Self)^.clr := $00000002
  33401. else
  33402. pTDefRegMap(@Self)^.&set := $00000002;
  33403. end;
  33404. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  33405. begin
  33406. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33407. end;
  33408. procedure TUSB_U1EIE.setEOFEE; inline;
  33409. begin
  33410. pTDefRegMap(@Self)^.&set := $00000002;
  33411. end;
  33412. procedure TUSB_U1EIE.clearEOFEE; inline;
  33413. begin
  33414. pTDefRegMap(@Self)^.clr := $00000002;
  33415. end;
  33416. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  33417. begin
  33418. if thebits = 0 then
  33419. pTDefRegMap(@Self)^.clr := $00000002
  33420. else
  33421. pTDefRegMap(@Self)^.&set := $00000002;
  33422. end;
  33423. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  33424. begin
  33425. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33426. end;
  33427. procedure TUSB_U1STAT.setPPBI; inline;
  33428. begin
  33429. pTDefRegMap(@Self)^.&set := $00000004;
  33430. end;
  33431. procedure TUSB_U1STAT.clearPPBI; inline;
  33432. begin
  33433. pTDefRegMap(@Self)^.clr := $00000004;
  33434. end;
  33435. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  33436. begin
  33437. if thebits = 0 then
  33438. pTDefRegMap(@Self)^.clr := $00000004
  33439. else
  33440. pTDefRegMap(@Self)^.&set := $00000004;
  33441. end;
  33442. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  33443. begin
  33444. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33445. end;
  33446. procedure TUSB_U1STAT.setDIR; inline;
  33447. begin
  33448. pTDefRegMap(@Self)^.&set := $00000008;
  33449. end;
  33450. procedure TUSB_U1STAT.clearDIR; inline;
  33451. begin
  33452. pTDefRegMap(@Self)^.clr := $00000008;
  33453. end;
  33454. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  33455. begin
  33456. if thebits = 0 then
  33457. pTDefRegMap(@Self)^.clr := $00000008
  33458. else
  33459. pTDefRegMap(@Self)^.&set := $00000008;
  33460. end;
  33461. function TUSB_U1STAT.getDIR : TBits_1; inline;
  33462. begin
  33463. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33464. end;
  33465. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  33466. begin
  33467. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33468. end;
  33469. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  33470. begin
  33471. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33472. end;
  33473. procedure TUSB_U1STAT.setENDPT0; inline;
  33474. begin
  33475. pTDefRegMap(@Self)^.&set := $00000010;
  33476. end;
  33477. procedure TUSB_U1STAT.clearENDPT0; inline;
  33478. begin
  33479. pTDefRegMap(@Self)^.clr := $00000010;
  33480. end;
  33481. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  33482. begin
  33483. if thebits = 0 then
  33484. pTDefRegMap(@Self)^.clr := $00000010
  33485. else
  33486. pTDefRegMap(@Self)^.&set := $00000010;
  33487. end;
  33488. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  33489. begin
  33490. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33491. end;
  33492. procedure TUSB_U1STAT.setENDPT1; inline;
  33493. begin
  33494. pTDefRegMap(@Self)^.&set := $00000020;
  33495. end;
  33496. procedure TUSB_U1STAT.clearENDPT1; inline;
  33497. begin
  33498. pTDefRegMap(@Self)^.clr := $00000020;
  33499. end;
  33500. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  33501. begin
  33502. if thebits = 0 then
  33503. pTDefRegMap(@Self)^.clr := $00000020
  33504. else
  33505. pTDefRegMap(@Self)^.&set := $00000020;
  33506. end;
  33507. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  33508. begin
  33509. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33510. end;
  33511. procedure TUSB_U1STAT.setENDPT2; inline;
  33512. begin
  33513. pTDefRegMap(@Self)^.&set := $00000040;
  33514. end;
  33515. procedure TUSB_U1STAT.clearENDPT2; inline;
  33516. begin
  33517. pTDefRegMap(@Self)^.clr := $00000040;
  33518. end;
  33519. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  33520. begin
  33521. if thebits = 0 then
  33522. pTDefRegMap(@Self)^.clr := $00000040
  33523. else
  33524. pTDefRegMap(@Self)^.&set := $00000040;
  33525. end;
  33526. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  33527. begin
  33528. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33529. end;
  33530. procedure TUSB_U1STAT.setENDPT3; inline;
  33531. begin
  33532. pTDefRegMap(@Self)^.&set := $00000080;
  33533. end;
  33534. procedure TUSB_U1STAT.clearENDPT3; inline;
  33535. begin
  33536. pTDefRegMap(@Self)^.clr := $00000080;
  33537. end;
  33538. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  33539. begin
  33540. if thebits = 0 then
  33541. pTDefRegMap(@Self)^.clr := $00000080
  33542. else
  33543. pTDefRegMap(@Self)^.&set := $00000080;
  33544. end;
  33545. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  33546. begin
  33547. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33548. end;
  33549. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  33550. begin
  33551. pTDefRegMap(@Self)^.&set := $00000001;
  33552. end;
  33553. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  33554. begin
  33555. pTDefRegMap(@Self)^.clr := $00000001;
  33556. end;
  33557. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  33558. begin
  33559. if thebits = 0 then
  33560. pTDefRegMap(@Self)^.clr := $00000001
  33561. else
  33562. pTDefRegMap(@Self)^.&set := $00000001;
  33563. end;
  33564. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  33565. begin
  33566. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33567. end;
  33568. procedure TUSB_U1CON.setPPBRST; inline;
  33569. begin
  33570. pTDefRegMap(@Self)^.&set := $00000002;
  33571. end;
  33572. procedure TUSB_U1CON.clearPPBRST; inline;
  33573. begin
  33574. pTDefRegMap(@Self)^.clr := $00000002;
  33575. end;
  33576. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  33577. begin
  33578. if thebits = 0 then
  33579. pTDefRegMap(@Self)^.clr := $00000002
  33580. else
  33581. pTDefRegMap(@Self)^.&set := $00000002;
  33582. end;
  33583. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  33584. begin
  33585. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33586. end;
  33587. procedure TUSB_U1CON.setRESUME; inline;
  33588. begin
  33589. pTDefRegMap(@Self)^.&set := $00000004;
  33590. end;
  33591. procedure TUSB_U1CON.clearRESUME; inline;
  33592. begin
  33593. pTDefRegMap(@Self)^.clr := $00000004;
  33594. end;
  33595. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  33596. begin
  33597. if thebits = 0 then
  33598. pTDefRegMap(@Self)^.clr := $00000004
  33599. else
  33600. pTDefRegMap(@Self)^.&set := $00000004;
  33601. end;
  33602. function TUSB_U1CON.getRESUME : TBits_1; inline;
  33603. begin
  33604. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33605. end;
  33606. procedure TUSB_U1CON.setHOSTEN; inline;
  33607. begin
  33608. pTDefRegMap(@Self)^.&set := $00000008;
  33609. end;
  33610. procedure TUSB_U1CON.clearHOSTEN; inline;
  33611. begin
  33612. pTDefRegMap(@Self)^.clr := $00000008;
  33613. end;
  33614. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  33615. begin
  33616. if thebits = 0 then
  33617. pTDefRegMap(@Self)^.clr := $00000008
  33618. else
  33619. pTDefRegMap(@Self)^.&set := $00000008;
  33620. end;
  33621. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  33622. begin
  33623. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33624. end;
  33625. procedure TUSB_U1CON.setUSBRST; inline;
  33626. begin
  33627. pTDefRegMap(@Self)^.&set := $00000010;
  33628. end;
  33629. procedure TUSB_U1CON.clearUSBRST; inline;
  33630. begin
  33631. pTDefRegMap(@Self)^.clr := $00000010;
  33632. end;
  33633. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  33634. begin
  33635. if thebits = 0 then
  33636. pTDefRegMap(@Self)^.clr := $00000010
  33637. else
  33638. pTDefRegMap(@Self)^.&set := $00000010;
  33639. end;
  33640. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  33641. begin
  33642. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33643. end;
  33644. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  33645. begin
  33646. pTDefRegMap(@Self)^.&set := $00000020;
  33647. end;
  33648. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  33649. begin
  33650. pTDefRegMap(@Self)^.clr := $00000020;
  33651. end;
  33652. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  33653. begin
  33654. if thebits = 0 then
  33655. pTDefRegMap(@Self)^.clr := $00000020
  33656. else
  33657. pTDefRegMap(@Self)^.&set := $00000020;
  33658. end;
  33659. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  33660. begin
  33661. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33662. end;
  33663. procedure TUSB_U1CON.setSE0; inline;
  33664. begin
  33665. pTDefRegMap(@Self)^.&set := $00000040;
  33666. end;
  33667. procedure TUSB_U1CON.clearSE0; inline;
  33668. begin
  33669. pTDefRegMap(@Self)^.clr := $00000040;
  33670. end;
  33671. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  33672. begin
  33673. if thebits = 0 then
  33674. pTDefRegMap(@Self)^.clr := $00000040
  33675. else
  33676. pTDefRegMap(@Self)^.&set := $00000040;
  33677. end;
  33678. function TUSB_U1CON.getSE0 : TBits_1; inline;
  33679. begin
  33680. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33681. end;
  33682. procedure TUSB_U1CON.setJSTATE; inline;
  33683. begin
  33684. pTDefRegMap(@Self)^.&set := $00000080;
  33685. end;
  33686. procedure TUSB_U1CON.clearJSTATE; inline;
  33687. begin
  33688. pTDefRegMap(@Self)^.clr := $00000080;
  33689. end;
  33690. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  33691. begin
  33692. if thebits = 0 then
  33693. pTDefRegMap(@Self)^.clr := $00000080
  33694. else
  33695. pTDefRegMap(@Self)^.&set := $00000080;
  33696. end;
  33697. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  33698. begin
  33699. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33700. end;
  33701. procedure TUSB_U1CON.setUSBEN; inline;
  33702. begin
  33703. pTDefRegMap(@Self)^.&set := $00000001;
  33704. end;
  33705. procedure TUSB_U1CON.clearUSBEN; inline;
  33706. begin
  33707. pTDefRegMap(@Self)^.clr := $00000001;
  33708. end;
  33709. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  33710. begin
  33711. if thebits = 0 then
  33712. pTDefRegMap(@Self)^.clr := $00000001
  33713. else
  33714. pTDefRegMap(@Self)^.&set := $00000001;
  33715. end;
  33716. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  33717. begin
  33718. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33719. end;
  33720. procedure TUSB_U1CON.setSOFEN; inline;
  33721. begin
  33722. pTDefRegMap(@Self)^.&set := $00000001;
  33723. end;
  33724. procedure TUSB_U1CON.clearSOFEN; inline;
  33725. begin
  33726. pTDefRegMap(@Self)^.clr := $00000001;
  33727. end;
  33728. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  33729. begin
  33730. if thebits = 0 then
  33731. pTDefRegMap(@Self)^.clr := $00000001
  33732. else
  33733. pTDefRegMap(@Self)^.&set := $00000001;
  33734. end;
  33735. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  33736. begin
  33737. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33738. end;
  33739. procedure TUSB_U1CON.setPKTDIS; inline;
  33740. begin
  33741. pTDefRegMap(@Self)^.&set := $00000020;
  33742. end;
  33743. procedure TUSB_U1CON.clearPKTDIS; inline;
  33744. begin
  33745. pTDefRegMap(@Self)^.clr := $00000020;
  33746. end;
  33747. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  33748. begin
  33749. if thebits = 0 then
  33750. pTDefRegMap(@Self)^.clr := $00000020
  33751. else
  33752. pTDefRegMap(@Self)^.&set := $00000020;
  33753. end;
  33754. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  33755. begin
  33756. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33757. end;
  33758. procedure TUSB_U1CON.setTOKBUSY; inline;
  33759. begin
  33760. pTDefRegMap(@Self)^.&set := $00000020;
  33761. end;
  33762. procedure TUSB_U1CON.clearTOKBUSY; inline;
  33763. begin
  33764. pTDefRegMap(@Self)^.clr := $00000020;
  33765. end;
  33766. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  33767. begin
  33768. if thebits = 0 then
  33769. pTDefRegMap(@Self)^.clr := $00000020
  33770. else
  33771. pTDefRegMap(@Self)^.&set := $00000020;
  33772. end;
  33773. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  33774. begin
  33775. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33776. end;
  33777. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  33778. begin
  33779. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  33780. end;
  33781. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  33782. begin
  33783. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  33784. end;
  33785. procedure TUSB_U1ADDR.setLSPDEN; inline;
  33786. begin
  33787. pTDefRegMap(@Self)^.&set := $00000080;
  33788. end;
  33789. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  33790. begin
  33791. pTDefRegMap(@Self)^.clr := $00000080;
  33792. end;
  33793. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  33794. begin
  33795. if thebits = 0 then
  33796. pTDefRegMap(@Self)^.clr := $00000080
  33797. else
  33798. pTDefRegMap(@Self)^.&set := $00000080;
  33799. end;
  33800. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  33801. begin
  33802. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33803. end;
  33804. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  33805. begin
  33806. pTDefRegMap(@Self)^.&set := $00000001;
  33807. end;
  33808. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  33809. begin
  33810. pTDefRegMap(@Self)^.clr := $00000001;
  33811. end;
  33812. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  33813. begin
  33814. if thebits = 0 then
  33815. pTDefRegMap(@Self)^.clr := $00000001
  33816. else
  33817. pTDefRegMap(@Self)^.&set := $00000001;
  33818. end;
  33819. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  33820. begin
  33821. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33822. end;
  33823. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  33824. begin
  33825. pTDefRegMap(@Self)^.&set := $00000002;
  33826. end;
  33827. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  33828. begin
  33829. pTDefRegMap(@Self)^.clr := $00000002;
  33830. end;
  33831. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  33832. begin
  33833. if thebits = 0 then
  33834. pTDefRegMap(@Self)^.clr := $00000002
  33835. else
  33836. pTDefRegMap(@Self)^.&set := $00000002;
  33837. end;
  33838. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  33839. begin
  33840. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33841. end;
  33842. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  33843. begin
  33844. pTDefRegMap(@Self)^.&set := $00000004;
  33845. end;
  33846. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  33847. begin
  33848. pTDefRegMap(@Self)^.clr := $00000004;
  33849. end;
  33850. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  33851. begin
  33852. if thebits = 0 then
  33853. pTDefRegMap(@Self)^.clr := $00000004
  33854. else
  33855. pTDefRegMap(@Self)^.&set := $00000004;
  33856. end;
  33857. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  33858. begin
  33859. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33860. end;
  33861. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  33862. begin
  33863. pTDefRegMap(@Self)^.&set := $00000008;
  33864. end;
  33865. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  33866. begin
  33867. pTDefRegMap(@Self)^.clr := $00000008;
  33868. end;
  33869. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  33870. begin
  33871. if thebits = 0 then
  33872. pTDefRegMap(@Self)^.clr := $00000008
  33873. else
  33874. pTDefRegMap(@Self)^.&set := $00000008;
  33875. end;
  33876. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  33877. begin
  33878. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33879. end;
  33880. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  33881. begin
  33882. pTDefRegMap(@Self)^.&set := $00000010;
  33883. end;
  33884. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  33885. begin
  33886. pTDefRegMap(@Self)^.clr := $00000010;
  33887. end;
  33888. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  33889. begin
  33890. if thebits = 0 then
  33891. pTDefRegMap(@Self)^.clr := $00000010
  33892. else
  33893. pTDefRegMap(@Self)^.&set := $00000010;
  33894. end;
  33895. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  33896. begin
  33897. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33898. end;
  33899. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  33900. begin
  33901. pTDefRegMap(@Self)^.&set := $00000020;
  33902. end;
  33903. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  33904. begin
  33905. pTDefRegMap(@Self)^.clr := $00000020;
  33906. end;
  33907. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  33908. begin
  33909. if thebits = 0 then
  33910. pTDefRegMap(@Self)^.clr := $00000020
  33911. else
  33912. pTDefRegMap(@Self)^.&set := $00000020;
  33913. end;
  33914. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33915. begin
  33916. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33917. end;
  33918. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  33919. begin
  33920. pTDefRegMap(@Self)^.&set := $00000040;
  33921. end;
  33922. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  33923. begin
  33924. pTDefRegMap(@Self)^.clr := $00000040;
  33925. end;
  33926. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33927. begin
  33928. if thebits = 0 then
  33929. pTDefRegMap(@Self)^.clr := $00000040
  33930. else
  33931. pTDefRegMap(@Self)^.&set := $00000040;
  33932. end;
  33933. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33934. begin
  33935. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33936. end;
  33937. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  33938. begin
  33939. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33940. end;
  33941. function TUSB_U1FRML.getFRML : TBits_8; inline;
  33942. begin
  33943. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33944. end;
  33945. procedure TUSB_U1FRML.setFRM0; inline;
  33946. begin
  33947. pTDefRegMap(@Self)^.&set := $00000001;
  33948. end;
  33949. procedure TUSB_U1FRML.clearFRM0; inline;
  33950. begin
  33951. pTDefRegMap(@Self)^.clr := $00000001;
  33952. end;
  33953. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  33954. begin
  33955. if thebits = 0 then
  33956. pTDefRegMap(@Self)^.clr := $00000001
  33957. else
  33958. pTDefRegMap(@Self)^.&set := $00000001;
  33959. end;
  33960. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  33961. begin
  33962. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33963. end;
  33964. procedure TUSB_U1FRML.setFRM1; inline;
  33965. begin
  33966. pTDefRegMap(@Self)^.&set := $00000002;
  33967. end;
  33968. procedure TUSB_U1FRML.clearFRM1; inline;
  33969. begin
  33970. pTDefRegMap(@Self)^.clr := $00000002;
  33971. end;
  33972. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  33973. begin
  33974. if thebits = 0 then
  33975. pTDefRegMap(@Self)^.clr := $00000002
  33976. else
  33977. pTDefRegMap(@Self)^.&set := $00000002;
  33978. end;
  33979. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  33980. begin
  33981. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33982. end;
  33983. procedure TUSB_U1FRML.setFRM2; inline;
  33984. begin
  33985. pTDefRegMap(@Self)^.&set := $00000004;
  33986. end;
  33987. procedure TUSB_U1FRML.clearFRM2; inline;
  33988. begin
  33989. pTDefRegMap(@Self)^.clr := $00000004;
  33990. end;
  33991. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  33992. begin
  33993. if thebits = 0 then
  33994. pTDefRegMap(@Self)^.clr := $00000004
  33995. else
  33996. pTDefRegMap(@Self)^.&set := $00000004;
  33997. end;
  33998. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  33999. begin
  34000. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34001. end;
  34002. procedure TUSB_U1FRML.setFRM3; inline;
  34003. begin
  34004. pTDefRegMap(@Self)^.&set := $00000008;
  34005. end;
  34006. procedure TUSB_U1FRML.clearFRM3; inline;
  34007. begin
  34008. pTDefRegMap(@Self)^.clr := $00000008;
  34009. end;
  34010. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  34011. begin
  34012. if thebits = 0 then
  34013. pTDefRegMap(@Self)^.clr := $00000008
  34014. else
  34015. pTDefRegMap(@Self)^.&set := $00000008;
  34016. end;
  34017. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  34018. begin
  34019. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34020. end;
  34021. procedure TUSB_U1FRML.setFRM4; inline;
  34022. begin
  34023. pTDefRegMap(@Self)^.&set := $00000010;
  34024. end;
  34025. procedure TUSB_U1FRML.clearFRM4; inline;
  34026. begin
  34027. pTDefRegMap(@Self)^.clr := $00000010;
  34028. end;
  34029. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  34030. begin
  34031. if thebits = 0 then
  34032. pTDefRegMap(@Self)^.clr := $00000010
  34033. else
  34034. pTDefRegMap(@Self)^.&set := $00000010;
  34035. end;
  34036. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  34037. begin
  34038. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34039. end;
  34040. procedure TUSB_U1FRML.setFRM5; inline;
  34041. begin
  34042. pTDefRegMap(@Self)^.&set := $00000020;
  34043. end;
  34044. procedure TUSB_U1FRML.clearFRM5; inline;
  34045. begin
  34046. pTDefRegMap(@Self)^.clr := $00000020;
  34047. end;
  34048. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  34049. begin
  34050. if thebits = 0 then
  34051. pTDefRegMap(@Self)^.clr := $00000020
  34052. else
  34053. pTDefRegMap(@Self)^.&set := $00000020;
  34054. end;
  34055. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  34056. begin
  34057. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34058. end;
  34059. procedure TUSB_U1FRML.setFRM6; inline;
  34060. begin
  34061. pTDefRegMap(@Self)^.&set := $00000040;
  34062. end;
  34063. procedure TUSB_U1FRML.clearFRM6; inline;
  34064. begin
  34065. pTDefRegMap(@Self)^.clr := $00000040;
  34066. end;
  34067. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  34068. begin
  34069. if thebits = 0 then
  34070. pTDefRegMap(@Self)^.clr := $00000040
  34071. else
  34072. pTDefRegMap(@Self)^.&set := $00000040;
  34073. end;
  34074. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  34075. begin
  34076. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34077. end;
  34078. procedure TUSB_U1FRML.setFRM7; inline;
  34079. begin
  34080. pTDefRegMap(@Self)^.&set := $00000080;
  34081. end;
  34082. procedure TUSB_U1FRML.clearFRM7; inline;
  34083. begin
  34084. pTDefRegMap(@Self)^.clr := $00000080;
  34085. end;
  34086. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  34087. begin
  34088. if thebits = 0 then
  34089. pTDefRegMap(@Self)^.clr := $00000080
  34090. else
  34091. pTDefRegMap(@Self)^.&set := $00000080;
  34092. end;
  34093. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  34094. begin
  34095. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34096. end;
  34097. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  34098. begin
  34099. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  34100. end;
  34101. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  34102. begin
  34103. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  34104. end;
  34105. procedure TUSB_U1FRMH.setFRM8; inline;
  34106. begin
  34107. pTDefRegMap(@Self)^.&set := $00000001;
  34108. end;
  34109. procedure TUSB_U1FRMH.clearFRM8; inline;
  34110. begin
  34111. pTDefRegMap(@Self)^.clr := $00000001;
  34112. end;
  34113. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  34114. begin
  34115. if thebits = 0 then
  34116. pTDefRegMap(@Self)^.clr := $00000001
  34117. else
  34118. pTDefRegMap(@Self)^.&set := $00000001;
  34119. end;
  34120. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  34121. begin
  34122. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34123. end;
  34124. procedure TUSB_U1FRMH.setFRM9; inline;
  34125. begin
  34126. pTDefRegMap(@Self)^.&set := $00000002;
  34127. end;
  34128. procedure TUSB_U1FRMH.clearFRM9; inline;
  34129. begin
  34130. pTDefRegMap(@Self)^.clr := $00000002;
  34131. end;
  34132. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  34133. begin
  34134. if thebits = 0 then
  34135. pTDefRegMap(@Self)^.clr := $00000002
  34136. else
  34137. pTDefRegMap(@Self)^.&set := $00000002;
  34138. end;
  34139. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  34140. begin
  34141. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34142. end;
  34143. procedure TUSB_U1FRMH.setFRM10; inline;
  34144. begin
  34145. pTDefRegMap(@Self)^.&set := $00000004;
  34146. end;
  34147. procedure TUSB_U1FRMH.clearFRM10; inline;
  34148. begin
  34149. pTDefRegMap(@Self)^.clr := $00000004;
  34150. end;
  34151. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  34152. begin
  34153. if thebits = 0 then
  34154. pTDefRegMap(@Self)^.clr := $00000004
  34155. else
  34156. pTDefRegMap(@Self)^.&set := $00000004;
  34157. end;
  34158. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  34159. begin
  34160. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34161. end;
  34162. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  34163. begin
  34164. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  34165. end;
  34166. function TUSB_U1TOK.getEP : TBits_4; inline;
  34167. begin
  34168. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  34169. end;
  34170. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  34171. begin
  34172. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  34173. end;
  34174. function TUSB_U1TOK.getPID : TBits_4; inline;
  34175. begin
  34176. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  34177. end;
  34178. procedure TUSB_U1TOK.setEP0; inline;
  34179. begin
  34180. pTDefRegMap(@Self)^.&set := $00000001;
  34181. end;
  34182. procedure TUSB_U1TOK.clearEP0; inline;
  34183. begin
  34184. pTDefRegMap(@Self)^.clr := $00000001;
  34185. end;
  34186. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  34187. begin
  34188. if thebits = 0 then
  34189. pTDefRegMap(@Self)^.clr := $00000001
  34190. else
  34191. pTDefRegMap(@Self)^.&set := $00000001;
  34192. end;
  34193. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  34194. begin
  34195. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34196. end;
  34197. procedure TUSB_U1TOK.setEP1; inline;
  34198. begin
  34199. pTDefRegMap(@Self)^.&set := $00000002;
  34200. end;
  34201. procedure TUSB_U1TOK.clearEP1; inline;
  34202. begin
  34203. pTDefRegMap(@Self)^.clr := $00000002;
  34204. end;
  34205. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  34206. begin
  34207. if thebits = 0 then
  34208. pTDefRegMap(@Self)^.clr := $00000002
  34209. else
  34210. pTDefRegMap(@Self)^.&set := $00000002;
  34211. end;
  34212. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  34213. begin
  34214. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34215. end;
  34216. procedure TUSB_U1TOK.setEP2; inline;
  34217. begin
  34218. pTDefRegMap(@Self)^.&set := $00000004;
  34219. end;
  34220. procedure TUSB_U1TOK.clearEP2; inline;
  34221. begin
  34222. pTDefRegMap(@Self)^.clr := $00000004;
  34223. end;
  34224. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  34225. begin
  34226. if thebits = 0 then
  34227. pTDefRegMap(@Self)^.clr := $00000004
  34228. else
  34229. pTDefRegMap(@Self)^.&set := $00000004;
  34230. end;
  34231. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  34232. begin
  34233. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34234. end;
  34235. procedure TUSB_U1TOK.setEP3; inline;
  34236. begin
  34237. pTDefRegMap(@Self)^.&set := $00000008;
  34238. end;
  34239. procedure TUSB_U1TOK.clearEP3; inline;
  34240. begin
  34241. pTDefRegMap(@Self)^.clr := $00000008;
  34242. end;
  34243. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  34244. begin
  34245. if thebits = 0 then
  34246. pTDefRegMap(@Self)^.clr := $00000008
  34247. else
  34248. pTDefRegMap(@Self)^.&set := $00000008;
  34249. end;
  34250. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  34251. begin
  34252. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34253. end;
  34254. procedure TUSB_U1TOK.setPID0; inline;
  34255. begin
  34256. pTDefRegMap(@Self)^.&set := $00000010;
  34257. end;
  34258. procedure TUSB_U1TOK.clearPID0; inline;
  34259. begin
  34260. pTDefRegMap(@Self)^.clr := $00000010;
  34261. end;
  34262. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  34263. begin
  34264. if thebits = 0 then
  34265. pTDefRegMap(@Self)^.clr := $00000010
  34266. else
  34267. pTDefRegMap(@Self)^.&set := $00000010;
  34268. end;
  34269. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  34270. begin
  34271. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34272. end;
  34273. procedure TUSB_U1TOK.setPID1; inline;
  34274. begin
  34275. pTDefRegMap(@Self)^.&set := $00000020;
  34276. end;
  34277. procedure TUSB_U1TOK.clearPID1; inline;
  34278. begin
  34279. pTDefRegMap(@Self)^.clr := $00000020;
  34280. end;
  34281. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  34282. begin
  34283. if thebits = 0 then
  34284. pTDefRegMap(@Self)^.clr := $00000020
  34285. else
  34286. pTDefRegMap(@Self)^.&set := $00000020;
  34287. end;
  34288. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  34289. begin
  34290. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34291. end;
  34292. procedure TUSB_U1TOK.setPID2; inline;
  34293. begin
  34294. pTDefRegMap(@Self)^.&set := $00000040;
  34295. end;
  34296. procedure TUSB_U1TOK.clearPID2; inline;
  34297. begin
  34298. pTDefRegMap(@Self)^.clr := $00000040;
  34299. end;
  34300. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  34301. begin
  34302. if thebits = 0 then
  34303. pTDefRegMap(@Self)^.clr := $00000040
  34304. else
  34305. pTDefRegMap(@Self)^.&set := $00000040;
  34306. end;
  34307. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  34308. begin
  34309. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34310. end;
  34311. procedure TUSB_U1TOK.setPID3; inline;
  34312. begin
  34313. pTDefRegMap(@Self)^.&set := $00000080;
  34314. end;
  34315. procedure TUSB_U1TOK.clearPID3; inline;
  34316. begin
  34317. pTDefRegMap(@Self)^.clr := $00000080;
  34318. end;
  34319. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  34320. begin
  34321. if thebits = 0 then
  34322. pTDefRegMap(@Self)^.clr := $00000080
  34323. else
  34324. pTDefRegMap(@Self)^.&set := $00000080;
  34325. end;
  34326. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  34327. begin
  34328. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34329. end;
  34330. procedure TPORTA_ANSELA.setANSA0; inline;
  34331. begin
  34332. pTDefRegMap(@Self)^.&set := $00000001;
  34333. end;
  34334. procedure TPORTA_ANSELA.clearANSA0; inline;
  34335. begin
  34336. pTDefRegMap(@Self)^.clr := $00000001;
  34337. end;
  34338. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  34339. begin
  34340. if thebits = 0 then
  34341. pTDefRegMap(@Self)^.clr := $00000001
  34342. else
  34343. pTDefRegMap(@Self)^.&set := $00000001;
  34344. end;
  34345. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  34346. begin
  34347. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34348. end;
  34349. procedure TPORTA_ANSELA.setANSA1; inline;
  34350. begin
  34351. pTDefRegMap(@Self)^.&set := $00000002;
  34352. end;
  34353. procedure TPORTA_ANSELA.clearANSA1; inline;
  34354. begin
  34355. pTDefRegMap(@Self)^.clr := $00000002;
  34356. end;
  34357. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  34358. begin
  34359. if thebits = 0 then
  34360. pTDefRegMap(@Self)^.clr := $00000002
  34361. else
  34362. pTDefRegMap(@Self)^.&set := $00000002;
  34363. end;
  34364. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  34365. begin
  34366. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34367. end;
  34368. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  34369. begin
  34370. pTDefRegMap(@Self)^.val := thebits;
  34371. end;
  34372. function TPORTA_ANSELA.getw : TBits_32; inline;
  34373. begin
  34374. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34375. end;
  34376. procedure TPORTA_TRISA.setTRISA0; inline;
  34377. begin
  34378. pTDefRegMap(@Self)^.&set := $00000001;
  34379. end;
  34380. procedure TPORTA_TRISA.clearTRISA0; inline;
  34381. begin
  34382. pTDefRegMap(@Self)^.clr := $00000001;
  34383. end;
  34384. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  34385. begin
  34386. if thebits = 0 then
  34387. pTDefRegMap(@Self)^.clr := $00000001
  34388. else
  34389. pTDefRegMap(@Self)^.&set := $00000001;
  34390. end;
  34391. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  34392. begin
  34393. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34394. end;
  34395. procedure TPORTA_TRISA.setTRISA1; inline;
  34396. begin
  34397. pTDefRegMap(@Self)^.&set := $00000002;
  34398. end;
  34399. procedure TPORTA_TRISA.clearTRISA1; inline;
  34400. begin
  34401. pTDefRegMap(@Self)^.clr := $00000002;
  34402. end;
  34403. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  34404. begin
  34405. if thebits = 0 then
  34406. pTDefRegMap(@Self)^.clr := $00000002
  34407. else
  34408. pTDefRegMap(@Self)^.&set := $00000002;
  34409. end;
  34410. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  34411. begin
  34412. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34413. end;
  34414. procedure TPORTA_TRISA.setTRISA2; inline;
  34415. begin
  34416. pTDefRegMap(@Self)^.&set := $00000004;
  34417. end;
  34418. procedure TPORTA_TRISA.clearTRISA2; inline;
  34419. begin
  34420. pTDefRegMap(@Self)^.clr := $00000004;
  34421. end;
  34422. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  34423. begin
  34424. if thebits = 0 then
  34425. pTDefRegMap(@Self)^.clr := $00000004
  34426. else
  34427. pTDefRegMap(@Self)^.&set := $00000004;
  34428. end;
  34429. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  34430. begin
  34431. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34432. end;
  34433. procedure TPORTA_TRISA.setTRISA3; inline;
  34434. begin
  34435. pTDefRegMap(@Self)^.&set := $00000008;
  34436. end;
  34437. procedure TPORTA_TRISA.clearTRISA3; inline;
  34438. begin
  34439. pTDefRegMap(@Self)^.clr := $00000008;
  34440. end;
  34441. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  34442. begin
  34443. if thebits = 0 then
  34444. pTDefRegMap(@Self)^.clr := $00000008
  34445. else
  34446. pTDefRegMap(@Self)^.&set := $00000008;
  34447. end;
  34448. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  34449. begin
  34450. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34451. end;
  34452. procedure TPORTA_TRISA.setTRISA4; inline;
  34453. begin
  34454. pTDefRegMap(@Self)^.&set := $00000010;
  34455. end;
  34456. procedure TPORTA_TRISA.clearTRISA4; inline;
  34457. begin
  34458. pTDefRegMap(@Self)^.clr := $00000010;
  34459. end;
  34460. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  34461. begin
  34462. if thebits = 0 then
  34463. pTDefRegMap(@Self)^.clr := $00000010
  34464. else
  34465. pTDefRegMap(@Self)^.&set := $00000010;
  34466. end;
  34467. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  34468. begin
  34469. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34470. end;
  34471. procedure TPORTA_TRISA.setTRISA7; inline;
  34472. begin
  34473. pTDefRegMap(@Self)^.&set := $00000080;
  34474. end;
  34475. procedure TPORTA_TRISA.clearTRISA7; inline;
  34476. begin
  34477. pTDefRegMap(@Self)^.clr := $00000080;
  34478. end;
  34479. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  34480. begin
  34481. if thebits = 0 then
  34482. pTDefRegMap(@Self)^.clr := $00000080
  34483. else
  34484. pTDefRegMap(@Self)^.&set := $00000080;
  34485. end;
  34486. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  34487. begin
  34488. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34489. end;
  34490. procedure TPORTA_TRISA.setTRISA8; inline;
  34491. begin
  34492. pTDefRegMap(@Self)^.&set := $00000100;
  34493. end;
  34494. procedure TPORTA_TRISA.clearTRISA8; inline;
  34495. begin
  34496. pTDefRegMap(@Self)^.clr := $00000100;
  34497. end;
  34498. procedure TPORTA_TRISA.setTRISA8(thebits : TBits_1); inline;
  34499. begin
  34500. if thebits = 0 then
  34501. pTDefRegMap(@Self)^.clr := $00000100
  34502. else
  34503. pTDefRegMap(@Self)^.&set := $00000100;
  34504. end;
  34505. function TPORTA_TRISA.getTRISA8 : TBits_1; inline;
  34506. begin
  34507. getTRISA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34508. end;
  34509. procedure TPORTA_TRISA.setTRISA9; inline;
  34510. begin
  34511. pTDefRegMap(@Self)^.&set := $00000200;
  34512. end;
  34513. procedure TPORTA_TRISA.clearTRISA9; inline;
  34514. begin
  34515. pTDefRegMap(@Self)^.clr := $00000200;
  34516. end;
  34517. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  34518. begin
  34519. if thebits = 0 then
  34520. pTDefRegMap(@Self)^.clr := $00000200
  34521. else
  34522. pTDefRegMap(@Self)^.&set := $00000200;
  34523. end;
  34524. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  34525. begin
  34526. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34527. end;
  34528. procedure TPORTA_TRISA.setTRISA10; inline;
  34529. begin
  34530. pTDefRegMap(@Self)^.&set := $00000400;
  34531. end;
  34532. procedure TPORTA_TRISA.clearTRISA10; inline;
  34533. begin
  34534. pTDefRegMap(@Self)^.clr := $00000400;
  34535. end;
  34536. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  34537. begin
  34538. if thebits = 0 then
  34539. pTDefRegMap(@Self)^.clr := $00000400
  34540. else
  34541. pTDefRegMap(@Self)^.&set := $00000400;
  34542. end;
  34543. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  34544. begin
  34545. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34546. end;
  34547. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  34548. begin
  34549. pTDefRegMap(@Self)^.val := thebits;
  34550. end;
  34551. function TPORTA_TRISA.getw : TBits_32; inline;
  34552. begin
  34553. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34554. end;
  34555. procedure TPORTA_PORTA.setRA0; inline;
  34556. begin
  34557. pTDefRegMap(@Self)^.&set := $00000001;
  34558. end;
  34559. procedure TPORTA_PORTA.clearRA0; inline;
  34560. begin
  34561. pTDefRegMap(@Self)^.clr := $00000001;
  34562. end;
  34563. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  34564. begin
  34565. if thebits = 0 then
  34566. pTDefRegMap(@Self)^.clr := $00000001
  34567. else
  34568. pTDefRegMap(@Self)^.&set := $00000001;
  34569. end;
  34570. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  34571. begin
  34572. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34573. end;
  34574. procedure TPORTA_PORTA.setRA1; inline;
  34575. begin
  34576. pTDefRegMap(@Self)^.&set := $00000002;
  34577. end;
  34578. procedure TPORTA_PORTA.clearRA1; inline;
  34579. begin
  34580. pTDefRegMap(@Self)^.clr := $00000002;
  34581. end;
  34582. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  34583. begin
  34584. if thebits = 0 then
  34585. pTDefRegMap(@Self)^.clr := $00000002
  34586. else
  34587. pTDefRegMap(@Self)^.&set := $00000002;
  34588. end;
  34589. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  34590. begin
  34591. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34592. end;
  34593. procedure TPORTA_PORTA.setRA2; inline;
  34594. begin
  34595. pTDefRegMap(@Self)^.&set := $00000004;
  34596. end;
  34597. procedure TPORTA_PORTA.clearRA2; inline;
  34598. begin
  34599. pTDefRegMap(@Self)^.clr := $00000004;
  34600. end;
  34601. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  34602. begin
  34603. if thebits = 0 then
  34604. pTDefRegMap(@Self)^.clr := $00000004
  34605. else
  34606. pTDefRegMap(@Self)^.&set := $00000004;
  34607. end;
  34608. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  34609. begin
  34610. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34611. end;
  34612. procedure TPORTA_PORTA.setRA3; inline;
  34613. begin
  34614. pTDefRegMap(@Self)^.&set := $00000008;
  34615. end;
  34616. procedure TPORTA_PORTA.clearRA3; inline;
  34617. begin
  34618. pTDefRegMap(@Self)^.clr := $00000008;
  34619. end;
  34620. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  34621. begin
  34622. if thebits = 0 then
  34623. pTDefRegMap(@Self)^.clr := $00000008
  34624. else
  34625. pTDefRegMap(@Self)^.&set := $00000008;
  34626. end;
  34627. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  34628. begin
  34629. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34630. end;
  34631. procedure TPORTA_PORTA.setRA4; inline;
  34632. begin
  34633. pTDefRegMap(@Self)^.&set := $00000010;
  34634. end;
  34635. procedure TPORTA_PORTA.clearRA4; inline;
  34636. begin
  34637. pTDefRegMap(@Self)^.clr := $00000010;
  34638. end;
  34639. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  34640. begin
  34641. if thebits = 0 then
  34642. pTDefRegMap(@Self)^.clr := $00000010
  34643. else
  34644. pTDefRegMap(@Self)^.&set := $00000010;
  34645. end;
  34646. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  34647. begin
  34648. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34649. end;
  34650. procedure TPORTA_PORTA.setRA7; inline;
  34651. begin
  34652. pTDefRegMap(@Self)^.&set := $00000080;
  34653. end;
  34654. procedure TPORTA_PORTA.clearRA7; inline;
  34655. begin
  34656. pTDefRegMap(@Self)^.clr := $00000080;
  34657. end;
  34658. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  34659. begin
  34660. if thebits = 0 then
  34661. pTDefRegMap(@Self)^.clr := $00000080
  34662. else
  34663. pTDefRegMap(@Self)^.&set := $00000080;
  34664. end;
  34665. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  34666. begin
  34667. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34668. end;
  34669. procedure TPORTA_PORTA.setRA8; inline;
  34670. begin
  34671. pTDefRegMap(@Self)^.&set := $00000100;
  34672. end;
  34673. procedure TPORTA_PORTA.clearRA8; inline;
  34674. begin
  34675. pTDefRegMap(@Self)^.clr := $00000100;
  34676. end;
  34677. procedure TPORTA_PORTA.setRA8(thebits : TBits_1); inline;
  34678. begin
  34679. if thebits = 0 then
  34680. pTDefRegMap(@Self)^.clr := $00000100
  34681. else
  34682. pTDefRegMap(@Self)^.&set := $00000100;
  34683. end;
  34684. function TPORTA_PORTA.getRA8 : TBits_1; inline;
  34685. begin
  34686. getRA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34687. end;
  34688. procedure TPORTA_PORTA.setRA9; inline;
  34689. begin
  34690. pTDefRegMap(@Self)^.&set := $00000200;
  34691. end;
  34692. procedure TPORTA_PORTA.clearRA9; inline;
  34693. begin
  34694. pTDefRegMap(@Self)^.clr := $00000200;
  34695. end;
  34696. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  34697. begin
  34698. if thebits = 0 then
  34699. pTDefRegMap(@Self)^.clr := $00000200
  34700. else
  34701. pTDefRegMap(@Self)^.&set := $00000200;
  34702. end;
  34703. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  34704. begin
  34705. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34706. end;
  34707. procedure TPORTA_PORTA.setRA10; inline;
  34708. begin
  34709. pTDefRegMap(@Self)^.&set := $00000400;
  34710. end;
  34711. procedure TPORTA_PORTA.clearRA10; inline;
  34712. begin
  34713. pTDefRegMap(@Self)^.clr := $00000400;
  34714. end;
  34715. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  34716. begin
  34717. if thebits = 0 then
  34718. pTDefRegMap(@Self)^.clr := $00000400
  34719. else
  34720. pTDefRegMap(@Self)^.&set := $00000400;
  34721. end;
  34722. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  34723. begin
  34724. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34725. end;
  34726. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  34727. begin
  34728. pTDefRegMap(@Self)^.val := thebits;
  34729. end;
  34730. function TPORTA_PORTA.getw : TBits_32; inline;
  34731. begin
  34732. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34733. end;
  34734. procedure TPORTA_LATA.setLATA0; inline;
  34735. begin
  34736. pTDefRegMap(@Self)^.&set := $00000001;
  34737. end;
  34738. procedure TPORTA_LATA.clearLATA0; inline;
  34739. begin
  34740. pTDefRegMap(@Self)^.clr := $00000001;
  34741. end;
  34742. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  34743. begin
  34744. if thebits = 0 then
  34745. pTDefRegMap(@Self)^.clr := $00000001
  34746. else
  34747. pTDefRegMap(@Self)^.&set := $00000001;
  34748. end;
  34749. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  34750. begin
  34751. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34752. end;
  34753. procedure TPORTA_LATA.setLATA1; inline;
  34754. begin
  34755. pTDefRegMap(@Self)^.&set := $00000002;
  34756. end;
  34757. procedure TPORTA_LATA.clearLATA1; inline;
  34758. begin
  34759. pTDefRegMap(@Self)^.clr := $00000002;
  34760. end;
  34761. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  34762. begin
  34763. if thebits = 0 then
  34764. pTDefRegMap(@Self)^.clr := $00000002
  34765. else
  34766. pTDefRegMap(@Self)^.&set := $00000002;
  34767. end;
  34768. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  34769. begin
  34770. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34771. end;
  34772. procedure TPORTA_LATA.setLATA2; inline;
  34773. begin
  34774. pTDefRegMap(@Self)^.&set := $00000004;
  34775. end;
  34776. procedure TPORTA_LATA.clearLATA2; inline;
  34777. begin
  34778. pTDefRegMap(@Self)^.clr := $00000004;
  34779. end;
  34780. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  34781. begin
  34782. if thebits = 0 then
  34783. pTDefRegMap(@Self)^.clr := $00000004
  34784. else
  34785. pTDefRegMap(@Self)^.&set := $00000004;
  34786. end;
  34787. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  34788. begin
  34789. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34790. end;
  34791. procedure TPORTA_LATA.setLATA3; inline;
  34792. begin
  34793. pTDefRegMap(@Self)^.&set := $00000008;
  34794. end;
  34795. procedure TPORTA_LATA.clearLATA3; inline;
  34796. begin
  34797. pTDefRegMap(@Self)^.clr := $00000008;
  34798. end;
  34799. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  34800. begin
  34801. if thebits = 0 then
  34802. pTDefRegMap(@Self)^.clr := $00000008
  34803. else
  34804. pTDefRegMap(@Self)^.&set := $00000008;
  34805. end;
  34806. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  34807. begin
  34808. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34809. end;
  34810. procedure TPORTA_LATA.setLATA4; inline;
  34811. begin
  34812. pTDefRegMap(@Self)^.&set := $00000010;
  34813. end;
  34814. procedure TPORTA_LATA.clearLATA4; inline;
  34815. begin
  34816. pTDefRegMap(@Self)^.clr := $00000010;
  34817. end;
  34818. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  34819. begin
  34820. if thebits = 0 then
  34821. pTDefRegMap(@Self)^.clr := $00000010
  34822. else
  34823. pTDefRegMap(@Self)^.&set := $00000010;
  34824. end;
  34825. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  34826. begin
  34827. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34828. end;
  34829. procedure TPORTA_LATA.setLATA7; inline;
  34830. begin
  34831. pTDefRegMap(@Self)^.&set := $00000080;
  34832. end;
  34833. procedure TPORTA_LATA.clearLATA7; inline;
  34834. begin
  34835. pTDefRegMap(@Self)^.clr := $00000080;
  34836. end;
  34837. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  34838. begin
  34839. if thebits = 0 then
  34840. pTDefRegMap(@Self)^.clr := $00000080
  34841. else
  34842. pTDefRegMap(@Self)^.&set := $00000080;
  34843. end;
  34844. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  34845. begin
  34846. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34847. end;
  34848. procedure TPORTA_LATA.setLATA8; inline;
  34849. begin
  34850. pTDefRegMap(@Self)^.&set := $00000100;
  34851. end;
  34852. procedure TPORTA_LATA.clearLATA8; inline;
  34853. begin
  34854. pTDefRegMap(@Self)^.clr := $00000100;
  34855. end;
  34856. procedure TPORTA_LATA.setLATA8(thebits : TBits_1); inline;
  34857. begin
  34858. if thebits = 0 then
  34859. pTDefRegMap(@Self)^.clr := $00000100
  34860. else
  34861. pTDefRegMap(@Self)^.&set := $00000100;
  34862. end;
  34863. function TPORTA_LATA.getLATA8 : TBits_1; inline;
  34864. begin
  34865. getLATA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34866. end;
  34867. procedure TPORTA_LATA.setLATA9; inline;
  34868. begin
  34869. pTDefRegMap(@Self)^.&set := $00000200;
  34870. end;
  34871. procedure TPORTA_LATA.clearLATA9; inline;
  34872. begin
  34873. pTDefRegMap(@Self)^.clr := $00000200;
  34874. end;
  34875. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  34876. begin
  34877. if thebits = 0 then
  34878. pTDefRegMap(@Self)^.clr := $00000200
  34879. else
  34880. pTDefRegMap(@Self)^.&set := $00000200;
  34881. end;
  34882. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  34883. begin
  34884. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34885. end;
  34886. procedure TPORTA_LATA.setLATA10; inline;
  34887. begin
  34888. pTDefRegMap(@Self)^.&set := $00000400;
  34889. end;
  34890. procedure TPORTA_LATA.clearLATA10; inline;
  34891. begin
  34892. pTDefRegMap(@Self)^.clr := $00000400;
  34893. end;
  34894. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  34895. begin
  34896. if thebits = 0 then
  34897. pTDefRegMap(@Self)^.clr := $00000400
  34898. else
  34899. pTDefRegMap(@Self)^.&set := $00000400;
  34900. end;
  34901. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  34902. begin
  34903. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34904. end;
  34905. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  34906. begin
  34907. pTDefRegMap(@Self)^.val := thebits;
  34908. end;
  34909. function TPORTA_LATA.getw : TBits_32; inline;
  34910. begin
  34911. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34912. end;
  34913. procedure TPORTA_ODCA.setODCA0; inline;
  34914. begin
  34915. pTDefRegMap(@Self)^.&set := $00000001;
  34916. end;
  34917. procedure TPORTA_ODCA.clearODCA0; inline;
  34918. begin
  34919. pTDefRegMap(@Self)^.clr := $00000001;
  34920. end;
  34921. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  34922. begin
  34923. if thebits = 0 then
  34924. pTDefRegMap(@Self)^.clr := $00000001
  34925. else
  34926. pTDefRegMap(@Self)^.&set := $00000001;
  34927. end;
  34928. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  34929. begin
  34930. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34931. end;
  34932. procedure TPORTA_ODCA.setODCA1; inline;
  34933. begin
  34934. pTDefRegMap(@Self)^.&set := $00000002;
  34935. end;
  34936. procedure TPORTA_ODCA.clearODCA1; inline;
  34937. begin
  34938. pTDefRegMap(@Self)^.clr := $00000002;
  34939. end;
  34940. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  34941. begin
  34942. if thebits = 0 then
  34943. pTDefRegMap(@Self)^.clr := $00000002
  34944. else
  34945. pTDefRegMap(@Self)^.&set := $00000002;
  34946. end;
  34947. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  34948. begin
  34949. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34950. end;
  34951. procedure TPORTA_ODCA.setODCA2; inline;
  34952. begin
  34953. pTDefRegMap(@Self)^.&set := $00000004;
  34954. end;
  34955. procedure TPORTA_ODCA.clearODCA2; inline;
  34956. begin
  34957. pTDefRegMap(@Self)^.clr := $00000004;
  34958. end;
  34959. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  34960. begin
  34961. if thebits = 0 then
  34962. pTDefRegMap(@Self)^.clr := $00000004
  34963. else
  34964. pTDefRegMap(@Self)^.&set := $00000004;
  34965. end;
  34966. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  34967. begin
  34968. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34969. end;
  34970. procedure TPORTA_ODCA.setODCA3; inline;
  34971. begin
  34972. pTDefRegMap(@Self)^.&set := $00000008;
  34973. end;
  34974. procedure TPORTA_ODCA.clearODCA3; inline;
  34975. begin
  34976. pTDefRegMap(@Self)^.clr := $00000008;
  34977. end;
  34978. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  34979. begin
  34980. if thebits = 0 then
  34981. pTDefRegMap(@Self)^.clr := $00000008
  34982. else
  34983. pTDefRegMap(@Self)^.&set := $00000008;
  34984. end;
  34985. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  34986. begin
  34987. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34988. end;
  34989. procedure TPORTA_ODCA.setODCA4; inline;
  34990. begin
  34991. pTDefRegMap(@Self)^.&set := $00000010;
  34992. end;
  34993. procedure TPORTA_ODCA.clearODCA4; inline;
  34994. begin
  34995. pTDefRegMap(@Self)^.clr := $00000010;
  34996. end;
  34997. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  34998. begin
  34999. if thebits = 0 then
  35000. pTDefRegMap(@Self)^.clr := $00000010
  35001. else
  35002. pTDefRegMap(@Self)^.&set := $00000010;
  35003. end;
  35004. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  35005. begin
  35006. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35007. end;
  35008. procedure TPORTA_ODCA.setODCA7; inline;
  35009. begin
  35010. pTDefRegMap(@Self)^.&set := $00000080;
  35011. end;
  35012. procedure TPORTA_ODCA.clearODCA7; inline;
  35013. begin
  35014. pTDefRegMap(@Self)^.clr := $00000080;
  35015. end;
  35016. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  35017. begin
  35018. if thebits = 0 then
  35019. pTDefRegMap(@Self)^.clr := $00000080
  35020. else
  35021. pTDefRegMap(@Self)^.&set := $00000080;
  35022. end;
  35023. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  35024. begin
  35025. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35026. end;
  35027. procedure TPORTA_ODCA.setODCA8; inline;
  35028. begin
  35029. pTDefRegMap(@Self)^.&set := $00000100;
  35030. end;
  35031. procedure TPORTA_ODCA.clearODCA8; inline;
  35032. begin
  35033. pTDefRegMap(@Self)^.clr := $00000100;
  35034. end;
  35035. procedure TPORTA_ODCA.setODCA8(thebits : TBits_1); inline;
  35036. begin
  35037. if thebits = 0 then
  35038. pTDefRegMap(@Self)^.clr := $00000100
  35039. else
  35040. pTDefRegMap(@Self)^.&set := $00000100;
  35041. end;
  35042. function TPORTA_ODCA.getODCA8 : TBits_1; inline;
  35043. begin
  35044. getODCA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35045. end;
  35046. procedure TPORTA_ODCA.setODCA9; inline;
  35047. begin
  35048. pTDefRegMap(@Self)^.&set := $00000200;
  35049. end;
  35050. procedure TPORTA_ODCA.clearODCA9; inline;
  35051. begin
  35052. pTDefRegMap(@Self)^.clr := $00000200;
  35053. end;
  35054. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  35055. begin
  35056. if thebits = 0 then
  35057. pTDefRegMap(@Self)^.clr := $00000200
  35058. else
  35059. pTDefRegMap(@Self)^.&set := $00000200;
  35060. end;
  35061. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  35062. begin
  35063. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35064. end;
  35065. procedure TPORTA_ODCA.setODCA10; inline;
  35066. begin
  35067. pTDefRegMap(@Self)^.&set := $00000400;
  35068. end;
  35069. procedure TPORTA_ODCA.clearODCA10; inline;
  35070. begin
  35071. pTDefRegMap(@Self)^.clr := $00000400;
  35072. end;
  35073. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  35074. begin
  35075. if thebits = 0 then
  35076. pTDefRegMap(@Self)^.clr := $00000400
  35077. else
  35078. pTDefRegMap(@Self)^.&set := $00000400;
  35079. end;
  35080. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  35081. begin
  35082. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35083. end;
  35084. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  35085. begin
  35086. pTDefRegMap(@Self)^.val := thebits;
  35087. end;
  35088. function TPORTA_ODCA.getw : TBits_32; inline;
  35089. begin
  35090. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35091. end;
  35092. procedure TPORTA_CNPUA.setCNPUA0; inline;
  35093. begin
  35094. pTDefRegMap(@Self)^.&set := $00000001;
  35095. end;
  35096. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  35097. begin
  35098. pTDefRegMap(@Self)^.clr := $00000001;
  35099. end;
  35100. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  35101. begin
  35102. if thebits = 0 then
  35103. pTDefRegMap(@Self)^.clr := $00000001
  35104. else
  35105. pTDefRegMap(@Self)^.&set := $00000001;
  35106. end;
  35107. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  35108. begin
  35109. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35110. end;
  35111. procedure TPORTA_CNPUA.setCNPUA1; inline;
  35112. begin
  35113. pTDefRegMap(@Self)^.&set := $00000002;
  35114. end;
  35115. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  35116. begin
  35117. pTDefRegMap(@Self)^.clr := $00000002;
  35118. end;
  35119. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  35120. begin
  35121. if thebits = 0 then
  35122. pTDefRegMap(@Self)^.clr := $00000002
  35123. else
  35124. pTDefRegMap(@Self)^.&set := $00000002;
  35125. end;
  35126. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  35127. begin
  35128. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35129. end;
  35130. procedure TPORTA_CNPUA.setCNPUA2; inline;
  35131. begin
  35132. pTDefRegMap(@Self)^.&set := $00000004;
  35133. end;
  35134. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  35135. begin
  35136. pTDefRegMap(@Self)^.clr := $00000004;
  35137. end;
  35138. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  35139. begin
  35140. if thebits = 0 then
  35141. pTDefRegMap(@Self)^.clr := $00000004
  35142. else
  35143. pTDefRegMap(@Self)^.&set := $00000004;
  35144. end;
  35145. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  35146. begin
  35147. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35148. end;
  35149. procedure TPORTA_CNPUA.setCNPUA3; inline;
  35150. begin
  35151. pTDefRegMap(@Self)^.&set := $00000008;
  35152. end;
  35153. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  35154. begin
  35155. pTDefRegMap(@Self)^.clr := $00000008;
  35156. end;
  35157. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  35158. begin
  35159. if thebits = 0 then
  35160. pTDefRegMap(@Self)^.clr := $00000008
  35161. else
  35162. pTDefRegMap(@Self)^.&set := $00000008;
  35163. end;
  35164. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  35165. begin
  35166. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35167. end;
  35168. procedure TPORTA_CNPUA.setCNPUA4; inline;
  35169. begin
  35170. pTDefRegMap(@Self)^.&set := $00000010;
  35171. end;
  35172. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  35173. begin
  35174. pTDefRegMap(@Self)^.clr := $00000010;
  35175. end;
  35176. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  35177. begin
  35178. if thebits = 0 then
  35179. pTDefRegMap(@Self)^.clr := $00000010
  35180. else
  35181. pTDefRegMap(@Self)^.&set := $00000010;
  35182. end;
  35183. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  35184. begin
  35185. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35186. end;
  35187. procedure TPORTA_CNPUA.setCNPUA7; inline;
  35188. begin
  35189. pTDefRegMap(@Self)^.&set := $00000080;
  35190. end;
  35191. procedure TPORTA_CNPUA.clearCNPUA7; inline;
  35192. begin
  35193. pTDefRegMap(@Self)^.clr := $00000080;
  35194. end;
  35195. procedure TPORTA_CNPUA.setCNPUA7(thebits : TBits_1); inline;
  35196. begin
  35197. if thebits = 0 then
  35198. pTDefRegMap(@Self)^.clr := $00000080
  35199. else
  35200. pTDefRegMap(@Self)^.&set := $00000080;
  35201. end;
  35202. function TPORTA_CNPUA.getCNPUA7 : TBits_1; inline;
  35203. begin
  35204. getCNPUA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35205. end;
  35206. procedure TPORTA_CNPUA.setCNPUA8; inline;
  35207. begin
  35208. pTDefRegMap(@Self)^.&set := $00000100;
  35209. end;
  35210. procedure TPORTA_CNPUA.clearCNPUA8; inline;
  35211. begin
  35212. pTDefRegMap(@Self)^.clr := $00000100;
  35213. end;
  35214. procedure TPORTA_CNPUA.setCNPUA8(thebits : TBits_1); inline;
  35215. begin
  35216. if thebits = 0 then
  35217. pTDefRegMap(@Self)^.clr := $00000100
  35218. else
  35219. pTDefRegMap(@Self)^.&set := $00000100;
  35220. end;
  35221. function TPORTA_CNPUA.getCNPUA8 : TBits_1; inline;
  35222. begin
  35223. getCNPUA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35224. end;
  35225. procedure TPORTA_CNPUA.setCNPUA9; inline;
  35226. begin
  35227. pTDefRegMap(@Self)^.&set := $00000200;
  35228. end;
  35229. procedure TPORTA_CNPUA.clearCNPUA9; inline;
  35230. begin
  35231. pTDefRegMap(@Self)^.clr := $00000200;
  35232. end;
  35233. procedure TPORTA_CNPUA.setCNPUA9(thebits : TBits_1); inline;
  35234. begin
  35235. if thebits = 0 then
  35236. pTDefRegMap(@Self)^.clr := $00000200
  35237. else
  35238. pTDefRegMap(@Self)^.&set := $00000200;
  35239. end;
  35240. function TPORTA_CNPUA.getCNPUA9 : TBits_1; inline;
  35241. begin
  35242. getCNPUA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35243. end;
  35244. procedure TPORTA_CNPUA.setCNPUA10; inline;
  35245. begin
  35246. pTDefRegMap(@Self)^.&set := $00000400;
  35247. end;
  35248. procedure TPORTA_CNPUA.clearCNPUA10; inline;
  35249. begin
  35250. pTDefRegMap(@Self)^.clr := $00000400;
  35251. end;
  35252. procedure TPORTA_CNPUA.setCNPUA10(thebits : TBits_1); inline;
  35253. begin
  35254. if thebits = 0 then
  35255. pTDefRegMap(@Self)^.clr := $00000400
  35256. else
  35257. pTDefRegMap(@Self)^.&set := $00000400;
  35258. end;
  35259. function TPORTA_CNPUA.getCNPUA10 : TBits_1; inline;
  35260. begin
  35261. getCNPUA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35262. end;
  35263. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  35264. begin
  35265. pTDefRegMap(@Self)^.val := thebits;
  35266. end;
  35267. function TPORTA_CNPUA.getw : TBits_32; inline;
  35268. begin
  35269. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35270. end;
  35271. procedure TPORTA_CNPDA.setCNPDA0; inline;
  35272. begin
  35273. pTDefRegMap(@Self)^.&set := $00000001;
  35274. end;
  35275. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  35276. begin
  35277. pTDefRegMap(@Self)^.clr := $00000001;
  35278. end;
  35279. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  35280. begin
  35281. if thebits = 0 then
  35282. pTDefRegMap(@Self)^.clr := $00000001
  35283. else
  35284. pTDefRegMap(@Self)^.&set := $00000001;
  35285. end;
  35286. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  35287. begin
  35288. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35289. end;
  35290. procedure TPORTA_CNPDA.setCNPDA1; inline;
  35291. begin
  35292. pTDefRegMap(@Self)^.&set := $00000002;
  35293. end;
  35294. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  35295. begin
  35296. pTDefRegMap(@Self)^.clr := $00000002;
  35297. end;
  35298. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  35299. begin
  35300. if thebits = 0 then
  35301. pTDefRegMap(@Self)^.clr := $00000002
  35302. else
  35303. pTDefRegMap(@Self)^.&set := $00000002;
  35304. end;
  35305. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  35306. begin
  35307. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35308. end;
  35309. procedure TPORTA_CNPDA.setCNPDA2; inline;
  35310. begin
  35311. pTDefRegMap(@Self)^.&set := $00000004;
  35312. end;
  35313. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  35314. begin
  35315. pTDefRegMap(@Self)^.clr := $00000004;
  35316. end;
  35317. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  35318. begin
  35319. if thebits = 0 then
  35320. pTDefRegMap(@Self)^.clr := $00000004
  35321. else
  35322. pTDefRegMap(@Self)^.&set := $00000004;
  35323. end;
  35324. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  35325. begin
  35326. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35327. end;
  35328. procedure TPORTA_CNPDA.setCNPDA3; inline;
  35329. begin
  35330. pTDefRegMap(@Self)^.&set := $00000008;
  35331. end;
  35332. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  35333. begin
  35334. pTDefRegMap(@Self)^.clr := $00000008;
  35335. end;
  35336. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  35337. begin
  35338. if thebits = 0 then
  35339. pTDefRegMap(@Self)^.clr := $00000008
  35340. else
  35341. pTDefRegMap(@Self)^.&set := $00000008;
  35342. end;
  35343. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  35344. begin
  35345. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35346. end;
  35347. procedure TPORTA_CNPDA.setCNPDA4; inline;
  35348. begin
  35349. pTDefRegMap(@Self)^.&set := $00000010;
  35350. end;
  35351. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  35352. begin
  35353. pTDefRegMap(@Self)^.clr := $00000010;
  35354. end;
  35355. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  35356. begin
  35357. if thebits = 0 then
  35358. pTDefRegMap(@Self)^.clr := $00000010
  35359. else
  35360. pTDefRegMap(@Self)^.&set := $00000010;
  35361. end;
  35362. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  35363. begin
  35364. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35365. end;
  35366. procedure TPORTA_CNPDA.setCNPDA7; inline;
  35367. begin
  35368. pTDefRegMap(@Self)^.&set := $00000080;
  35369. end;
  35370. procedure TPORTA_CNPDA.clearCNPDA7; inline;
  35371. begin
  35372. pTDefRegMap(@Self)^.clr := $00000080;
  35373. end;
  35374. procedure TPORTA_CNPDA.setCNPDA7(thebits : TBits_1); inline;
  35375. begin
  35376. if thebits = 0 then
  35377. pTDefRegMap(@Self)^.clr := $00000080
  35378. else
  35379. pTDefRegMap(@Self)^.&set := $00000080;
  35380. end;
  35381. function TPORTA_CNPDA.getCNPDA7 : TBits_1; inline;
  35382. begin
  35383. getCNPDA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35384. end;
  35385. procedure TPORTA_CNPDA.setCNPDA8; inline;
  35386. begin
  35387. pTDefRegMap(@Self)^.&set := $00000100;
  35388. end;
  35389. procedure TPORTA_CNPDA.clearCNPDA8; inline;
  35390. begin
  35391. pTDefRegMap(@Self)^.clr := $00000100;
  35392. end;
  35393. procedure TPORTA_CNPDA.setCNPDA8(thebits : TBits_1); inline;
  35394. begin
  35395. if thebits = 0 then
  35396. pTDefRegMap(@Self)^.clr := $00000100
  35397. else
  35398. pTDefRegMap(@Self)^.&set := $00000100;
  35399. end;
  35400. function TPORTA_CNPDA.getCNPDA8 : TBits_1; inline;
  35401. begin
  35402. getCNPDA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35403. end;
  35404. procedure TPORTA_CNPDA.setCNPDA9; inline;
  35405. begin
  35406. pTDefRegMap(@Self)^.&set := $00000200;
  35407. end;
  35408. procedure TPORTA_CNPDA.clearCNPDA9; inline;
  35409. begin
  35410. pTDefRegMap(@Self)^.clr := $00000200;
  35411. end;
  35412. procedure TPORTA_CNPDA.setCNPDA9(thebits : TBits_1); inline;
  35413. begin
  35414. if thebits = 0 then
  35415. pTDefRegMap(@Self)^.clr := $00000200
  35416. else
  35417. pTDefRegMap(@Self)^.&set := $00000200;
  35418. end;
  35419. function TPORTA_CNPDA.getCNPDA9 : TBits_1; inline;
  35420. begin
  35421. getCNPDA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35422. end;
  35423. procedure TPORTA_CNPDA.setCNPDA10; inline;
  35424. begin
  35425. pTDefRegMap(@Self)^.&set := $00000400;
  35426. end;
  35427. procedure TPORTA_CNPDA.clearCNPDA10; inline;
  35428. begin
  35429. pTDefRegMap(@Self)^.clr := $00000400;
  35430. end;
  35431. procedure TPORTA_CNPDA.setCNPDA10(thebits : TBits_1); inline;
  35432. begin
  35433. if thebits = 0 then
  35434. pTDefRegMap(@Self)^.clr := $00000400
  35435. else
  35436. pTDefRegMap(@Self)^.&set := $00000400;
  35437. end;
  35438. function TPORTA_CNPDA.getCNPDA10 : TBits_1; inline;
  35439. begin
  35440. getCNPDA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35441. end;
  35442. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  35443. begin
  35444. pTDefRegMap(@Self)^.val := thebits;
  35445. end;
  35446. function TPORTA_CNPDA.getw : TBits_32; inline;
  35447. begin
  35448. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35449. end;
  35450. procedure TPORTA_CNCONA.setSIDL; inline;
  35451. begin
  35452. pTDefRegMap(@Self)^.&set := $00002000;
  35453. end;
  35454. procedure TPORTA_CNCONA.clearSIDL; inline;
  35455. begin
  35456. pTDefRegMap(@Self)^.clr := $00002000;
  35457. end;
  35458. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  35459. begin
  35460. if thebits = 0 then
  35461. pTDefRegMap(@Self)^.clr := $00002000
  35462. else
  35463. pTDefRegMap(@Self)^.&set := $00002000;
  35464. end;
  35465. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  35466. begin
  35467. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35468. end;
  35469. procedure TPORTA_CNCONA.setON; inline;
  35470. begin
  35471. pTDefRegMap(@Self)^.&set := $00008000;
  35472. end;
  35473. procedure TPORTA_CNCONA.clearON; inline;
  35474. begin
  35475. pTDefRegMap(@Self)^.clr := $00008000;
  35476. end;
  35477. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  35478. begin
  35479. if thebits = 0 then
  35480. pTDefRegMap(@Self)^.clr := $00008000
  35481. else
  35482. pTDefRegMap(@Self)^.&set := $00008000;
  35483. end;
  35484. function TPORTA_CNCONA.getON : TBits_1; inline;
  35485. begin
  35486. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35487. end;
  35488. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  35489. begin
  35490. pTDefRegMap(@Self)^.val := thebits;
  35491. end;
  35492. function TPORTA_CNCONA.getw : TBits_32; inline;
  35493. begin
  35494. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35495. end;
  35496. procedure TPORTA_CNENA.setCNIEA0; inline;
  35497. begin
  35498. pTDefRegMap(@Self)^.&set := $00000001;
  35499. end;
  35500. procedure TPORTA_CNENA.clearCNIEA0; inline;
  35501. begin
  35502. pTDefRegMap(@Self)^.clr := $00000001;
  35503. end;
  35504. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  35505. begin
  35506. if thebits = 0 then
  35507. pTDefRegMap(@Self)^.clr := $00000001
  35508. else
  35509. pTDefRegMap(@Self)^.&set := $00000001;
  35510. end;
  35511. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  35512. begin
  35513. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35514. end;
  35515. procedure TPORTA_CNENA.setCNIEA1; inline;
  35516. begin
  35517. pTDefRegMap(@Self)^.&set := $00000002;
  35518. end;
  35519. procedure TPORTA_CNENA.clearCNIEA1; inline;
  35520. begin
  35521. pTDefRegMap(@Self)^.clr := $00000002;
  35522. end;
  35523. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  35524. begin
  35525. if thebits = 0 then
  35526. pTDefRegMap(@Self)^.clr := $00000002
  35527. else
  35528. pTDefRegMap(@Self)^.&set := $00000002;
  35529. end;
  35530. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  35531. begin
  35532. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35533. end;
  35534. procedure TPORTA_CNENA.setCNIEA2; inline;
  35535. begin
  35536. pTDefRegMap(@Self)^.&set := $00000004;
  35537. end;
  35538. procedure TPORTA_CNENA.clearCNIEA2; inline;
  35539. begin
  35540. pTDefRegMap(@Self)^.clr := $00000004;
  35541. end;
  35542. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  35543. begin
  35544. if thebits = 0 then
  35545. pTDefRegMap(@Self)^.clr := $00000004
  35546. else
  35547. pTDefRegMap(@Self)^.&set := $00000004;
  35548. end;
  35549. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  35550. begin
  35551. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35552. end;
  35553. procedure TPORTA_CNENA.setCNIEA3; inline;
  35554. begin
  35555. pTDefRegMap(@Self)^.&set := $00000008;
  35556. end;
  35557. procedure TPORTA_CNENA.clearCNIEA3; inline;
  35558. begin
  35559. pTDefRegMap(@Self)^.clr := $00000008;
  35560. end;
  35561. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  35562. begin
  35563. if thebits = 0 then
  35564. pTDefRegMap(@Self)^.clr := $00000008
  35565. else
  35566. pTDefRegMap(@Self)^.&set := $00000008;
  35567. end;
  35568. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  35569. begin
  35570. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35571. end;
  35572. procedure TPORTA_CNENA.setCNIEA4; inline;
  35573. begin
  35574. pTDefRegMap(@Self)^.&set := $00000010;
  35575. end;
  35576. procedure TPORTA_CNENA.clearCNIEA4; inline;
  35577. begin
  35578. pTDefRegMap(@Self)^.clr := $00000010;
  35579. end;
  35580. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  35581. begin
  35582. if thebits = 0 then
  35583. pTDefRegMap(@Self)^.clr := $00000010
  35584. else
  35585. pTDefRegMap(@Self)^.&set := $00000010;
  35586. end;
  35587. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  35588. begin
  35589. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35590. end;
  35591. procedure TPORTA_CNENA.setCNIEA7; inline;
  35592. begin
  35593. pTDefRegMap(@Self)^.&set := $00000080;
  35594. end;
  35595. procedure TPORTA_CNENA.clearCNIEA7; inline;
  35596. begin
  35597. pTDefRegMap(@Self)^.clr := $00000080;
  35598. end;
  35599. procedure TPORTA_CNENA.setCNIEA7(thebits : TBits_1); inline;
  35600. begin
  35601. if thebits = 0 then
  35602. pTDefRegMap(@Self)^.clr := $00000080
  35603. else
  35604. pTDefRegMap(@Self)^.&set := $00000080;
  35605. end;
  35606. function TPORTA_CNENA.getCNIEA7 : TBits_1; inline;
  35607. begin
  35608. getCNIEA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35609. end;
  35610. procedure TPORTA_CNENA.setCNIEA8; inline;
  35611. begin
  35612. pTDefRegMap(@Self)^.&set := $00000100;
  35613. end;
  35614. procedure TPORTA_CNENA.clearCNIEA8; inline;
  35615. begin
  35616. pTDefRegMap(@Self)^.clr := $00000100;
  35617. end;
  35618. procedure TPORTA_CNENA.setCNIEA8(thebits : TBits_1); inline;
  35619. begin
  35620. if thebits = 0 then
  35621. pTDefRegMap(@Self)^.clr := $00000100
  35622. else
  35623. pTDefRegMap(@Self)^.&set := $00000100;
  35624. end;
  35625. function TPORTA_CNENA.getCNIEA8 : TBits_1; inline;
  35626. begin
  35627. getCNIEA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35628. end;
  35629. procedure TPORTA_CNENA.setCNIEA9; inline;
  35630. begin
  35631. pTDefRegMap(@Self)^.&set := $00000200;
  35632. end;
  35633. procedure TPORTA_CNENA.clearCNIEA9; inline;
  35634. begin
  35635. pTDefRegMap(@Self)^.clr := $00000200;
  35636. end;
  35637. procedure TPORTA_CNENA.setCNIEA9(thebits : TBits_1); inline;
  35638. begin
  35639. if thebits = 0 then
  35640. pTDefRegMap(@Self)^.clr := $00000200
  35641. else
  35642. pTDefRegMap(@Self)^.&set := $00000200;
  35643. end;
  35644. function TPORTA_CNENA.getCNIEA9 : TBits_1; inline;
  35645. begin
  35646. getCNIEA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35647. end;
  35648. procedure TPORTA_CNENA.setCNIEA10; inline;
  35649. begin
  35650. pTDefRegMap(@Self)^.&set := $00000400;
  35651. end;
  35652. procedure TPORTA_CNENA.clearCNIEA10; inline;
  35653. begin
  35654. pTDefRegMap(@Self)^.clr := $00000400;
  35655. end;
  35656. procedure TPORTA_CNENA.setCNIEA10(thebits : TBits_1); inline;
  35657. begin
  35658. if thebits = 0 then
  35659. pTDefRegMap(@Self)^.clr := $00000400
  35660. else
  35661. pTDefRegMap(@Self)^.&set := $00000400;
  35662. end;
  35663. function TPORTA_CNENA.getCNIEA10 : TBits_1; inline;
  35664. begin
  35665. getCNIEA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35666. end;
  35667. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  35668. begin
  35669. pTDefRegMap(@Self)^.val := thebits;
  35670. end;
  35671. function TPORTA_CNENA.getw : TBits_32; inline;
  35672. begin
  35673. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35674. end;
  35675. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  35676. begin
  35677. pTDefRegMap(@Self)^.&set := $00000001;
  35678. end;
  35679. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  35680. begin
  35681. pTDefRegMap(@Self)^.clr := $00000001;
  35682. end;
  35683. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  35684. begin
  35685. if thebits = 0 then
  35686. pTDefRegMap(@Self)^.clr := $00000001
  35687. else
  35688. pTDefRegMap(@Self)^.&set := $00000001;
  35689. end;
  35690. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  35691. begin
  35692. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35693. end;
  35694. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  35695. begin
  35696. pTDefRegMap(@Self)^.&set := $00000002;
  35697. end;
  35698. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  35699. begin
  35700. pTDefRegMap(@Self)^.clr := $00000002;
  35701. end;
  35702. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  35703. begin
  35704. if thebits = 0 then
  35705. pTDefRegMap(@Self)^.clr := $00000002
  35706. else
  35707. pTDefRegMap(@Self)^.&set := $00000002;
  35708. end;
  35709. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  35710. begin
  35711. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35712. end;
  35713. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  35714. begin
  35715. pTDefRegMap(@Self)^.&set := $00000004;
  35716. end;
  35717. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  35718. begin
  35719. pTDefRegMap(@Self)^.clr := $00000004;
  35720. end;
  35721. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  35722. begin
  35723. if thebits = 0 then
  35724. pTDefRegMap(@Self)^.clr := $00000004
  35725. else
  35726. pTDefRegMap(@Self)^.&set := $00000004;
  35727. end;
  35728. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  35729. begin
  35730. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35731. end;
  35732. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  35733. begin
  35734. pTDefRegMap(@Self)^.&set := $00000008;
  35735. end;
  35736. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  35737. begin
  35738. pTDefRegMap(@Self)^.clr := $00000008;
  35739. end;
  35740. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  35741. begin
  35742. if thebits = 0 then
  35743. pTDefRegMap(@Self)^.clr := $00000008
  35744. else
  35745. pTDefRegMap(@Self)^.&set := $00000008;
  35746. end;
  35747. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  35748. begin
  35749. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35750. end;
  35751. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  35752. begin
  35753. pTDefRegMap(@Self)^.&set := $00000010;
  35754. end;
  35755. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  35756. begin
  35757. pTDefRegMap(@Self)^.clr := $00000010;
  35758. end;
  35759. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  35760. begin
  35761. if thebits = 0 then
  35762. pTDefRegMap(@Self)^.clr := $00000010
  35763. else
  35764. pTDefRegMap(@Self)^.&set := $00000010;
  35765. end;
  35766. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  35767. begin
  35768. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35769. end;
  35770. procedure TPORTA_CNSTATA.setCNSTATA7; inline;
  35771. begin
  35772. pTDefRegMap(@Self)^.&set := $00000080;
  35773. end;
  35774. procedure TPORTA_CNSTATA.clearCNSTATA7; inline;
  35775. begin
  35776. pTDefRegMap(@Self)^.clr := $00000080;
  35777. end;
  35778. procedure TPORTA_CNSTATA.setCNSTATA7(thebits : TBits_1); inline;
  35779. begin
  35780. if thebits = 0 then
  35781. pTDefRegMap(@Self)^.clr := $00000080
  35782. else
  35783. pTDefRegMap(@Self)^.&set := $00000080;
  35784. end;
  35785. function TPORTA_CNSTATA.getCNSTATA7 : TBits_1; inline;
  35786. begin
  35787. getCNSTATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35788. end;
  35789. procedure TPORTA_CNSTATA.setCNSTATA8; inline;
  35790. begin
  35791. pTDefRegMap(@Self)^.&set := $00000100;
  35792. end;
  35793. procedure TPORTA_CNSTATA.clearCNSTATA8; inline;
  35794. begin
  35795. pTDefRegMap(@Self)^.clr := $00000100;
  35796. end;
  35797. procedure TPORTA_CNSTATA.setCNSTATA8(thebits : TBits_1); inline;
  35798. begin
  35799. if thebits = 0 then
  35800. pTDefRegMap(@Self)^.clr := $00000100
  35801. else
  35802. pTDefRegMap(@Self)^.&set := $00000100;
  35803. end;
  35804. function TPORTA_CNSTATA.getCNSTATA8 : TBits_1; inline;
  35805. begin
  35806. getCNSTATA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35807. end;
  35808. procedure TPORTA_CNSTATA.setCNSTATA9; inline;
  35809. begin
  35810. pTDefRegMap(@Self)^.&set := $00000200;
  35811. end;
  35812. procedure TPORTA_CNSTATA.clearCNSTATA9; inline;
  35813. begin
  35814. pTDefRegMap(@Self)^.clr := $00000200;
  35815. end;
  35816. procedure TPORTA_CNSTATA.setCNSTATA9(thebits : TBits_1); inline;
  35817. begin
  35818. if thebits = 0 then
  35819. pTDefRegMap(@Self)^.clr := $00000200
  35820. else
  35821. pTDefRegMap(@Self)^.&set := $00000200;
  35822. end;
  35823. function TPORTA_CNSTATA.getCNSTATA9 : TBits_1; inline;
  35824. begin
  35825. getCNSTATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35826. end;
  35827. procedure TPORTA_CNSTATA.setCNSTATA10; inline;
  35828. begin
  35829. pTDefRegMap(@Self)^.&set := $00000400;
  35830. end;
  35831. procedure TPORTA_CNSTATA.clearCNSTATA10; inline;
  35832. begin
  35833. pTDefRegMap(@Self)^.clr := $00000400;
  35834. end;
  35835. procedure TPORTA_CNSTATA.setCNSTATA10(thebits : TBits_1); inline;
  35836. begin
  35837. if thebits = 0 then
  35838. pTDefRegMap(@Self)^.clr := $00000400
  35839. else
  35840. pTDefRegMap(@Self)^.&set := $00000400;
  35841. end;
  35842. function TPORTA_CNSTATA.getCNSTATA10 : TBits_1; inline;
  35843. begin
  35844. getCNSTATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35845. end;
  35846. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  35847. begin
  35848. pTDefRegMap(@Self)^.val := thebits;
  35849. end;
  35850. function TPORTA_CNSTATA.getw : TBits_32; inline;
  35851. begin
  35852. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35853. end;
  35854. procedure TPORTB_ANSELB.setANSB0; inline;
  35855. begin
  35856. pTDefRegMap(@Self)^.&set := $00000001;
  35857. end;
  35858. procedure TPORTB_ANSELB.clearANSB0; inline;
  35859. begin
  35860. pTDefRegMap(@Self)^.clr := $00000001;
  35861. end;
  35862. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  35863. begin
  35864. if thebits = 0 then
  35865. pTDefRegMap(@Self)^.clr := $00000001
  35866. else
  35867. pTDefRegMap(@Self)^.&set := $00000001;
  35868. end;
  35869. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  35870. begin
  35871. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35872. end;
  35873. procedure TPORTB_ANSELB.setANSB1; inline;
  35874. begin
  35875. pTDefRegMap(@Self)^.&set := $00000002;
  35876. end;
  35877. procedure TPORTB_ANSELB.clearANSB1; inline;
  35878. begin
  35879. pTDefRegMap(@Self)^.clr := $00000002;
  35880. end;
  35881. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  35882. begin
  35883. if thebits = 0 then
  35884. pTDefRegMap(@Self)^.clr := $00000002
  35885. else
  35886. pTDefRegMap(@Self)^.&set := $00000002;
  35887. end;
  35888. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  35889. begin
  35890. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35891. end;
  35892. procedure TPORTB_ANSELB.setANSB2; inline;
  35893. begin
  35894. pTDefRegMap(@Self)^.&set := $00000004;
  35895. end;
  35896. procedure TPORTB_ANSELB.clearANSB2; inline;
  35897. begin
  35898. pTDefRegMap(@Self)^.clr := $00000004;
  35899. end;
  35900. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  35901. begin
  35902. if thebits = 0 then
  35903. pTDefRegMap(@Self)^.clr := $00000004
  35904. else
  35905. pTDefRegMap(@Self)^.&set := $00000004;
  35906. end;
  35907. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  35908. begin
  35909. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35910. end;
  35911. procedure TPORTB_ANSELB.setANSB3; inline;
  35912. begin
  35913. pTDefRegMap(@Self)^.&set := $00000008;
  35914. end;
  35915. procedure TPORTB_ANSELB.clearANSB3; inline;
  35916. begin
  35917. pTDefRegMap(@Self)^.clr := $00000008;
  35918. end;
  35919. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  35920. begin
  35921. if thebits = 0 then
  35922. pTDefRegMap(@Self)^.clr := $00000008
  35923. else
  35924. pTDefRegMap(@Self)^.&set := $00000008;
  35925. end;
  35926. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  35927. begin
  35928. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35929. end;
  35930. procedure TPORTB_ANSELB.setANSB13; inline;
  35931. begin
  35932. pTDefRegMap(@Self)^.&set := $00002000;
  35933. end;
  35934. procedure TPORTB_ANSELB.clearANSB13; inline;
  35935. begin
  35936. pTDefRegMap(@Self)^.clr := $00002000;
  35937. end;
  35938. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  35939. begin
  35940. if thebits = 0 then
  35941. pTDefRegMap(@Self)^.clr := $00002000
  35942. else
  35943. pTDefRegMap(@Self)^.&set := $00002000;
  35944. end;
  35945. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  35946. begin
  35947. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35948. end;
  35949. procedure TPORTB_ANSELB.setANSB14; inline;
  35950. begin
  35951. pTDefRegMap(@Self)^.&set := $00004000;
  35952. end;
  35953. procedure TPORTB_ANSELB.clearANSB14; inline;
  35954. begin
  35955. pTDefRegMap(@Self)^.clr := $00004000;
  35956. end;
  35957. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  35958. begin
  35959. if thebits = 0 then
  35960. pTDefRegMap(@Self)^.clr := $00004000
  35961. else
  35962. pTDefRegMap(@Self)^.&set := $00004000;
  35963. end;
  35964. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  35965. begin
  35966. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35967. end;
  35968. procedure TPORTB_ANSELB.setANSB15; inline;
  35969. begin
  35970. pTDefRegMap(@Self)^.&set := $00008000;
  35971. end;
  35972. procedure TPORTB_ANSELB.clearANSB15; inline;
  35973. begin
  35974. pTDefRegMap(@Self)^.clr := $00008000;
  35975. end;
  35976. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  35977. begin
  35978. if thebits = 0 then
  35979. pTDefRegMap(@Self)^.clr := $00008000
  35980. else
  35981. pTDefRegMap(@Self)^.&set := $00008000;
  35982. end;
  35983. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  35984. begin
  35985. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35986. end;
  35987. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  35988. begin
  35989. pTDefRegMap(@Self)^.val := thebits;
  35990. end;
  35991. function TPORTB_ANSELB.getw : TBits_32; inline;
  35992. begin
  35993. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35994. end;
  35995. procedure TPORTB_TRISB.setTRISB0; inline;
  35996. begin
  35997. pTDefRegMap(@Self)^.&set := $00000001;
  35998. end;
  35999. procedure TPORTB_TRISB.clearTRISB0; inline;
  36000. begin
  36001. pTDefRegMap(@Self)^.clr := $00000001;
  36002. end;
  36003. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  36004. begin
  36005. if thebits = 0 then
  36006. pTDefRegMap(@Self)^.clr := $00000001
  36007. else
  36008. pTDefRegMap(@Self)^.&set := $00000001;
  36009. end;
  36010. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  36011. begin
  36012. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36013. end;
  36014. procedure TPORTB_TRISB.setTRISB1; inline;
  36015. begin
  36016. pTDefRegMap(@Self)^.&set := $00000002;
  36017. end;
  36018. procedure TPORTB_TRISB.clearTRISB1; inline;
  36019. begin
  36020. pTDefRegMap(@Self)^.clr := $00000002;
  36021. end;
  36022. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  36023. begin
  36024. if thebits = 0 then
  36025. pTDefRegMap(@Self)^.clr := $00000002
  36026. else
  36027. pTDefRegMap(@Self)^.&set := $00000002;
  36028. end;
  36029. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  36030. begin
  36031. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36032. end;
  36033. procedure TPORTB_TRISB.setTRISB2; inline;
  36034. begin
  36035. pTDefRegMap(@Self)^.&set := $00000004;
  36036. end;
  36037. procedure TPORTB_TRISB.clearTRISB2; inline;
  36038. begin
  36039. pTDefRegMap(@Self)^.clr := $00000004;
  36040. end;
  36041. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  36042. begin
  36043. if thebits = 0 then
  36044. pTDefRegMap(@Self)^.clr := $00000004
  36045. else
  36046. pTDefRegMap(@Self)^.&set := $00000004;
  36047. end;
  36048. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  36049. begin
  36050. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36051. end;
  36052. procedure TPORTB_TRISB.setTRISB3; inline;
  36053. begin
  36054. pTDefRegMap(@Self)^.&set := $00000008;
  36055. end;
  36056. procedure TPORTB_TRISB.clearTRISB3; inline;
  36057. begin
  36058. pTDefRegMap(@Self)^.clr := $00000008;
  36059. end;
  36060. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  36061. begin
  36062. if thebits = 0 then
  36063. pTDefRegMap(@Self)^.clr := $00000008
  36064. else
  36065. pTDefRegMap(@Self)^.&set := $00000008;
  36066. end;
  36067. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  36068. begin
  36069. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36070. end;
  36071. procedure TPORTB_TRISB.setTRISB4; inline;
  36072. begin
  36073. pTDefRegMap(@Self)^.&set := $00000010;
  36074. end;
  36075. procedure TPORTB_TRISB.clearTRISB4; inline;
  36076. begin
  36077. pTDefRegMap(@Self)^.clr := $00000010;
  36078. end;
  36079. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  36080. begin
  36081. if thebits = 0 then
  36082. pTDefRegMap(@Self)^.clr := $00000010
  36083. else
  36084. pTDefRegMap(@Self)^.&set := $00000010;
  36085. end;
  36086. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  36087. begin
  36088. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36089. end;
  36090. procedure TPORTB_TRISB.setTRISB5; inline;
  36091. begin
  36092. pTDefRegMap(@Self)^.&set := $00000020;
  36093. end;
  36094. procedure TPORTB_TRISB.clearTRISB5; inline;
  36095. begin
  36096. pTDefRegMap(@Self)^.clr := $00000020;
  36097. end;
  36098. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  36099. begin
  36100. if thebits = 0 then
  36101. pTDefRegMap(@Self)^.clr := $00000020
  36102. else
  36103. pTDefRegMap(@Self)^.&set := $00000020;
  36104. end;
  36105. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  36106. begin
  36107. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36108. end;
  36109. procedure TPORTB_TRISB.setTRISB7; inline;
  36110. begin
  36111. pTDefRegMap(@Self)^.&set := $00000080;
  36112. end;
  36113. procedure TPORTB_TRISB.clearTRISB7; inline;
  36114. begin
  36115. pTDefRegMap(@Self)^.clr := $00000080;
  36116. end;
  36117. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  36118. begin
  36119. if thebits = 0 then
  36120. pTDefRegMap(@Self)^.clr := $00000080
  36121. else
  36122. pTDefRegMap(@Self)^.&set := $00000080;
  36123. end;
  36124. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  36125. begin
  36126. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36127. end;
  36128. procedure TPORTB_TRISB.setTRISB8; inline;
  36129. begin
  36130. pTDefRegMap(@Self)^.&set := $00000100;
  36131. end;
  36132. procedure TPORTB_TRISB.clearTRISB8; inline;
  36133. begin
  36134. pTDefRegMap(@Self)^.clr := $00000100;
  36135. end;
  36136. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  36137. begin
  36138. if thebits = 0 then
  36139. pTDefRegMap(@Self)^.clr := $00000100
  36140. else
  36141. pTDefRegMap(@Self)^.&set := $00000100;
  36142. end;
  36143. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  36144. begin
  36145. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36146. end;
  36147. procedure TPORTB_TRISB.setTRISB9; inline;
  36148. begin
  36149. pTDefRegMap(@Self)^.&set := $00000200;
  36150. end;
  36151. procedure TPORTB_TRISB.clearTRISB9; inline;
  36152. begin
  36153. pTDefRegMap(@Self)^.clr := $00000200;
  36154. end;
  36155. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  36156. begin
  36157. if thebits = 0 then
  36158. pTDefRegMap(@Self)^.clr := $00000200
  36159. else
  36160. pTDefRegMap(@Self)^.&set := $00000200;
  36161. end;
  36162. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  36163. begin
  36164. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36165. end;
  36166. procedure TPORTB_TRISB.setTRISB10; inline;
  36167. begin
  36168. pTDefRegMap(@Self)^.&set := $00000400;
  36169. end;
  36170. procedure TPORTB_TRISB.clearTRISB10; inline;
  36171. begin
  36172. pTDefRegMap(@Self)^.clr := $00000400;
  36173. end;
  36174. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  36175. begin
  36176. if thebits = 0 then
  36177. pTDefRegMap(@Self)^.clr := $00000400
  36178. else
  36179. pTDefRegMap(@Self)^.&set := $00000400;
  36180. end;
  36181. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  36182. begin
  36183. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36184. end;
  36185. procedure TPORTB_TRISB.setTRISB11; inline;
  36186. begin
  36187. pTDefRegMap(@Self)^.&set := $00000800;
  36188. end;
  36189. procedure TPORTB_TRISB.clearTRISB11; inline;
  36190. begin
  36191. pTDefRegMap(@Self)^.clr := $00000800;
  36192. end;
  36193. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  36194. begin
  36195. if thebits = 0 then
  36196. pTDefRegMap(@Self)^.clr := $00000800
  36197. else
  36198. pTDefRegMap(@Self)^.&set := $00000800;
  36199. end;
  36200. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  36201. begin
  36202. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36203. end;
  36204. procedure TPORTB_TRISB.setTRISB13; inline;
  36205. begin
  36206. pTDefRegMap(@Self)^.&set := $00002000;
  36207. end;
  36208. procedure TPORTB_TRISB.clearTRISB13; inline;
  36209. begin
  36210. pTDefRegMap(@Self)^.clr := $00002000;
  36211. end;
  36212. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  36213. begin
  36214. if thebits = 0 then
  36215. pTDefRegMap(@Self)^.clr := $00002000
  36216. else
  36217. pTDefRegMap(@Self)^.&set := $00002000;
  36218. end;
  36219. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  36220. begin
  36221. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36222. end;
  36223. procedure TPORTB_TRISB.setTRISB14; inline;
  36224. begin
  36225. pTDefRegMap(@Self)^.&set := $00004000;
  36226. end;
  36227. procedure TPORTB_TRISB.clearTRISB14; inline;
  36228. begin
  36229. pTDefRegMap(@Self)^.clr := $00004000;
  36230. end;
  36231. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  36232. begin
  36233. if thebits = 0 then
  36234. pTDefRegMap(@Self)^.clr := $00004000
  36235. else
  36236. pTDefRegMap(@Self)^.&set := $00004000;
  36237. end;
  36238. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  36239. begin
  36240. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36241. end;
  36242. procedure TPORTB_TRISB.setTRISB15; inline;
  36243. begin
  36244. pTDefRegMap(@Self)^.&set := $00008000;
  36245. end;
  36246. procedure TPORTB_TRISB.clearTRISB15; inline;
  36247. begin
  36248. pTDefRegMap(@Self)^.clr := $00008000;
  36249. end;
  36250. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  36251. begin
  36252. if thebits = 0 then
  36253. pTDefRegMap(@Self)^.clr := $00008000
  36254. else
  36255. pTDefRegMap(@Self)^.&set := $00008000;
  36256. end;
  36257. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  36258. begin
  36259. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36260. end;
  36261. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  36262. begin
  36263. pTDefRegMap(@Self)^.val := thebits;
  36264. end;
  36265. function TPORTB_TRISB.getw : TBits_32; inline;
  36266. begin
  36267. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36268. end;
  36269. procedure TPORTB_PORTB.setRB0; inline;
  36270. begin
  36271. pTDefRegMap(@Self)^.&set := $00000001;
  36272. end;
  36273. procedure TPORTB_PORTB.clearRB0; inline;
  36274. begin
  36275. pTDefRegMap(@Self)^.clr := $00000001;
  36276. end;
  36277. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  36278. begin
  36279. if thebits = 0 then
  36280. pTDefRegMap(@Self)^.clr := $00000001
  36281. else
  36282. pTDefRegMap(@Self)^.&set := $00000001;
  36283. end;
  36284. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  36285. begin
  36286. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36287. end;
  36288. procedure TPORTB_PORTB.setRB1; inline;
  36289. begin
  36290. pTDefRegMap(@Self)^.&set := $00000002;
  36291. end;
  36292. procedure TPORTB_PORTB.clearRB1; inline;
  36293. begin
  36294. pTDefRegMap(@Self)^.clr := $00000002;
  36295. end;
  36296. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  36297. begin
  36298. if thebits = 0 then
  36299. pTDefRegMap(@Self)^.clr := $00000002
  36300. else
  36301. pTDefRegMap(@Self)^.&set := $00000002;
  36302. end;
  36303. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  36304. begin
  36305. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36306. end;
  36307. procedure TPORTB_PORTB.setRB2; inline;
  36308. begin
  36309. pTDefRegMap(@Self)^.&set := $00000004;
  36310. end;
  36311. procedure TPORTB_PORTB.clearRB2; inline;
  36312. begin
  36313. pTDefRegMap(@Self)^.clr := $00000004;
  36314. end;
  36315. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  36316. begin
  36317. if thebits = 0 then
  36318. pTDefRegMap(@Self)^.clr := $00000004
  36319. else
  36320. pTDefRegMap(@Self)^.&set := $00000004;
  36321. end;
  36322. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  36323. begin
  36324. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36325. end;
  36326. procedure TPORTB_PORTB.setRB3; inline;
  36327. begin
  36328. pTDefRegMap(@Self)^.&set := $00000008;
  36329. end;
  36330. procedure TPORTB_PORTB.clearRB3; inline;
  36331. begin
  36332. pTDefRegMap(@Self)^.clr := $00000008;
  36333. end;
  36334. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  36335. begin
  36336. if thebits = 0 then
  36337. pTDefRegMap(@Self)^.clr := $00000008
  36338. else
  36339. pTDefRegMap(@Self)^.&set := $00000008;
  36340. end;
  36341. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  36342. begin
  36343. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36344. end;
  36345. procedure TPORTB_PORTB.setRB4; inline;
  36346. begin
  36347. pTDefRegMap(@Self)^.&set := $00000010;
  36348. end;
  36349. procedure TPORTB_PORTB.clearRB4; inline;
  36350. begin
  36351. pTDefRegMap(@Self)^.clr := $00000010;
  36352. end;
  36353. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  36354. begin
  36355. if thebits = 0 then
  36356. pTDefRegMap(@Self)^.clr := $00000010
  36357. else
  36358. pTDefRegMap(@Self)^.&set := $00000010;
  36359. end;
  36360. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  36361. begin
  36362. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36363. end;
  36364. procedure TPORTB_PORTB.setRB5; inline;
  36365. begin
  36366. pTDefRegMap(@Self)^.&set := $00000020;
  36367. end;
  36368. procedure TPORTB_PORTB.clearRB5; inline;
  36369. begin
  36370. pTDefRegMap(@Self)^.clr := $00000020;
  36371. end;
  36372. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  36373. begin
  36374. if thebits = 0 then
  36375. pTDefRegMap(@Self)^.clr := $00000020
  36376. else
  36377. pTDefRegMap(@Self)^.&set := $00000020;
  36378. end;
  36379. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  36380. begin
  36381. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36382. end;
  36383. procedure TPORTB_PORTB.setRB7; inline;
  36384. begin
  36385. pTDefRegMap(@Self)^.&set := $00000080;
  36386. end;
  36387. procedure TPORTB_PORTB.clearRB7; inline;
  36388. begin
  36389. pTDefRegMap(@Self)^.clr := $00000080;
  36390. end;
  36391. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  36392. begin
  36393. if thebits = 0 then
  36394. pTDefRegMap(@Self)^.clr := $00000080
  36395. else
  36396. pTDefRegMap(@Self)^.&set := $00000080;
  36397. end;
  36398. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  36399. begin
  36400. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36401. end;
  36402. procedure TPORTB_PORTB.setRB8; inline;
  36403. begin
  36404. pTDefRegMap(@Self)^.&set := $00000100;
  36405. end;
  36406. procedure TPORTB_PORTB.clearRB8; inline;
  36407. begin
  36408. pTDefRegMap(@Self)^.clr := $00000100;
  36409. end;
  36410. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  36411. begin
  36412. if thebits = 0 then
  36413. pTDefRegMap(@Self)^.clr := $00000100
  36414. else
  36415. pTDefRegMap(@Self)^.&set := $00000100;
  36416. end;
  36417. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  36418. begin
  36419. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36420. end;
  36421. procedure TPORTB_PORTB.setRB9; inline;
  36422. begin
  36423. pTDefRegMap(@Self)^.&set := $00000200;
  36424. end;
  36425. procedure TPORTB_PORTB.clearRB9; inline;
  36426. begin
  36427. pTDefRegMap(@Self)^.clr := $00000200;
  36428. end;
  36429. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  36430. begin
  36431. if thebits = 0 then
  36432. pTDefRegMap(@Self)^.clr := $00000200
  36433. else
  36434. pTDefRegMap(@Self)^.&set := $00000200;
  36435. end;
  36436. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  36437. begin
  36438. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36439. end;
  36440. procedure TPORTB_PORTB.setRB10; inline;
  36441. begin
  36442. pTDefRegMap(@Self)^.&set := $00000400;
  36443. end;
  36444. procedure TPORTB_PORTB.clearRB10; inline;
  36445. begin
  36446. pTDefRegMap(@Self)^.clr := $00000400;
  36447. end;
  36448. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  36449. begin
  36450. if thebits = 0 then
  36451. pTDefRegMap(@Self)^.clr := $00000400
  36452. else
  36453. pTDefRegMap(@Self)^.&set := $00000400;
  36454. end;
  36455. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  36456. begin
  36457. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36458. end;
  36459. procedure TPORTB_PORTB.setRB11; inline;
  36460. begin
  36461. pTDefRegMap(@Self)^.&set := $00000800;
  36462. end;
  36463. procedure TPORTB_PORTB.clearRB11; inline;
  36464. begin
  36465. pTDefRegMap(@Self)^.clr := $00000800;
  36466. end;
  36467. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  36468. begin
  36469. if thebits = 0 then
  36470. pTDefRegMap(@Self)^.clr := $00000800
  36471. else
  36472. pTDefRegMap(@Self)^.&set := $00000800;
  36473. end;
  36474. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  36475. begin
  36476. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36477. end;
  36478. procedure TPORTB_PORTB.setRB13; inline;
  36479. begin
  36480. pTDefRegMap(@Self)^.&set := $00002000;
  36481. end;
  36482. procedure TPORTB_PORTB.clearRB13; inline;
  36483. begin
  36484. pTDefRegMap(@Self)^.clr := $00002000;
  36485. end;
  36486. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  36487. begin
  36488. if thebits = 0 then
  36489. pTDefRegMap(@Self)^.clr := $00002000
  36490. else
  36491. pTDefRegMap(@Self)^.&set := $00002000;
  36492. end;
  36493. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  36494. begin
  36495. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36496. end;
  36497. procedure TPORTB_PORTB.setRB14; inline;
  36498. begin
  36499. pTDefRegMap(@Self)^.&set := $00004000;
  36500. end;
  36501. procedure TPORTB_PORTB.clearRB14; inline;
  36502. begin
  36503. pTDefRegMap(@Self)^.clr := $00004000;
  36504. end;
  36505. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  36506. begin
  36507. if thebits = 0 then
  36508. pTDefRegMap(@Self)^.clr := $00004000
  36509. else
  36510. pTDefRegMap(@Self)^.&set := $00004000;
  36511. end;
  36512. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  36513. begin
  36514. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36515. end;
  36516. procedure TPORTB_PORTB.setRB15; inline;
  36517. begin
  36518. pTDefRegMap(@Self)^.&set := $00008000;
  36519. end;
  36520. procedure TPORTB_PORTB.clearRB15; inline;
  36521. begin
  36522. pTDefRegMap(@Self)^.clr := $00008000;
  36523. end;
  36524. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  36525. begin
  36526. if thebits = 0 then
  36527. pTDefRegMap(@Self)^.clr := $00008000
  36528. else
  36529. pTDefRegMap(@Self)^.&set := $00008000;
  36530. end;
  36531. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  36532. begin
  36533. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36534. end;
  36535. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  36536. begin
  36537. pTDefRegMap(@Self)^.val := thebits;
  36538. end;
  36539. function TPORTB_PORTB.getw : TBits_32; inline;
  36540. begin
  36541. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36542. end;
  36543. procedure TPORTB_LATB.setLATB0; inline;
  36544. begin
  36545. pTDefRegMap(@Self)^.&set := $00000001;
  36546. end;
  36547. procedure TPORTB_LATB.clearLATB0; inline;
  36548. begin
  36549. pTDefRegMap(@Self)^.clr := $00000001;
  36550. end;
  36551. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  36552. begin
  36553. if thebits = 0 then
  36554. pTDefRegMap(@Self)^.clr := $00000001
  36555. else
  36556. pTDefRegMap(@Self)^.&set := $00000001;
  36557. end;
  36558. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  36559. begin
  36560. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36561. end;
  36562. procedure TPORTB_LATB.setLATB1; inline;
  36563. begin
  36564. pTDefRegMap(@Self)^.&set := $00000002;
  36565. end;
  36566. procedure TPORTB_LATB.clearLATB1; inline;
  36567. begin
  36568. pTDefRegMap(@Self)^.clr := $00000002;
  36569. end;
  36570. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  36571. begin
  36572. if thebits = 0 then
  36573. pTDefRegMap(@Self)^.clr := $00000002
  36574. else
  36575. pTDefRegMap(@Self)^.&set := $00000002;
  36576. end;
  36577. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  36578. begin
  36579. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36580. end;
  36581. procedure TPORTB_LATB.setLATB2; inline;
  36582. begin
  36583. pTDefRegMap(@Self)^.&set := $00000004;
  36584. end;
  36585. procedure TPORTB_LATB.clearLATB2; inline;
  36586. begin
  36587. pTDefRegMap(@Self)^.clr := $00000004;
  36588. end;
  36589. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  36590. begin
  36591. if thebits = 0 then
  36592. pTDefRegMap(@Self)^.clr := $00000004
  36593. else
  36594. pTDefRegMap(@Self)^.&set := $00000004;
  36595. end;
  36596. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  36597. begin
  36598. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36599. end;
  36600. procedure TPORTB_LATB.setLATB3; inline;
  36601. begin
  36602. pTDefRegMap(@Self)^.&set := $00000008;
  36603. end;
  36604. procedure TPORTB_LATB.clearLATB3; inline;
  36605. begin
  36606. pTDefRegMap(@Self)^.clr := $00000008;
  36607. end;
  36608. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  36609. begin
  36610. if thebits = 0 then
  36611. pTDefRegMap(@Self)^.clr := $00000008
  36612. else
  36613. pTDefRegMap(@Self)^.&set := $00000008;
  36614. end;
  36615. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  36616. begin
  36617. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36618. end;
  36619. procedure TPORTB_LATB.setLATB4; inline;
  36620. begin
  36621. pTDefRegMap(@Self)^.&set := $00000010;
  36622. end;
  36623. procedure TPORTB_LATB.clearLATB4; inline;
  36624. begin
  36625. pTDefRegMap(@Self)^.clr := $00000010;
  36626. end;
  36627. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  36628. begin
  36629. if thebits = 0 then
  36630. pTDefRegMap(@Self)^.clr := $00000010
  36631. else
  36632. pTDefRegMap(@Self)^.&set := $00000010;
  36633. end;
  36634. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  36635. begin
  36636. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36637. end;
  36638. procedure TPORTB_LATB.setLATB5; inline;
  36639. begin
  36640. pTDefRegMap(@Self)^.&set := $00000020;
  36641. end;
  36642. procedure TPORTB_LATB.clearLATB5; inline;
  36643. begin
  36644. pTDefRegMap(@Self)^.clr := $00000020;
  36645. end;
  36646. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  36647. begin
  36648. if thebits = 0 then
  36649. pTDefRegMap(@Self)^.clr := $00000020
  36650. else
  36651. pTDefRegMap(@Self)^.&set := $00000020;
  36652. end;
  36653. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  36654. begin
  36655. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36656. end;
  36657. procedure TPORTB_LATB.setLATB7; inline;
  36658. begin
  36659. pTDefRegMap(@Self)^.&set := $00000080;
  36660. end;
  36661. procedure TPORTB_LATB.clearLATB7; inline;
  36662. begin
  36663. pTDefRegMap(@Self)^.clr := $00000080;
  36664. end;
  36665. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  36666. begin
  36667. if thebits = 0 then
  36668. pTDefRegMap(@Self)^.clr := $00000080
  36669. else
  36670. pTDefRegMap(@Self)^.&set := $00000080;
  36671. end;
  36672. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  36673. begin
  36674. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36675. end;
  36676. procedure TPORTB_LATB.setLATB8; inline;
  36677. begin
  36678. pTDefRegMap(@Self)^.&set := $00000100;
  36679. end;
  36680. procedure TPORTB_LATB.clearLATB8; inline;
  36681. begin
  36682. pTDefRegMap(@Self)^.clr := $00000100;
  36683. end;
  36684. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  36685. begin
  36686. if thebits = 0 then
  36687. pTDefRegMap(@Self)^.clr := $00000100
  36688. else
  36689. pTDefRegMap(@Self)^.&set := $00000100;
  36690. end;
  36691. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  36692. begin
  36693. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36694. end;
  36695. procedure TPORTB_LATB.setLATB9; inline;
  36696. begin
  36697. pTDefRegMap(@Self)^.&set := $00000200;
  36698. end;
  36699. procedure TPORTB_LATB.clearLATB9; inline;
  36700. begin
  36701. pTDefRegMap(@Self)^.clr := $00000200;
  36702. end;
  36703. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  36704. begin
  36705. if thebits = 0 then
  36706. pTDefRegMap(@Self)^.clr := $00000200
  36707. else
  36708. pTDefRegMap(@Self)^.&set := $00000200;
  36709. end;
  36710. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  36711. begin
  36712. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36713. end;
  36714. procedure TPORTB_LATB.setLATB10; inline;
  36715. begin
  36716. pTDefRegMap(@Self)^.&set := $00000400;
  36717. end;
  36718. procedure TPORTB_LATB.clearLATB10; inline;
  36719. begin
  36720. pTDefRegMap(@Self)^.clr := $00000400;
  36721. end;
  36722. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  36723. begin
  36724. if thebits = 0 then
  36725. pTDefRegMap(@Self)^.clr := $00000400
  36726. else
  36727. pTDefRegMap(@Self)^.&set := $00000400;
  36728. end;
  36729. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  36730. begin
  36731. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36732. end;
  36733. procedure TPORTB_LATB.setLATB11; inline;
  36734. begin
  36735. pTDefRegMap(@Self)^.&set := $00000800;
  36736. end;
  36737. procedure TPORTB_LATB.clearLATB11; inline;
  36738. begin
  36739. pTDefRegMap(@Self)^.clr := $00000800;
  36740. end;
  36741. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  36742. begin
  36743. if thebits = 0 then
  36744. pTDefRegMap(@Self)^.clr := $00000800
  36745. else
  36746. pTDefRegMap(@Self)^.&set := $00000800;
  36747. end;
  36748. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  36749. begin
  36750. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36751. end;
  36752. procedure TPORTB_LATB.setLATB13; inline;
  36753. begin
  36754. pTDefRegMap(@Self)^.&set := $00002000;
  36755. end;
  36756. procedure TPORTB_LATB.clearLATB13; inline;
  36757. begin
  36758. pTDefRegMap(@Self)^.clr := $00002000;
  36759. end;
  36760. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  36761. begin
  36762. if thebits = 0 then
  36763. pTDefRegMap(@Self)^.clr := $00002000
  36764. else
  36765. pTDefRegMap(@Self)^.&set := $00002000;
  36766. end;
  36767. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  36768. begin
  36769. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36770. end;
  36771. procedure TPORTB_LATB.setLATB14; inline;
  36772. begin
  36773. pTDefRegMap(@Self)^.&set := $00004000;
  36774. end;
  36775. procedure TPORTB_LATB.clearLATB14; inline;
  36776. begin
  36777. pTDefRegMap(@Self)^.clr := $00004000;
  36778. end;
  36779. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  36780. begin
  36781. if thebits = 0 then
  36782. pTDefRegMap(@Self)^.clr := $00004000
  36783. else
  36784. pTDefRegMap(@Self)^.&set := $00004000;
  36785. end;
  36786. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  36787. begin
  36788. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36789. end;
  36790. procedure TPORTB_LATB.setLATB15; inline;
  36791. begin
  36792. pTDefRegMap(@Self)^.&set := $00008000;
  36793. end;
  36794. procedure TPORTB_LATB.clearLATB15; inline;
  36795. begin
  36796. pTDefRegMap(@Self)^.clr := $00008000;
  36797. end;
  36798. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  36799. begin
  36800. if thebits = 0 then
  36801. pTDefRegMap(@Self)^.clr := $00008000
  36802. else
  36803. pTDefRegMap(@Self)^.&set := $00008000;
  36804. end;
  36805. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  36806. begin
  36807. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36808. end;
  36809. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  36810. begin
  36811. pTDefRegMap(@Self)^.val := thebits;
  36812. end;
  36813. function TPORTB_LATB.getw : TBits_32; inline;
  36814. begin
  36815. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36816. end;
  36817. procedure TPORTB_ODCB.setODCB0; inline;
  36818. begin
  36819. pTDefRegMap(@Self)^.&set := $00000001;
  36820. end;
  36821. procedure TPORTB_ODCB.clearODCB0; inline;
  36822. begin
  36823. pTDefRegMap(@Self)^.clr := $00000001;
  36824. end;
  36825. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  36826. begin
  36827. if thebits = 0 then
  36828. pTDefRegMap(@Self)^.clr := $00000001
  36829. else
  36830. pTDefRegMap(@Self)^.&set := $00000001;
  36831. end;
  36832. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  36833. begin
  36834. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36835. end;
  36836. procedure TPORTB_ODCB.setODCB1; inline;
  36837. begin
  36838. pTDefRegMap(@Self)^.&set := $00000002;
  36839. end;
  36840. procedure TPORTB_ODCB.clearODCB1; inline;
  36841. begin
  36842. pTDefRegMap(@Self)^.clr := $00000002;
  36843. end;
  36844. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  36845. begin
  36846. if thebits = 0 then
  36847. pTDefRegMap(@Self)^.clr := $00000002
  36848. else
  36849. pTDefRegMap(@Self)^.&set := $00000002;
  36850. end;
  36851. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  36852. begin
  36853. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36854. end;
  36855. procedure TPORTB_ODCB.setODCB2; inline;
  36856. begin
  36857. pTDefRegMap(@Self)^.&set := $00000004;
  36858. end;
  36859. procedure TPORTB_ODCB.clearODCB2; inline;
  36860. begin
  36861. pTDefRegMap(@Self)^.clr := $00000004;
  36862. end;
  36863. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  36864. begin
  36865. if thebits = 0 then
  36866. pTDefRegMap(@Self)^.clr := $00000004
  36867. else
  36868. pTDefRegMap(@Self)^.&set := $00000004;
  36869. end;
  36870. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  36871. begin
  36872. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36873. end;
  36874. procedure TPORTB_ODCB.setODCB3; inline;
  36875. begin
  36876. pTDefRegMap(@Self)^.&set := $00000008;
  36877. end;
  36878. procedure TPORTB_ODCB.clearODCB3; inline;
  36879. begin
  36880. pTDefRegMap(@Self)^.clr := $00000008;
  36881. end;
  36882. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  36883. begin
  36884. if thebits = 0 then
  36885. pTDefRegMap(@Self)^.clr := $00000008
  36886. else
  36887. pTDefRegMap(@Self)^.&set := $00000008;
  36888. end;
  36889. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  36890. begin
  36891. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36892. end;
  36893. procedure TPORTB_ODCB.setODCB4; inline;
  36894. begin
  36895. pTDefRegMap(@Self)^.&set := $00000010;
  36896. end;
  36897. procedure TPORTB_ODCB.clearODCB4; inline;
  36898. begin
  36899. pTDefRegMap(@Self)^.clr := $00000010;
  36900. end;
  36901. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  36902. begin
  36903. if thebits = 0 then
  36904. pTDefRegMap(@Self)^.clr := $00000010
  36905. else
  36906. pTDefRegMap(@Self)^.&set := $00000010;
  36907. end;
  36908. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  36909. begin
  36910. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36911. end;
  36912. procedure TPORTB_ODCB.setODCB5; inline;
  36913. begin
  36914. pTDefRegMap(@Self)^.&set := $00000020;
  36915. end;
  36916. procedure TPORTB_ODCB.clearODCB5; inline;
  36917. begin
  36918. pTDefRegMap(@Self)^.clr := $00000020;
  36919. end;
  36920. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  36921. begin
  36922. if thebits = 0 then
  36923. pTDefRegMap(@Self)^.clr := $00000020
  36924. else
  36925. pTDefRegMap(@Self)^.&set := $00000020;
  36926. end;
  36927. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  36928. begin
  36929. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36930. end;
  36931. procedure TPORTB_ODCB.setODCB7; inline;
  36932. begin
  36933. pTDefRegMap(@Self)^.&set := $00000080;
  36934. end;
  36935. procedure TPORTB_ODCB.clearODCB7; inline;
  36936. begin
  36937. pTDefRegMap(@Self)^.clr := $00000080;
  36938. end;
  36939. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  36940. begin
  36941. if thebits = 0 then
  36942. pTDefRegMap(@Self)^.clr := $00000080
  36943. else
  36944. pTDefRegMap(@Self)^.&set := $00000080;
  36945. end;
  36946. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  36947. begin
  36948. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36949. end;
  36950. procedure TPORTB_ODCB.setODCB8; inline;
  36951. begin
  36952. pTDefRegMap(@Self)^.&set := $00000100;
  36953. end;
  36954. procedure TPORTB_ODCB.clearODCB8; inline;
  36955. begin
  36956. pTDefRegMap(@Self)^.clr := $00000100;
  36957. end;
  36958. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  36959. begin
  36960. if thebits = 0 then
  36961. pTDefRegMap(@Self)^.clr := $00000100
  36962. else
  36963. pTDefRegMap(@Self)^.&set := $00000100;
  36964. end;
  36965. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  36966. begin
  36967. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36968. end;
  36969. procedure TPORTB_ODCB.setODCB9; inline;
  36970. begin
  36971. pTDefRegMap(@Self)^.&set := $00000200;
  36972. end;
  36973. procedure TPORTB_ODCB.clearODCB9; inline;
  36974. begin
  36975. pTDefRegMap(@Self)^.clr := $00000200;
  36976. end;
  36977. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  36978. begin
  36979. if thebits = 0 then
  36980. pTDefRegMap(@Self)^.clr := $00000200
  36981. else
  36982. pTDefRegMap(@Self)^.&set := $00000200;
  36983. end;
  36984. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  36985. begin
  36986. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36987. end;
  36988. procedure TPORTB_ODCB.setODCB10; inline;
  36989. begin
  36990. pTDefRegMap(@Self)^.&set := $00000400;
  36991. end;
  36992. procedure TPORTB_ODCB.clearODCB10; inline;
  36993. begin
  36994. pTDefRegMap(@Self)^.clr := $00000400;
  36995. end;
  36996. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  36997. begin
  36998. if thebits = 0 then
  36999. pTDefRegMap(@Self)^.clr := $00000400
  37000. else
  37001. pTDefRegMap(@Self)^.&set := $00000400;
  37002. end;
  37003. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  37004. begin
  37005. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37006. end;
  37007. procedure TPORTB_ODCB.setODCB11; inline;
  37008. begin
  37009. pTDefRegMap(@Self)^.&set := $00000800;
  37010. end;
  37011. procedure TPORTB_ODCB.clearODCB11; inline;
  37012. begin
  37013. pTDefRegMap(@Self)^.clr := $00000800;
  37014. end;
  37015. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  37016. begin
  37017. if thebits = 0 then
  37018. pTDefRegMap(@Self)^.clr := $00000800
  37019. else
  37020. pTDefRegMap(@Self)^.&set := $00000800;
  37021. end;
  37022. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  37023. begin
  37024. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37025. end;
  37026. procedure TPORTB_ODCB.setODCB13; inline;
  37027. begin
  37028. pTDefRegMap(@Self)^.&set := $00002000;
  37029. end;
  37030. procedure TPORTB_ODCB.clearODCB13; inline;
  37031. begin
  37032. pTDefRegMap(@Self)^.clr := $00002000;
  37033. end;
  37034. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  37035. begin
  37036. if thebits = 0 then
  37037. pTDefRegMap(@Self)^.clr := $00002000
  37038. else
  37039. pTDefRegMap(@Self)^.&set := $00002000;
  37040. end;
  37041. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  37042. begin
  37043. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37044. end;
  37045. procedure TPORTB_ODCB.setODCB14; inline;
  37046. begin
  37047. pTDefRegMap(@Self)^.&set := $00004000;
  37048. end;
  37049. procedure TPORTB_ODCB.clearODCB14; inline;
  37050. begin
  37051. pTDefRegMap(@Self)^.clr := $00004000;
  37052. end;
  37053. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  37054. begin
  37055. if thebits = 0 then
  37056. pTDefRegMap(@Self)^.clr := $00004000
  37057. else
  37058. pTDefRegMap(@Self)^.&set := $00004000;
  37059. end;
  37060. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  37061. begin
  37062. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37063. end;
  37064. procedure TPORTB_ODCB.setODCB15; inline;
  37065. begin
  37066. pTDefRegMap(@Self)^.&set := $00008000;
  37067. end;
  37068. procedure TPORTB_ODCB.clearODCB15; inline;
  37069. begin
  37070. pTDefRegMap(@Self)^.clr := $00008000;
  37071. end;
  37072. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  37073. begin
  37074. if thebits = 0 then
  37075. pTDefRegMap(@Self)^.clr := $00008000
  37076. else
  37077. pTDefRegMap(@Self)^.&set := $00008000;
  37078. end;
  37079. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  37080. begin
  37081. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37082. end;
  37083. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  37084. begin
  37085. pTDefRegMap(@Self)^.val := thebits;
  37086. end;
  37087. function TPORTB_ODCB.getw : TBits_32; inline;
  37088. begin
  37089. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37090. end;
  37091. procedure TPORTB_CNPUB.setCNPUB0; inline;
  37092. begin
  37093. pTDefRegMap(@Self)^.&set := $00000001;
  37094. end;
  37095. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  37096. begin
  37097. pTDefRegMap(@Self)^.clr := $00000001;
  37098. end;
  37099. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  37100. begin
  37101. if thebits = 0 then
  37102. pTDefRegMap(@Self)^.clr := $00000001
  37103. else
  37104. pTDefRegMap(@Self)^.&set := $00000001;
  37105. end;
  37106. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  37107. begin
  37108. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37109. end;
  37110. procedure TPORTB_CNPUB.setCNPUB1; inline;
  37111. begin
  37112. pTDefRegMap(@Self)^.&set := $00000002;
  37113. end;
  37114. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  37115. begin
  37116. pTDefRegMap(@Self)^.clr := $00000002;
  37117. end;
  37118. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  37119. begin
  37120. if thebits = 0 then
  37121. pTDefRegMap(@Self)^.clr := $00000002
  37122. else
  37123. pTDefRegMap(@Self)^.&set := $00000002;
  37124. end;
  37125. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  37126. begin
  37127. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37128. end;
  37129. procedure TPORTB_CNPUB.setCNPUB2; inline;
  37130. begin
  37131. pTDefRegMap(@Self)^.&set := $00000004;
  37132. end;
  37133. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  37134. begin
  37135. pTDefRegMap(@Self)^.clr := $00000004;
  37136. end;
  37137. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  37138. begin
  37139. if thebits = 0 then
  37140. pTDefRegMap(@Self)^.clr := $00000004
  37141. else
  37142. pTDefRegMap(@Self)^.&set := $00000004;
  37143. end;
  37144. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  37145. begin
  37146. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37147. end;
  37148. procedure TPORTB_CNPUB.setCNPUB3; inline;
  37149. begin
  37150. pTDefRegMap(@Self)^.&set := $00000008;
  37151. end;
  37152. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  37153. begin
  37154. pTDefRegMap(@Self)^.clr := $00000008;
  37155. end;
  37156. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  37157. begin
  37158. if thebits = 0 then
  37159. pTDefRegMap(@Self)^.clr := $00000008
  37160. else
  37161. pTDefRegMap(@Self)^.&set := $00000008;
  37162. end;
  37163. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  37164. begin
  37165. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37166. end;
  37167. procedure TPORTB_CNPUB.setCNPUB4; inline;
  37168. begin
  37169. pTDefRegMap(@Self)^.&set := $00000010;
  37170. end;
  37171. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  37172. begin
  37173. pTDefRegMap(@Self)^.clr := $00000010;
  37174. end;
  37175. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  37176. begin
  37177. if thebits = 0 then
  37178. pTDefRegMap(@Self)^.clr := $00000010
  37179. else
  37180. pTDefRegMap(@Self)^.&set := $00000010;
  37181. end;
  37182. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  37183. begin
  37184. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37185. end;
  37186. procedure TPORTB_CNPUB.setCNPUB5; inline;
  37187. begin
  37188. pTDefRegMap(@Self)^.&set := $00000020;
  37189. end;
  37190. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  37191. begin
  37192. pTDefRegMap(@Self)^.clr := $00000020;
  37193. end;
  37194. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  37195. begin
  37196. if thebits = 0 then
  37197. pTDefRegMap(@Self)^.clr := $00000020
  37198. else
  37199. pTDefRegMap(@Self)^.&set := $00000020;
  37200. end;
  37201. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  37202. begin
  37203. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37204. end;
  37205. procedure TPORTB_CNPUB.setCNPUB7; inline;
  37206. begin
  37207. pTDefRegMap(@Self)^.&set := $00000080;
  37208. end;
  37209. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  37210. begin
  37211. pTDefRegMap(@Self)^.clr := $00000080;
  37212. end;
  37213. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  37214. begin
  37215. if thebits = 0 then
  37216. pTDefRegMap(@Self)^.clr := $00000080
  37217. else
  37218. pTDefRegMap(@Self)^.&set := $00000080;
  37219. end;
  37220. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  37221. begin
  37222. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37223. end;
  37224. procedure TPORTB_CNPUB.setCNPUB8; inline;
  37225. begin
  37226. pTDefRegMap(@Self)^.&set := $00000100;
  37227. end;
  37228. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  37229. begin
  37230. pTDefRegMap(@Self)^.clr := $00000100;
  37231. end;
  37232. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  37233. begin
  37234. if thebits = 0 then
  37235. pTDefRegMap(@Self)^.clr := $00000100
  37236. else
  37237. pTDefRegMap(@Self)^.&set := $00000100;
  37238. end;
  37239. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  37240. begin
  37241. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37242. end;
  37243. procedure TPORTB_CNPUB.setCNPUB9; inline;
  37244. begin
  37245. pTDefRegMap(@Self)^.&set := $00000200;
  37246. end;
  37247. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  37248. begin
  37249. pTDefRegMap(@Self)^.clr := $00000200;
  37250. end;
  37251. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  37252. begin
  37253. if thebits = 0 then
  37254. pTDefRegMap(@Self)^.clr := $00000200
  37255. else
  37256. pTDefRegMap(@Self)^.&set := $00000200;
  37257. end;
  37258. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  37259. begin
  37260. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37261. end;
  37262. procedure TPORTB_CNPUB.setCNPUB10; inline;
  37263. begin
  37264. pTDefRegMap(@Self)^.&set := $00000400;
  37265. end;
  37266. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  37267. begin
  37268. pTDefRegMap(@Self)^.clr := $00000400;
  37269. end;
  37270. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  37271. begin
  37272. if thebits = 0 then
  37273. pTDefRegMap(@Self)^.clr := $00000400
  37274. else
  37275. pTDefRegMap(@Self)^.&set := $00000400;
  37276. end;
  37277. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  37278. begin
  37279. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37280. end;
  37281. procedure TPORTB_CNPUB.setCNPUB11; inline;
  37282. begin
  37283. pTDefRegMap(@Self)^.&set := $00000800;
  37284. end;
  37285. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  37286. begin
  37287. pTDefRegMap(@Self)^.clr := $00000800;
  37288. end;
  37289. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  37290. begin
  37291. if thebits = 0 then
  37292. pTDefRegMap(@Self)^.clr := $00000800
  37293. else
  37294. pTDefRegMap(@Self)^.&set := $00000800;
  37295. end;
  37296. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  37297. begin
  37298. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37299. end;
  37300. procedure TPORTB_CNPUB.setCNPUB13; inline;
  37301. begin
  37302. pTDefRegMap(@Self)^.&set := $00002000;
  37303. end;
  37304. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  37305. begin
  37306. pTDefRegMap(@Self)^.clr := $00002000;
  37307. end;
  37308. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  37309. begin
  37310. if thebits = 0 then
  37311. pTDefRegMap(@Self)^.clr := $00002000
  37312. else
  37313. pTDefRegMap(@Self)^.&set := $00002000;
  37314. end;
  37315. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  37316. begin
  37317. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37318. end;
  37319. procedure TPORTB_CNPUB.setCNPUB14; inline;
  37320. begin
  37321. pTDefRegMap(@Self)^.&set := $00004000;
  37322. end;
  37323. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  37324. begin
  37325. pTDefRegMap(@Self)^.clr := $00004000;
  37326. end;
  37327. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  37328. begin
  37329. if thebits = 0 then
  37330. pTDefRegMap(@Self)^.clr := $00004000
  37331. else
  37332. pTDefRegMap(@Self)^.&set := $00004000;
  37333. end;
  37334. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  37335. begin
  37336. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37337. end;
  37338. procedure TPORTB_CNPUB.setCNPUB15; inline;
  37339. begin
  37340. pTDefRegMap(@Self)^.&set := $00008000;
  37341. end;
  37342. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  37343. begin
  37344. pTDefRegMap(@Self)^.clr := $00008000;
  37345. end;
  37346. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  37347. begin
  37348. if thebits = 0 then
  37349. pTDefRegMap(@Self)^.clr := $00008000
  37350. else
  37351. pTDefRegMap(@Self)^.&set := $00008000;
  37352. end;
  37353. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  37354. begin
  37355. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37356. end;
  37357. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  37358. begin
  37359. pTDefRegMap(@Self)^.val := thebits;
  37360. end;
  37361. function TPORTB_CNPUB.getw : TBits_32; inline;
  37362. begin
  37363. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37364. end;
  37365. procedure TPORTB_CNPDB.setCNPDB0; inline;
  37366. begin
  37367. pTDefRegMap(@Self)^.&set := $00000001;
  37368. end;
  37369. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  37370. begin
  37371. pTDefRegMap(@Self)^.clr := $00000001;
  37372. end;
  37373. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  37374. begin
  37375. if thebits = 0 then
  37376. pTDefRegMap(@Self)^.clr := $00000001
  37377. else
  37378. pTDefRegMap(@Self)^.&set := $00000001;
  37379. end;
  37380. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  37381. begin
  37382. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37383. end;
  37384. procedure TPORTB_CNPDB.setCNPDB1; inline;
  37385. begin
  37386. pTDefRegMap(@Self)^.&set := $00000002;
  37387. end;
  37388. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  37389. begin
  37390. pTDefRegMap(@Self)^.clr := $00000002;
  37391. end;
  37392. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  37393. begin
  37394. if thebits = 0 then
  37395. pTDefRegMap(@Self)^.clr := $00000002
  37396. else
  37397. pTDefRegMap(@Self)^.&set := $00000002;
  37398. end;
  37399. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  37400. begin
  37401. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37402. end;
  37403. procedure TPORTB_CNPDB.setCNPDB2; inline;
  37404. begin
  37405. pTDefRegMap(@Self)^.&set := $00000004;
  37406. end;
  37407. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  37408. begin
  37409. pTDefRegMap(@Self)^.clr := $00000004;
  37410. end;
  37411. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  37412. begin
  37413. if thebits = 0 then
  37414. pTDefRegMap(@Self)^.clr := $00000004
  37415. else
  37416. pTDefRegMap(@Self)^.&set := $00000004;
  37417. end;
  37418. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  37419. begin
  37420. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37421. end;
  37422. procedure TPORTB_CNPDB.setCNPDB3; inline;
  37423. begin
  37424. pTDefRegMap(@Self)^.&set := $00000008;
  37425. end;
  37426. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  37427. begin
  37428. pTDefRegMap(@Self)^.clr := $00000008;
  37429. end;
  37430. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  37431. begin
  37432. if thebits = 0 then
  37433. pTDefRegMap(@Self)^.clr := $00000008
  37434. else
  37435. pTDefRegMap(@Self)^.&set := $00000008;
  37436. end;
  37437. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  37438. begin
  37439. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37440. end;
  37441. procedure TPORTB_CNPDB.setCNPDB4; inline;
  37442. begin
  37443. pTDefRegMap(@Self)^.&set := $00000010;
  37444. end;
  37445. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  37446. begin
  37447. pTDefRegMap(@Self)^.clr := $00000010;
  37448. end;
  37449. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  37450. begin
  37451. if thebits = 0 then
  37452. pTDefRegMap(@Self)^.clr := $00000010
  37453. else
  37454. pTDefRegMap(@Self)^.&set := $00000010;
  37455. end;
  37456. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  37457. begin
  37458. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37459. end;
  37460. procedure TPORTB_CNPDB.setCNPDB5; inline;
  37461. begin
  37462. pTDefRegMap(@Self)^.&set := $00000020;
  37463. end;
  37464. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  37465. begin
  37466. pTDefRegMap(@Self)^.clr := $00000020;
  37467. end;
  37468. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  37469. begin
  37470. if thebits = 0 then
  37471. pTDefRegMap(@Self)^.clr := $00000020
  37472. else
  37473. pTDefRegMap(@Self)^.&set := $00000020;
  37474. end;
  37475. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  37476. begin
  37477. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37478. end;
  37479. procedure TPORTB_CNPDB.setCNPDB7; inline;
  37480. begin
  37481. pTDefRegMap(@Self)^.&set := $00000080;
  37482. end;
  37483. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  37484. begin
  37485. pTDefRegMap(@Self)^.clr := $00000080;
  37486. end;
  37487. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  37488. begin
  37489. if thebits = 0 then
  37490. pTDefRegMap(@Self)^.clr := $00000080
  37491. else
  37492. pTDefRegMap(@Self)^.&set := $00000080;
  37493. end;
  37494. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  37495. begin
  37496. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37497. end;
  37498. procedure TPORTB_CNPDB.setCNPDB8; inline;
  37499. begin
  37500. pTDefRegMap(@Self)^.&set := $00000100;
  37501. end;
  37502. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  37503. begin
  37504. pTDefRegMap(@Self)^.clr := $00000100;
  37505. end;
  37506. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  37507. begin
  37508. if thebits = 0 then
  37509. pTDefRegMap(@Self)^.clr := $00000100
  37510. else
  37511. pTDefRegMap(@Self)^.&set := $00000100;
  37512. end;
  37513. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  37514. begin
  37515. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37516. end;
  37517. procedure TPORTB_CNPDB.setCNPDB9; inline;
  37518. begin
  37519. pTDefRegMap(@Self)^.&set := $00000200;
  37520. end;
  37521. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  37522. begin
  37523. pTDefRegMap(@Self)^.clr := $00000200;
  37524. end;
  37525. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  37526. begin
  37527. if thebits = 0 then
  37528. pTDefRegMap(@Self)^.clr := $00000200
  37529. else
  37530. pTDefRegMap(@Self)^.&set := $00000200;
  37531. end;
  37532. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  37533. begin
  37534. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37535. end;
  37536. procedure TPORTB_CNPDB.setCNPDB10; inline;
  37537. begin
  37538. pTDefRegMap(@Self)^.&set := $00000400;
  37539. end;
  37540. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  37541. begin
  37542. pTDefRegMap(@Self)^.clr := $00000400;
  37543. end;
  37544. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  37545. begin
  37546. if thebits = 0 then
  37547. pTDefRegMap(@Self)^.clr := $00000400
  37548. else
  37549. pTDefRegMap(@Self)^.&set := $00000400;
  37550. end;
  37551. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  37552. begin
  37553. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37554. end;
  37555. procedure TPORTB_CNPDB.setCNPDB11; inline;
  37556. begin
  37557. pTDefRegMap(@Self)^.&set := $00000800;
  37558. end;
  37559. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  37560. begin
  37561. pTDefRegMap(@Self)^.clr := $00000800;
  37562. end;
  37563. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  37564. begin
  37565. if thebits = 0 then
  37566. pTDefRegMap(@Self)^.clr := $00000800
  37567. else
  37568. pTDefRegMap(@Self)^.&set := $00000800;
  37569. end;
  37570. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  37571. begin
  37572. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37573. end;
  37574. procedure TPORTB_CNPDB.setCNPDB13; inline;
  37575. begin
  37576. pTDefRegMap(@Self)^.&set := $00002000;
  37577. end;
  37578. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  37579. begin
  37580. pTDefRegMap(@Self)^.clr := $00002000;
  37581. end;
  37582. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  37583. begin
  37584. if thebits = 0 then
  37585. pTDefRegMap(@Self)^.clr := $00002000
  37586. else
  37587. pTDefRegMap(@Self)^.&set := $00002000;
  37588. end;
  37589. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  37590. begin
  37591. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37592. end;
  37593. procedure TPORTB_CNPDB.setCNPDB14; inline;
  37594. begin
  37595. pTDefRegMap(@Self)^.&set := $00004000;
  37596. end;
  37597. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  37598. begin
  37599. pTDefRegMap(@Self)^.clr := $00004000;
  37600. end;
  37601. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  37602. begin
  37603. if thebits = 0 then
  37604. pTDefRegMap(@Self)^.clr := $00004000
  37605. else
  37606. pTDefRegMap(@Self)^.&set := $00004000;
  37607. end;
  37608. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  37609. begin
  37610. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37611. end;
  37612. procedure TPORTB_CNPDB.setCNPDB15; inline;
  37613. begin
  37614. pTDefRegMap(@Self)^.&set := $00008000;
  37615. end;
  37616. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  37617. begin
  37618. pTDefRegMap(@Self)^.clr := $00008000;
  37619. end;
  37620. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  37621. begin
  37622. if thebits = 0 then
  37623. pTDefRegMap(@Self)^.clr := $00008000
  37624. else
  37625. pTDefRegMap(@Self)^.&set := $00008000;
  37626. end;
  37627. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  37628. begin
  37629. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37630. end;
  37631. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  37632. begin
  37633. pTDefRegMap(@Self)^.val := thebits;
  37634. end;
  37635. function TPORTB_CNPDB.getw : TBits_32; inline;
  37636. begin
  37637. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37638. end;
  37639. procedure TPORTB_CNCONB.setSIDL; inline;
  37640. begin
  37641. pTDefRegMap(@Self)^.&set := $00002000;
  37642. end;
  37643. procedure TPORTB_CNCONB.clearSIDL; inline;
  37644. begin
  37645. pTDefRegMap(@Self)^.clr := $00002000;
  37646. end;
  37647. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  37648. begin
  37649. if thebits = 0 then
  37650. pTDefRegMap(@Self)^.clr := $00002000
  37651. else
  37652. pTDefRegMap(@Self)^.&set := $00002000;
  37653. end;
  37654. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  37655. begin
  37656. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37657. end;
  37658. procedure TPORTB_CNCONB.setON; inline;
  37659. begin
  37660. pTDefRegMap(@Self)^.&set := $00008000;
  37661. end;
  37662. procedure TPORTB_CNCONB.clearON; inline;
  37663. begin
  37664. pTDefRegMap(@Self)^.clr := $00008000;
  37665. end;
  37666. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  37667. begin
  37668. if thebits = 0 then
  37669. pTDefRegMap(@Self)^.clr := $00008000
  37670. else
  37671. pTDefRegMap(@Self)^.&set := $00008000;
  37672. end;
  37673. function TPORTB_CNCONB.getON : TBits_1; inline;
  37674. begin
  37675. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37676. end;
  37677. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  37678. begin
  37679. pTDefRegMap(@Self)^.val := thebits;
  37680. end;
  37681. function TPORTB_CNCONB.getw : TBits_32; inline;
  37682. begin
  37683. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37684. end;
  37685. procedure TPORTB_CNENB.setCNIEB0; inline;
  37686. begin
  37687. pTDefRegMap(@Self)^.&set := $00000001;
  37688. end;
  37689. procedure TPORTB_CNENB.clearCNIEB0; inline;
  37690. begin
  37691. pTDefRegMap(@Self)^.clr := $00000001;
  37692. end;
  37693. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  37694. begin
  37695. if thebits = 0 then
  37696. pTDefRegMap(@Self)^.clr := $00000001
  37697. else
  37698. pTDefRegMap(@Self)^.&set := $00000001;
  37699. end;
  37700. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  37701. begin
  37702. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37703. end;
  37704. procedure TPORTB_CNENB.setCNIEB1; inline;
  37705. begin
  37706. pTDefRegMap(@Self)^.&set := $00000002;
  37707. end;
  37708. procedure TPORTB_CNENB.clearCNIEB1; inline;
  37709. begin
  37710. pTDefRegMap(@Self)^.clr := $00000002;
  37711. end;
  37712. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  37713. begin
  37714. if thebits = 0 then
  37715. pTDefRegMap(@Self)^.clr := $00000002
  37716. else
  37717. pTDefRegMap(@Self)^.&set := $00000002;
  37718. end;
  37719. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  37720. begin
  37721. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37722. end;
  37723. procedure TPORTB_CNENB.setCNIEB2; inline;
  37724. begin
  37725. pTDefRegMap(@Self)^.&set := $00000004;
  37726. end;
  37727. procedure TPORTB_CNENB.clearCNIEB2; inline;
  37728. begin
  37729. pTDefRegMap(@Self)^.clr := $00000004;
  37730. end;
  37731. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  37732. begin
  37733. if thebits = 0 then
  37734. pTDefRegMap(@Self)^.clr := $00000004
  37735. else
  37736. pTDefRegMap(@Self)^.&set := $00000004;
  37737. end;
  37738. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  37739. begin
  37740. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37741. end;
  37742. procedure TPORTB_CNENB.setCNIEB3; inline;
  37743. begin
  37744. pTDefRegMap(@Self)^.&set := $00000008;
  37745. end;
  37746. procedure TPORTB_CNENB.clearCNIEB3; inline;
  37747. begin
  37748. pTDefRegMap(@Self)^.clr := $00000008;
  37749. end;
  37750. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  37751. begin
  37752. if thebits = 0 then
  37753. pTDefRegMap(@Self)^.clr := $00000008
  37754. else
  37755. pTDefRegMap(@Self)^.&set := $00000008;
  37756. end;
  37757. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  37758. begin
  37759. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37760. end;
  37761. procedure TPORTB_CNENB.setCNIEB4; inline;
  37762. begin
  37763. pTDefRegMap(@Self)^.&set := $00000010;
  37764. end;
  37765. procedure TPORTB_CNENB.clearCNIEB4; inline;
  37766. begin
  37767. pTDefRegMap(@Self)^.clr := $00000010;
  37768. end;
  37769. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  37770. begin
  37771. if thebits = 0 then
  37772. pTDefRegMap(@Self)^.clr := $00000010
  37773. else
  37774. pTDefRegMap(@Self)^.&set := $00000010;
  37775. end;
  37776. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  37777. begin
  37778. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37779. end;
  37780. procedure TPORTB_CNENB.setCNIEB5; inline;
  37781. begin
  37782. pTDefRegMap(@Self)^.&set := $00000020;
  37783. end;
  37784. procedure TPORTB_CNENB.clearCNIEB5; inline;
  37785. begin
  37786. pTDefRegMap(@Self)^.clr := $00000020;
  37787. end;
  37788. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  37789. begin
  37790. if thebits = 0 then
  37791. pTDefRegMap(@Self)^.clr := $00000020
  37792. else
  37793. pTDefRegMap(@Self)^.&set := $00000020;
  37794. end;
  37795. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  37796. begin
  37797. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37798. end;
  37799. procedure TPORTB_CNENB.setCNIEB7; inline;
  37800. begin
  37801. pTDefRegMap(@Self)^.&set := $00000080;
  37802. end;
  37803. procedure TPORTB_CNENB.clearCNIEB7; inline;
  37804. begin
  37805. pTDefRegMap(@Self)^.clr := $00000080;
  37806. end;
  37807. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  37808. begin
  37809. if thebits = 0 then
  37810. pTDefRegMap(@Self)^.clr := $00000080
  37811. else
  37812. pTDefRegMap(@Self)^.&set := $00000080;
  37813. end;
  37814. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  37815. begin
  37816. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37817. end;
  37818. procedure TPORTB_CNENB.setCNIEB8; inline;
  37819. begin
  37820. pTDefRegMap(@Self)^.&set := $00000100;
  37821. end;
  37822. procedure TPORTB_CNENB.clearCNIEB8; inline;
  37823. begin
  37824. pTDefRegMap(@Self)^.clr := $00000100;
  37825. end;
  37826. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  37827. begin
  37828. if thebits = 0 then
  37829. pTDefRegMap(@Self)^.clr := $00000100
  37830. else
  37831. pTDefRegMap(@Self)^.&set := $00000100;
  37832. end;
  37833. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  37834. begin
  37835. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37836. end;
  37837. procedure TPORTB_CNENB.setCNIEB9; inline;
  37838. begin
  37839. pTDefRegMap(@Self)^.&set := $00000200;
  37840. end;
  37841. procedure TPORTB_CNENB.clearCNIEB9; inline;
  37842. begin
  37843. pTDefRegMap(@Self)^.clr := $00000200;
  37844. end;
  37845. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  37846. begin
  37847. if thebits = 0 then
  37848. pTDefRegMap(@Self)^.clr := $00000200
  37849. else
  37850. pTDefRegMap(@Self)^.&set := $00000200;
  37851. end;
  37852. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  37853. begin
  37854. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37855. end;
  37856. procedure TPORTB_CNENB.setCNIEB10; inline;
  37857. begin
  37858. pTDefRegMap(@Self)^.&set := $00000400;
  37859. end;
  37860. procedure TPORTB_CNENB.clearCNIEB10; inline;
  37861. begin
  37862. pTDefRegMap(@Self)^.clr := $00000400;
  37863. end;
  37864. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  37865. begin
  37866. if thebits = 0 then
  37867. pTDefRegMap(@Self)^.clr := $00000400
  37868. else
  37869. pTDefRegMap(@Self)^.&set := $00000400;
  37870. end;
  37871. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  37872. begin
  37873. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37874. end;
  37875. procedure TPORTB_CNENB.setCNIEB11; inline;
  37876. begin
  37877. pTDefRegMap(@Self)^.&set := $00000800;
  37878. end;
  37879. procedure TPORTB_CNENB.clearCNIEB11; inline;
  37880. begin
  37881. pTDefRegMap(@Self)^.clr := $00000800;
  37882. end;
  37883. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  37884. begin
  37885. if thebits = 0 then
  37886. pTDefRegMap(@Self)^.clr := $00000800
  37887. else
  37888. pTDefRegMap(@Self)^.&set := $00000800;
  37889. end;
  37890. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  37891. begin
  37892. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37893. end;
  37894. procedure TPORTB_CNENB.setCNIEB13; inline;
  37895. begin
  37896. pTDefRegMap(@Self)^.&set := $00002000;
  37897. end;
  37898. procedure TPORTB_CNENB.clearCNIEB13; inline;
  37899. begin
  37900. pTDefRegMap(@Self)^.clr := $00002000;
  37901. end;
  37902. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  37903. begin
  37904. if thebits = 0 then
  37905. pTDefRegMap(@Self)^.clr := $00002000
  37906. else
  37907. pTDefRegMap(@Self)^.&set := $00002000;
  37908. end;
  37909. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  37910. begin
  37911. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37912. end;
  37913. procedure TPORTB_CNENB.setCNIEB14; inline;
  37914. begin
  37915. pTDefRegMap(@Self)^.&set := $00004000;
  37916. end;
  37917. procedure TPORTB_CNENB.clearCNIEB14; inline;
  37918. begin
  37919. pTDefRegMap(@Self)^.clr := $00004000;
  37920. end;
  37921. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  37922. begin
  37923. if thebits = 0 then
  37924. pTDefRegMap(@Self)^.clr := $00004000
  37925. else
  37926. pTDefRegMap(@Self)^.&set := $00004000;
  37927. end;
  37928. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  37929. begin
  37930. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37931. end;
  37932. procedure TPORTB_CNENB.setCNIEB15; inline;
  37933. begin
  37934. pTDefRegMap(@Self)^.&set := $00008000;
  37935. end;
  37936. procedure TPORTB_CNENB.clearCNIEB15; inline;
  37937. begin
  37938. pTDefRegMap(@Self)^.clr := $00008000;
  37939. end;
  37940. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  37941. begin
  37942. if thebits = 0 then
  37943. pTDefRegMap(@Self)^.clr := $00008000
  37944. else
  37945. pTDefRegMap(@Self)^.&set := $00008000;
  37946. end;
  37947. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  37948. begin
  37949. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37950. end;
  37951. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  37952. begin
  37953. pTDefRegMap(@Self)^.val := thebits;
  37954. end;
  37955. function TPORTB_CNENB.getw : TBits_32; inline;
  37956. begin
  37957. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37958. end;
  37959. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  37960. begin
  37961. pTDefRegMap(@Self)^.&set := $00000001;
  37962. end;
  37963. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  37964. begin
  37965. pTDefRegMap(@Self)^.clr := $00000001;
  37966. end;
  37967. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  37968. begin
  37969. if thebits = 0 then
  37970. pTDefRegMap(@Self)^.clr := $00000001
  37971. else
  37972. pTDefRegMap(@Self)^.&set := $00000001;
  37973. end;
  37974. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  37975. begin
  37976. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37977. end;
  37978. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  37979. begin
  37980. pTDefRegMap(@Self)^.&set := $00000002;
  37981. end;
  37982. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  37983. begin
  37984. pTDefRegMap(@Self)^.clr := $00000002;
  37985. end;
  37986. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  37987. begin
  37988. if thebits = 0 then
  37989. pTDefRegMap(@Self)^.clr := $00000002
  37990. else
  37991. pTDefRegMap(@Self)^.&set := $00000002;
  37992. end;
  37993. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  37994. begin
  37995. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37996. end;
  37997. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  37998. begin
  37999. pTDefRegMap(@Self)^.&set := $00000004;
  38000. end;
  38001. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  38002. begin
  38003. pTDefRegMap(@Self)^.clr := $00000004;
  38004. end;
  38005. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  38006. begin
  38007. if thebits = 0 then
  38008. pTDefRegMap(@Self)^.clr := $00000004
  38009. else
  38010. pTDefRegMap(@Self)^.&set := $00000004;
  38011. end;
  38012. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  38013. begin
  38014. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38015. end;
  38016. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  38017. begin
  38018. pTDefRegMap(@Self)^.&set := $00000008;
  38019. end;
  38020. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  38021. begin
  38022. pTDefRegMap(@Self)^.clr := $00000008;
  38023. end;
  38024. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  38025. begin
  38026. if thebits = 0 then
  38027. pTDefRegMap(@Self)^.clr := $00000008
  38028. else
  38029. pTDefRegMap(@Self)^.&set := $00000008;
  38030. end;
  38031. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  38032. begin
  38033. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38034. end;
  38035. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  38036. begin
  38037. pTDefRegMap(@Self)^.&set := $00000010;
  38038. end;
  38039. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  38040. begin
  38041. pTDefRegMap(@Self)^.clr := $00000010;
  38042. end;
  38043. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  38044. begin
  38045. if thebits = 0 then
  38046. pTDefRegMap(@Self)^.clr := $00000010
  38047. else
  38048. pTDefRegMap(@Self)^.&set := $00000010;
  38049. end;
  38050. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  38051. begin
  38052. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38053. end;
  38054. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  38055. begin
  38056. pTDefRegMap(@Self)^.&set := $00000020;
  38057. end;
  38058. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  38059. begin
  38060. pTDefRegMap(@Self)^.clr := $00000020;
  38061. end;
  38062. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  38063. begin
  38064. if thebits = 0 then
  38065. pTDefRegMap(@Self)^.clr := $00000020
  38066. else
  38067. pTDefRegMap(@Self)^.&set := $00000020;
  38068. end;
  38069. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  38070. begin
  38071. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38072. end;
  38073. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  38074. begin
  38075. pTDefRegMap(@Self)^.&set := $00000080;
  38076. end;
  38077. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  38078. begin
  38079. pTDefRegMap(@Self)^.clr := $00000080;
  38080. end;
  38081. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  38082. begin
  38083. if thebits = 0 then
  38084. pTDefRegMap(@Self)^.clr := $00000080
  38085. else
  38086. pTDefRegMap(@Self)^.&set := $00000080;
  38087. end;
  38088. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  38089. begin
  38090. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38091. end;
  38092. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  38093. begin
  38094. pTDefRegMap(@Self)^.&set := $00000100;
  38095. end;
  38096. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  38097. begin
  38098. pTDefRegMap(@Self)^.clr := $00000100;
  38099. end;
  38100. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  38101. begin
  38102. if thebits = 0 then
  38103. pTDefRegMap(@Self)^.clr := $00000100
  38104. else
  38105. pTDefRegMap(@Self)^.&set := $00000100;
  38106. end;
  38107. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  38108. begin
  38109. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38110. end;
  38111. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  38112. begin
  38113. pTDefRegMap(@Self)^.&set := $00000200;
  38114. end;
  38115. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  38116. begin
  38117. pTDefRegMap(@Self)^.clr := $00000200;
  38118. end;
  38119. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  38120. begin
  38121. if thebits = 0 then
  38122. pTDefRegMap(@Self)^.clr := $00000200
  38123. else
  38124. pTDefRegMap(@Self)^.&set := $00000200;
  38125. end;
  38126. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  38127. begin
  38128. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38129. end;
  38130. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  38131. begin
  38132. pTDefRegMap(@Self)^.&set := $00000400;
  38133. end;
  38134. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  38135. begin
  38136. pTDefRegMap(@Self)^.clr := $00000400;
  38137. end;
  38138. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  38139. begin
  38140. if thebits = 0 then
  38141. pTDefRegMap(@Self)^.clr := $00000400
  38142. else
  38143. pTDefRegMap(@Self)^.&set := $00000400;
  38144. end;
  38145. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  38146. begin
  38147. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38148. end;
  38149. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  38150. begin
  38151. pTDefRegMap(@Self)^.&set := $00000800;
  38152. end;
  38153. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  38154. begin
  38155. pTDefRegMap(@Self)^.clr := $00000800;
  38156. end;
  38157. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  38158. begin
  38159. if thebits = 0 then
  38160. pTDefRegMap(@Self)^.clr := $00000800
  38161. else
  38162. pTDefRegMap(@Self)^.&set := $00000800;
  38163. end;
  38164. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  38165. begin
  38166. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38167. end;
  38168. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  38169. begin
  38170. pTDefRegMap(@Self)^.&set := $00002000;
  38171. end;
  38172. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  38173. begin
  38174. pTDefRegMap(@Self)^.clr := $00002000;
  38175. end;
  38176. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  38177. begin
  38178. if thebits = 0 then
  38179. pTDefRegMap(@Self)^.clr := $00002000
  38180. else
  38181. pTDefRegMap(@Self)^.&set := $00002000;
  38182. end;
  38183. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  38184. begin
  38185. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38186. end;
  38187. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  38188. begin
  38189. pTDefRegMap(@Self)^.&set := $00004000;
  38190. end;
  38191. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  38192. begin
  38193. pTDefRegMap(@Self)^.clr := $00004000;
  38194. end;
  38195. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  38196. begin
  38197. if thebits = 0 then
  38198. pTDefRegMap(@Self)^.clr := $00004000
  38199. else
  38200. pTDefRegMap(@Self)^.&set := $00004000;
  38201. end;
  38202. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  38203. begin
  38204. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38205. end;
  38206. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  38207. begin
  38208. pTDefRegMap(@Self)^.&set := $00008000;
  38209. end;
  38210. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  38211. begin
  38212. pTDefRegMap(@Self)^.clr := $00008000;
  38213. end;
  38214. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  38215. begin
  38216. if thebits = 0 then
  38217. pTDefRegMap(@Self)^.clr := $00008000
  38218. else
  38219. pTDefRegMap(@Self)^.&set := $00008000;
  38220. end;
  38221. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  38222. begin
  38223. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38224. end;
  38225. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  38226. begin
  38227. pTDefRegMap(@Self)^.val := thebits;
  38228. end;
  38229. function TPORTB_CNSTATB.getw : TBits_32; inline;
  38230. begin
  38231. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38232. end;
  38233. procedure TPORTC_ANSELC.setANSC0; inline;
  38234. begin
  38235. pTDefRegMap(@Self)^.&set := $00000001;
  38236. end;
  38237. procedure TPORTC_ANSELC.clearANSC0; inline;
  38238. begin
  38239. pTDefRegMap(@Self)^.clr := $00000001;
  38240. end;
  38241. procedure TPORTC_ANSELC.setANSC0(thebits : TBits_1); inline;
  38242. begin
  38243. if thebits = 0 then
  38244. pTDefRegMap(@Self)^.clr := $00000001
  38245. else
  38246. pTDefRegMap(@Self)^.&set := $00000001;
  38247. end;
  38248. function TPORTC_ANSELC.getANSC0 : TBits_1; inline;
  38249. begin
  38250. getANSC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38251. end;
  38252. procedure TPORTC_ANSELC.setANSC1; inline;
  38253. begin
  38254. pTDefRegMap(@Self)^.&set := $00000002;
  38255. end;
  38256. procedure TPORTC_ANSELC.clearANSC1; inline;
  38257. begin
  38258. pTDefRegMap(@Self)^.clr := $00000002;
  38259. end;
  38260. procedure TPORTC_ANSELC.setANSC1(thebits : TBits_1); inline;
  38261. begin
  38262. if thebits = 0 then
  38263. pTDefRegMap(@Self)^.clr := $00000002
  38264. else
  38265. pTDefRegMap(@Self)^.&set := $00000002;
  38266. end;
  38267. function TPORTC_ANSELC.getANSC1 : TBits_1; inline;
  38268. begin
  38269. getANSC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38270. end;
  38271. procedure TPORTC_ANSELC.setANSC2; inline;
  38272. begin
  38273. pTDefRegMap(@Self)^.&set := $00000004;
  38274. end;
  38275. procedure TPORTC_ANSELC.clearANSC2; inline;
  38276. begin
  38277. pTDefRegMap(@Self)^.clr := $00000004;
  38278. end;
  38279. procedure TPORTC_ANSELC.setANSC2(thebits : TBits_1); inline;
  38280. begin
  38281. if thebits = 0 then
  38282. pTDefRegMap(@Self)^.clr := $00000004
  38283. else
  38284. pTDefRegMap(@Self)^.&set := $00000004;
  38285. end;
  38286. function TPORTC_ANSELC.getANSC2 : TBits_1; inline;
  38287. begin
  38288. getANSC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38289. end;
  38290. procedure TPORTC_ANSELC.setANSC3; inline;
  38291. begin
  38292. pTDefRegMap(@Self)^.&set := $00000008;
  38293. end;
  38294. procedure TPORTC_ANSELC.clearANSC3; inline;
  38295. begin
  38296. pTDefRegMap(@Self)^.clr := $00000008;
  38297. end;
  38298. procedure TPORTC_ANSELC.setANSC3(thebits : TBits_1); inline;
  38299. begin
  38300. if thebits = 0 then
  38301. pTDefRegMap(@Self)^.clr := $00000008
  38302. else
  38303. pTDefRegMap(@Self)^.&set := $00000008;
  38304. end;
  38305. function TPORTC_ANSELC.getANSC3 : TBits_1; inline;
  38306. begin
  38307. getANSC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38308. end;
  38309. procedure TPORTC_ANSELC.setw(thebits : TBits_32); inline;
  38310. begin
  38311. pTDefRegMap(@Self)^.val := thebits;
  38312. end;
  38313. function TPORTC_ANSELC.getw : TBits_32; inline;
  38314. begin
  38315. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38316. end;
  38317. procedure TPORTC_TRISC.setTRISC0; inline;
  38318. begin
  38319. pTDefRegMap(@Self)^.&set := $00000001;
  38320. end;
  38321. procedure TPORTC_TRISC.clearTRISC0; inline;
  38322. begin
  38323. pTDefRegMap(@Self)^.clr := $00000001;
  38324. end;
  38325. procedure TPORTC_TRISC.setTRISC0(thebits : TBits_1); inline;
  38326. begin
  38327. if thebits = 0 then
  38328. pTDefRegMap(@Self)^.clr := $00000001
  38329. else
  38330. pTDefRegMap(@Self)^.&set := $00000001;
  38331. end;
  38332. function TPORTC_TRISC.getTRISC0 : TBits_1; inline;
  38333. begin
  38334. getTRISC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38335. end;
  38336. procedure TPORTC_TRISC.setTRISC1; inline;
  38337. begin
  38338. pTDefRegMap(@Self)^.&set := $00000002;
  38339. end;
  38340. procedure TPORTC_TRISC.clearTRISC1; inline;
  38341. begin
  38342. pTDefRegMap(@Self)^.clr := $00000002;
  38343. end;
  38344. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  38345. begin
  38346. if thebits = 0 then
  38347. pTDefRegMap(@Self)^.clr := $00000002
  38348. else
  38349. pTDefRegMap(@Self)^.&set := $00000002;
  38350. end;
  38351. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  38352. begin
  38353. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38354. end;
  38355. procedure TPORTC_TRISC.setTRISC2; inline;
  38356. begin
  38357. pTDefRegMap(@Self)^.&set := $00000004;
  38358. end;
  38359. procedure TPORTC_TRISC.clearTRISC2; inline;
  38360. begin
  38361. pTDefRegMap(@Self)^.clr := $00000004;
  38362. end;
  38363. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  38364. begin
  38365. if thebits = 0 then
  38366. pTDefRegMap(@Self)^.clr := $00000004
  38367. else
  38368. pTDefRegMap(@Self)^.&set := $00000004;
  38369. end;
  38370. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  38371. begin
  38372. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38373. end;
  38374. procedure TPORTC_TRISC.setTRISC3; inline;
  38375. begin
  38376. pTDefRegMap(@Self)^.&set := $00000008;
  38377. end;
  38378. procedure TPORTC_TRISC.clearTRISC3; inline;
  38379. begin
  38380. pTDefRegMap(@Self)^.clr := $00000008;
  38381. end;
  38382. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  38383. begin
  38384. if thebits = 0 then
  38385. pTDefRegMap(@Self)^.clr := $00000008
  38386. else
  38387. pTDefRegMap(@Self)^.&set := $00000008;
  38388. end;
  38389. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  38390. begin
  38391. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38392. end;
  38393. procedure TPORTC_TRISC.setTRISC4; inline;
  38394. begin
  38395. pTDefRegMap(@Self)^.&set := $00000010;
  38396. end;
  38397. procedure TPORTC_TRISC.clearTRISC4; inline;
  38398. begin
  38399. pTDefRegMap(@Self)^.clr := $00000010;
  38400. end;
  38401. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  38402. begin
  38403. if thebits = 0 then
  38404. pTDefRegMap(@Self)^.clr := $00000010
  38405. else
  38406. pTDefRegMap(@Self)^.&set := $00000010;
  38407. end;
  38408. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  38409. begin
  38410. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38411. end;
  38412. procedure TPORTC_TRISC.setTRISC5; inline;
  38413. begin
  38414. pTDefRegMap(@Self)^.&set := $00000020;
  38415. end;
  38416. procedure TPORTC_TRISC.clearTRISC5; inline;
  38417. begin
  38418. pTDefRegMap(@Self)^.clr := $00000020;
  38419. end;
  38420. procedure TPORTC_TRISC.setTRISC5(thebits : TBits_1); inline;
  38421. begin
  38422. if thebits = 0 then
  38423. pTDefRegMap(@Self)^.clr := $00000020
  38424. else
  38425. pTDefRegMap(@Self)^.&set := $00000020;
  38426. end;
  38427. function TPORTC_TRISC.getTRISC5 : TBits_1; inline;
  38428. begin
  38429. getTRISC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38430. end;
  38431. procedure TPORTC_TRISC.setTRISC6; inline;
  38432. begin
  38433. pTDefRegMap(@Self)^.&set := $00000040;
  38434. end;
  38435. procedure TPORTC_TRISC.clearTRISC6; inline;
  38436. begin
  38437. pTDefRegMap(@Self)^.clr := $00000040;
  38438. end;
  38439. procedure TPORTC_TRISC.setTRISC6(thebits : TBits_1); inline;
  38440. begin
  38441. if thebits = 0 then
  38442. pTDefRegMap(@Self)^.clr := $00000040
  38443. else
  38444. pTDefRegMap(@Self)^.&set := $00000040;
  38445. end;
  38446. function TPORTC_TRISC.getTRISC6 : TBits_1; inline;
  38447. begin
  38448. getTRISC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38449. end;
  38450. procedure TPORTC_TRISC.setTRISC7; inline;
  38451. begin
  38452. pTDefRegMap(@Self)^.&set := $00000080;
  38453. end;
  38454. procedure TPORTC_TRISC.clearTRISC7; inline;
  38455. begin
  38456. pTDefRegMap(@Self)^.clr := $00000080;
  38457. end;
  38458. procedure TPORTC_TRISC.setTRISC7(thebits : TBits_1); inline;
  38459. begin
  38460. if thebits = 0 then
  38461. pTDefRegMap(@Self)^.clr := $00000080
  38462. else
  38463. pTDefRegMap(@Self)^.&set := $00000080;
  38464. end;
  38465. function TPORTC_TRISC.getTRISC7 : TBits_1; inline;
  38466. begin
  38467. getTRISC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38468. end;
  38469. procedure TPORTC_TRISC.setTRISC8; inline;
  38470. begin
  38471. pTDefRegMap(@Self)^.&set := $00000100;
  38472. end;
  38473. procedure TPORTC_TRISC.clearTRISC8; inline;
  38474. begin
  38475. pTDefRegMap(@Self)^.clr := $00000100;
  38476. end;
  38477. procedure TPORTC_TRISC.setTRISC8(thebits : TBits_1); inline;
  38478. begin
  38479. if thebits = 0 then
  38480. pTDefRegMap(@Self)^.clr := $00000100
  38481. else
  38482. pTDefRegMap(@Self)^.&set := $00000100;
  38483. end;
  38484. function TPORTC_TRISC.getTRISC8 : TBits_1; inline;
  38485. begin
  38486. getTRISC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38487. end;
  38488. procedure TPORTC_TRISC.setTRISC9; inline;
  38489. begin
  38490. pTDefRegMap(@Self)^.&set := $00000200;
  38491. end;
  38492. procedure TPORTC_TRISC.clearTRISC9; inline;
  38493. begin
  38494. pTDefRegMap(@Self)^.clr := $00000200;
  38495. end;
  38496. procedure TPORTC_TRISC.setTRISC9(thebits : TBits_1); inline;
  38497. begin
  38498. if thebits = 0 then
  38499. pTDefRegMap(@Self)^.clr := $00000200
  38500. else
  38501. pTDefRegMap(@Self)^.&set := $00000200;
  38502. end;
  38503. function TPORTC_TRISC.getTRISC9 : TBits_1; inline;
  38504. begin
  38505. getTRISC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38506. end;
  38507. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  38508. begin
  38509. pTDefRegMap(@Self)^.val := thebits;
  38510. end;
  38511. function TPORTC_TRISC.getw : TBits_32; inline;
  38512. begin
  38513. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38514. end;
  38515. procedure TPORTC_PORTC.setRC0; inline;
  38516. begin
  38517. pTDefRegMap(@Self)^.&set := $00000001;
  38518. end;
  38519. procedure TPORTC_PORTC.clearRC0; inline;
  38520. begin
  38521. pTDefRegMap(@Self)^.clr := $00000001;
  38522. end;
  38523. procedure TPORTC_PORTC.setRC0(thebits : TBits_1); inline;
  38524. begin
  38525. if thebits = 0 then
  38526. pTDefRegMap(@Self)^.clr := $00000001
  38527. else
  38528. pTDefRegMap(@Self)^.&set := $00000001;
  38529. end;
  38530. function TPORTC_PORTC.getRC0 : TBits_1; inline;
  38531. begin
  38532. getRC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38533. end;
  38534. procedure TPORTC_PORTC.setRC1; inline;
  38535. begin
  38536. pTDefRegMap(@Self)^.&set := $00000002;
  38537. end;
  38538. procedure TPORTC_PORTC.clearRC1; inline;
  38539. begin
  38540. pTDefRegMap(@Self)^.clr := $00000002;
  38541. end;
  38542. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  38543. begin
  38544. if thebits = 0 then
  38545. pTDefRegMap(@Self)^.clr := $00000002
  38546. else
  38547. pTDefRegMap(@Self)^.&set := $00000002;
  38548. end;
  38549. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  38550. begin
  38551. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38552. end;
  38553. procedure TPORTC_PORTC.setRC2; inline;
  38554. begin
  38555. pTDefRegMap(@Self)^.&set := $00000004;
  38556. end;
  38557. procedure TPORTC_PORTC.clearRC2; inline;
  38558. begin
  38559. pTDefRegMap(@Self)^.clr := $00000004;
  38560. end;
  38561. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  38562. begin
  38563. if thebits = 0 then
  38564. pTDefRegMap(@Self)^.clr := $00000004
  38565. else
  38566. pTDefRegMap(@Self)^.&set := $00000004;
  38567. end;
  38568. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  38569. begin
  38570. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38571. end;
  38572. procedure TPORTC_PORTC.setRC3; inline;
  38573. begin
  38574. pTDefRegMap(@Self)^.&set := $00000008;
  38575. end;
  38576. procedure TPORTC_PORTC.clearRC3; inline;
  38577. begin
  38578. pTDefRegMap(@Self)^.clr := $00000008;
  38579. end;
  38580. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  38581. begin
  38582. if thebits = 0 then
  38583. pTDefRegMap(@Self)^.clr := $00000008
  38584. else
  38585. pTDefRegMap(@Self)^.&set := $00000008;
  38586. end;
  38587. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  38588. begin
  38589. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38590. end;
  38591. procedure TPORTC_PORTC.setRC4; inline;
  38592. begin
  38593. pTDefRegMap(@Self)^.&set := $00000010;
  38594. end;
  38595. procedure TPORTC_PORTC.clearRC4; inline;
  38596. begin
  38597. pTDefRegMap(@Self)^.clr := $00000010;
  38598. end;
  38599. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  38600. begin
  38601. if thebits = 0 then
  38602. pTDefRegMap(@Self)^.clr := $00000010
  38603. else
  38604. pTDefRegMap(@Self)^.&set := $00000010;
  38605. end;
  38606. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  38607. begin
  38608. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38609. end;
  38610. procedure TPORTC_PORTC.setRC5; inline;
  38611. begin
  38612. pTDefRegMap(@Self)^.&set := $00000020;
  38613. end;
  38614. procedure TPORTC_PORTC.clearRC5; inline;
  38615. begin
  38616. pTDefRegMap(@Self)^.clr := $00000020;
  38617. end;
  38618. procedure TPORTC_PORTC.setRC5(thebits : TBits_1); inline;
  38619. begin
  38620. if thebits = 0 then
  38621. pTDefRegMap(@Self)^.clr := $00000020
  38622. else
  38623. pTDefRegMap(@Self)^.&set := $00000020;
  38624. end;
  38625. function TPORTC_PORTC.getRC5 : TBits_1; inline;
  38626. begin
  38627. getRC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38628. end;
  38629. procedure TPORTC_PORTC.setRC6; inline;
  38630. begin
  38631. pTDefRegMap(@Self)^.&set := $00000040;
  38632. end;
  38633. procedure TPORTC_PORTC.clearRC6; inline;
  38634. begin
  38635. pTDefRegMap(@Self)^.clr := $00000040;
  38636. end;
  38637. procedure TPORTC_PORTC.setRC6(thebits : TBits_1); inline;
  38638. begin
  38639. if thebits = 0 then
  38640. pTDefRegMap(@Self)^.clr := $00000040
  38641. else
  38642. pTDefRegMap(@Self)^.&set := $00000040;
  38643. end;
  38644. function TPORTC_PORTC.getRC6 : TBits_1; inline;
  38645. begin
  38646. getRC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38647. end;
  38648. procedure TPORTC_PORTC.setRC7; inline;
  38649. begin
  38650. pTDefRegMap(@Self)^.&set := $00000080;
  38651. end;
  38652. procedure TPORTC_PORTC.clearRC7; inline;
  38653. begin
  38654. pTDefRegMap(@Self)^.clr := $00000080;
  38655. end;
  38656. procedure TPORTC_PORTC.setRC7(thebits : TBits_1); inline;
  38657. begin
  38658. if thebits = 0 then
  38659. pTDefRegMap(@Self)^.clr := $00000080
  38660. else
  38661. pTDefRegMap(@Self)^.&set := $00000080;
  38662. end;
  38663. function TPORTC_PORTC.getRC7 : TBits_1; inline;
  38664. begin
  38665. getRC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38666. end;
  38667. procedure TPORTC_PORTC.setRC8; inline;
  38668. begin
  38669. pTDefRegMap(@Self)^.&set := $00000100;
  38670. end;
  38671. procedure TPORTC_PORTC.clearRC8; inline;
  38672. begin
  38673. pTDefRegMap(@Self)^.clr := $00000100;
  38674. end;
  38675. procedure TPORTC_PORTC.setRC8(thebits : TBits_1); inline;
  38676. begin
  38677. if thebits = 0 then
  38678. pTDefRegMap(@Self)^.clr := $00000100
  38679. else
  38680. pTDefRegMap(@Self)^.&set := $00000100;
  38681. end;
  38682. function TPORTC_PORTC.getRC8 : TBits_1; inline;
  38683. begin
  38684. getRC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38685. end;
  38686. procedure TPORTC_PORTC.setRC9; inline;
  38687. begin
  38688. pTDefRegMap(@Self)^.&set := $00000200;
  38689. end;
  38690. procedure TPORTC_PORTC.clearRC9; inline;
  38691. begin
  38692. pTDefRegMap(@Self)^.clr := $00000200;
  38693. end;
  38694. procedure TPORTC_PORTC.setRC9(thebits : TBits_1); inline;
  38695. begin
  38696. if thebits = 0 then
  38697. pTDefRegMap(@Self)^.clr := $00000200
  38698. else
  38699. pTDefRegMap(@Self)^.&set := $00000200;
  38700. end;
  38701. function TPORTC_PORTC.getRC9 : TBits_1; inline;
  38702. begin
  38703. getRC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38704. end;
  38705. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  38706. begin
  38707. pTDefRegMap(@Self)^.val := thebits;
  38708. end;
  38709. function TPORTC_PORTC.getw : TBits_32; inline;
  38710. begin
  38711. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38712. end;
  38713. procedure TPORTC_LATC.setLATC0; inline;
  38714. begin
  38715. pTDefRegMap(@Self)^.&set := $00000001;
  38716. end;
  38717. procedure TPORTC_LATC.clearLATC0; inline;
  38718. begin
  38719. pTDefRegMap(@Self)^.clr := $00000001;
  38720. end;
  38721. procedure TPORTC_LATC.setLATC0(thebits : TBits_1); inline;
  38722. begin
  38723. if thebits = 0 then
  38724. pTDefRegMap(@Self)^.clr := $00000001
  38725. else
  38726. pTDefRegMap(@Self)^.&set := $00000001;
  38727. end;
  38728. function TPORTC_LATC.getLATC0 : TBits_1; inline;
  38729. begin
  38730. getLATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38731. end;
  38732. procedure TPORTC_LATC.setLATC1; inline;
  38733. begin
  38734. pTDefRegMap(@Self)^.&set := $00000002;
  38735. end;
  38736. procedure TPORTC_LATC.clearLATC1; inline;
  38737. begin
  38738. pTDefRegMap(@Self)^.clr := $00000002;
  38739. end;
  38740. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  38741. begin
  38742. if thebits = 0 then
  38743. pTDefRegMap(@Self)^.clr := $00000002
  38744. else
  38745. pTDefRegMap(@Self)^.&set := $00000002;
  38746. end;
  38747. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  38748. begin
  38749. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38750. end;
  38751. procedure TPORTC_LATC.setLATC2; inline;
  38752. begin
  38753. pTDefRegMap(@Self)^.&set := $00000004;
  38754. end;
  38755. procedure TPORTC_LATC.clearLATC2; inline;
  38756. begin
  38757. pTDefRegMap(@Self)^.clr := $00000004;
  38758. end;
  38759. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  38760. begin
  38761. if thebits = 0 then
  38762. pTDefRegMap(@Self)^.clr := $00000004
  38763. else
  38764. pTDefRegMap(@Self)^.&set := $00000004;
  38765. end;
  38766. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  38767. begin
  38768. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38769. end;
  38770. procedure TPORTC_LATC.setLATC3; inline;
  38771. begin
  38772. pTDefRegMap(@Self)^.&set := $00000008;
  38773. end;
  38774. procedure TPORTC_LATC.clearLATC3; inline;
  38775. begin
  38776. pTDefRegMap(@Self)^.clr := $00000008;
  38777. end;
  38778. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  38779. begin
  38780. if thebits = 0 then
  38781. pTDefRegMap(@Self)^.clr := $00000008
  38782. else
  38783. pTDefRegMap(@Self)^.&set := $00000008;
  38784. end;
  38785. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  38786. begin
  38787. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38788. end;
  38789. procedure TPORTC_LATC.setLATC4; inline;
  38790. begin
  38791. pTDefRegMap(@Self)^.&set := $00000010;
  38792. end;
  38793. procedure TPORTC_LATC.clearLATC4; inline;
  38794. begin
  38795. pTDefRegMap(@Self)^.clr := $00000010;
  38796. end;
  38797. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  38798. begin
  38799. if thebits = 0 then
  38800. pTDefRegMap(@Self)^.clr := $00000010
  38801. else
  38802. pTDefRegMap(@Self)^.&set := $00000010;
  38803. end;
  38804. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  38805. begin
  38806. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38807. end;
  38808. procedure TPORTC_LATC.setLATC5; inline;
  38809. begin
  38810. pTDefRegMap(@Self)^.&set := $00000020;
  38811. end;
  38812. procedure TPORTC_LATC.clearLATC5; inline;
  38813. begin
  38814. pTDefRegMap(@Self)^.clr := $00000020;
  38815. end;
  38816. procedure TPORTC_LATC.setLATC5(thebits : TBits_1); inline;
  38817. begin
  38818. if thebits = 0 then
  38819. pTDefRegMap(@Self)^.clr := $00000020
  38820. else
  38821. pTDefRegMap(@Self)^.&set := $00000020;
  38822. end;
  38823. function TPORTC_LATC.getLATC5 : TBits_1; inline;
  38824. begin
  38825. getLATC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38826. end;
  38827. procedure TPORTC_LATC.setLATC6; inline;
  38828. begin
  38829. pTDefRegMap(@Self)^.&set := $00000040;
  38830. end;
  38831. procedure TPORTC_LATC.clearLATC6; inline;
  38832. begin
  38833. pTDefRegMap(@Self)^.clr := $00000040;
  38834. end;
  38835. procedure TPORTC_LATC.setLATC6(thebits : TBits_1); inline;
  38836. begin
  38837. if thebits = 0 then
  38838. pTDefRegMap(@Self)^.clr := $00000040
  38839. else
  38840. pTDefRegMap(@Self)^.&set := $00000040;
  38841. end;
  38842. function TPORTC_LATC.getLATC6 : TBits_1; inline;
  38843. begin
  38844. getLATC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38845. end;
  38846. procedure TPORTC_LATC.setLATC7; inline;
  38847. begin
  38848. pTDefRegMap(@Self)^.&set := $00000080;
  38849. end;
  38850. procedure TPORTC_LATC.clearLATC7; inline;
  38851. begin
  38852. pTDefRegMap(@Self)^.clr := $00000080;
  38853. end;
  38854. procedure TPORTC_LATC.setLATC7(thebits : TBits_1); inline;
  38855. begin
  38856. if thebits = 0 then
  38857. pTDefRegMap(@Self)^.clr := $00000080
  38858. else
  38859. pTDefRegMap(@Self)^.&set := $00000080;
  38860. end;
  38861. function TPORTC_LATC.getLATC7 : TBits_1; inline;
  38862. begin
  38863. getLATC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38864. end;
  38865. procedure TPORTC_LATC.setLATC8; inline;
  38866. begin
  38867. pTDefRegMap(@Self)^.&set := $00000100;
  38868. end;
  38869. procedure TPORTC_LATC.clearLATC8; inline;
  38870. begin
  38871. pTDefRegMap(@Self)^.clr := $00000100;
  38872. end;
  38873. procedure TPORTC_LATC.setLATC8(thebits : TBits_1); inline;
  38874. begin
  38875. if thebits = 0 then
  38876. pTDefRegMap(@Self)^.clr := $00000100
  38877. else
  38878. pTDefRegMap(@Self)^.&set := $00000100;
  38879. end;
  38880. function TPORTC_LATC.getLATC8 : TBits_1; inline;
  38881. begin
  38882. getLATC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38883. end;
  38884. procedure TPORTC_LATC.setLATC9; inline;
  38885. begin
  38886. pTDefRegMap(@Self)^.&set := $00000200;
  38887. end;
  38888. procedure TPORTC_LATC.clearLATC9; inline;
  38889. begin
  38890. pTDefRegMap(@Self)^.clr := $00000200;
  38891. end;
  38892. procedure TPORTC_LATC.setLATC9(thebits : TBits_1); inline;
  38893. begin
  38894. if thebits = 0 then
  38895. pTDefRegMap(@Self)^.clr := $00000200
  38896. else
  38897. pTDefRegMap(@Self)^.&set := $00000200;
  38898. end;
  38899. function TPORTC_LATC.getLATC9 : TBits_1; inline;
  38900. begin
  38901. getLATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38902. end;
  38903. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  38904. begin
  38905. pTDefRegMap(@Self)^.val := thebits;
  38906. end;
  38907. function TPORTC_LATC.getw : TBits_32; inline;
  38908. begin
  38909. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38910. end;
  38911. procedure TPORTC_ODCC.setODCC0; inline;
  38912. begin
  38913. pTDefRegMap(@Self)^.&set := $00000001;
  38914. end;
  38915. procedure TPORTC_ODCC.clearODCC0; inline;
  38916. begin
  38917. pTDefRegMap(@Self)^.clr := $00000001;
  38918. end;
  38919. procedure TPORTC_ODCC.setODCC0(thebits : TBits_1); inline;
  38920. begin
  38921. if thebits = 0 then
  38922. pTDefRegMap(@Self)^.clr := $00000001
  38923. else
  38924. pTDefRegMap(@Self)^.&set := $00000001;
  38925. end;
  38926. function TPORTC_ODCC.getODCC0 : TBits_1; inline;
  38927. begin
  38928. getODCC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38929. end;
  38930. procedure TPORTC_ODCC.setODCC1; inline;
  38931. begin
  38932. pTDefRegMap(@Self)^.&set := $00000002;
  38933. end;
  38934. procedure TPORTC_ODCC.clearODCC1; inline;
  38935. begin
  38936. pTDefRegMap(@Self)^.clr := $00000002;
  38937. end;
  38938. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  38939. begin
  38940. if thebits = 0 then
  38941. pTDefRegMap(@Self)^.clr := $00000002
  38942. else
  38943. pTDefRegMap(@Self)^.&set := $00000002;
  38944. end;
  38945. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  38946. begin
  38947. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38948. end;
  38949. procedure TPORTC_ODCC.setODCC2; inline;
  38950. begin
  38951. pTDefRegMap(@Self)^.&set := $00000004;
  38952. end;
  38953. procedure TPORTC_ODCC.clearODCC2; inline;
  38954. begin
  38955. pTDefRegMap(@Self)^.clr := $00000004;
  38956. end;
  38957. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  38958. begin
  38959. if thebits = 0 then
  38960. pTDefRegMap(@Self)^.clr := $00000004
  38961. else
  38962. pTDefRegMap(@Self)^.&set := $00000004;
  38963. end;
  38964. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  38965. begin
  38966. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38967. end;
  38968. procedure TPORTC_ODCC.setODCC3; inline;
  38969. begin
  38970. pTDefRegMap(@Self)^.&set := $00000008;
  38971. end;
  38972. procedure TPORTC_ODCC.clearODCC3; inline;
  38973. begin
  38974. pTDefRegMap(@Self)^.clr := $00000008;
  38975. end;
  38976. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  38977. begin
  38978. if thebits = 0 then
  38979. pTDefRegMap(@Self)^.clr := $00000008
  38980. else
  38981. pTDefRegMap(@Self)^.&set := $00000008;
  38982. end;
  38983. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  38984. begin
  38985. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38986. end;
  38987. procedure TPORTC_ODCC.setODCC4; inline;
  38988. begin
  38989. pTDefRegMap(@Self)^.&set := $00000010;
  38990. end;
  38991. procedure TPORTC_ODCC.clearODCC4; inline;
  38992. begin
  38993. pTDefRegMap(@Self)^.clr := $00000010;
  38994. end;
  38995. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  38996. begin
  38997. if thebits = 0 then
  38998. pTDefRegMap(@Self)^.clr := $00000010
  38999. else
  39000. pTDefRegMap(@Self)^.&set := $00000010;
  39001. end;
  39002. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  39003. begin
  39004. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39005. end;
  39006. procedure TPORTC_ODCC.setODCC5; inline;
  39007. begin
  39008. pTDefRegMap(@Self)^.&set := $00000020;
  39009. end;
  39010. procedure TPORTC_ODCC.clearODCC5; inline;
  39011. begin
  39012. pTDefRegMap(@Self)^.clr := $00000020;
  39013. end;
  39014. procedure TPORTC_ODCC.setODCC5(thebits : TBits_1); inline;
  39015. begin
  39016. if thebits = 0 then
  39017. pTDefRegMap(@Self)^.clr := $00000020
  39018. else
  39019. pTDefRegMap(@Self)^.&set := $00000020;
  39020. end;
  39021. function TPORTC_ODCC.getODCC5 : TBits_1; inline;
  39022. begin
  39023. getODCC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39024. end;
  39025. procedure TPORTC_ODCC.setODCC6; inline;
  39026. begin
  39027. pTDefRegMap(@Self)^.&set := $00000040;
  39028. end;
  39029. procedure TPORTC_ODCC.clearODCC6; inline;
  39030. begin
  39031. pTDefRegMap(@Self)^.clr := $00000040;
  39032. end;
  39033. procedure TPORTC_ODCC.setODCC6(thebits : TBits_1); inline;
  39034. begin
  39035. if thebits = 0 then
  39036. pTDefRegMap(@Self)^.clr := $00000040
  39037. else
  39038. pTDefRegMap(@Self)^.&set := $00000040;
  39039. end;
  39040. function TPORTC_ODCC.getODCC6 : TBits_1; inline;
  39041. begin
  39042. getODCC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39043. end;
  39044. procedure TPORTC_ODCC.setODCC7; inline;
  39045. begin
  39046. pTDefRegMap(@Self)^.&set := $00000080;
  39047. end;
  39048. procedure TPORTC_ODCC.clearODCC7; inline;
  39049. begin
  39050. pTDefRegMap(@Self)^.clr := $00000080;
  39051. end;
  39052. procedure TPORTC_ODCC.setODCC7(thebits : TBits_1); inline;
  39053. begin
  39054. if thebits = 0 then
  39055. pTDefRegMap(@Self)^.clr := $00000080
  39056. else
  39057. pTDefRegMap(@Self)^.&set := $00000080;
  39058. end;
  39059. function TPORTC_ODCC.getODCC7 : TBits_1; inline;
  39060. begin
  39061. getODCC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39062. end;
  39063. procedure TPORTC_ODCC.setODCC8; inline;
  39064. begin
  39065. pTDefRegMap(@Self)^.&set := $00000100;
  39066. end;
  39067. procedure TPORTC_ODCC.clearODCC8; inline;
  39068. begin
  39069. pTDefRegMap(@Self)^.clr := $00000100;
  39070. end;
  39071. procedure TPORTC_ODCC.setODCC8(thebits : TBits_1); inline;
  39072. begin
  39073. if thebits = 0 then
  39074. pTDefRegMap(@Self)^.clr := $00000100
  39075. else
  39076. pTDefRegMap(@Self)^.&set := $00000100;
  39077. end;
  39078. function TPORTC_ODCC.getODCC8 : TBits_1; inline;
  39079. begin
  39080. getODCC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39081. end;
  39082. procedure TPORTC_ODCC.setODCC9; inline;
  39083. begin
  39084. pTDefRegMap(@Self)^.&set := $00000200;
  39085. end;
  39086. procedure TPORTC_ODCC.clearODCC9; inline;
  39087. begin
  39088. pTDefRegMap(@Self)^.clr := $00000200;
  39089. end;
  39090. procedure TPORTC_ODCC.setODCC9(thebits : TBits_1); inline;
  39091. begin
  39092. if thebits = 0 then
  39093. pTDefRegMap(@Self)^.clr := $00000200
  39094. else
  39095. pTDefRegMap(@Self)^.&set := $00000200;
  39096. end;
  39097. function TPORTC_ODCC.getODCC9 : TBits_1; inline;
  39098. begin
  39099. getODCC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39100. end;
  39101. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  39102. begin
  39103. pTDefRegMap(@Self)^.val := thebits;
  39104. end;
  39105. function TPORTC_ODCC.getw : TBits_32; inline;
  39106. begin
  39107. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39108. end;
  39109. procedure TPORTC_CNPUC.setCNPUC0; inline;
  39110. begin
  39111. pTDefRegMap(@Self)^.&set := $00000001;
  39112. end;
  39113. procedure TPORTC_CNPUC.clearCNPUC0; inline;
  39114. begin
  39115. pTDefRegMap(@Self)^.clr := $00000001;
  39116. end;
  39117. procedure TPORTC_CNPUC.setCNPUC0(thebits : TBits_1); inline;
  39118. begin
  39119. if thebits = 0 then
  39120. pTDefRegMap(@Self)^.clr := $00000001
  39121. else
  39122. pTDefRegMap(@Self)^.&set := $00000001;
  39123. end;
  39124. function TPORTC_CNPUC.getCNPUC0 : TBits_1; inline;
  39125. begin
  39126. getCNPUC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39127. end;
  39128. procedure TPORTC_CNPUC.setCNPUC1; inline;
  39129. begin
  39130. pTDefRegMap(@Self)^.&set := $00000002;
  39131. end;
  39132. procedure TPORTC_CNPUC.clearCNPUC1; inline;
  39133. begin
  39134. pTDefRegMap(@Self)^.clr := $00000002;
  39135. end;
  39136. procedure TPORTC_CNPUC.setCNPUC1(thebits : TBits_1); inline;
  39137. begin
  39138. if thebits = 0 then
  39139. pTDefRegMap(@Self)^.clr := $00000002
  39140. else
  39141. pTDefRegMap(@Self)^.&set := $00000002;
  39142. end;
  39143. function TPORTC_CNPUC.getCNPUC1 : TBits_1; inline;
  39144. begin
  39145. getCNPUC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39146. end;
  39147. procedure TPORTC_CNPUC.setCNPUC2; inline;
  39148. begin
  39149. pTDefRegMap(@Self)^.&set := $00000004;
  39150. end;
  39151. procedure TPORTC_CNPUC.clearCNPUC2; inline;
  39152. begin
  39153. pTDefRegMap(@Self)^.clr := $00000004;
  39154. end;
  39155. procedure TPORTC_CNPUC.setCNPUC2(thebits : TBits_1); inline;
  39156. begin
  39157. if thebits = 0 then
  39158. pTDefRegMap(@Self)^.clr := $00000004
  39159. else
  39160. pTDefRegMap(@Self)^.&set := $00000004;
  39161. end;
  39162. function TPORTC_CNPUC.getCNPUC2 : TBits_1; inline;
  39163. begin
  39164. getCNPUC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39165. end;
  39166. procedure TPORTC_CNPUC.setCNPUC3; inline;
  39167. begin
  39168. pTDefRegMap(@Self)^.&set := $00000008;
  39169. end;
  39170. procedure TPORTC_CNPUC.clearCNPUC3; inline;
  39171. begin
  39172. pTDefRegMap(@Self)^.clr := $00000008;
  39173. end;
  39174. procedure TPORTC_CNPUC.setCNPUC3(thebits : TBits_1); inline;
  39175. begin
  39176. if thebits = 0 then
  39177. pTDefRegMap(@Self)^.clr := $00000008
  39178. else
  39179. pTDefRegMap(@Self)^.&set := $00000008;
  39180. end;
  39181. function TPORTC_CNPUC.getCNPUC3 : TBits_1; inline;
  39182. begin
  39183. getCNPUC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39184. end;
  39185. procedure TPORTC_CNPUC.setCNPUC4; inline;
  39186. begin
  39187. pTDefRegMap(@Self)^.&set := $00000010;
  39188. end;
  39189. procedure TPORTC_CNPUC.clearCNPUC4; inline;
  39190. begin
  39191. pTDefRegMap(@Self)^.clr := $00000010;
  39192. end;
  39193. procedure TPORTC_CNPUC.setCNPUC4(thebits : TBits_1); inline;
  39194. begin
  39195. if thebits = 0 then
  39196. pTDefRegMap(@Self)^.clr := $00000010
  39197. else
  39198. pTDefRegMap(@Self)^.&set := $00000010;
  39199. end;
  39200. function TPORTC_CNPUC.getCNPUC4 : TBits_1; inline;
  39201. begin
  39202. getCNPUC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39203. end;
  39204. procedure TPORTC_CNPUC.setCNPUC5; inline;
  39205. begin
  39206. pTDefRegMap(@Self)^.&set := $00000020;
  39207. end;
  39208. procedure TPORTC_CNPUC.clearCNPUC5; inline;
  39209. begin
  39210. pTDefRegMap(@Self)^.clr := $00000020;
  39211. end;
  39212. procedure TPORTC_CNPUC.setCNPUC5(thebits : TBits_1); inline;
  39213. begin
  39214. if thebits = 0 then
  39215. pTDefRegMap(@Self)^.clr := $00000020
  39216. else
  39217. pTDefRegMap(@Self)^.&set := $00000020;
  39218. end;
  39219. function TPORTC_CNPUC.getCNPUC5 : TBits_1; inline;
  39220. begin
  39221. getCNPUC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39222. end;
  39223. procedure TPORTC_CNPUC.setCNPUC6; inline;
  39224. begin
  39225. pTDefRegMap(@Self)^.&set := $00000040;
  39226. end;
  39227. procedure TPORTC_CNPUC.clearCNPUC6; inline;
  39228. begin
  39229. pTDefRegMap(@Self)^.clr := $00000040;
  39230. end;
  39231. procedure TPORTC_CNPUC.setCNPUC6(thebits : TBits_1); inline;
  39232. begin
  39233. if thebits = 0 then
  39234. pTDefRegMap(@Self)^.clr := $00000040
  39235. else
  39236. pTDefRegMap(@Self)^.&set := $00000040;
  39237. end;
  39238. function TPORTC_CNPUC.getCNPUC6 : TBits_1; inline;
  39239. begin
  39240. getCNPUC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39241. end;
  39242. procedure TPORTC_CNPUC.setCNPUC7; inline;
  39243. begin
  39244. pTDefRegMap(@Self)^.&set := $00000080;
  39245. end;
  39246. procedure TPORTC_CNPUC.clearCNPUC7; inline;
  39247. begin
  39248. pTDefRegMap(@Self)^.clr := $00000080;
  39249. end;
  39250. procedure TPORTC_CNPUC.setCNPUC7(thebits : TBits_1); inline;
  39251. begin
  39252. if thebits = 0 then
  39253. pTDefRegMap(@Self)^.clr := $00000080
  39254. else
  39255. pTDefRegMap(@Self)^.&set := $00000080;
  39256. end;
  39257. function TPORTC_CNPUC.getCNPUC7 : TBits_1; inline;
  39258. begin
  39259. getCNPUC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39260. end;
  39261. procedure TPORTC_CNPUC.setCNPUC8; inline;
  39262. begin
  39263. pTDefRegMap(@Self)^.&set := $00000100;
  39264. end;
  39265. procedure TPORTC_CNPUC.clearCNPUC8; inline;
  39266. begin
  39267. pTDefRegMap(@Self)^.clr := $00000100;
  39268. end;
  39269. procedure TPORTC_CNPUC.setCNPUC8(thebits : TBits_1); inline;
  39270. begin
  39271. if thebits = 0 then
  39272. pTDefRegMap(@Self)^.clr := $00000100
  39273. else
  39274. pTDefRegMap(@Self)^.&set := $00000100;
  39275. end;
  39276. function TPORTC_CNPUC.getCNPUC8 : TBits_1; inline;
  39277. begin
  39278. getCNPUC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39279. end;
  39280. procedure TPORTC_CNPUC.setCNPUC9; inline;
  39281. begin
  39282. pTDefRegMap(@Self)^.&set := $00000200;
  39283. end;
  39284. procedure TPORTC_CNPUC.clearCNPUC9; inline;
  39285. begin
  39286. pTDefRegMap(@Self)^.clr := $00000200;
  39287. end;
  39288. procedure TPORTC_CNPUC.setCNPUC9(thebits : TBits_1); inline;
  39289. begin
  39290. if thebits = 0 then
  39291. pTDefRegMap(@Self)^.clr := $00000200
  39292. else
  39293. pTDefRegMap(@Self)^.&set := $00000200;
  39294. end;
  39295. function TPORTC_CNPUC.getCNPUC9 : TBits_1; inline;
  39296. begin
  39297. getCNPUC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39298. end;
  39299. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  39300. begin
  39301. pTDefRegMap(@Self)^.val := thebits;
  39302. end;
  39303. function TPORTC_CNPUC.getw : TBits_32; inline;
  39304. begin
  39305. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39306. end;
  39307. procedure TPORTC_CNPDC.setCNPDC0; inline;
  39308. begin
  39309. pTDefRegMap(@Self)^.&set := $00000001;
  39310. end;
  39311. procedure TPORTC_CNPDC.clearCNPDC0; inline;
  39312. begin
  39313. pTDefRegMap(@Self)^.clr := $00000001;
  39314. end;
  39315. procedure TPORTC_CNPDC.setCNPDC0(thebits : TBits_1); inline;
  39316. begin
  39317. if thebits = 0 then
  39318. pTDefRegMap(@Self)^.clr := $00000001
  39319. else
  39320. pTDefRegMap(@Self)^.&set := $00000001;
  39321. end;
  39322. function TPORTC_CNPDC.getCNPDC0 : TBits_1; inline;
  39323. begin
  39324. getCNPDC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39325. end;
  39326. procedure TPORTC_CNPDC.setCNPDC1; inline;
  39327. begin
  39328. pTDefRegMap(@Self)^.&set := $00000002;
  39329. end;
  39330. procedure TPORTC_CNPDC.clearCNPDC1; inline;
  39331. begin
  39332. pTDefRegMap(@Self)^.clr := $00000002;
  39333. end;
  39334. procedure TPORTC_CNPDC.setCNPDC1(thebits : TBits_1); inline;
  39335. begin
  39336. if thebits = 0 then
  39337. pTDefRegMap(@Self)^.clr := $00000002
  39338. else
  39339. pTDefRegMap(@Self)^.&set := $00000002;
  39340. end;
  39341. function TPORTC_CNPDC.getCNPDC1 : TBits_1; inline;
  39342. begin
  39343. getCNPDC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39344. end;
  39345. procedure TPORTC_CNPDC.setCNPDC2; inline;
  39346. begin
  39347. pTDefRegMap(@Self)^.&set := $00000004;
  39348. end;
  39349. procedure TPORTC_CNPDC.clearCNPDC2; inline;
  39350. begin
  39351. pTDefRegMap(@Self)^.clr := $00000004;
  39352. end;
  39353. procedure TPORTC_CNPDC.setCNPDC2(thebits : TBits_1); inline;
  39354. begin
  39355. if thebits = 0 then
  39356. pTDefRegMap(@Self)^.clr := $00000004
  39357. else
  39358. pTDefRegMap(@Self)^.&set := $00000004;
  39359. end;
  39360. function TPORTC_CNPDC.getCNPDC2 : TBits_1; inline;
  39361. begin
  39362. getCNPDC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39363. end;
  39364. procedure TPORTC_CNPDC.setCNPDC3; inline;
  39365. begin
  39366. pTDefRegMap(@Self)^.&set := $00000008;
  39367. end;
  39368. procedure TPORTC_CNPDC.clearCNPDC3; inline;
  39369. begin
  39370. pTDefRegMap(@Self)^.clr := $00000008;
  39371. end;
  39372. procedure TPORTC_CNPDC.setCNPDC3(thebits : TBits_1); inline;
  39373. begin
  39374. if thebits = 0 then
  39375. pTDefRegMap(@Self)^.clr := $00000008
  39376. else
  39377. pTDefRegMap(@Self)^.&set := $00000008;
  39378. end;
  39379. function TPORTC_CNPDC.getCNPDC3 : TBits_1; inline;
  39380. begin
  39381. getCNPDC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39382. end;
  39383. procedure TPORTC_CNPDC.setCNPDC4; inline;
  39384. begin
  39385. pTDefRegMap(@Self)^.&set := $00000010;
  39386. end;
  39387. procedure TPORTC_CNPDC.clearCNPDC4; inline;
  39388. begin
  39389. pTDefRegMap(@Self)^.clr := $00000010;
  39390. end;
  39391. procedure TPORTC_CNPDC.setCNPDC4(thebits : TBits_1); inline;
  39392. begin
  39393. if thebits = 0 then
  39394. pTDefRegMap(@Self)^.clr := $00000010
  39395. else
  39396. pTDefRegMap(@Self)^.&set := $00000010;
  39397. end;
  39398. function TPORTC_CNPDC.getCNPDC4 : TBits_1; inline;
  39399. begin
  39400. getCNPDC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39401. end;
  39402. procedure TPORTC_CNPDC.setCNPDC5; inline;
  39403. begin
  39404. pTDefRegMap(@Self)^.&set := $00000020;
  39405. end;
  39406. procedure TPORTC_CNPDC.clearCNPDC5; inline;
  39407. begin
  39408. pTDefRegMap(@Self)^.clr := $00000020;
  39409. end;
  39410. procedure TPORTC_CNPDC.setCNPDC5(thebits : TBits_1); inline;
  39411. begin
  39412. if thebits = 0 then
  39413. pTDefRegMap(@Self)^.clr := $00000020
  39414. else
  39415. pTDefRegMap(@Self)^.&set := $00000020;
  39416. end;
  39417. function TPORTC_CNPDC.getCNPDC5 : TBits_1; inline;
  39418. begin
  39419. getCNPDC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39420. end;
  39421. procedure TPORTC_CNPDC.setCNPDC6; inline;
  39422. begin
  39423. pTDefRegMap(@Self)^.&set := $00000040;
  39424. end;
  39425. procedure TPORTC_CNPDC.clearCNPDC6; inline;
  39426. begin
  39427. pTDefRegMap(@Self)^.clr := $00000040;
  39428. end;
  39429. procedure TPORTC_CNPDC.setCNPDC6(thebits : TBits_1); inline;
  39430. begin
  39431. if thebits = 0 then
  39432. pTDefRegMap(@Self)^.clr := $00000040
  39433. else
  39434. pTDefRegMap(@Self)^.&set := $00000040;
  39435. end;
  39436. function TPORTC_CNPDC.getCNPDC6 : TBits_1; inline;
  39437. begin
  39438. getCNPDC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39439. end;
  39440. procedure TPORTC_CNPDC.setCNPDC7; inline;
  39441. begin
  39442. pTDefRegMap(@Self)^.&set := $00000080;
  39443. end;
  39444. procedure TPORTC_CNPDC.clearCNPDC7; inline;
  39445. begin
  39446. pTDefRegMap(@Self)^.clr := $00000080;
  39447. end;
  39448. procedure TPORTC_CNPDC.setCNPDC7(thebits : TBits_1); inline;
  39449. begin
  39450. if thebits = 0 then
  39451. pTDefRegMap(@Self)^.clr := $00000080
  39452. else
  39453. pTDefRegMap(@Self)^.&set := $00000080;
  39454. end;
  39455. function TPORTC_CNPDC.getCNPDC7 : TBits_1; inline;
  39456. begin
  39457. getCNPDC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39458. end;
  39459. procedure TPORTC_CNPDC.setCNPDC8; inline;
  39460. begin
  39461. pTDefRegMap(@Self)^.&set := $00000100;
  39462. end;
  39463. procedure TPORTC_CNPDC.clearCNPDC8; inline;
  39464. begin
  39465. pTDefRegMap(@Self)^.clr := $00000100;
  39466. end;
  39467. procedure TPORTC_CNPDC.setCNPDC8(thebits : TBits_1); inline;
  39468. begin
  39469. if thebits = 0 then
  39470. pTDefRegMap(@Self)^.clr := $00000100
  39471. else
  39472. pTDefRegMap(@Self)^.&set := $00000100;
  39473. end;
  39474. function TPORTC_CNPDC.getCNPDC8 : TBits_1; inline;
  39475. begin
  39476. getCNPDC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39477. end;
  39478. procedure TPORTC_CNPDC.setCNPDC9; inline;
  39479. begin
  39480. pTDefRegMap(@Self)^.&set := $00000200;
  39481. end;
  39482. procedure TPORTC_CNPDC.clearCNPDC9; inline;
  39483. begin
  39484. pTDefRegMap(@Self)^.clr := $00000200;
  39485. end;
  39486. procedure TPORTC_CNPDC.setCNPDC9(thebits : TBits_1); inline;
  39487. begin
  39488. if thebits = 0 then
  39489. pTDefRegMap(@Self)^.clr := $00000200
  39490. else
  39491. pTDefRegMap(@Self)^.&set := $00000200;
  39492. end;
  39493. function TPORTC_CNPDC.getCNPDC9 : TBits_1; inline;
  39494. begin
  39495. getCNPDC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39496. end;
  39497. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  39498. begin
  39499. pTDefRegMap(@Self)^.val := thebits;
  39500. end;
  39501. function TPORTC_CNPDC.getw : TBits_32; inline;
  39502. begin
  39503. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39504. end;
  39505. procedure TPORTC_CNCONC.setSIDL; inline;
  39506. begin
  39507. pTDefRegMap(@Self)^.&set := $00002000;
  39508. end;
  39509. procedure TPORTC_CNCONC.clearSIDL; inline;
  39510. begin
  39511. pTDefRegMap(@Self)^.clr := $00002000;
  39512. end;
  39513. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  39514. begin
  39515. if thebits = 0 then
  39516. pTDefRegMap(@Self)^.clr := $00002000
  39517. else
  39518. pTDefRegMap(@Self)^.&set := $00002000;
  39519. end;
  39520. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  39521. begin
  39522. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39523. end;
  39524. procedure TPORTC_CNCONC.setON; inline;
  39525. begin
  39526. pTDefRegMap(@Self)^.&set := $00008000;
  39527. end;
  39528. procedure TPORTC_CNCONC.clearON; inline;
  39529. begin
  39530. pTDefRegMap(@Self)^.clr := $00008000;
  39531. end;
  39532. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  39533. begin
  39534. if thebits = 0 then
  39535. pTDefRegMap(@Self)^.clr := $00008000
  39536. else
  39537. pTDefRegMap(@Self)^.&set := $00008000;
  39538. end;
  39539. function TPORTC_CNCONC.getON : TBits_1; inline;
  39540. begin
  39541. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39542. end;
  39543. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  39544. begin
  39545. pTDefRegMap(@Self)^.val := thebits;
  39546. end;
  39547. function TPORTC_CNCONC.getw : TBits_32; inline;
  39548. begin
  39549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39550. end;
  39551. procedure TPORTC_CNENC.setCNIEC0; inline;
  39552. begin
  39553. pTDefRegMap(@Self)^.&set := $00000001;
  39554. end;
  39555. procedure TPORTC_CNENC.clearCNIEC0; inline;
  39556. begin
  39557. pTDefRegMap(@Self)^.clr := $00000001;
  39558. end;
  39559. procedure TPORTC_CNENC.setCNIEC0(thebits : TBits_1); inline;
  39560. begin
  39561. if thebits = 0 then
  39562. pTDefRegMap(@Self)^.clr := $00000001
  39563. else
  39564. pTDefRegMap(@Self)^.&set := $00000001;
  39565. end;
  39566. function TPORTC_CNENC.getCNIEC0 : TBits_1; inline;
  39567. begin
  39568. getCNIEC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39569. end;
  39570. procedure TPORTC_CNENC.setCNIEC1; inline;
  39571. begin
  39572. pTDefRegMap(@Self)^.&set := $00000002;
  39573. end;
  39574. procedure TPORTC_CNENC.clearCNIEC1; inline;
  39575. begin
  39576. pTDefRegMap(@Self)^.clr := $00000002;
  39577. end;
  39578. procedure TPORTC_CNENC.setCNIEC1(thebits : TBits_1); inline;
  39579. begin
  39580. if thebits = 0 then
  39581. pTDefRegMap(@Self)^.clr := $00000002
  39582. else
  39583. pTDefRegMap(@Self)^.&set := $00000002;
  39584. end;
  39585. function TPORTC_CNENC.getCNIEC1 : TBits_1; inline;
  39586. begin
  39587. getCNIEC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39588. end;
  39589. procedure TPORTC_CNENC.setCNIEC2; inline;
  39590. begin
  39591. pTDefRegMap(@Self)^.&set := $00000004;
  39592. end;
  39593. procedure TPORTC_CNENC.clearCNIEC2; inline;
  39594. begin
  39595. pTDefRegMap(@Self)^.clr := $00000004;
  39596. end;
  39597. procedure TPORTC_CNENC.setCNIEC2(thebits : TBits_1); inline;
  39598. begin
  39599. if thebits = 0 then
  39600. pTDefRegMap(@Self)^.clr := $00000004
  39601. else
  39602. pTDefRegMap(@Self)^.&set := $00000004;
  39603. end;
  39604. function TPORTC_CNENC.getCNIEC2 : TBits_1; inline;
  39605. begin
  39606. getCNIEC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39607. end;
  39608. procedure TPORTC_CNENC.setCNIEC3; inline;
  39609. begin
  39610. pTDefRegMap(@Self)^.&set := $00000008;
  39611. end;
  39612. procedure TPORTC_CNENC.clearCNIEC3; inline;
  39613. begin
  39614. pTDefRegMap(@Self)^.clr := $00000008;
  39615. end;
  39616. procedure TPORTC_CNENC.setCNIEC3(thebits : TBits_1); inline;
  39617. begin
  39618. if thebits = 0 then
  39619. pTDefRegMap(@Self)^.clr := $00000008
  39620. else
  39621. pTDefRegMap(@Self)^.&set := $00000008;
  39622. end;
  39623. function TPORTC_CNENC.getCNIEC3 : TBits_1; inline;
  39624. begin
  39625. getCNIEC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39626. end;
  39627. procedure TPORTC_CNENC.setCNIEC4; inline;
  39628. begin
  39629. pTDefRegMap(@Self)^.&set := $00000010;
  39630. end;
  39631. procedure TPORTC_CNENC.clearCNIEC4; inline;
  39632. begin
  39633. pTDefRegMap(@Self)^.clr := $00000010;
  39634. end;
  39635. procedure TPORTC_CNENC.setCNIEC4(thebits : TBits_1); inline;
  39636. begin
  39637. if thebits = 0 then
  39638. pTDefRegMap(@Self)^.clr := $00000010
  39639. else
  39640. pTDefRegMap(@Self)^.&set := $00000010;
  39641. end;
  39642. function TPORTC_CNENC.getCNIEC4 : TBits_1; inline;
  39643. begin
  39644. getCNIEC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39645. end;
  39646. procedure TPORTC_CNENC.setCNIEC5; inline;
  39647. begin
  39648. pTDefRegMap(@Self)^.&set := $00000020;
  39649. end;
  39650. procedure TPORTC_CNENC.clearCNIEC5; inline;
  39651. begin
  39652. pTDefRegMap(@Self)^.clr := $00000020;
  39653. end;
  39654. procedure TPORTC_CNENC.setCNIEC5(thebits : TBits_1); inline;
  39655. begin
  39656. if thebits = 0 then
  39657. pTDefRegMap(@Self)^.clr := $00000020
  39658. else
  39659. pTDefRegMap(@Self)^.&set := $00000020;
  39660. end;
  39661. function TPORTC_CNENC.getCNIEC5 : TBits_1; inline;
  39662. begin
  39663. getCNIEC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39664. end;
  39665. procedure TPORTC_CNENC.setCNIEC6; inline;
  39666. begin
  39667. pTDefRegMap(@Self)^.&set := $00000040;
  39668. end;
  39669. procedure TPORTC_CNENC.clearCNIEC6; inline;
  39670. begin
  39671. pTDefRegMap(@Self)^.clr := $00000040;
  39672. end;
  39673. procedure TPORTC_CNENC.setCNIEC6(thebits : TBits_1); inline;
  39674. begin
  39675. if thebits = 0 then
  39676. pTDefRegMap(@Self)^.clr := $00000040
  39677. else
  39678. pTDefRegMap(@Self)^.&set := $00000040;
  39679. end;
  39680. function TPORTC_CNENC.getCNIEC6 : TBits_1; inline;
  39681. begin
  39682. getCNIEC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39683. end;
  39684. procedure TPORTC_CNENC.setCNIEC7; inline;
  39685. begin
  39686. pTDefRegMap(@Self)^.&set := $00000080;
  39687. end;
  39688. procedure TPORTC_CNENC.clearCNIEC7; inline;
  39689. begin
  39690. pTDefRegMap(@Self)^.clr := $00000080;
  39691. end;
  39692. procedure TPORTC_CNENC.setCNIEC7(thebits : TBits_1); inline;
  39693. begin
  39694. if thebits = 0 then
  39695. pTDefRegMap(@Self)^.clr := $00000080
  39696. else
  39697. pTDefRegMap(@Self)^.&set := $00000080;
  39698. end;
  39699. function TPORTC_CNENC.getCNIEC7 : TBits_1; inline;
  39700. begin
  39701. getCNIEC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39702. end;
  39703. procedure TPORTC_CNENC.setCNIEC8; inline;
  39704. begin
  39705. pTDefRegMap(@Self)^.&set := $00000100;
  39706. end;
  39707. procedure TPORTC_CNENC.clearCNIEC8; inline;
  39708. begin
  39709. pTDefRegMap(@Self)^.clr := $00000100;
  39710. end;
  39711. procedure TPORTC_CNENC.setCNIEC8(thebits : TBits_1); inline;
  39712. begin
  39713. if thebits = 0 then
  39714. pTDefRegMap(@Self)^.clr := $00000100
  39715. else
  39716. pTDefRegMap(@Self)^.&set := $00000100;
  39717. end;
  39718. function TPORTC_CNENC.getCNIEC8 : TBits_1; inline;
  39719. begin
  39720. getCNIEC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39721. end;
  39722. procedure TPORTC_CNENC.setCNIEC9; inline;
  39723. begin
  39724. pTDefRegMap(@Self)^.&set := $00000200;
  39725. end;
  39726. procedure TPORTC_CNENC.clearCNIEC9; inline;
  39727. begin
  39728. pTDefRegMap(@Self)^.clr := $00000200;
  39729. end;
  39730. procedure TPORTC_CNENC.setCNIEC9(thebits : TBits_1); inline;
  39731. begin
  39732. if thebits = 0 then
  39733. pTDefRegMap(@Self)^.clr := $00000200
  39734. else
  39735. pTDefRegMap(@Self)^.&set := $00000200;
  39736. end;
  39737. function TPORTC_CNENC.getCNIEC9 : TBits_1; inline;
  39738. begin
  39739. getCNIEC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39740. end;
  39741. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  39742. begin
  39743. pTDefRegMap(@Self)^.val := thebits;
  39744. end;
  39745. function TPORTC_CNENC.getw : TBits_32; inline;
  39746. begin
  39747. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39748. end;
  39749. procedure TPORTC_CNSTATC.setCNSTATC0; inline;
  39750. begin
  39751. pTDefRegMap(@Self)^.&set := $00000001;
  39752. end;
  39753. procedure TPORTC_CNSTATC.clearCNSTATC0; inline;
  39754. begin
  39755. pTDefRegMap(@Self)^.clr := $00000001;
  39756. end;
  39757. procedure TPORTC_CNSTATC.setCNSTATC0(thebits : TBits_1); inline;
  39758. begin
  39759. if thebits = 0 then
  39760. pTDefRegMap(@Self)^.clr := $00000001
  39761. else
  39762. pTDefRegMap(@Self)^.&set := $00000001;
  39763. end;
  39764. function TPORTC_CNSTATC.getCNSTATC0 : TBits_1; inline;
  39765. begin
  39766. getCNSTATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39767. end;
  39768. procedure TPORTC_CNSTATC.setCNSTATC1; inline;
  39769. begin
  39770. pTDefRegMap(@Self)^.&set := $00000002;
  39771. end;
  39772. procedure TPORTC_CNSTATC.clearCNSTATC1; inline;
  39773. begin
  39774. pTDefRegMap(@Self)^.clr := $00000002;
  39775. end;
  39776. procedure TPORTC_CNSTATC.setCNSTATC1(thebits : TBits_1); inline;
  39777. begin
  39778. if thebits = 0 then
  39779. pTDefRegMap(@Self)^.clr := $00000002
  39780. else
  39781. pTDefRegMap(@Self)^.&set := $00000002;
  39782. end;
  39783. function TPORTC_CNSTATC.getCNSTATC1 : TBits_1; inline;
  39784. begin
  39785. getCNSTATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39786. end;
  39787. procedure TPORTC_CNSTATC.setCNSTATC2; inline;
  39788. begin
  39789. pTDefRegMap(@Self)^.&set := $00000004;
  39790. end;
  39791. procedure TPORTC_CNSTATC.clearCNSTATC2; inline;
  39792. begin
  39793. pTDefRegMap(@Self)^.clr := $00000004;
  39794. end;
  39795. procedure TPORTC_CNSTATC.setCNSTATC2(thebits : TBits_1); inline;
  39796. begin
  39797. if thebits = 0 then
  39798. pTDefRegMap(@Self)^.clr := $00000004
  39799. else
  39800. pTDefRegMap(@Self)^.&set := $00000004;
  39801. end;
  39802. function TPORTC_CNSTATC.getCNSTATC2 : TBits_1; inline;
  39803. begin
  39804. getCNSTATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39805. end;
  39806. procedure TPORTC_CNSTATC.setCNSTATC3; inline;
  39807. begin
  39808. pTDefRegMap(@Self)^.&set := $00000008;
  39809. end;
  39810. procedure TPORTC_CNSTATC.clearCNSTATC3; inline;
  39811. begin
  39812. pTDefRegMap(@Self)^.clr := $00000008;
  39813. end;
  39814. procedure TPORTC_CNSTATC.setCNSTATC3(thebits : TBits_1); inline;
  39815. begin
  39816. if thebits = 0 then
  39817. pTDefRegMap(@Self)^.clr := $00000008
  39818. else
  39819. pTDefRegMap(@Self)^.&set := $00000008;
  39820. end;
  39821. function TPORTC_CNSTATC.getCNSTATC3 : TBits_1; inline;
  39822. begin
  39823. getCNSTATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39824. end;
  39825. procedure TPORTC_CNSTATC.setCNSTATC4; inline;
  39826. begin
  39827. pTDefRegMap(@Self)^.&set := $00000010;
  39828. end;
  39829. procedure TPORTC_CNSTATC.clearCNSTATC4; inline;
  39830. begin
  39831. pTDefRegMap(@Self)^.clr := $00000010;
  39832. end;
  39833. procedure TPORTC_CNSTATC.setCNSTATC4(thebits : TBits_1); inline;
  39834. begin
  39835. if thebits = 0 then
  39836. pTDefRegMap(@Self)^.clr := $00000010
  39837. else
  39838. pTDefRegMap(@Self)^.&set := $00000010;
  39839. end;
  39840. function TPORTC_CNSTATC.getCNSTATC4 : TBits_1; inline;
  39841. begin
  39842. getCNSTATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39843. end;
  39844. procedure TPORTC_CNSTATC.setCNSTATC5; inline;
  39845. begin
  39846. pTDefRegMap(@Self)^.&set := $00000020;
  39847. end;
  39848. procedure TPORTC_CNSTATC.clearCNSTATC5; inline;
  39849. begin
  39850. pTDefRegMap(@Self)^.clr := $00000020;
  39851. end;
  39852. procedure TPORTC_CNSTATC.setCNSTATC5(thebits : TBits_1); inline;
  39853. begin
  39854. if thebits = 0 then
  39855. pTDefRegMap(@Self)^.clr := $00000020
  39856. else
  39857. pTDefRegMap(@Self)^.&set := $00000020;
  39858. end;
  39859. function TPORTC_CNSTATC.getCNSTATC5 : TBits_1; inline;
  39860. begin
  39861. getCNSTATC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39862. end;
  39863. procedure TPORTC_CNSTATC.setCNSTATC6; inline;
  39864. begin
  39865. pTDefRegMap(@Self)^.&set := $00000040;
  39866. end;
  39867. procedure TPORTC_CNSTATC.clearCNSTATC6; inline;
  39868. begin
  39869. pTDefRegMap(@Self)^.clr := $00000040;
  39870. end;
  39871. procedure TPORTC_CNSTATC.setCNSTATC6(thebits : TBits_1); inline;
  39872. begin
  39873. if thebits = 0 then
  39874. pTDefRegMap(@Self)^.clr := $00000040
  39875. else
  39876. pTDefRegMap(@Self)^.&set := $00000040;
  39877. end;
  39878. function TPORTC_CNSTATC.getCNSTATC6 : TBits_1; inline;
  39879. begin
  39880. getCNSTATC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39881. end;
  39882. procedure TPORTC_CNSTATC.setCNSTATC7; inline;
  39883. begin
  39884. pTDefRegMap(@Self)^.&set := $00000080;
  39885. end;
  39886. procedure TPORTC_CNSTATC.clearCNSTATC7; inline;
  39887. begin
  39888. pTDefRegMap(@Self)^.clr := $00000080;
  39889. end;
  39890. procedure TPORTC_CNSTATC.setCNSTATC7(thebits : TBits_1); inline;
  39891. begin
  39892. if thebits = 0 then
  39893. pTDefRegMap(@Self)^.clr := $00000080
  39894. else
  39895. pTDefRegMap(@Self)^.&set := $00000080;
  39896. end;
  39897. function TPORTC_CNSTATC.getCNSTATC7 : TBits_1; inline;
  39898. begin
  39899. getCNSTATC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39900. end;
  39901. procedure TPORTC_CNSTATC.setCNSTATC8; inline;
  39902. begin
  39903. pTDefRegMap(@Self)^.&set := $00000100;
  39904. end;
  39905. procedure TPORTC_CNSTATC.clearCNSTATC8; inline;
  39906. begin
  39907. pTDefRegMap(@Self)^.clr := $00000100;
  39908. end;
  39909. procedure TPORTC_CNSTATC.setCNSTATC8(thebits : TBits_1); inline;
  39910. begin
  39911. if thebits = 0 then
  39912. pTDefRegMap(@Self)^.clr := $00000100
  39913. else
  39914. pTDefRegMap(@Self)^.&set := $00000100;
  39915. end;
  39916. function TPORTC_CNSTATC.getCNSTATC8 : TBits_1; inline;
  39917. begin
  39918. getCNSTATC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39919. end;
  39920. procedure TPORTC_CNSTATC.setCNSTATC9; inline;
  39921. begin
  39922. pTDefRegMap(@Self)^.&set := $00000200;
  39923. end;
  39924. procedure TPORTC_CNSTATC.clearCNSTATC9; inline;
  39925. begin
  39926. pTDefRegMap(@Self)^.clr := $00000200;
  39927. end;
  39928. procedure TPORTC_CNSTATC.setCNSTATC9(thebits : TBits_1); inline;
  39929. begin
  39930. if thebits = 0 then
  39931. pTDefRegMap(@Self)^.clr := $00000200
  39932. else
  39933. pTDefRegMap(@Self)^.&set := $00000200;
  39934. end;
  39935. function TPORTC_CNSTATC.getCNSTATC9 : TBits_1; inline;
  39936. begin
  39937. getCNSTATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39938. end;
  39939. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  39940. begin
  39941. pTDefRegMap(@Self)^.val := thebits;
  39942. end;
  39943. function TPORTC_CNSTATC.getw : TBits_32; inline;
  39944. begin
  39945. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39946. end;
  39947. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  39948. begin
  39949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  39950. end;
  39951. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  39952. begin
  39953. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  39954. end;
  39955. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  39956. begin
  39957. pTDefRegMap(@Self)^.&set := $10000000;
  39958. end;
  39959. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  39960. begin
  39961. pTDefRegMap(@Self)^.clr := $10000000;
  39962. end;
  39963. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  39964. begin
  39965. if thebits = 0 then
  39966. pTDefRegMap(@Self)^.clr := $10000000
  39967. else
  39968. pTDefRegMap(@Self)^.&set := $10000000;
  39969. end;
  39970. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  39971. begin
  39972. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  39973. end;
  39974. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  39975. begin
  39976. pTDefRegMap(@Self)^.&set := $20000000;
  39977. end;
  39978. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  39979. begin
  39980. pTDefRegMap(@Self)^.clr := $20000000;
  39981. end;
  39982. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  39983. begin
  39984. if thebits = 0 then
  39985. pTDefRegMap(@Self)^.clr := $20000000
  39986. else
  39987. pTDefRegMap(@Self)^.&set := $20000000;
  39988. end;
  39989. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  39990. begin
  39991. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  39992. end;
  39993. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  39994. begin
  39995. pTDefRegMap(@Self)^.&set := $40000000;
  39996. end;
  39997. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  39998. begin
  39999. pTDefRegMap(@Self)^.clr := $40000000;
  40000. end;
  40001. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  40002. begin
  40003. if thebits = 0 then
  40004. pTDefRegMap(@Self)^.clr := $40000000
  40005. else
  40006. pTDefRegMap(@Self)^.&set := $40000000;
  40007. end;
  40008. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  40009. begin
  40010. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  40011. end;
  40012. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  40013. begin
  40014. pTDefRegMap(@Self)^.&set := $80000000;
  40015. end;
  40016. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  40017. begin
  40018. pTDefRegMap(@Self)^.clr := $80000000;
  40019. end;
  40020. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  40021. begin
  40022. if thebits = 0 then
  40023. pTDefRegMap(@Self)^.clr := $80000000
  40024. else
  40025. pTDefRegMap(@Self)^.&set := $80000000;
  40026. end;
  40027. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  40028. begin
  40029. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  40030. end;
  40031. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  40032. begin
  40033. pTDefRegMap(@Self)^.val := thebits;
  40034. end;
  40035. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  40036. begin
  40037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40038. end;
  40039. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  40040. begin
  40041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  40042. end;
  40043. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  40044. begin
  40045. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  40046. end;
  40047. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  40048. begin
  40049. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  40050. end;
  40051. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  40052. begin
  40053. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  40054. end;
  40055. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  40056. begin
  40057. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  40058. end;
  40059. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  40060. begin
  40061. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  40062. end;
  40063. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  40064. begin
  40065. pTDefRegMap(@Self)^.&set := $00008000;
  40066. end;
  40067. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  40068. begin
  40069. pTDefRegMap(@Self)^.clr := $00008000;
  40070. end;
  40071. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  40072. begin
  40073. if thebits = 0 then
  40074. pTDefRegMap(@Self)^.clr := $00008000
  40075. else
  40076. pTDefRegMap(@Self)^.&set := $00008000;
  40077. end;
  40078. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  40079. begin
  40080. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40081. end;
  40082. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  40083. begin
  40084. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  40085. end;
  40086. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  40087. begin
  40088. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  40089. end;
  40090. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  40091. begin
  40092. pTDefRegMap(@Self)^.val := thebits;
  40093. end;
  40094. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  40095. begin
  40096. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40097. end;
  40098. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  40099. begin
  40100. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  40101. end;
  40102. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  40103. begin
  40104. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  40105. end;
  40106. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  40107. begin
  40108. pTDefRegMap(@Self)^.&set := $00000020;
  40109. end;
  40110. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  40111. begin
  40112. pTDefRegMap(@Self)^.clr := $00000020;
  40113. end;
  40114. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  40115. begin
  40116. if thebits = 0 then
  40117. pTDefRegMap(@Self)^.clr := $00000020
  40118. else
  40119. pTDefRegMap(@Self)^.&set := $00000020;
  40120. end;
  40121. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  40122. begin
  40123. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40124. end;
  40125. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  40126. begin
  40127. pTDefRegMap(@Self)^.&set := $00000080;
  40128. end;
  40129. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  40130. begin
  40131. pTDefRegMap(@Self)^.clr := $00000080;
  40132. end;
  40133. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  40134. begin
  40135. if thebits = 0 then
  40136. pTDefRegMap(@Self)^.clr := $00000080
  40137. else
  40138. pTDefRegMap(@Self)^.&set := $00000080;
  40139. end;
  40140. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  40141. begin
  40142. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40143. end;
  40144. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  40145. begin
  40146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  40147. end;
  40148. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  40149. begin
  40150. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  40151. end;
  40152. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  40153. begin
  40154. pTDefRegMap(@Self)^.&set := $00000400;
  40155. end;
  40156. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  40157. begin
  40158. pTDefRegMap(@Self)^.clr := $00000400;
  40159. end;
  40160. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  40161. begin
  40162. if thebits = 0 then
  40163. pTDefRegMap(@Self)^.clr := $00000400
  40164. else
  40165. pTDefRegMap(@Self)^.&set := $00000400;
  40166. end;
  40167. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  40168. begin
  40169. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40170. end;
  40171. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  40172. begin
  40173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  40174. end;
  40175. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  40176. begin
  40177. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  40178. end;
  40179. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  40180. begin
  40181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  40182. end;
  40183. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  40184. begin
  40185. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  40186. end;
  40187. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  40188. begin
  40189. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  40190. end;
  40191. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  40192. begin
  40193. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  40194. end;
  40195. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  40196. begin
  40197. pTDefRegMap(@Self)^.&set := $00400000;
  40198. end;
  40199. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  40200. begin
  40201. pTDefRegMap(@Self)^.clr := $00400000;
  40202. end;
  40203. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  40204. begin
  40205. if thebits = 0 then
  40206. pTDefRegMap(@Self)^.clr := $00400000
  40207. else
  40208. pTDefRegMap(@Self)^.&set := $00400000;
  40209. end;
  40210. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  40211. begin
  40212. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  40213. end;
  40214. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  40215. begin
  40216. pTDefRegMap(@Self)^.&set := $00800000;
  40217. end;
  40218. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  40219. begin
  40220. pTDefRegMap(@Self)^.clr := $00800000;
  40221. end;
  40222. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  40223. begin
  40224. if thebits = 0 then
  40225. pTDefRegMap(@Self)^.clr := $00800000
  40226. else
  40227. pTDefRegMap(@Self)^.&set := $00800000;
  40228. end;
  40229. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  40230. begin
  40231. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  40232. end;
  40233. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  40234. begin
  40235. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  40236. end;
  40237. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  40238. begin
  40239. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  40240. end;
  40241. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  40242. begin
  40243. pTDefRegMap(@Self)^.val := thebits;
  40244. end;
  40245. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  40246. begin
  40247. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40248. end;
  40249. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  40250. begin
  40251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40252. end;
  40253. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  40254. begin
  40255. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40256. end;
  40257. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  40258. begin
  40259. pTDefRegMap(@Self)^.&set := $00000004;
  40260. end;
  40261. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  40262. begin
  40263. pTDefRegMap(@Self)^.clr := $00000004;
  40264. end;
  40265. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  40266. begin
  40267. if thebits = 0 then
  40268. pTDefRegMap(@Self)^.clr := $00000004
  40269. else
  40270. pTDefRegMap(@Self)^.&set := $00000004;
  40271. end;
  40272. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  40273. begin
  40274. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40275. end;
  40276. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  40277. begin
  40278. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  40279. end;
  40280. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  40281. begin
  40282. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  40283. end;
  40284. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_9); inline;
  40285. begin
  40286. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF803FF or ( thebits shl 10 );
  40287. end;
  40288. function TDEVCFG_DEVCFG0.getPWP : TBits_9; inline;
  40289. begin
  40290. getPWP := (pTDefRegMap(@Self)^.val and $0007FC00) shr 10;
  40291. end;
  40292. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  40293. begin
  40294. pTDefRegMap(@Self)^.&set := $01000000;
  40295. end;
  40296. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  40297. begin
  40298. pTDefRegMap(@Self)^.clr := $01000000;
  40299. end;
  40300. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  40301. begin
  40302. if thebits = 0 then
  40303. pTDefRegMap(@Self)^.clr := $01000000
  40304. else
  40305. pTDefRegMap(@Self)^.&set := $01000000;
  40306. end;
  40307. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  40308. begin
  40309. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  40310. end;
  40311. procedure TDEVCFG_DEVCFG0.setCP; inline;
  40312. begin
  40313. pTDefRegMap(@Self)^.&set := $10000000;
  40314. end;
  40315. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  40316. begin
  40317. pTDefRegMap(@Self)^.clr := $10000000;
  40318. end;
  40319. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  40320. begin
  40321. if thebits = 0 then
  40322. pTDefRegMap(@Self)^.clr := $10000000
  40323. else
  40324. pTDefRegMap(@Self)^.&set := $10000000;
  40325. end;
  40326. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  40327. begin
  40328. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40329. end;
  40330. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  40331. begin
  40332. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40333. end;
  40334. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  40335. begin
  40336. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40337. end;
  40338. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  40339. begin
  40340. pTDefRegMap(@Self)^.val := thebits;
  40341. end;
  40342. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  40343. begin
  40344. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40345. end;
  40346. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  40347. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  40348. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  40349. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  40350. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  40351. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  40352. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  40353. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  40354. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  40355. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  40356. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  40357. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  40358. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  40359. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  40360. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  40361. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  40362. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  40363. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  40364. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  40365. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  40366. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  40367. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  40368. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  40369. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  40370. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  40371. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  40372. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  40373. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  40374. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  40375. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  40376. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  40377. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  40378. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  40379. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  40380. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  40381. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  40382. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  40383. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  40384. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  40385. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  40386. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  40387. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  40388. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  40389. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  40390. procedure Vectors; assembler; nostackframe;
  40391. label interrupt_vectors;
  40392. asm
  40393. .section ".init.interrupt_vectors,\"ax\",@progbits"
  40394. interrupt_vectors:
  40395. j _CORE_TIMER_VECTOR_interrupt
  40396. nop
  40397. nop
  40398. nop
  40399. nop
  40400. nop
  40401. nop
  40402. nop
  40403. j _CORE_SOFTWARE_0_VECTOR_interrupt
  40404. nop
  40405. nop
  40406. nop
  40407. nop
  40408. nop
  40409. nop
  40410. nop
  40411. j _CORE_SOFTWARE_1_VECTOR_interrupt
  40412. nop
  40413. nop
  40414. nop
  40415. nop
  40416. nop
  40417. nop
  40418. nop
  40419. j _EXTERNAL_0_VECTOR_interrupt
  40420. nop
  40421. nop
  40422. nop
  40423. nop
  40424. nop
  40425. nop
  40426. nop
  40427. j _TIMER_1_VECTOR_interrupt
  40428. nop
  40429. nop
  40430. nop
  40431. nop
  40432. nop
  40433. nop
  40434. nop
  40435. j _INPUT_CAPTURE_1_VECTOR_interrupt
  40436. nop
  40437. nop
  40438. nop
  40439. nop
  40440. nop
  40441. nop
  40442. nop
  40443. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  40444. nop
  40445. nop
  40446. nop
  40447. nop
  40448. nop
  40449. nop
  40450. nop
  40451. j _EXTERNAL_1_VECTOR_interrupt
  40452. nop
  40453. nop
  40454. nop
  40455. nop
  40456. nop
  40457. nop
  40458. nop
  40459. j _TIMER_2_VECTOR_interrupt
  40460. nop
  40461. nop
  40462. nop
  40463. nop
  40464. nop
  40465. nop
  40466. nop
  40467. j _INPUT_CAPTURE_2_VECTOR_interrupt
  40468. nop
  40469. nop
  40470. nop
  40471. nop
  40472. nop
  40473. nop
  40474. nop
  40475. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  40476. nop
  40477. nop
  40478. nop
  40479. nop
  40480. nop
  40481. nop
  40482. nop
  40483. j _EXTERNAL_2_VECTOR_interrupt
  40484. nop
  40485. nop
  40486. nop
  40487. nop
  40488. nop
  40489. nop
  40490. nop
  40491. j _TIMER_3_VECTOR_interrupt
  40492. nop
  40493. nop
  40494. nop
  40495. nop
  40496. nop
  40497. nop
  40498. nop
  40499. j _INPUT_CAPTURE_3_VECTOR_interrupt
  40500. nop
  40501. nop
  40502. nop
  40503. nop
  40504. nop
  40505. nop
  40506. nop
  40507. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  40508. nop
  40509. nop
  40510. nop
  40511. nop
  40512. nop
  40513. nop
  40514. nop
  40515. j _EXTERNAL_3_VECTOR_interrupt
  40516. nop
  40517. nop
  40518. nop
  40519. nop
  40520. nop
  40521. nop
  40522. nop
  40523. j _TIMER_4_VECTOR_interrupt
  40524. nop
  40525. nop
  40526. nop
  40527. nop
  40528. nop
  40529. nop
  40530. nop
  40531. j _INPUT_CAPTURE_4_VECTOR_interrupt
  40532. nop
  40533. nop
  40534. nop
  40535. nop
  40536. nop
  40537. nop
  40538. nop
  40539. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  40540. nop
  40541. nop
  40542. nop
  40543. nop
  40544. nop
  40545. nop
  40546. nop
  40547. j _EXTERNAL_4_VECTOR_interrupt
  40548. nop
  40549. nop
  40550. nop
  40551. nop
  40552. nop
  40553. nop
  40554. nop
  40555. j _TIMER_5_VECTOR_interrupt
  40556. nop
  40557. nop
  40558. nop
  40559. nop
  40560. nop
  40561. nop
  40562. nop
  40563. j _INPUT_CAPTURE_5_VECTOR_interrupt
  40564. nop
  40565. nop
  40566. nop
  40567. nop
  40568. nop
  40569. nop
  40570. nop
  40571. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  40572. nop
  40573. nop
  40574. nop
  40575. nop
  40576. nop
  40577. nop
  40578. nop
  40579. j _ADC_VECTOR_interrupt
  40580. nop
  40581. nop
  40582. nop
  40583. nop
  40584. nop
  40585. nop
  40586. nop
  40587. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40588. nop
  40589. nop
  40590. nop
  40591. nop
  40592. nop
  40593. nop
  40594. nop
  40595. j _RTCC_VECTOR_interrupt
  40596. nop
  40597. nop
  40598. nop
  40599. nop
  40600. nop
  40601. nop
  40602. nop
  40603. j _FCE_VECTOR_interrupt
  40604. nop
  40605. nop
  40606. nop
  40607. nop
  40608. nop
  40609. nop
  40610. nop
  40611. j _COMPARATOR_1_VECTOR_interrupt
  40612. nop
  40613. nop
  40614. nop
  40615. nop
  40616. nop
  40617. nop
  40618. nop
  40619. j _COMPARATOR_2_VECTOR_interrupt
  40620. nop
  40621. nop
  40622. nop
  40623. nop
  40624. nop
  40625. nop
  40626. nop
  40627. j _COMPARATOR_3_VECTOR_interrupt
  40628. nop
  40629. nop
  40630. nop
  40631. nop
  40632. nop
  40633. nop
  40634. nop
  40635. j _USB_1_VECTOR_interrupt
  40636. nop
  40637. nop
  40638. nop
  40639. nop
  40640. nop
  40641. nop
  40642. nop
  40643. j _SPI_1_VECTOR_interrupt
  40644. nop
  40645. nop
  40646. nop
  40647. nop
  40648. nop
  40649. nop
  40650. nop
  40651. j _UART_1_VECTOR_interrupt
  40652. nop
  40653. nop
  40654. nop
  40655. nop
  40656. nop
  40657. nop
  40658. nop
  40659. j _I2C_1_VECTOR_interrupt
  40660. nop
  40661. nop
  40662. nop
  40663. nop
  40664. nop
  40665. nop
  40666. nop
  40667. j _CHANGE_NOTICE_VECTOR_interrupt
  40668. nop
  40669. nop
  40670. nop
  40671. nop
  40672. nop
  40673. nop
  40674. nop
  40675. j _PMP_VECTOR_interrupt
  40676. nop
  40677. nop
  40678. nop
  40679. nop
  40680. nop
  40681. nop
  40682. nop
  40683. j _SPI_2_VECTOR_interrupt
  40684. nop
  40685. nop
  40686. nop
  40687. nop
  40688. nop
  40689. nop
  40690. nop
  40691. j _UART_2_VECTOR_interrupt
  40692. nop
  40693. nop
  40694. nop
  40695. nop
  40696. nop
  40697. nop
  40698. nop
  40699. j _I2C_2_VECTOR_interrupt
  40700. nop
  40701. nop
  40702. nop
  40703. nop
  40704. nop
  40705. nop
  40706. nop
  40707. j _CTMU_VECTOR_interrupt
  40708. nop
  40709. nop
  40710. nop
  40711. nop
  40712. nop
  40713. nop
  40714. nop
  40715. j _DMA_0_VECTOR_interrupt
  40716. nop
  40717. nop
  40718. nop
  40719. nop
  40720. nop
  40721. nop
  40722. nop
  40723. j _DMA_1_VECTOR_interrupt
  40724. nop
  40725. nop
  40726. nop
  40727. nop
  40728. nop
  40729. nop
  40730. nop
  40731. j _DMA_2_VECTOR_interrupt
  40732. nop
  40733. nop
  40734. nop
  40735. nop
  40736. nop
  40737. nop
  40738. nop
  40739. j _DMA_3_VECTOR_interrupt
  40740. nop
  40741. nop
  40742. nop
  40743. nop
  40744. nop
  40745. nop
  40746. nop
  40747. .weak _CORE_TIMER_VECTOR_interrupt
  40748. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  40749. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  40750. .weak _EXTERNAL_0_VECTOR_interrupt
  40751. .weak _TIMER_1_VECTOR_interrupt
  40752. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  40753. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  40754. .weak _EXTERNAL_1_VECTOR_interrupt
  40755. .weak _TIMER_2_VECTOR_interrupt
  40756. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  40757. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  40758. .weak _EXTERNAL_2_VECTOR_interrupt
  40759. .weak _TIMER_3_VECTOR_interrupt
  40760. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  40761. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  40762. .weak _EXTERNAL_3_VECTOR_interrupt
  40763. .weak _TIMER_4_VECTOR_interrupt
  40764. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  40765. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  40766. .weak _EXTERNAL_4_VECTOR_interrupt
  40767. .weak _TIMER_5_VECTOR_interrupt
  40768. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  40769. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  40770. .weak _ADC_VECTOR_interrupt
  40771. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40772. .weak _RTCC_VECTOR_interrupt
  40773. .weak _FCE_VECTOR_interrupt
  40774. .weak _COMPARATOR_1_VECTOR_interrupt
  40775. .weak _COMPARATOR_2_VECTOR_interrupt
  40776. .weak _COMPARATOR_3_VECTOR_interrupt
  40777. .weak _USB_1_VECTOR_interrupt
  40778. .weak _SPI_1_VECTOR_interrupt
  40779. .weak _UART_1_VECTOR_interrupt
  40780. .weak _I2C_1_VECTOR_interrupt
  40781. .weak _CHANGE_NOTICE_VECTOR_interrupt
  40782. .weak _PMP_VECTOR_interrupt
  40783. .weak _SPI_2_VECTOR_interrupt
  40784. .weak _UART_2_VECTOR_interrupt
  40785. .weak _I2C_2_VECTOR_interrupt
  40786. .weak _CTMU_VECTOR_interrupt
  40787. .weak _DMA_0_VECTOR_interrupt
  40788. .weak _DMA_1_VECTOR_interrupt
  40789. .weak _DMA_2_VECTOR_interrupt
  40790. .weak _DMA_3_VECTOR_interrupt
  40791. .text
  40792. end;
  40793. end.