Abstract:
A keyboard has key positions providable with keys. A number of the key positions are actually provided with keys, whereas at least one other key position has a mode setting option. The mode setting option provides a feature that is readable by a microprocessor connected to the keyboard. Such features include pulse dialing parameters such as a pulse rate, a pulse width, and a pulse pause, or tone dialing parameters, or the like.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to a keyboard having key positions providable with keys. 
     The present invention further relates to a device provided with such a keyboard. 
     Such a keyboard and device are known from EP-A-427011. The known keyboard has key positions provided between conducting row and column lines of the keyboard matrix. At each intersection between a row and a column line, either a switch or a diode is connected there between. The known device comprises a keyboard connected to a microprocessor, which microprocessor in turn is equipped for controlling the row lines such that they function either as a sender or as a receiver of line signal in order to read out which of the switches on the keyboard is pressed. All diodes are necessary to conduct a signal from one row line to one column line or vice versa in order to perform this key read out or key scan function. Its a disadvantage of the known keyboard and device that they do not present sufficient flexibility with respect to the arrangement, embodiment and the assignment of additional functions thereto, because each and every intersection between a row and a column line is occupied by either said switch or said diode. This leads to an unwanted rigidity of the applicability of the known keyboards in practise. 
     OBJECTS AND SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide for a keyboard and a device having such a keyboard showing more flexibility in applying different kinds of keyboards by introducing the possibility of assigning adjustable and selectable functionalities to each individual keyboard. 
     To this end the present invention is characterised in that at least one of the key positions is provided with keys, and that at least one of the key positions which is not provided with a key has a mode setting option implemented there on. The basic idea underlying the invention is that positions on a keyboard which are not occupied by keys can be interchanged with mode setting options and can be used to implement these options. In general the ratio wherein the not occupied keys can be interchanged with a mode setting option depends on the kind of keyboard that is being used. Mode setting options serve the purpose of adding functional feature information to the microprocessor, such as information about pulse or tone dialling/parameters, the pulse rate, the pulse time, pulse width, pulse pause ratio, type of ring melody, timing information, and other kinds of information which may or may not differ per country. In practise mode setting options are being set and read out or scanned by software running in the microprocessor at the start of a working session. Furthermore it is an advantage of the present invention that the pin count on the integrated circuit of the microprocessor is not increased by the solution presented. 
     In an embodiment of the keyboard according to the invention the keyboard is a matrix type keyboard or a triangle type keyboard. It is an advantage of the embodiment of the present invention that the practically important conventional and triangle keyboard types can benefit from mode setting options without IC pin count increase or negative influence on the complexity of key scan routines or mode setting scan routines. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     At present the invention will be elucidated further together with the additional advantages with reference to the accompanying drawing, whereby corresponding parts in the different figures of the drawing are indicated by means of the same reference numerals. In the drawing: 
     FIG. 1 shows a conventional matrix keyboard; 
     FIG. 2 shows the keyboard of FIG. 1 having key number extending diodes; 
     FIG. 3 shows a possible embodiment according to the invention of a conventional type matrix keyboard provided with mode setting options in the form of diode options; 
     FIG. 4 shows another possible embodiment according to the invention of a triangle type keyboard provided with mode setting options in the form of diode options; and 
     FIG. 5 shows a schematic view of a device according to the invention provided with a keyboard of FIGS. 4 or  5 . 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     FIG. 1 shows a matrix keyboard  1  which is connected to row lines R 1  . . . R 3  and column lines C 1  . . . C 3  of a schematically represented Integrated Circuit (IC)  2 . The row lines R 1  . . . R 3 , and the column lines C 1  . . . C 3  are connected to generally Input/Output (I/O) ports of the IC. The keyboard  1  is provided with keys in the form of switches, wherein ciphers  1  . . .  9  are indicated in oval symbols. In the Integrated Circuit  2  a read out or scan procedure is implemented by means of suitable software capable of at least identifying which of the keys is actuated. 
     At first a possible scanning procedure to identify the actuated key will now be elucidated by way of example with respect to this embodiment. Suppose lines C 1  . . . C 3  serve as input and have an internal pull-up, meaning that they are on a high logic level, while lines R 1  . . . R 3  serve as output and are at a low logic level. Scanning can be started after detection of a transition at input column lines C 1  . . . C 3  using an OR-function. This provides for the possibility of creating a keyboard interrupt for the processor in the IC  2 . Output lines R 1  . . . R 3  are being scanned as follows in order to detect the actuated key: p 1  R 1  is low, R 2  and R 3  are high, thus pressing one of the keys ( 1 ), ( 2 ) or ( 3 ) can be detected; 
     R 2  is low, R 1  and R 3  are high, thus pressing one of the keys ( 4 ), ( 5 ) or ( 6 ) can be detected; and 
     R 3  is low, R 1  and R 2  are high, thus pressing one of the keys ( 7 ), ( 8 ) or ( 9 ) can be detected. 
     After releasing the pressed key and detecting that no key is being pressed, output lines R 1  . . . R 3  become low again, ready to detect a next transition at the pressing of a key. In this particular case C 1  . . . C 3  are inputs, and they are not being scanned. 
     FIG. 2 shows the conventional keyboard  1  provided with additional diodes  3  . . .  5 , which serve the purpose of extending, in this case doubling, the number of detectable keys while the same number of lines R 1  . . . R 3  and C 1  . . . C 3  are being used. Now scanning will take place continuously and can be implemented as follows: 
     Clear (=set low) C 1 , lines R 1  . . . R 3  and C 2  . . . C 3  serve as inputs being set logic high by a pull-up mentioned earlier. 
     Scan R 1 . If R 1  is high, this means keys ( 1 ) and (*) are not being pressed; 
     Scan R 2 . If R 2  is also high, this means keys ( 4 ) and (M 1 ) are not being pressed; 
     Scan R 3 . Suppose R 3  is logic low, then either key ( 7 ), or key (M 4 ) is being pressed; 
     Now that in this example R 3  is low, R 3  is cleared now (as output) and C 1  is scanned (now as input). If C 1  is low key ( 7 ) is being pressed, else, C 1  remains high, and key (M 4 ) is being pressed; 
     Thereafter C 1  becomes an input again, C 2  is cleared and the procedure is repeated, as described above; 
     This continues procedure is repeated for all lines, whereafter the procedure starts again. 
     FIG. 3 shows an possible embodiment, wherein some of the possible key positions are exchanged by mode setting options, here embodied as diode options, i.e., some of the key positions are keyless. The diode options are implemented by the presence or absence of diodes d 1  . . . d 9 . Note that no extra diode pin connection to the IC  2  is needed. Scanning of the diode options takes place in an initial phase without any key action. The rather simple diode option scanning is being done by applying a logic low signal to respective ones of the C 1  . . . C 3 , while R 1  . . . R 3  are at a logic high level. Repetitive scanning of R 1  . . . R 3  reveals information about which of the diodes is present and which is not, thus providing the wanted mode setting information to the microprocessor in IC  2 . 
     So far matrix keyboards  1  are described having mode setting options, which are substituted in a one to one relation by a possible keyboard key. The exemplified  6  I/O IC pins provide a maximum amount of detectable keys of 9, which doubles with the presence of the key number extending diodes  3 - 5 . 12 I/O IC pins give rise to such a maximum of 36, which also doubles if key number extending diodes are used. All kinds of keyboard arrangements can benefit from mode setting options. The important class of triangle matrix keyboard, which will now be described further in relation to those options and the scanning thereof, provide a maximum amount of  66  with 12 I/O IC pins, whereas the application of key number extending diodes alone leads to such a maximum of 198, which is equal to three times that maximum amount. 
     FIG. 4 shows IC  2  connected via ports P 1  . . . P 3  to a triangle type keyboard  1  in this particular embodiment provided with additional key number extending diodes  6  . . .  9 , and for simplicity of the description only one mode setting option diode O 1 . The continues scanning for detection of a particular key which is being pressed will not be described here further as there exist several ways to apply the scanning, which speak for themselves and are not a further topic. Scanning for the possible mode setting diodes in a triangle type keyboard according to FIG. 4 could be tried to be carried out along the following lines: 
     If during scanning P 1  is low P 0  is logic low, due to O 1 ; 
     P 0  is also low if key ( 7 ) is being pressed; 
     In case the polarity is reversed P 0  will not influence P 1 . The conclusion is no unambiguous decision can be reached about either the pressing of key ( 7 ) or the presence of mode setting option diode O 1 . So in this example key ( 7 ) can not be used in conjunction with diode O 1 , unless no key action exists during this initial scanning. The implementation of a mode setting option in a triangle type keyboard having key number extending diodes therefore costs two key positions, also in case the polarity of O 1  is reversed. However in view of the aforementioned triplication of maximum detectable keys for such keyboards, there will always be sufficient key positions left over, which will not be used for keys and which can now advantageously be used as mode setting options. The degree of advancement of the software needed to scan the mode setting options generally depends on whether or not the software is supposed to be familiar with those key positions where it can expect to find mode setting options instead. The mode settings, which are detected during the scanning are processed by the software and stored in a memory # of the microprocessor for taking the measures deemed necessary in relation to the outcome of the mode setting scanning procedure. Examples of these measures are the actual setting of for example pulse or tone dialling/parameters, the pulse rate, the pulse time, pulse width, pulse pause ratio, type of ring melody, timing parameters etcetera. The present disclosure is not limited to mode setting options implemented by means of one way conducting means, in general semiconductor means, such as diodes. Principally resistor means are applicable as mode setting means as well. However in that case the current sinking and/or the current sourcing capabilities of the IC I/O ports P 1  . . . P 3 , and the resistor means value are an issue, which can easily be dealt with by the man skilled in the microprocessor and keyboard art. 
     FIG. 5 shows a schematically depicted device  10  provided with at least a keyboard  1 , which is connected to the IC  2 . The device  10  further comprises a transceiver  11  coupled to an antennae  12 , an audio assembly  13  including a loudspeaker  14  connected to the transceiver  11 , and a power unit  15 , generally connected to each of the device components  1 ,  2 ,  11 , and  13 . The device  10  could be an electronic device, for example a computer device, a controller device such as a remote control for audio, video, CD etcetera, or a telecommunication device, such as a fixed (without antennae  12 ), cellular or cordless telephone device. The device could also be included in some kind of network, such as for example a Local Area Network (LAN), or a Wide Area Network (WAN).