A-3
GPIO WDT BKL Programming MS-98F3
Abstract
In this document, code examples based on C programming language are provided for customer
interest. Inportb, Outportb, Inportl and Outportl are basic functions used for access IO ports and
definedasfollowing.
Inportb:Readasing le8‐bitI/Oport.
Outportb:Write asinglebytetoan8‐bitport.
Inportl:Readsasingle32‐bitI/Oport.
Outportl:Writeasinglelongtoa32‐bitport.