CPU package and pins

CPUDB_get_total_number_of_pins() Returns a total number of pins on the CPU packaging.
CPUDB_get_number_of_pins_horiz Returns a total number of pins on a single horizontal edge of the CPU packaging.
CPUDB_get_number_of_pins_vert Returns a total number of pins on a single vertical edge of the CPU packaging.
CPUDB_is_pin_clock_numbering() Returns Y/N for a clockwise packaging pin numbering sequence.
CPUDB_get_first_pin_side() Returns U/R/D/L location (side of the packaging) of the first pin.
CPUDB_get_first_pin_pos() Returns EGDE/CENTER position of the first pin on the packaging edge.
CPUDB_get_pin_name_by_number(num) Returns a pin name by a number on the CPU packaging.
CPUDB_get_pin_channel_number(<cht>,<pin>,<prph>) Returns a number of the channel for the pin entered with respect to the peripheral entered (decimal number), <cht> will specify a type of channel, it may achieve the following values: I/O (for example, pin of port) or A/D (for example, input channel of ADC) or IRQ (for example, pin of external interrupt of "IRQ" type); the pin will specify an active name of existing pin (if one exists - internal error); if the name does not exist, the peripheral will return -1; <prph> stands for peripheral name (it is preferred to use active user name, but can be used also default CPUDB name).