A-3
GPIO WDT BKL Programming
MS-98K1
Abstract
Abstract
In this document, code examples based on C programming language provided for
customer interest.
Inportb
,
Outportb
,
Inportl
and
Outportl
are basic functions used for
access IO ports and defined as following.
Inportb:
Read a single 8‐bit I/O port.
Outportb:
Write a single byte to an 8‐bit port.
Inportl:
Reads a single 32‐bit I/O port.
Outportl:
Write a single long to a 32‐bit port.